aboutsummaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nodes.py b/nodes.py
index e6d084c..49d68e8 100644
--- a/nodes.py
+++ b/nodes.py
@@ -94,6 +94,11 @@ class OrStatement(Statement):
self.left = left
self.right = right
+class NotStatement(Statement):
+ def __init__(self, val):
+ Statement.__init__(self, val.lineno)
+ self.val = val
+
class IfStatement(Statement):
def __init__(self, clause, trueblock, falseblock, lineno):
Statement.__init__(self, lineno)