frostfs-sdk-go/netmap/parser/QueryLexer.tokens
Leonard Lyubich ca523f1ff1 [#227] netmap: Refactor and document package functionality
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-06-15 20:50:32 +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