parser+nodes+tokenizer: add Statements
This commit is contained in:
parent
2b9943cdbf
commit
0ef9960230
4 changed files with 32 additions and 3 deletions
|
|
@ -35,6 +35,7 @@ class Tokens(enum.Enum):
|
|||
Parens_Right = re.compile(r"\)")
|
||||
Identifier = re.compile(r"[a-zA-Z_][a-zA-Z_0-9]*")
|
||||
Equal = re.compile(r"=")
|
||||
Semicolon = re.compile(r";")
|
||||
Newline = re.compile(r"\n", flags=re.MULTILINE)
|
||||
EOF = re.compile(r"\Z")
|
||||
Blank = re.compile(r"[ \t]+")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue