simplified.py | raw changeset files shortlog |
1.1 --- a/simplified.py Wed Feb 14 18:33:08 2007 +0100 1.2 +++ b/simplified.py Wed Feb 14 21:57:46 2007 +0100 1.3 @@ -635,6 +635,14 @@ 1.4 def __init__(self, attribute): 1.5 self.types = [attribute] 1.6 1.7 +class Op: 1.8 + 1.9 + "A replacement AST node representing an operation in a Compare construct." 1.10 + 1.11 + def __init__(self, name, expr): 1.12 + self.name = name 1.13 + self.expr = expr 1.14 + 1.15 # Configuration setting. 1.16 1.17 Class = SingleInstanceClass