added Until to AST and added empty case for addf and orf
This commit is contained in:
parent
33a7ad6421
commit
39885d3fe0
4 changed files with 20 additions and 4 deletions
|
|
@ -90,6 +90,14 @@ class G(ModalOp):
|
|||
OP = "□"
|
||||
|
||||
|
||||
class Until(namedtuple('ModalOp', ['interval', 'arg1', 'arg2']), AST):
|
||||
def __repr__(self):
|
||||
return f"({self.arg1} U{self.interval} ({self.arg2}))"
|
||||
|
||||
def children(self):
|
||||
return [self.arg1, self.arg2]
|
||||
|
||||
|
||||
class Neg(namedtuple('Neg', ['arg']), AST):
|
||||
def __repr__(self):
|
||||
return f"¬({self.arg})"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue