aboutsummaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-01-25 22:42:11 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-01-25 22:42:11 +0200
commit5269885f16867330f9655316bfb64b631782342f (patch)
tree92f925fded309e33b5be8dc5765491f33d2873ef /nodes.py
parentd5c50ce60afc49bde361455fddc9b030ded72ffa (diff)
downloadmeson-5269885f16867330f9655316bfb64b631782342f.zip
meson-5269885f16867330f9655316bfb64b631782342f.tar.gz
meson-5269885f16867330f9655316bfb64b631782342f.tar.bz2
Added array support.
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(''))