diff options
Diffstat (limited to '')
-rw-r--r-- | Classes.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 +############################### |