preparing for ast gen
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user