1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/pkg/parser/fql/FqlParser.tokens
Tim Voronov 5620be211c
Next (#214)
* Renamed DOCUMENT to PAGE

* Added PageLoadParams

* Added PageLoadParams

* Renamed LoadPageParams -> PageLoadParams

* Added support for context.Done() (#201)

* Bug/#189 operators precedence (#202)

* Fixed math operators precedence

* Fixed logical operators precedence

* Fixed array operator

* Added support for parentheses to enforce a different operator evaluation order

* Feature/#200 drivers (#209)

* Added new interfaces

* Renamed dynamic to cdp driver

* Renamed drivers

* Added ELEMENT_EXISTS function (#210)

* Renamed back PAGE to DOCUMENT (#211)

* Added Getter and Setter interfaces
2018-12-21 23:14:41 -05:00

110 lines
1.1 KiB
Plaintext

MultiLineComment=1
SingleLineComment=2
WhiteSpaces=3
LineTerminator=4
Colon=5
SemiColon=6
Dot=7
Comma=8
OpenBracket=9
CloseBracket=10
OpenParen=11
CloseParen=12
OpenBrace=13
CloseBrace=14
Gt=15
Lt=16
Eq=17
Gte=18
Lte=19
Neq=20
Multi=21
Div=22
Mod=23
Plus=24
Minus=25
MinusMinus=26
PlusPlus=27
And=28
Or=29
Range=30
Assign=31
QuestionMark=32
RegexNotMatch=33
RegexMatch=34
For=35
Return=36
Distinct=37
Filter=38
Sort=39
Limit=40
Let=41
Collect=42
SortDirection=43
None=44
Null=45
BooleanLiteral=46
Into=47
Keep=48
With=49
Count=50
All=51
Any=52
Aggregate=53
Like=54
Not=55
In=56
Param=57
Identifier=58
StringLiteral=59
TemplateStringLiteral=60
IntegerLiteral=61
FloatLiteral=62
':'=5
';'=6
'.'=7
','=8
'['=9
']'=10
'('=11
')'=12
'{'=13
'}'=14
'>'=15
'<'=16
'=='=17
'>='=18
'<='=19
'!='=20
'*'=21
'/'=22
'%'=23
'+'=24
'-'=25
'--'=26
'++'=27
'='=31
'?'=32
'!~'=33
'=~'=34
'FOR'=35
'RETURN'=36
'DISTINCT'=37
'FILTER'=38
'SORT'=39
'LIMIT'=40
'LET'=41
'COLLECT'=42
'NONE'=44
'NULL'=45
'INTO'=47
'KEEP'=48
'WITH'=49
'COUNT'=50
'ALL'=51
'ANY'=52
'AGGREGATE'=53
'LIKE'=54
'IN'=56
'@'=57