1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/pkg/parser/fql/FqlParser.interp

187 lines
19 KiB
Plaintext
Raw Normal View History

2018-09-18 22:42:38 +02:00
token literal names:
null
null
null
null
null
':'
';'
'.'
2018-09-23 01:18:10 +02:00
','
2018-09-18 22:42:38 +02:00
'['
']'
'('
')'
'{'
'}'
'>'
'<'
'=='
'>='
'<='
'!='
'+'
'-'
'--'
'++'
'*'
'/'
'%'
null
null
2018-09-23 01:18:10 +02:00
null
2018-09-18 22:42:38 +02:00
'='
'?'
'!~'
'=~'
'FOR'
'RETURN'
'DISTINCT'
'FILTER'
'SORT'
'LIMIT'
'LET'
'COLLECT'
null
'NONE'
'NULL'
null
'INTO'
'KEEP'
'WITH'
'COUNT'
'ALL'
'ANY'
'AGGREGATE'
'LIKE'
null
'IN'
2018-09-29 03:04:16 +02:00
'@'
2018-09-18 22:42:38 +02:00
null
null
null
null
null
2018-09-18 22:42:38 +02:00
token symbolic names:
null
MultiLineComment
SingleLineComment
WhiteSpaces
LineTerminator
Colon
SemiColon
Dot
2018-09-23 01:18:10 +02:00
Comma
2018-09-18 22:42:38 +02:00
OpenBracket
CloseBracket
OpenParen
CloseParen
OpenBrace
CloseBrace
Gt
Lt
Eq
Gte
Lte
Neq
Plus
Minus
MinusMinus
PlusPlus
Multi
Div
Mod
And
Or
Range
2018-09-23 01:18:10 +02:00
Assign
2018-09-18 22:42:38 +02:00
QuestionMark
RegexNotMatch
RegexMatch
For
Return
Distinct
Filter
Sort
Limit
Let
Collect
SortDirection
None
Null
BooleanLiteral
Into
Keep
With
Count
All
Any
Aggregate
Like
Not
In
2018-09-29 03:04:16 +02:00
Param
2018-09-18 22:42:38 +02:00
Identifier
StringLiteral
TemplateStringLiteral
2018-09-18 22:42:38 +02:00
IntegerLiteral
FloatLiteral
rule names:
program
body
bodyStatement
bodyExpression
returnExpression
forExpression
forExpressionValueVariable
forExpressionKeyVariable
forExpressionSource
forExpressionClause
2018-10-28 07:45:26 +02:00
forExpressionStatement
forExpressionBody
forExpressionReturn
2018-09-18 22:42:38 +02:00
filterClause
limitClause
sortClause
sortClauseExpression
collectClause
collectSelector
collectGrouping
collectAggregator
collectAggregateSelector
2018-09-18 22:42:38 +02:00
collectGroupVariable
collectCounter
2018-09-18 22:42:38 +02:00
variableDeclaration
2018-09-29 03:04:16 +02:00
param
2018-09-18 22:42:38 +02:00
variable
2018-09-23 01:18:10 +02:00
rangeOperator
2018-09-18 22:42:38 +02:00
arrayLiteral
objectLiteral
booleanLiteral
stringLiteral
integerLiteral
floatLiteral
noneLiteral
arrayElementList
propertyAssignment
memberExpression
shorthandPropertyName
computedPropertyName
propertyName
expressionSequence
functionCallExpression
arguments
expression
forTernaryExpression
arrayOperator
inOperator
2018-09-18 22:42:38 +02:00
equalityOperator
logicalOperator
mathOperator
unaryOperator
atn:
2018-10-28 07:45:26 +02:00
[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 64, 539, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 3, 2, 3, 2, 3, 3, 7, 3, 110, 10, 3, 12, 3, 14, 3, 113, 11, 3, 3, 3, 3, 3, 3, 4, 3, 4, 5, 4, 119, 10, 4, 3, 5, 3, 5, 5, 5, 123, 10, 5, 3, 6, 3, 6, 5, 6, 127, 10, 6, 3, 6, 3, 6, 3, 6, 5, 6, 132, 10, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 140, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 146, 10, 7, 3, 7, 3, 7, 3, 7, 7, 7, 151, 10, 7, 12, 7, 14, 7, 154, 11, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 169, 10, 10, 3, 11, 3, 11, 3, 11, 3, 11, 5, 11, 175, 10, 11, 3, 12, 3, 12, 5, 12, 179, 10, 12, 3, 13, 3, 13, 5, 13, 183, 10, 13, 3, 14, 3, 14, 5, 14, 187, 10, 14, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 5, 16, 196, 10, 16, 3, 17, 3, 17, 3, 17, 3, 17, 7, 17, 202, 10, 17, 12, 17, 14, 17, 205, 11, 17, 3, 18, 3, 18, 5, 18, 209, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 5, 19, 229, 10, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 7, 21, 238, 10, 21, 12, 21, 14, 21, 241, 11, 21, 3, 22, 3, 22, 3, 22, 3, 22, 7, 22, 247, 10, 22, 12, 22, 14, 22, 250, 11, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 5, 24, 262, 10, 24, 5, 24, 264, 10, 24, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 5, 26, 286, 10, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 5, 29, 296, 10, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 302, 10, 29, 3, 30, 3, 30, 5, 30, 306, 10, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 31, 7, 31, 314, 10, 31, 12, 31, 14, 31, 317, 11, 31, 5, 31, 319, 10, 31, 3, 31, 5, 31, 322, 10, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 33, 3, 33, 3, 34, 3, 34, 3, 35, 3, 35, 3, 36, 3, 36, 3, 37, 3, 37, 6, 37, 338, 10, 37, 13, 37, 14, 37, 339, 3, 37, 7, 37, 343, 10, 37, 12, 37, 14, 37, 346, 11, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 5, 38, 357, 10, 38, 3, 39, 3, 39, 3, 39, 3, 39, 7, 39, 363, 10, 39, 12, 39, 14, 39, 366, 11, 39, 6, 39, 368, 10, 39, 13, 39, 14, 39, 369, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 7, 39, 377, 10, 39, 12, 39, 14, 39, 380, 11, 39, 7, 39, 382, 10, 39, 12, 39, 14, 39, 385, 11, 39, 3, 39, 3, 39, 3, 39, 7, 39, 390, 10, 39, 12, 39, 14, 39, 393, 11, 39, 7, 39, 395, 10, 39, 12, 39, 14, 39, 398, 11, 39, 5, 39, 400, 10, 39, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 5, 42, 410, 10, 42, 3, 43, 3, 43, 3, 43, 7, 43, 415, 10, 43, 12, 43, 14, 43, 418, 11, 43, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 45, 7, 45, 427, 10, 45, 12, 45, 14, 45, 430, 11, 45, 5, 45, 432, 10, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 5, 46, 456, 10, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 5, 46, 474, 10, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 5, 46, 485, 10, 46, 3, 46, 3, 46, 7, 46, 489, 10, 46, 12, 46, 14, 46, 492, 11, 46, 3, 47, 3, 47, 3, 47, 5, 47, 497, 10, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 5, 47, 522, 10, 47, 3, 48, 3, 48, 3, 49, 3, 4