ajar.attack.Attack#
- class ajar.attack.Attack(attacker: str, attacked: str)[source]#
Bases:
object
An attack between two arguments, represented as a tuple of names (strings).
Attacks are implemented as dataclasses, instead of tuples, to avoid ambiguity. It is thus recommended to access the
attacker
andattacked
fields by their name.- __init__(attacker: str, attacked: str) None #
Methods
Attributes
- attacked: str#
The name of the attacked Argument.
- attacker: str#
The name of the attacker Argument.