frostfs-sdk-go/pkg/policy/parser/QueryLexer.tokens
Evgenii Stratonikov 3aeeafe79e [#3] policy: use ANTLRv4 parser generator
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00

37 lines
331 B
Text

AND_OP=1
OR_OP=2
SIMPLE_OP=3
REP=4
IN=5
AS=6
CBF=7
SELECT=8
FROM=9
FILTER=10
WILDCARD=11
CLAUSE_SAME=12
CLAUSE_DISTINCT=13
L_PAREN=14
R_PAREN=15
AT=16
IDENT=17
NUMBER1=18
ZERO=19
STRING=20
WS=21
'AND'=1
'OR'=2
'REP'=4
'IN'=5
'AS'=6
'CBF'=7
'SELECT'=8
'FROM'=9
'FILTER'=10
'*'=11
'SAME'=12
'DISTINCT'=13
'('=14
')'=15
'@'=16
'0'=19