Create expression3 (logic 'and') and expression4 (logic 'or') precedence

This commit is contained in:
Bartłomiej Pluta
2019-07-10 22:46:58 +02:00
parent 3058293b7e
commit 175bea6e5c
4 changed files with 16 additions and 2 deletions

View File

@@ -22,6 +22,9 @@ class TokenType(Enum):
DOTS = '...'
AMP = '&'
DOT = '.'
AND = 'and'
OR = 'or'
NOT = 'not'
INTEGER = 'integer'
STRING = 'string'
NOTE = 'note'