preparing for ast gen

This commit is contained in:
Sven Heidemann
2020-05-25 22:04:56 +02:00
parent 9b25f36eb3
commit cb54261118
11 changed files with 20 additions and 258 deletions

View File

@@ -58,13 +58,3 @@ class Repo:
print(outp_toks)
# print('\n')
def output_ast(self) -> None:
if len(self.ast) > 0:
outp_toks = []
for tok in self.ast:
outp_toks.append({tok.value: tok.type})
# print({tok.value: tok.type})
print(outp_toks)
# print('\n')