AST is working!!!!
This commit is contained in:
@@ -27,6 +27,7 @@ class TokenType(Enum):
|
||||
LCURLY = "LCURLY"
|
||||
RCURLY = "RCURLY"
|
||||
COLON = "COLON"
|
||||
SEMICOLON = "SEMICOLON"
|
||||
|
||||
class Token:
|
||||
def __init__(self, type: TokenType, literal: Any, line_no: int, position: int) -> None:
|
||||
|
||||
Reference in New Issue
Block a user