mirror of
https://github.com/hanzoai/o11y.git
synced 2026-10-15 12:58:33 +00:00
* fix: added validations for having expression * fix: added extra validation and unit tests * fix: added antlr based parsing for validation * fix: added more unit tests * fix: removed validation on having in range request validations * fix: generated lexer files and added more unit tests * fix: edge cases * fix: added cmnd to scripts for generating lexer * fix: use std libg sorting instead of selection sort * fix: support implicit and * fix: allow bare not in expression * fix: added suggestion for having expression * fix: typo * fix: added more unit tests, handle white space difference in aggregation exp and having exp * fix: added support for in and not, updated errors * fix: added support for brackets list * fix: lint error * fix: handle non spaced expression --------- Co-authored-by: Srikanth Chekuri <[email protected]>
43 lines
322 B
Plaintext
43 lines
322 B
Plaintext
LPAREN=1
|
|
RPAREN=2
|
|
LBRACK=3
|
|
RBRACK=4
|
|
COMMA=5
|
|
EQUALS=6
|
|
NOT_EQUALS=7
|
|
NEQ=8
|
|
LT=9
|
|
LE=10
|
|
GT=11
|
|
GE=12
|
|
PLUS=13
|
|
MINUS=14
|
|
STAR=15
|
|
SLASH=16
|
|
PERCENT=17
|
|
NOT=18
|
|
AND=19
|
|
OR=20
|
|
IN=21
|
|
BOOL=22
|
|
NUMBER=23
|
|
IDENTIFIER=24
|
|
STRING=25
|
|
WS=26
|
|
'('=1
|
|
')'=2
|
|
'['=3
|
|
']'=4
|
|
','=5
|
|
'!='=7
|
|
'<>'=8
|
|
'<'=9
|
|
'<='=10
|
|
'>'=11
|
|
'>='=12
|
|
'+'=13
|
|
'-'=14
|
|
'*'=15
|
|
'/'=16
|
|
'%'=17
|