summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Classes.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/Classes.py b/Classes.py
index c969395..f144e77 100644
--- a/Classes.py
+++ b/Classes.py
@@ -132,10 +132,14 @@ class ParseTreeNode:
def __init__(self, value):
self.value = value
+class ThreeAddressCodeToken:
-###############################
-class Lexer:
+class ThreeAddressCode:
+ codelist = []
-class Parser:
+ # returns code or -1 if end of list
+ getNextCode():
+ return someCode
+###############################