aboutsummaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/nodes.py b/nodes.py
index da2ab6c..e141eba 100644
--- a/nodes.py
+++ b/nodes.py
@@ -99,6 +99,14 @@ class Comparison(Statement):
def get_second(self):
return self.second
+class ArrayStatement(Statement):
+ def __init__(self, args, lineno):
+ Statement.__init__(self, lineno)
+ self.args = args
+
+ def get_args(self):
+ return self.args
+
class StringStatement(Statement):
def __init__(self, value, lineno):
assert(type(value) == type(''))