aboutsummaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-30 01:53:37 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-30 01:53:37 +0300
commita52336b4294b72019587257d0848d42c0e2400fc (patch)
tree759f1f54b15242c207c0784fdc6cc255c53c4a42 /nodes.py
parent5e2278d6d4e2337c05b2f4e583dc8620b90e9add (diff)
downloadmeson-a52336b4294b72019587257d0848d42c0e2400fc.zip
meson-a52336b4294b72019587257d0848d42c0e2400fc.tar.gz
meson-a52336b4294b72019587257d0848d42c0e2400fc.tar.bz2
Can invoke methods on general statements and not just variable names.
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nodes.py b/nodes.py
index e8f1f40..8e9fbf0 100644
--- a/nodes.py
+++ b/nodes.py
@@ -141,9 +141,9 @@ class FunctionCall(Statement):
return self.func_name.value
class MethodCall(Statement):
- def __init__(self, object_name, method_name, arguments, lineno):
+ def __init__(self, invokable, method_name, arguments, lineno):
Statement.__init__(self, lineno)
- self.object_name = object_name
+ self.invokable = invokable
self.method_name = method_name
self.arguments = arguments