mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-24 03:49:29 +02:00
bd07b84736
* Added new syntax and iterator * Added FOR-WHILE loop * Added 'FOR-DO-WHILE loop'
116 lines
1.1 KiB
Plaintext
116 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
|
|
Use=47
|
|
Into=48
|
|
Keep=49
|
|
With=50
|
|
Count=51
|
|
All=52
|
|
Any=53
|
|
Aggregate=54
|
|
Like=55
|
|
Not=56
|
|
In=57
|
|
Do=58
|
|
While=59
|
|
Param=60
|
|
Identifier=61
|
|
StringLiteral=62
|
|
IntegerLiteral=63
|
|
FloatLiteral=64
|
|
NamespaceSegment=65
|
|
':'=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
|
|
'USE'=47
|
|
'INTO'=48
|
|
'KEEP'=49
|
|
'WITH'=50
|
|
'COUNT'=51
|
|
'ALL'=52
|
|
'ANY'=53
|
|
'AGGREGATE'=54
|
|
'LIKE'=55
|
|
'IN'=57
|
|
'DO'=58
|
|
'WHILE'=59
|
|
'@'=60
|