Enable support for function calling

This commit is contained in:
Bartłomiej Pluta
2019-07-01 17:48:39 +02:00
parent 0e6a2ea3da
commit df56013334
2 changed files with 36 additions and 2 deletions

2
AST.py
View File

@@ -84,7 +84,7 @@ class IdentifierNode(Node):
#def __str__(self):
#return f"L'{self.identifier}'"
class AssignExpression(Node):
class AssignmentNode(Node):
def __init__(self, target, value, parent, pos):
Node.__init__(self, parent, pos)
self.children.extend([target, value])