1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-08-15 20:02:56 +02:00

Add generated parser and listener code for FQL using ANTLR.

This commit is contained in:
Tim Voronov
2025-07-26 21:58:51 -04:00
parent 0ee8e0fcf6
commit 1071b7ffc2
10 changed files with 16655 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,125 @@
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
Waitfor=37
Options=38
Timeout=39
Distinct=40
Filter=41
Current=42
Sort=43
Limit=44
Let=45
Collect=46
SortDirection=47
None=48
Null=49
BooleanLiteral=50
Use=51
Into=52
Keep=53
With=54
All=55
Any=56
Aggregate=57
Event=58
Like=59
Not=60
In=61
Do=62
While=63
Param=64
Identifier=65
IgnoreIdentifier=66
StringLiteral=67
IntegerLiteral=68
FloatLiteral=69
NamespaceSegment=70
UnknownIdentifier=71
':'=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
'WAITFOR'=37
'OPTIONS'=38
'TIMEOUT'=39
'DISTINCT'=40
'FILTER'=41
'CURRENT'=42
'SORT'=43
'LIMIT'=44
'LET'=45
'COLLECT'=46
'NONE'=48
'NULL'=49
'USE'=51
'INTO'=52
'KEEP'=53
'WITH'=54
'ALL'=55
'ANY'=56
'AGGREGATE'=57
'EVENT'=58
'LIKE'=59
'IN'=61
'DO'=62
'WHILE'=63
'@'=64

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,125 @@
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
Waitfor=37
Options=38
Timeout=39
Distinct=40
Filter=41
Current=42
Sort=43
Limit=44
Let=45
Collect=46
SortDirection=47
None=48
Null=49
BooleanLiteral=50
Use=51
Into=52
Keep=53
With=54
All=55
Any=56
Aggregate=57
Event=58
Like=59
Not=60
In=61
Do=62
While=63
Param=64
Identifier=65
IgnoreIdentifier=66
StringLiteral=67
IntegerLiteral=68
FloatLiteral=69
NamespaceSegment=70
UnknownIdentifier=71
':'=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
'WAITFOR'=37
'OPTIONS'=38
'TIMEOUT'=39
'DISTINCT'=40
'FILTER'=41
'CURRENT'=42
'SORT'=43
'LIMIT'=44
'LET'=45
'COLLECT'=46
'NONE'=48
'NULL'=49
'USE'=51
'INTO'=52
'KEEP'=53
'WITH'=54
'ALL'=55
'ANY'=56
'AGGREGATE'=57
'EVENT'=58
'LIKE'=59
'IN'=61
'DO'=62
'WHILE'=63
'@'=64

469
pkg/parser/fql/fql_lexer.go Normal file
View File

@@ -0,0 +1,469 @@
// Code generated from antlr/FqlLexer.g4 by ANTLR 4.13.2. DO NOT EDIT.
package fql
import (
"fmt"
"sync"
"unicode"
"github.com/antlr4-go/antlr/v4"
)
// Suppress unused import error
var _ = fmt.Printf
var _ = sync.Once{}
var _ = unicode.IsLetter
type FqlLexer struct {
*antlr.BaseLexer
channelNames []string
modeNames []string
// TODO: EOF string
}
var FqlLexerLexerStaticData struct {
once sync.Once
serializedATN []int32
ChannelNames []string
ModeNames []string
LiteralNames []string
SymbolicNames []string
RuleNames []string
PredictionContextCache *antlr.PredictionContextCache
atn *antlr.ATN
decisionToDFA []*antlr.DFA
}
func fqllexerLexerInit() {
staticData := &FqlLexerLexerStaticData
staticData.ChannelNames = []string{
"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
}
staticData.ModeNames = []string{
"DEFAULT_MODE",
}
staticData.LiteralNames = []string{
"", "", "", "", "", "':'", "';'", "'.'", "','", "'['", "']'", "'('",
"')'", "'{'", "'}'", "'>'", "'<'", "'=='", "'>='", "'<='", "'!='", "'*'",
"'/'", "'%'", "'+'", "'-'", "'--'", "'++'", "", "", "", "'='", "'?'",
"'!~'", "'=~'", "'FOR'", "'RETURN'", "'WAITFOR'", "'OPTIONS'", "'TIMEOUT'",
"'DISTINCT'", "'FILTER'", "'CURRENT'", "'SORT'", "'LIMIT'", "'LET'",
"'COLLECT'", "", "'NONE'", "'NULL'", "", "'USE'", "'INTO'", "'KEEP'",
"'WITH'", "'ALL'", "'ANY'", "'AGGREGATE'", "'EVENT'", "'LIKE'", "",
"'IN'", "'DO'", "'WHILE'", "'@'",
}
staticData.SymbolicNames = []string{
"", "MultiLineComment", "SingleLineComment", "WhiteSpaces", "LineTerminator",
"Colon", "SemiColon", "Dot", "Comma", "OpenBracket", "CloseBracket",
"OpenParen", "CloseParen", "OpenBrace", "CloseBrace", "Gt", "Lt", "Eq",
"Gte", "Lte", "Neq", "Multi", "Div", "Mod", "Plus", "Minus", "MinusMinus",
"PlusPlus", "And", "Or", "Range", "Assign", "QuestionMark", "RegexNotMatch",
"RegexMatch", "For", "Return", "Waitfor", "Options", "Timeout", "Distinct",
"Filter", "Current", "Sort", "Limit", "Let", "Collect", "SortDirection",
"None", "Null", "BooleanLiteral", "Use", "Into", "Keep", "With", "All",
"Any", "Aggregate", "Event", "Like", "Not", "In", "Do", "While", "Param",
"Identifier", "IgnoreIdentifier", "StringLiteral", "IntegerLiteral",
"FloatLiteral", "NamespaceSegment", "UnknownIdentifier",
}
staticData.RuleNames = []string{
"MultiLineComment", "SingleLineComment", "WhiteSpaces", "LineTerminator",
"Colon", "SemiColon", "Dot", "Comma", "OpenBracket", "CloseBracket",
"OpenParen", "CloseParen", "OpenBrace", "CloseBrace", "Gt", "Lt", "Eq",
"Gte", "Lte", "Neq", "Multi", "Div", "Mod", "Plus", "Minus", "MinusMinus",
"PlusPlus", "And", "Or", "Range", "Assign", "QuestionMark", "RegexNotMatch",
"RegexMatch", "For", "Return", "Waitfor", "Options", "Timeout", "Distinct",
"Filter", "Current", "Sort", "Limit", "Let", "Collect", "SortDirection",
"None", "Null", "BooleanLiteral", "Use", "Into", "Keep", "With", "All",
"Any", "Aggregate", "Event", "Like", "Not", "In", "Do", "While", "Param",
"Identifier", "IgnoreIdentifier", "StringLiteral", "IntegerLiteral",
"FloatLiteral", "NamespaceSegment", "UnknownIdentifier", "HexDigit",
"DecimalIntegerLiteral", "ExponentPart", "Letter", "Symbols", "Underscore",
"Digit", "DQSring", "SQString", "BacktickString", "TickString", "NamespaceSeparator",
}
staticData.PredictionContextCache = antlr.NewPredictionContextCache()
staticData.serializedATN = []int32{
4, 0, 71, 613, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2,
4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2,
10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15,
7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7,
20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25,
2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2,
31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36,
7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7,
41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46,
2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2,
52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57,
7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7,
62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67,
2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2,
73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78,
7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 1, 0, 1,
0, 1, 0, 1, 0, 5, 0, 172, 8, 0, 10, 0, 12, 0, 175, 9, 0, 1, 0, 1, 0, 1,
0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 186, 8, 1, 10, 1, 12, 1, 189,
9, 1, 1, 1, 1, 1, 1, 2, 4, 2, 194, 8, 2, 11, 2, 12, 2, 195, 1, 2, 1, 2,
1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7,
1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13,
1, 13, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1,
17, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 1, 21,
1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1,
26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 261, 8, 27, 1, 28,
1, 28, 1, 28, 1, 28, 3, 28, 267, 8, 28, 1, 29, 1, 29, 1, 29, 1, 30, 1,
30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34,
1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1,
36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37,
1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1,
38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39,
1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1,
41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43,
1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1,
45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46,
1, 46, 1, 46, 1, 46, 3, 46, 371, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1,
47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49,
1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1,
49, 1, 49, 1, 49, 3, 49, 401, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51,
1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1,
53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55,
1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1,
56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58,
1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 455, 8, 59, 1, 60, 1, 60, 1,
60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63,
1, 63, 1, 64, 4, 64, 472, 8, 64, 11, 64, 12, 64, 473, 1, 64, 1, 64, 5,
64, 478, 8, 64, 10, 64, 12, 64, 481, 9, 64, 5, 64, 483, 8, 64, 10, 64,
12, 64, 486, 9, 64, 1, 64, 1, 64, 5, 64, 490, 8, 64, 10, 64, 12, 64, 493,
9, 64, 5, 64, 495, 8, 64, 10, 64, 12, 64, 498, 9, 64, 1, 65, 1, 65, 1,
66, 1, 66, 1, 66, 1, 66, 3, 66, 506, 8, 66, 1, 67, 4, 67, 509, 8, 67, 11,
67, 12, 67, 510, 1, 68, 1, 68, 1, 68, 4, 68, 516, 8, 68, 11, 68, 12, 68,
517, 1, 68, 3, 68, 521, 8, 68, 1, 68, 1, 68, 3, 68, 525, 8, 68, 3, 68,
527, 8, 68, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1,
72, 1, 72, 5, 72, 539, 8, 72, 10, 72, 12, 72, 542, 9, 72, 3, 72, 544, 8,
72, 1, 73, 1, 73, 3, 73, 548, 8, 73, 1, 73, 4, 73, 551, 8, 73, 11, 73,
12, 73, 552, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1,
78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 569, 8, 78, 10, 78, 12, 78,
572, 9, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 5,
79, 582, 8, 79, 10, 79, 12, 79, 585, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80,
1, 80, 1, 80, 5, 80, 593, 8, 80, 10, 80, 12, 80, 596, 9, 80, 1, 80, 1,
80, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 604, 8, 81, 10, 81, 12, 81, 607,
9, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 173, 0, 83, 1, 1, 3, 2, 5,
3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25,
13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43,
22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61,
31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79,
40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97,
49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113,
57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129,
65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 0, 145,
0, 147, 0, 149, 0, 151, 0, 153, 0, 155, 0, 157, 0, 159, 0, 161, 0, 163,
0, 165, 0, 1, 0, 12, 3, 0, 10, 10, 13, 13, 8232, 8233, 4, 0, 9, 9, 11,
12, 32, 32, 160, 160, 1, 0, 48, 57, 3, 0, 48, 57, 65, 70, 97, 102, 1, 0,
49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 2, 0, 65, 90, 97,
122, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 1, 0, 96, 96, 1, 0, 180,
180, 637, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1,
0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15,
1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0,
23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0,
0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0,
0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0,
0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1,
0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61,
1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0,
69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0,
0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0,
0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0,
0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1,
0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0,
107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0,
0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121,
1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0,
0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1,
0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 1,
167, 1, 0, 0, 0, 3, 181, 1, 0, 0, 0, 5, 193, 1, 0, 0, 0, 7, 199, 1, 0,
0, 0, 9, 203, 1, 0, 0, 0, 11, 205, 1, 0, 0, 0, 13, 207, 1, 0, 0, 0, 15,
209, 1, 0, 0, 0, 17, 211, 1, 0, 0, 0, 19, 213, 1, 0, 0, 0, 21, 215, 1,
0, 0, 0, 23, 217, 1, 0, 0, 0, 25, 219, 1, 0, 0, 0, 27, 221, 1, 0, 0, 0,
29, 223, 1, 0, 0, 0, 31, 225, 1, 0, 0, 0, 33, 227, 1, 0, 0, 0, 35, 230,
1, 0, 0, 0, 37, 233, 1, 0, 0, 0, 39, 236, 1, 0, 0, 0, 41, 239, 1, 0, 0,
0, 43, 241, 1, 0, 0, 0, 45, 243, 1, 0, 0, 0, 47, 245, 1, 0, 0, 0, 49, 247,
1, 0, 0, 0, 51, 249, 1, 0, 0, 0, 53, 252, 1, 0, 0, 0, 55, 260, 1, 0, 0,
0, 57, 266, 1, 0, 0, 0, 59, 268, 1, 0, 0, 0, 61, 271, 1, 0, 0, 0, 63, 273,
1, 0, 0, 0, 65, 275, 1, 0, 0, 0, 67, 278, 1, 0, 0, 0, 69, 281, 1, 0, 0,
0, 71, 285, 1, 0, 0, 0, 73, 292, 1, 0, 0, 0, 75, 300, 1, 0, 0, 0, 77, 308,
1, 0, 0, 0, 79, 316, 1, 0, 0, 0, 81, 325, 1, 0, 0, 0, 83, 332, 1, 0, 0,
0, 85, 340, 1, 0, 0, 0, 87, 345, 1, 0, 0, 0, 89, 351, 1, 0, 0, 0, 91, 355,
1, 0, 0, 0, 93, 370, 1, 0, 0, 0, 95, 372, 1, 0, 0, 0, 97, 377, 1, 0, 0,
0, 99, 400, 1, 0, 0, 0, 101, 402, 1, 0, 0, 0, 103, 406, 1, 0, 0, 0, 105,
411, 1, 0, 0, 0, 107, 416, 1, 0, 0, 0, 109, 421, 1, 0, 0, 0, 111, 425,
1, 0, 0, 0, 113, 429, 1, 0, 0, 0, 115, 439, 1, 0, 0, 0, 117, 445, 1, 0,
0, 0, 119, 454, 1, 0, 0, 0, 121, 456, 1, 0, 0, 0, 123, 459, 1, 0, 0, 0,
125, 462, 1, 0, 0, 0, 127, 468, 1, 0, 0, 0, 129, 471, 1, 0, 0, 0, 131,
499, 1, 0, 0, 0, 133, 505, 1, 0, 0, 0, 135, 508, 1, 0, 0, 0, 137, 526,
1, 0, 0, 0, 139, 528, 1, 0, 0, 0, 141, 531, 1, 0, 0, 0, 143, 533, 1, 0,
0, 0, 145, 543, 1, 0, 0, 0, 147, 545, 1, 0, 0, 0, 149, 554, 1, 0, 0, 0,
151, 556, 1, 0, 0, 0, 153, 558, 1, 0, 0, 0, 155, 560, 1, 0, 0, 0, 157,
562, 1, 0, 0, 0, 159, 575, 1, 0, 0, 0, 161, 588, 1, 0, 0, 0, 163, 599,
1, 0, 0, 0, 165, 610, 1, 0, 0, 0, 167, 168, 5, 47, 0, 0, 168, 169, 5, 42,
0, 0, 169, 173, 1, 0, 0, 0, 170, 172, 9, 0, 0, 0, 171, 170, 1, 0, 0, 0,
172, 175, 1, 0, 0, 0, 173, 174, 1, 0, 0, 0, 173, 171, 1, 0, 0, 0, 174,
176, 1, 0, 0, 0, 175, 173, 1, 0, 0, 0, 176, 177, 5, 42, 0, 0, 177, 178,
5, 47, 0, 0, 178, 179, 1, 0, 0, 0, 179, 180, 6, 0, 0, 0, 180, 2, 1, 0,
0, 0, 181, 182, 5, 47, 0, 0, 182, 183, 5, 47, 0, 0, 183, 187, 1, 0, 0,
0, 184, 186, 8, 0, 0, 0, 185, 184, 1, 0, 0, 0, 186, 189, 1, 0, 0, 0, 187,
185, 1, 0, 0, 0, 187, 188, 1, 0, 0, 0, 188, 190, 1, 0, 0, 0, 189, 187,
1, 0, 0, 0, 190, 191, 6, 1, 0, 0, 191, 4, 1, 0, 0, 0, 192, 194, 7, 1, 0,
0, 193, 192, 1, 0, 0, 0, 194, 195, 1, 0, 0, 0, 195, 193, 1, 0, 0, 0, 195,
196, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 198, 6, 2, 0, 0, 198, 6, 1,
0, 0, 0, 199, 200, 7, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 202, 6, 3, 0,
0, 202, 8, 1, 0, 0, 0, 203, 204, 5, 58, 0, 0, 204, 10, 1, 0, 0, 0, 205,
206, 5, 59, 0, 0, 206, 12, 1, 0, 0, 0, 207, 208, 5, 46, 0, 0, 208, 14,
1, 0, 0, 0, 209, 210, 5, 44, 0, 0, 210, 16, 1, 0, 0, 0, 211, 212, 5, 91,
0, 0, 212, 18, 1, 0, 0, 0, 213, 214, 5, 93, 0, 0, 214, 20, 1, 0, 0, 0,
215, 216, 5, 40, 0, 0, 216, 22, 1, 0, 0, 0, 217, 218, 5, 41, 0, 0, 218,
24, 1, 0, 0, 0, 219, 220, 5, 123, 0, 0, 220, 26, 1, 0, 0, 0, 221, 222,
5, 125, 0, 0, 222, 28, 1, 0, 0, 0, 223, 224, 5, 62, 0, 0, 224, 30, 1, 0,
0, 0, 225, 226, 5, 60, 0, 0, 226, 32, 1, 0, 0, 0, 227, 228, 5, 61, 0, 0,
228, 229, 5, 61, 0, 0, 229, 34, 1, 0, 0, 0, 230, 231, 5, 62, 0, 0, 231,
232, 5, 61, 0, 0, 232, 36, 1, 0, 0, 0, 233, 234, 5, 60, 0, 0, 234, 235,
5, 61, 0, 0, 235, 38, 1, 0, 0, 0, 236, 237, 5, 33, 0, 0, 237, 238, 5, 61,
0, 0, 238, 40, 1, 0, 0, 0, 239, 240, 5, 42, 0, 0, 240, 42, 1, 0, 0, 0,
241, 242, 5, 47, 0, 0, 242, 44, 1, 0, 0, 0, 243, 244, 5, 37, 0, 0, 244,
46, 1, 0, 0, 0, 245, 246, 5, 43, 0, 0, 246, 48, 1, 0, 0, 0, 247, 248, 5,
45, 0, 0, 248, 50, 1, 0, 0, 0, 249, 250, 5, 45, 0, 0, 250, 251, 5, 45,
0, 0, 251, 52, 1, 0, 0, 0, 252, 253, 5, 43, 0, 0, 253, 254, 5, 43, 0, 0,
254, 54, 1, 0, 0, 0, 255, 256, 5, 65, 0, 0, 256, 257, 5, 78, 0, 0, 257,
261, 5, 68, 0, 0, 258, 259, 5, 38, 0, 0, 259, 261, 5, 38, 0, 0, 260, 255,
1, 0, 0, 0, 260, 258, 1, 0, 0, 0, 261, 56, 1, 0, 0, 0, 262, 263, 5, 79,
0, 0, 263, 267, 5, 82, 0, 0, 264, 265, 5, 124, 0, 0, 265, 267, 5, 124,
0, 0, 266, 262, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 58, 1, 0, 0, 0,
268, 269, 3, 13, 6, 0, 269, 270, 3, 13, 6, 0, 270, 60, 1, 0, 0, 0, 271,
272, 5, 61, 0, 0, 272, 62, 1, 0, 0, 0, 273, 274, 5, 63, 0, 0, 274, 64,
1, 0, 0, 0, 275, 276, 5, 33, 0, 0, 276, 277, 5, 126, 0, 0, 277, 66, 1,
0, 0, 0, 278, 279, 5, 61, 0, 0, 279, 280, 5, 126, 0, 0, 280, 68, 1, 0,
0, 0, 281, 282, 5, 70, 0, 0, 282, 283, 5, 79, 0, 0, 283, 284, 5, 82, 0,
0, 284, 70, 1, 0, 0, 0, 285, 286, 5, 82, 0, 0, 286, 287, 5, 69, 0, 0, 287,
288, 5, 84, 0, 0, 288, 289, 5, 85, 0, 0, 289, 290, 5, 82, 0, 0, 290, 291,
5, 78, 0, 0, 291, 72, 1, 0, 0, 0, 292, 293, 5, 87, 0, 0, 293, 294, 5, 65,
0, 0, 294, 295, 5, 73, 0, 0, 295, 296, 5, 84, 0, 0, 296, 297, 5, 70, 0,
0, 297, 298, 5, 79, 0, 0, 298, 299, 5, 82, 0, 0, 299, 74, 1, 0, 0, 0, 300,
301, 5, 79, 0, 0, 301, 302, 5, 80, 0, 0, 302, 303, 5, 84, 0, 0, 303, 304,
5, 73, 0, 0, 304, 305, 5, 79, 0, 0, 305, 306, 5, 78, 0, 0, 306, 307, 5,
83, 0, 0, 307, 76, 1, 0, 0, 0, 308, 309, 5, 84, 0, 0, 309, 310, 5, 73,
0, 0, 310, 311, 5, 77, 0, 0, 311, 312, 5, 69, 0, 0, 312, 313, 5, 79, 0,
0, 313, 314, 5, 85, 0, 0, 314, 315, 5, 84, 0, 0, 315, 78, 1, 0, 0, 0, 316,
317, 5, 68, 0, 0, 317, 318, 5, 73, 0, 0, 318, 319, 5, 83, 0, 0, 319, 320,
5, 84, 0, 0, 320, 321, 5, 73, 0, 0, 321, 322, 5, 78, 0, 0, 322, 323, 5,
67, 0, 0, 323, 324, 5, 84, 0, 0, 324, 80, 1, 0, 0, 0, 325, 326, 5, 70,
0, 0, 326, 327, 5, 73, 0, 0, 327, 328, 5, 76, 0, 0, 328, 329, 5, 84, 0,
0, 329, 330, 5, 69, 0, 0, 330, 331, 5, 82, 0, 0, 331, 82, 1, 0, 0, 0, 332,
333, 5, 67, 0, 0, 333, 334, 5, 85, 0, 0, 334, 335, 5, 82, 0, 0, 335, 336,
5, 82, 0, 0, 336, 337, 5, 69, 0, 0, 337, 338, 5, 78, 0, 0, 338, 339, 5,
84, 0, 0, 339, 84, 1, 0, 0, 0, 340, 341, 5, 83, 0, 0, 341, 342, 5, 79,
0, 0, 342, 343, 5, 82, 0, 0, 343, 344, 5, 84, 0, 0, 344, 86, 1, 0, 0, 0,
345, 346, 5, 76, 0, 0, 346, 347, 5, 73, 0, 0, 347, 348, 5, 77, 0, 0, 348,
349, 5, 73, 0, 0, 349, 350, 5, 84, 0, 0, 350, 88, 1, 0, 0, 0, 351, 352,
5, 76, 0, 0, 352, 353, 5, 69, 0, 0, 353, 354, 5, 84, 0, 0, 354, 90, 1,
0, 0, 0, 355, 356, 5, 67, 0, 0, 356, 357, 5, 79, 0, 0, 357, 358, 5, 76,
0, 0, 358, 359, 5, 76, 0, 0, 359, 360, 5, 69, 0, 0, 360, 361, 5, 67, 0,
0, 361, 362, 5, 84, 0, 0, 362, 92, 1, 0, 0, 0, 363, 364, 5, 65, 0, 0, 364,
365, 5, 83, 0, 0, 365, 371, 5, 67, 0, 0, 366, 367, 5, 68, 0, 0, 367, 368,
5, 69, 0, 0, 368, 369, 5, 83, 0, 0, 369, 371, 5, 67, 0, 0, 370, 363, 1,
0, 0, 0, 370, 366, 1, 0, 0, 0, 371, 94, 1, 0, 0, 0, 372, 373, 5, 78, 0,
0, 373, 374, 5, 79, 0, 0, 374, 375, 5, 78, 0, 0, 375, 376, 5, 69, 0, 0,
376, 96, 1, 0, 0, 0, 377, 378, 5, 78, 0, 0, 378, 379, 5, 85, 0, 0, 379,
380, 5, 76, 0, 0, 380, 381, 5, 76, 0, 0, 381, 98, 1, 0, 0, 0, 382, 383,
5, 84, 0, 0, 383, 384, 5, 82, 0, 0, 384, 385, 5, 85, 0, 0, 385, 401, 5,
69, 0, 0, 386, 387, 5, 116, 0, 0, 387, 388, 5, 114, 0, 0, 388, 389, 5,
117, 0, 0, 389, 401, 5, 101, 0, 0, 390, 391, 5, 70, 0, 0, 391, 392, 5,
65, 0, 0, 392, 393, 5, 76, 0, 0, 393, 394, 5, 83, 0, 0, 394, 401, 5, 69,
0, 0, 395, 396, 5, 102, 0, 0, 396, 397, 5, 97, 0, 0, 397, 398, 5, 108,
0, 0, 398, 399, 5, 115, 0, 0, 399, 401, 5, 101, 0, 0, 400, 382, 1, 0, 0,
0, 400, 386, 1, 0, 0, 0, 400, 390, 1, 0, 0, 0, 400, 395, 1, 0, 0, 0, 401,
100, 1, 0, 0, 0, 402, 403, 5, 85, 0, 0, 403, 404, 5, 83, 0, 0, 404, 405,
5, 69, 0, 0, 405, 102, 1, 0, 0, 0, 406, 407, 5, 73, 0, 0, 407, 408, 5,
78, 0, 0, 408, 409, 5, 84, 0, 0, 409, 410, 5, 79, 0, 0, 410, 104, 1, 0,
0, 0, 411, 412, 5, 75, 0, 0, 412, 413, 5, 69, 0, 0, 413, 414, 5, 69, 0,
0, 414, 415, 5, 80, 0, 0, 415, 106, 1, 0, 0, 0, 416, 417, 5, 87, 0, 0,
417, 418, 5, 73, 0, 0, 418, 419, 5, 84, 0, 0, 419, 420, 5, 72, 0, 0, 420,
108, 1, 0, 0, 0, 421, 422, 5, 65, 0, 0, 422, 423, 5, 76, 0, 0, 423, 424,
5, 76, 0, 0, 424, 110, 1, 0, 0, 0, 425, 426, 5, 65, 0, 0, 426, 427, 5,
78, 0, 0, 427, 428, 5, 89, 0, 0, 428, 112, 1, 0, 0, 0, 429, 430, 5, 65,
0, 0, 430, 431, 5, 71, 0, 0, 431, 432, 5, 71, 0, 0, 432, 433, 5, 82, 0,
0, 433, 434, 5, 69, 0, 0, 434, 435, 5, 71, 0, 0, 435, 436, 5, 65, 0, 0,
436, 437, 5, 84, 0, 0, 437, 438, 5, 69, 0, 0, 438, 114, 1, 0, 0, 0, 439,
440, 5, 69, 0, 0, 440, 441, 5, 86, 0, 0, 441, 442, 5, 69, 0, 0, 442, 443,
5, 78, 0, 0, 443, 444, 5, 84, 0, 0, 444, 116, 1, 0, 0, 0, 445, 446, 5,
76, 0, 0, 446, 447, 5, 73, 0, 0, 447, 448, 5, 75, 0, 0, 448, 449, 5, 69,
0, 0, 449, 118, 1, 0, 0, 0, 450, 451, 5, 78, 0, 0, 451, 452, 5, 79, 0,
0, 452, 455, 5, 84, 0, 0, 453, 455, 5, 33, 0, 0, 454, 450, 1, 0, 0, 0,
454, 453, 1, 0, 0, 0, 455, 120, 1, 0, 0, 0, 456, 457, 5, 73, 0, 0, 457,
458, 5, 78, 0, 0, 458, 122, 1, 0, 0, 0, 459, 460, 5, 68, 0, 0, 460, 461,
5, 79, 0, 0, 461, 124, 1, 0, 0, 0, 462, 463, 5, 87, 0, 0, 463, 464, 5,
72, 0, 0, 464, 465, 5, 73, 0, 0, 465, 466, 5, 76, 0, 0, 466, 467, 5, 69,
0, 0, 467, 126, 1, 0, 0, 0, 468, 469, 5, 64, 0, 0, 469, 128, 1, 0, 0, 0,
470, 472, 3, 149, 74, 0, 471, 470, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473,
471, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 484, 1, 0, 0, 0, 475, 479,
3, 151, 75, 0, 476, 478, 3, 129, 64, 0, 477, 476, 1, 0, 0, 0, 478, 481,
1, 0, 0, 0, 479, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 483, 1, 0,
0, 0, 481, 479, 1, 0, 0, 0, 482, 475, 1, 0, 0, 0, 483, 486, 1, 0, 0, 0,
484, 482, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 496, 1, 0, 0, 0, 486,
484, 1, 0, 0, 0, 487, 491, 3, 155, 77, 0, 488, 490, 3, 129, 64, 0, 489,
488, 1, 0, 0, 0, 490, 493, 1, 0, 0, 0, 491, 489, 1, 0, 0, 0, 491, 492,
1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 494, 487, 1, 0,
0, 0, 495, 498, 1, 0, 0, 0, 496, 494, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0,
497, 130, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 499, 500, 3, 153, 76, 0, 500,
132, 1, 0, 0, 0, 501, 506, 3, 159, 79, 0, 502, 506, 3, 157, 78, 0, 503,
506, 3, 161, 80, 0, 504, 506, 3, 163, 81, 0, 505, 501, 1, 0, 0, 0, 505,
502, 1, 0, 0, 0, 505, 503, 1, 0, 0, 0, 505, 504, 1, 0, 0, 0, 506, 134,
1, 0, 0, 0, 507, 509, 7, 2, 0, 0, 508, 507, 1, 0, 0, 0, 509, 510, 1, 0,
0, 0, 510, 508, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 136, 1, 0, 0, 0,
512, 513, 3, 145, 72, 0, 513, 515, 3, 13, 6, 0, 514, 516, 7, 2, 0, 0, 515,
514, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518,
1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 521, 3, 147, 73, 0, 520, 519, 1,
0, 0, 0, 520, 521, 1, 0, 0, 0, 521, 527, 1, 0, 0, 0, 522, 524, 3, 145,
72, 0, 523, 525, 3, 147, 73, 0, 524, 523, 1, 0, 0, 0, 524, 525, 1, 0, 0,
0, 525, 527, 1, 0, 0, 0, 526, 512, 1, 0, 0, 0, 526, 522, 1, 0, 0, 0, 527,
138, 1, 0, 0, 0, 528, 529, 3, 129, 64, 0, 529, 530, 3, 165, 82, 0, 530,
140, 1, 0, 0, 0, 531, 532, 9, 0, 0, 0, 532, 142, 1, 0, 0, 0, 533, 534,
7, 3, 0, 0, 534, 144, 1, 0, 0, 0, 535, 544, 5, 48, 0, 0, 536, 540, 7, 4,
0, 0, 537, 539, 7, 2, 0, 0, 538, 537, 1, 0, 0, 0, 539, 542, 1, 0, 0, 0,
540, 538, 1, 0, 0, 0, 540, 541, 1, 0, 0, 0, 541, 544, 1, 0, 0, 0, 542,
540, 1, 0, 0, 0, 543, 535, 1, 0, 0, 0, 543, 536, 1, 0, 0, 0, 544, 146,
1, 0, 0, 0, 545, 547, 7, 5, 0, 0, 546, 548, 7, 6, 0, 0, 547, 546, 1, 0,
0, 0, 547, 548, 1, 0, 0, 0, 548, 550, 1, 0, 0, 0, 549, 551, 7, 2, 0, 0,
550, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 550, 1, 0, 0, 0, 552,
553, 1, 0, 0, 0, 553, 148, 1, 0, 0, 0, 554, 555, 7, 7, 0, 0, 555, 150,
1, 0, 0, 0, 556, 557, 3, 153, 76, 0, 557, 152, 1, 0, 0, 0, 558, 559, 5,
95, 0, 0, 559, 154, 1, 0, 0, 0, 560, 561, 2, 48, 57, 0, 561, 156, 1, 0,
0, 0, 562, 570, 5, 34, 0, 0, 563, 564, 5, 92, 0, 0, 564, 569, 9, 0, 0,
0, 565, 566, 5, 34, 0, 0, 566, 569, 5, 34, 0, 0, 567, 569, 8, 8, 0, 0,
568, 563, 1, 0, 0, 0, 568, 565, 1, 0, 0, 0, 568, 567, 1, 0, 0, 0, 569,
572, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 573,
1, 0, 0, 0, 572, 570, 1, 0, 0, 0, 573, 574, 5, 34, 0, 0, 574, 158, 1, 0,
0, 0, 575, 583, 5, 39, 0, 0, 576, 577, 5, 92, 0, 0, 577, 582, 9, 0, 0,
0, 578, 579, 5, 39, 0, 0, 579, 582, 5, 39, 0, 0, 580, 582, 8, 9, 0, 0,
581, 576, 1, 0, 0, 0, 581, 578, 1, 0, 0, 0, 581, 580, 1, 0, 0, 0, 582,
585, 1, 0, 0, 0, 583, 581, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 586,
1, 0, 0, 0, 585, 583, 1, 0, 0, 0, 586, 587, 5, 39, 0, 0, 587, 160, 1, 0,
0, 0, 588, 594, 5, 96, 0, 0, 589, 590, 5, 92, 0, 0, 590, 593, 5, 96, 0,
0, 591, 593, 8, 10, 0, 0, 592, 589, 1, 0, 0, 0, 592, 591, 1, 0, 0, 0, 593,
596, 1, 0, 0, 0, 594, 592, 1, 0, 0, 0, 594, 595, 1, 0, 0, 0, 595, 597,
1, 0, 0, 0, 596, 594, 1, 0, 0, 0, 597, 598, 5, 96, 0, 0, 598, 162, 1, 0,
0, 0, 599, 605, 5, 180, 0, 0, 600, 601, 5, 92, 0, 0, 601, 604, 5, 180,
0, 0, 602, 604, 8, 11, 0, 0, 603, 600, 1, 0, 0, 0, 603, 602, 1, 0, 0, 0,
604, 607, 1, 0, 0, 0, 605, 603, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606,
608, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 608, 609, 5, 180, 0, 0, 609, 164,
1, 0, 0, 0, 610, 611, 5, 58, 0, 0, 611, 612, 5, 58, 0, 0, 612, 166, 1,
0, 0, 0, 32, 0, 173, 187, 195, 260, 266, 370, 400, 454, 473, 479, 484,
491, 496, 505, 510, 517, 520, 524, 526, 540, 543, 547, 552, 568, 570, 581,
583, 592, 594, 603, 605, 1, 0, 1, 0,
}
deserializer := antlr.NewATNDeserializer(nil)
staticData.atn = deserializer.Deserialize(staticData.serializedATN)
atn := staticData.atn
staticData.decisionToDFA = make([]*antlr.DFA, len(atn.DecisionToState))
decisionToDFA := staticData.decisionToDFA
for index, state := range atn.DecisionToState {
decisionToDFA[index] = antlr.NewDFA(state, index)
}
}
// FqlLexerInit initializes any static state used to implement FqlLexer. By default the
// static state used to implement the lexer is lazily initialized during the first call to
// NewFqlLexer(). You can call this function if you wish to initialize the static state ahead
// of time.
func FqlLexerInit() {
staticData := &FqlLexerLexerStaticData
staticData.once.Do(fqllexerLexerInit)
}
// NewFqlLexer produces a new lexer instance for the optional input antlr.CharStream.
func NewFqlLexer(input antlr.CharStream) *FqlLexer {
FqlLexerInit()
l := new(FqlLexer)
l.BaseLexer = antlr.NewBaseLexer(input)
staticData := &FqlLexerLexerStaticData
l.Interpreter = antlr.NewLexerATNSimulator(l, staticData.atn, staticData.decisionToDFA, staticData.PredictionContextCache)
l.channelNames = staticData.ChannelNames
l.modeNames = staticData.ModeNames
l.RuleNames = staticData.RuleNames
l.LiteralNames = staticData.LiteralNames
l.SymbolicNames = staticData.SymbolicNames
l.GrammarFileName = "FqlLexer.g4"
// TODO: l.EOF = antlr.TokenEOF
return l
}
// FqlLexer tokens.
const (
FqlLexerMultiLineComment = 1
FqlLexerSingleLineComment = 2
FqlLexerWhiteSpaces = 3
FqlLexerLineTerminator = 4
FqlLexerColon = 5
FqlLexerSemiColon = 6
FqlLexerDot = 7
FqlLexerComma = 8
FqlLexerOpenBracket = 9
FqlLexerCloseBracket = 10
FqlLexerOpenParen = 11
FqlLexerCloseParen = 12
FqlLexerOpenBrace = 13
FqlLexerCloseBrace = 14
FqlLexerGt = 15
FqlLexerLt = 16
FqlLexerEq = 17
FqlLexerGte = 18
FqlLexerLte = 19
FqlLexerNeq = 20
FqlLexerMulti = 21
FqlLexerDiv = 22
FqlLexerMod = 23
FqlLexerPlus = 24
FqlLexerMinus = 25
FqlLexerMinusMinus = 26
FqlLexerPlusPlus = 27
FqlLexerAnd = 28
FqlLexerOr = 29
FqlLexerRange = 30
FqlLexerAssign = 31
FqlLexerQuestionMark = 32
FqlLexerRegexNotMatch = 33
FqlLexerRegexMatch = 34
FqlLexerFor = 35
FqlLexerReturn = 36
FqlLexerWaitfor = 37
FqlLexerOptions = 38
FqlLexerTimeout = 39
FqlLexerDistinct = 40
FqlLexerFilter = 41
FqlLexerCurrent = 42
FqlLexerSort = 43
FqlLexerLimit = 44
FqlLexerLet = 45
FqlLexerCollect = 46
FqlLexerSortDirection = 47
FqlLexerNone = 48
FqlLexerNull = 49
FqlLexerBooleanLiteral = 50
FqlLexerUse = 51
FqlLexerInto = 52
FqlLexerKeep = 53
FqlLexerWith = 54
FqlLexerAll = 55
FqlLexerAny = 56
FqlLexerAggregate = 57
FqlLexerEvent = 58
FqlLexerLike = 59
FqlLexerNot = 60
FqlLexerIn = 61
FqlLexerDo = 62
FqlLexerWhile = 63
FqlLexerParam = 64
FqlLexerIdentifier = 65
FqlLexerIgnoreIdentifier = 66
FqlLexerStringLiteral = 67
FqlLexerIntegerLiteral = 68
FqlLexerFloatLiteral = 69
FqlLexerNamespaceSegment = 70
FqlLexerUnknownIdentifier = 71
)

14032
pkg/parser/fql/fql_parser.go Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,461 @@
// Code generated from antlr/FqlParser.g4 by ANTLR 4.13.2. DO NOT EDIT.
package fql // FqlParser
import "github.com/antlr4-go/antlr/v4"
// BaseFqlParserListener is a complete listener for a parse tree produced by FqlParser.
type BaseFqlParserListener struct{}
var _ FqlParserListener = &BaseFqlParserListener{}
// VisitTerminal is called when a terminal node is visited.
func (s *BaseFqlParserListener) VisitTerminal(node antlr.TerminalNode) {}
// VisitErrorNode is called when an error node is visited.
func (s *BaseFqlParserListener) VisitErrorNode(node antlr.ErrorNode) {}
// EnterEveryRule is called when any rule is entered.
func (s *BaseFqlParserListener) EnterEveryRule(ctx antlr.ParserRuleContext) {}
// ExitEveryRule is called when any rule is exited.
func (s *BaseFqlParserListener) ExitEveryRule(ctx antlr.ParserRuleContext) {}
// EnterProgram is called when production program is entered.
func (s *BaseFqlParserListener) EnterProgram(ctx *ProgramContext) {}
// ExitProgram is called when production program is exited.
func (s *BaseFqlParserListener) ExitProgram(ctx *ProgramContext) {}
// EnterHead is called when production head is entered.
func (s *BaseFqlParserListener) EnterHead(ctx *HeadContext) {}
// ExitHead is called when production head is exited.
func (s *BaseFqlParserListener) ExitHead(ctx *HeadContext) {}
// EnterUseExpression is called when production useExpression is entered.
func (s *BaseFqlParserListener) EnterUseExpression(ctx *UseExpressionContext) {}
// ExitUseExpression is called when production useExpression is exited.
func (s *BaseFqlParserListener) ExitUseExpression(ctx *UseExpressionContext) {}
// EnterUse is called when production use is entered.
func (s *BaseFqlParserListener) EnterUse(ctx *UseContext) {}
// ExitUse is called when production use is exited.
func (s *BaseFqlParserListener) ExitUse(ctx *UseContext) {}
// EnterBody is called when production body is entered.
func (s *BaseFqlParserListener) EnterBody(ctx *BodyContext) {}
// ExitBody is called when production body is exited.
func (s *BaseFqlParserListener) ExitBody(ctx *BodyContext) {}
// EnterBodyStatement is called when production bodyStatement is entered.
func (s *BaseFqlParserListener) EnterBodyStatement(ctx *BodyStatementContext) {}
// ExitBodyStatement is called when production bodyStatement is exited.
func (s *BaseFqlParserListener) ExitBodyStatement(ctx *BodyStatementContext) {}
// EnterBodyExpression is called when production bodyExpression is entered.
func (s *BaseFqlParserListener) EnterBodyExpression(ctx *BodyExpressionContext) {}
// ExitBodyExpression is called when production bodyExpression is exited.
func (s *BaseFqlParserListener) ExitBodyExpression(ctx *BodyExpressionContext) {}
// EnterVariableDeclaration is called when production variableDeclaration is entered.
func (s *BaseFqlParserListener) EnterVariableDeclaration(ctx *VariableDeclarationContext) {}
// ExitVariableDeclaration is called when production variableDeclaration is exited.
func (s *BaseFqlParserListener) ExitVariableDeclaration(ctx *VariableDeclarationContext) {}
// EnterReturnExpression is called when production returnExpression is entered.
func (s *BaseFqlParserListener) EnterReturnExpression(ctx *ReturnExpressionContext) {}
// ExitReturnExpression is called when production returnExpression is exited.
func (s *BaseFqlParserListener) ExitReturnExpression(ctx *ReturnExpressionContext) {}
// EnterForExpression is called when production forExpression is entered.
func (s *BaseFqlParserListener) EnterForExpression(ctx *ForExpressionContext) {}
// ExitForExpression is called when production forExpression is exited.
func (s *BaseFqlParserListener) ExitForExpression(ctx *ForExpressionContext) {}
// EnterForExpressionSource is called when production forExpressionSource is entered.
func (s *BaseFqlParserListener) EnterForExpressionSource(ctx *ForExpressionSourceContext) {}
// ExitForExpressionSource is called when production forExpressionSource is exited.
func (s *BaseFqlParserListener) ExitForExpressionSource(ctx *ForExpressionSourceContext) {}
// EnterForExpressionClause is called when production forExpressionClause is entered.
func (s *BaseFqlParserListener) EnterForExpressionClause(ctx *ForExpressionClauseContext) {}
// ExitForExpressionClause is called when production forExpressionClause is exited.
func (s *BaseFqlParserListener) ExitForExpressionClause(ctx *ForExpressionClauseContext) {}
// EnterForExpressionStatement is called when production forExpressionStatement is entered.
func (s *BaseFqlParserListener) EnterForExpressionStatement(ctx *ForExpressionStatementContext) {}
// ExitForExpressionStatement is called when production forExpressionStatement is exited.
func (s *BaseFqlParserListener) ExitForExpressionStatement(ctx *ForExpressionStatementContext) {}
// EnterForExpressionBody is called when production forExpressionBody is entered.
func (s *BaseFqlParserListener) EnterForExpressionBody(ctx *ForExpressionBodyContext) {}
// ExitForExpressionBody is called when production forExpressionBody is exited.
func (s *BaseFqlParserListener) ExitForExpressionBody(ctx *ForExpressionBodyContext) {}
// EnterForExpressionReturn is called when production forExpressionReturn is entered.
func (s *BaseFqlParserListener) EnterForExpressionReturn(ctx *ForExpressionReturnContext) {}
// ExitForExpressionReturn is called when production forExpressionReturn is exited.
func (s *BaseFqlParserListener) ExitForExpressionReturn(ctx *ForExpressionReturnContext) {}
// EnterFilterClause is called when production filterClause is entered.
func (s *BaseFqlParserListener) EnterFilterClause(ctx *FilterClauseContext) {}
// ExitFilterClause is called when production filterClause is exited.
func (s *BaseFqlParserListener) ExitFilterClause(ctx *FilterClauseContext) {}
// EnterLimitClause is called when production limitClause is entered.
func (s *BaseFqlParserListener) EnterLimitClause(ctx *LimitClauseContext) {}
// ExitLimitClause is called when production limitClause is exited.
func (s *BaseFqlParserListener) ExitLimitClause(ctx *LimitClauseContext) {}
// EnterLimitClauseValue is called when production limitClauseValue is entered.
func (s *BaseFqlParserListener) EnterLimitClauseValue(ctx *LimitClauseValueContext) {}
// ExitLimitClauseValue is called when production limitClauseValue is exited.
func (s *BaseFqlParserListener) ExitLimitClauseValue(ctx *LimitClauseValueContext) {}
// EnterSortClause is called when production sortClause is entered.
func (s *BaseFqlParserListener) EnterSortClause(ctx *SortClauseContext) {}
// ExitSortClause is called when production sortClause is exited.
func (s *BaseFqlParserListener) ExitSortClause(ctx *SortClauseContext) {}
// EnterSortClauseExpression is called when production sortClauseExpression is entered.
func (s *BaseFqlParserListener) EnterSortClauseExpression(ctx *SortClauseExpressionContext) {}
// ExitSortClauseExpression is called when production sortClauseExpression is exited.
func (s *BaseFqlParserListener) ExitSortClauseExpression(ctx *SortClauseExpressionContext) {}
// EnterCollectClause is called when production collectClause is entered.
func (s *BaseFqlParserListener) EnterCollectClause(ctx *CollectClauseContext) {}
// ExitCollectClause is called when production collectClause is exited.
func (s *BaseFqlParserListener) ExitCollectClause(ctx *CollectClauseContext) {}
// EnterCollectSelector is called when production collectSelector is entered.
func (s *BaseFqlParserListener) EnterCollectSelector(ctx *CollectSelectorContext) {}
// ExitCollectSelector is called when production collectSelector is exited.
func (s *BaseFqlParserListener) ExitCollectSelector(ctx *CollectSelectorContext) {}
// EnterCollectGrouping is called when production collectGrouping is entered.
func (s *BaseFqlParserListener) EnterCollectGrouping(ctx *CollectGroupingContext) {}
// ExitCollectGrouping is called when production collectGrouping is exited.
func (s *BaseFqlParserListener) ExitCollectGrouping(ctx *CollectGroupingContext) {}
// EnterCollectAggregateSelector is called when production collectAggregateSelector is entered.
func (s *BaseFqlParserListener) EnterCollectAggregateSelector(ctx *CollectAggregateSelectorContext) {}
// ExitCollectAggregateSelector is called when production collectAggregateSelector is exited.
func (s *BaseFqlParserListener) ExitCollectAggregateSelector(ctx *CollectAggregateSelectorContext) {}
// EnterCollectAggregator is called when production collectAggregator is entered.
func (s *BaseFqlParserListener) EnterCollectAggregator(ctx *CollectAggregatorContext) {}
// ExitCollectAggregator is called when production collectAggregator is exited.
func (s *BaseFqlParserListener) ExitCollectAggregator(ctx *CollectAggregatorContext) {}
// EnterCollectGroupProjection is called when production collectGroupProjection is entered.
func (s *BaseFqlParserListener) EnterCollectGroupProjection(ctx *CollectGroupProjectionContext) {}
// ExitCollectGroupProjection is called when production collectGroupProjection is exited.
func (s *BaseFqlParserListener) ExitCollectGroupProjection(ctx *CollectGroupProjectionContext) {}
// EnterCollectGroupProjectionFilter is called when production collectGroupProjectionFilter is entered.
func (s *BaseFqlParserListener) EnterCollectGroupProjectionFilter(ctx *CollectGroupProjectionFilterContext) {
}
// ExitCollectGroupProjectionFilter is called when production collectGroupProjectionFilter is exited.
func (s *BaseFqlParserListener) ExitCollectGroupProjectionFilter(ctx *CollectGroupProjectionFilterContext) {
}
// EnterCollectCounter is called when production collectCounter is entered.
func (s *BaseFqlParserListener) EnterCollectCounter(ctx *CollectCounterContext) {}
// ExitCollectCounter is called when production collectCounter is exited.
func (s *BaseFqlParserListener) ExitCollectCounter(ctx *CollectCounterContext) {}
// EnterWaitForExpression is called when production waitForExpression is entered.
func (s *BaseFqlParserListener) EnterWaitForExpression(ctx *WaitForExpressionContext) {}
// ExitWaitForExpression is called when production waitForExpression is exited.
func (s *BaseFqlParserListener) ExitWaitForExpression(ctx *WaitForExpressionContext) {}
// EnterWaitForEventName is called when production waitForEventName is entered.
func (s *BaseFqlParserListener) EnterWaitForEventName(ctx *WaitForEventNameContext) {}
// ExitWaitForEventName is called when production waitForEventName is exited.
func (s *BaseFqlParserListener) ExitWaitForEventName(ctx *WaitForEventNameContext) {}
// EnterWaitForEventSource is called when production waitForEventSource is entered.
func (s *BaseFqlParserListener) EnterWaitForEventSource(ctx *WaitForEventSourceContext) {}
// ExitWaitForEventSource is called when production waitForEventSource is exited.
func (s *BaseFqlParserListener) ExitWaitForEventSource(ctx *WaitForEventSourceContext) {}
// EnterOptionsClause is called when production optionsClause is entered.
func (s *BaseFqlParserListener) EnterOptionsClause(ctx *OptionsClauseContext) {}
// ExitOptionsClause is called when production optionsClause is exited.
func (s *BaseFqlParserListener) ExitOptionsClause(ctx *OptionsClauseContext) {}
// EnterTimeoutClause is called when production timeoutClause is entered.
func (s *BaseFqlParserListener) EnterTimeoutClause(ctx *TimeoutClauseContext) {}
// ExitTimeoutClause is called when production timeoutClause is exited.
func (s *BaseFqlParserListener) ExitTimeoutClause(ctx *TimeoutClauseContext) {}
// EnterParam is called when production param is entered.
func (s *BaseFqlParserListener) EnterParam(ctx *ParamContext) {}
// ExitParam is called when production param is exited.
func (s *BaseFqlParserListener) ExitParam(ctx *ParamContext) {}
// EnterVariable is called when production variable is entered.
func (s *BaseFqlParserListener) EnterVariable(ctx *VariableContext) {}
// ExitVariable is called when production variable is exited.
func (s *BaseFqlParserListener) ExitVariable(ctx *VariableContext) {}
// EnterLiteral is called when production literal is entered.
func (s *BaseFqlParserListener) EnterLiteral(ctx *LiteralContext) {}
// ExitLiteral is called when production literal is exited.
func (s *BaseFqlParserListener) ExitLiteral(ctx *LiteralContext) {}
// EnterArrayLiteral is called when production arrayLiteral is entered.
func (s *BaseFqlParserListener) EnterArrayLiteral(ctx *ArrayLiteralContext) {}
// ExitArrayLiteral is called when production arrayLiteral is exited.
func (s *BaseFqlParserListener) ExitArrayLiteral(ctx *ArrayLiteralContext) {}
// EnterObjectLiteral is called when production objectLiteral is entered.
func (s *BaseFqlParserListener) EnterObjectLiteral(ctx *ObjectLiteralContext) {}
// ExitObjectLiteral is called when production objectLiteral is exited.
func (s *BaseFqlParserListener) ExitObjectLiteral(ctx *ObjectLiteralContext) {}
// EnterBooleanLiteral is called when production booleanLiteral is entered.
func (s *BaseFqlParserListener) EnterBooleanLiteral(ctx *BooleanLiteralContext) {}
// ExitBooleanLiteral is called when production booleanLiteral is exited.
func (s *BaseFqlParserListener) ExitBooleanLiteral(ctx *BooleanLiteralContext) {}
// EnterStringLiteral is called when production stringLiteral is entered.
func (s *BaseFqlParserListener) EnterStringLiteral(ctx *StringLiteralContext) {}
// ExitStringLiteral is called when production stringLiteral is exited.
func (s *BaseFqlParserListener) ExitStringLiteral(ctx *StringLiteralContext) {}
// EnterFloatLiteral is called when production floatLiteral is entered.
func (s *BaseFqlParserListener) EnterFloatLiteral(ctx *FloatLiteralContext) {}
// ExitFloatLiteral is called when production floatLiteral is exited.
func (s *BaseFqlParserListener) ExitFloatLiteral(ctx *FloatLiteralContext) {}
// EnterIntegerLiteral is called when production integerLiteral is entered.
func (s *BaseFqlParserListener) EnterIntegerLiteral(ctx *IntegerLiteralContext) {}
// ExitIntegerLiteral is called when production integerLiteral is exited.
func (s *BaseFqlParserListener) ExitIntegerLiteral(ctx *IntegerLiteralContext) {}
// EnterNoneLiteral is called when production noneLiteral is entered.
func (s *BaseFqlParserListener) EnterNoneLiteral(ctx *NoneLiteralContext) {}
// ExitNoneLiteral is called when production noneLiteral is exited.
func (s *BaseFqlParserListener) ExitNoneLiteral(ctx *NoneLiteralContext) {}
// EnterPropertyAssignment is called when production propertyAssignment is entered.
func (s *BaseFqlParserListener) EnterPropertyAssignment(ctx *PropertyAssignmentContext) {}
// ExitPropertyAssignment is called when production propertyAssignment is exited.
func (s *BaseFqlParserListener) ExitPropertyAssignment(ctx *PropertyAssignmentContext) {}
// EnterComputedPropertyName is called when production computedPropertyName is entered.
func (s *BaseFqlParserListener) EnterComputedPropertyName(ctx *ComputedPropertyNameContext) {}
// ExitComputedPropertyName is called when production computedPropertyName is exited.
func (s *BaseFqlParserListener) ExitComputedPropertyName(ctx *ComputedPropertyNameContext) {}
// EnterPropertyName is called when production propertyName is entered.
func (s *BaseFqlParserListener) EnterPropertyName(ctx *PropertyNameContext) {}
// ExitPropertyName is called when production propertyName is exited.
func (s *BaseFqlParserListener) ExitPropertyName(ctx *PropertyNameContext) {}
// EnterNamespaceIdentifier is called when production namespaceIdentifier is entered.
func (s *BaseFqlParserListener) EnterNamespaceIdentifier(ctx *NamespaceIdentifierContext) {}
// ExitNamespaceIdentifier is called when production namespaceIdentifier is exited.
func (s *BaseFqlParserListener) ExitNamespaceIdentifier(ctx *NamespaceIdentifierContext) {}
// EnterNamespace is called when production namespace is entered.
func (s *BaseFqlParserListener) EnterNamespace(ctx *NamespaceContext) {}
// ExitNamespace is called when production namespace is exited.
func (s *BaseFqlParserListener) ExitNamespace(ctx *NamespaceContext) {}
// EnterMemberExpression is called when production memberExpression is entered.
func (s *BaseFqlParserListener) EnterMemberExpression(ctx *MemberExpressionContext) {}
// ExitMemberExpression is called when production memberExpression is exited.
func (s *BaseFqlParserListener) ExitMemberExpression(ctx *MemberExpressionContext) {}
// EnterMemberExpressionSource is called when production memberExpressionSource is entered.
func (s *BaseFqlParserListener) EnterMemberExpressionSource(ctx *MemberExpressionSourceContext) {}
// ExitMemberExpressionSource is called when production memberExpressionSource is exited.
func (s *BaseFqlParserListener) ExitMemberExpressionSource(ctx *MemberExpressionSourceContext) {}
// EnterFunctionCallExpression is called when production functionCallExpression is entered.
func (s *BaseFqlParserListener) EnterFunctionCallExpression(ctx *FunctionCallExpressionContext) {}
// ExitFunctionCallExpression is called when production functionCallExpression is exited.
func (s *BaseFqlParserListener) ExitFunctionCallExpression(ctx *FunctionCallExpressionContext) {}
// EnterFunctionCall is called when production functionCall is entered.
func (s *BaseFqlParserListener) EnterFunctionCall(ctx *FunctionCallContext) {}
// ExitFunctionCall is called when production functionCall is exited.
func (s *BaseFqlParserListener) ExitFunctionCall(ctx *FunctionCallContext) {}
// EnterFunctionName is called when production functionName is entered.
func (s *BaseFqlParserListener) EnterFunctionName(ctx *FunctionNameContext) {}
// ExitFunctionName is called when production functionName is exited.
func (s *BaseFqlParserListener) ExitFunctionName(ctx *FunctionNameContext) {}
// EnterArgumentList is called when production argumentList is entered.
func (s *BaseFqlParserListener) EnterArgumentList(ctx *ArgumentListContext) {}
// ExitArgumentList is called when production argumentList is exited.
func (s *BaseFqlParserListener) ExitArgumentList(ctx *ArgumentListContext) {}
// EnterMemberExpressionPath is called when production memberExpressionPath is entered.
func (s *BaseFqlParserListener) EnterMemberExpressionPath(ctx *MemberExpressionPathContext) {}
// ExitMemberExpressionPath is called when production memberExpressionPath is exited.
func (s *BaseFqlParserListener) ExitMemberExpressionPath(ctx *MemberExpressionPathContext) {}
// EnterSafeReservedWord is called when production safeReservedWord is entered.
func (s *BaseFqlParserListener) EnterSafeReservedWord(ctx *SafeReservedWordContext) {}
// ExitSafeReservedWord is called when production safeReservedWord is exited.
func (s *BaseFqlParserListener) ExitSafeReservedWord(ctx *SafeReservedWordContext) {}
// EnterUnsafeReservedWord is called when production unsafeReservedWord is entered.
func (s *BaseFqlParserListener) EnterUnsafeReservedWord(ctx *UnsafeReservedWordContext) {}
// ExitUnsafeReservedWord is called when production unsafeReservedWord is exited.
func (s *BaseFqlParserListener) ExitUnsafeReservedWord(ctx *UnsafeReservedWordContext) {}
// EnterRangeOperator is called when production rangeOperator is entered.
func (s *BaseFqlParserListener) EnterRangeOperator(ctx *RangeOperatorContext) {}
// ExitRangeOperator is called when production rangeOperator is exited.
func (s *BaseFqlParserListener) ExitRangeOperator(ctx *RangeOperatorContext) {}
// EnterRangeOperand is called when production rangeOperand is entered.
func (s *BaseFqlParserListener) EnterRangeOperand(ctx *RangeOperandContext) {}
// ExitRangeOperand is called when production rangeOperand is exited.
func (s *BaseFqlParserListener) ExitRangeOperand(ctx *RangeOperandContext) {}
// EnterExpression is called when production expression is entered.
func (s *BaseFqlParserListener) EnterExpression(ctx *ExpressionContext) {}
// ExitExpression is called when production expression is exited.
func (s *BaseFqlParserListener) ExitExpression(ctx *ExpressionContext) {}
// EnterPredicate is called when production predicate is entered.
func (s *BaseFqlParserListener) EnterPredicate(ctx *PredicateContext) {}
// ExitPredicate is called when production predicate is exited.
func (s *BaseFqlParserListener) ExitPredicate(ctx *PredicateContext) {}
// EnterExpressionAtom is called when production expressionAtom is entered.
func (s *BaseFqlParserListener) EnterExpressionAtom(ctx *ExpressionAtomContext) {}
// ExitExpressionAtom is called when production expressionAtom is exited.
func (s *BaseFqlParserListener) ExitExpressionAtom(ctx *ExpressionAtomContext) {}
// EnterArrayOperator is called when production arrayOperator is entered.
func (s *BaseFqlParserListener) EnterArrayOperator(ctx *ArrayOperatorContext) {}
// ExitArrayOperator is called when production arrayOperator is exited.
func (s *BaseFqlParserListener) ExitArrayOperator(ctx *ArrayOperatorContext) {}
// EnterEqualityOperator is called when production equalityOperator is entered.
func (s *BaseFqlParserListener) EnterEqualityOperator(ctx *EqualityOperatorContext) {}
// ExitEqualityOperator is called when production equalityOperator is exited.
func (s *BaseFqlParserListener) ExitEqualityOperator(ctx *EqualityOperatorContext) {}
// EnterInOperator is called when production inOperator is entered.
func (s *BaseFqlParserListener) EnterInOperator(ctx *InOperatorContext) {}
// ExitInOperator is called when production inOperator is exited.
func (s *BaseFqlParserListener) ExitInOperator(ctx *InOperatorContext) {}
// EnterLikeOperator is called when production likeOperator is entered.
func (s *BaseFqlParserListener) EnterLikeOperator(ctx *LikeOperatorContext) {}
// ExitLikeOperator is called when production likeOperator is exited.
func (s *BaseFqlParserListener) ExitLikeOperator(ctx *LikeOperatorContext) {}
// EnterUnaryOperator is called when production unaryOperator is entered.
func (s *BaseFqlParserListener) EnterUnaryOperator(ctx *UnaryOperatorContext) {}
// ExitUnaryOperator is called when production unaryOperator is exited.
func (s *BaseFqlParserListener) ExitUnaryOperator(ctx *UnaryOperatorContext) {}
// EnterRegexpOperator is called when production regexpOperator is entered.
func (s *BaseFqlParserListener) EnterRegexpOperator(ctx *RegexpOperatorContext) {}
// ExitRegexpOperator is called when production regexpOperator is exited.
func (s *BaseFqlParserListener) ExitRegexpOperator(ctx *RegexpOperatorContext) {}
// EnterLogicalAndOperator is called when production logicalAndOperator is entered.
func (s *BaseFqlParserListener) EnterLogicalAndOperator(ctx *LogicalAndOperatorContext) {}
// ExitLogicalAndOperator is called when production logicalAndOperator is exited.
func (s *BaseFqlParserListener) ExitLogicalAndOperator(ctx *LogicalAndOperatorContext) {}
// EnterLogicalOrOperator is called when production logicalOrOperator is entered.
func (s *BaseFqlParserListener) EnterLogicalOrOperator(ctx *LogicalOrOperatorContext) {}
// ExitLogicalOrOperator is called when production logicalOrOperator is exited.
func (s *BaseFqlParserListener) ExitLogicalOrOperator(ctx *LogicalOrOperatorContext) {}
// EnterMultiplicativeOperator is called when production multiplicativeOperator is entered.
func (s *BaseFqlParserListener) EnterMultiplicativeOperator(ctx *MultiplicativeOperatorContext) {}
// ExitMultiplicativeOperator is called when production multiplicativeOperator is exited.
func (s *BaseFqlParserListener) ExitMultiplicativeOperator(ctx *MultiplicativeOperatorContext) {}
// EnterAdditiveOperator is called when production additiveOperator is entered.
func (s *BaseFqlParserListener) EnterAdditiveOperator(ctx *AdditiveOperatorContext) {}
// ExitAdditiveOperator is called when production additiveOperator is exited.
func (s *BaseFqlParserListener) ExitAdditiveOperator(ctx *AdditiveOperatorContext) {}
// EnterErrorOperator is called when production errorOperator is entered.
func (s *BaseFqlParserListener) EnterErrorOperator(ctx *ErrorOperatorContext) {}
// ExitErrorOperator is called when production errorOperator is exited.
func (s *BaseFqlParserListener) ExitErrorOperator(ctx *ErrorOperatorContext) {}

View File

@@ -0,0 +1,300 @@
// Code generated from antlr/FqlParser.g4 by ANTLR 4.13.2. DO NOT EDIT.
package fql // FqlParser
import "github.com/antlr4-go/antlr/v4"
type BaseFqlParserVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (v *BaseFqlParserVisitor) VisitProgram(ctx *ProgramContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitHead(ctx *HeadContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitUseExpression(ctx *UseExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitUse(ctx *UseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitBody(ctx *BodyContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitBodyStatement(ctx *BodyStatementContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitBodyExpression(ctx *BodyExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitVariableDeclaration(ctx *VariableDeclarationContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitReturnExpression(ctx *ReturnExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpression(ctx *ForExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpressionSource(ctx *ForExpressionSourceContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpressionClause(ctx *ForExpressionClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpressionStatement(ctx *ForExpressionStatementContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpressionBody(ctx *ForExpressionBodyContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitForExpressionReturn(ctx *ForExpressionReturnContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitFilterClause(ctx *FilterClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLimitClause(ctx *LimitClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLimitClauseValue(ctx *LimitClauseValueContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitSortClause(ctx *SortClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitSortClauseExpression(ctx *SortClauseExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectClause(ctx *CollectClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectSelector(ctx *CollectSelectorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectGrouping(ctx *CollectGroupingContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectAggregateSelector(ctx *CollectAggregateSelectorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectAggregator(ctx *CollectAggregatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectGroupProjection(ctx *CollectGroupProjectionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectGroupProjectionFilter(ctx *CollectGroupProjectionFilterContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitCollectCounter(ctx *CollectCounterContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitWaitForExpression(ctx *WaitForExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitWaitForEventName(ctx *WaitForEventNameContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitWaitForEventSource(ctx *WaitForEventSourceContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitOptionsClause(ctx *OptionsClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitTimeoutClause(ctx *TimeoutClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitParam(ctx *ParamContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitVariable(ctx *VariableContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLiteral(ctx *LiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitArrayLiteral(ctx *ArrayLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitObjectLiteral(ctx *ObjectLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitBooleanLiteral(ctx *BooleanLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitFloatLiteral(ctx *FloatLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitNoneLiteral(ctx *NoneLiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitPropertyAssignment(ctx *PropertyAssignmentContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitComputedPropertyName(ctx *ComputedPropertyNameContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitPropertyName(ctx *PropertyNameContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitNamespaceIdentifier(ctx *NamespaceIdentifierContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitNamespace(ctx *NamespaceContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitMemberExpression(ctx *MemberExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitMemberExpressionSource(ctx *MemberExpressionSourceContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitFunctionCallExpression(ctx *FunctionCallExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitFunctionCall(ctx *FunctionCallContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitFunctionName(ctx *FunctionNameContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitArgumentList(ctx *ArgumentListContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitMemberExpressionPath(ctx *MemberExpressionPathContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitSafeReservedWord(ctx *SafeReservedWordContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitUnsafeReservedWord(ctx *UnsafeReservedWordContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitRangeOperator(ctx *RangeOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitRangeOperand(ctx *RangeOperandContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitExpression(ctx *ExpressionContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitPredicate(ctx *PredicateContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitExpressionAtom(ctx *ExpressionAtomContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitArrayOperator(ctx *ArrayOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitEqualityOperator(ctx *EqualityOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitInOperator(ctx *InOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLikeOperator(ctx *LikeOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitUnaryOperator(ctx *UnaryOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitRegexpOperator(ctx *RegexpOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLogicalAndOperator(ctx *LogicalAndOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitLogicalOrOperator(ctx *LogicalOrOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitMultiplicativeOperator(ctx *MultiplicativeOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitAdditiveOperator(ctx *AdditiveOperatorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseFqlParserVisitor) VisitErrorOperator(ctx *ErrorOperatorContext) interface{} {
return v.VisitChildren(ctx)
}

View File

@@ -0,0 +1,447 @@
// Code generated from antlr/FqlParser.g4 by ANTLR 4.13.2. DO NOT EDIT.
package fql // FqlParser
import "github.com/antlr4-go/antlr/v4"
// FqlParserListener is a complete listener for a parse tree produced by FqlParser.
type FqlParserListener interface {
antlr.ParseTreeListener
// EnterProgram is called when entering the program production.
EnterProgram(c *ProgramContext)
// EnterHead is called when entering the head production.
EnterHead(c *HeadContext)
// EnterUseExpression is called when entering the useExpression production.
EnterUseExpression(c *UseExpressionContext)
// EnterUse is called when entering the use production.
EnterUse(c *UseContext)
// EnterBody is called when entering the body production.
EnterBody(c *BodyContext)
// EnterBodyStatement is called when entering the bodyStatement production.
EnterBodyStatement(c *BodyStatementContext)
// EnterBodyExpression is called when entering the bodyExpression production.
EnterBodyExpression(c *BodyExpressionContext)
// EnterVariableDeclaration is called when entering the variableDeclaration production.
EnterVariableDeclaration(c *VariableDeclarationContext)
// EnterReturnExpression is called when entering the returnExpression production.
EnterReturnExpression(c *ReturnExpressionContext)
// EnterForExpression is called when entering the forExpression production.
EnterForExpression(c *ForExpressionContext)
// EnterForExpressionSource is called when entering the forExpressionSource production.
EnterForExpressionSource(c *ForExpressionSourceContext)
// EnterForExpressionClause is called when entering the forExpressionClause production.
EnterForExpressionClause(c *ForExpressionClauseContext)
// EnterForExpressionStatement is called when entering the forExpressionStatement production.
EnterForExpressionStatement(c *ForExpressionStatementContext)
// EnterForExpressionBody is called when entering the forExpressionBody production.
EnterForExpressionBody(c *ForExpressionBodyContext)
// EnterForExpressionReturn is called when entering the forExpressionReturn production.
EnterForExpressionReturn(c *ForExpressionReturnContext)
// EnterFilterClause is called when entering the filterClause production.
EnterFilterClause(c *FilterClauseContext)
// EnterLimitClause is called when entering the limitClause production.
EnterLimitClause(c *LimitClauseContext)
// EnterLimitClauseValue is called when entering the limitClauseValue production.
EnterLimitClauseValue(c *LimitClauseValueContext)
// EnterSortClause is called when entering the sortClause production.
EnterSortClause(c *SortClauseContext)
// EnterSortClauseExpression is called when entering the sortClauseExpression production.
EnterSortClauseExpression(c *SortClauseExpressionContext)
// EnterCollectClause is called when entering the collectClause production.
EnterCollectClause(c *CollectClauseContext)
// EnterCollectSelector is called when entering the collectSelector production.
EnterCollectSelector(c *CollectSelectorContext)
// EnterCollectGrouping is called when entering the collectGrouping production.
EnterCollectGrouping(c *CollectGroupingContext)
// EnterCollectAggregateSelector is called when entering the collectAggregateSelector production.
EnterCollectAggregateSelector(c *CollectAggregateSelectorContext)
// EnterCollectAggregator is called when entering the collectAggregator production.
EnterCollectAggregator(c *CollectAggregatorContext)
// EnterCollectGroupProjection is called when entering the collectGroupProjection production.
EnterCollectGroupProjection(c *CollectGroupProjectionContext)
// EnterCollectGroupProjectionFilter is called when entering the collectGroupProjectionFilter production.
EnterCollectGroupProjectionFilter(c *CollectGroupProjectionFilterContext)
// EnterCollectCounter is called when entering the collectCounter production.
EnterCollectCounter(c *CollectCounterContext)
// EnterWaitForExpression is called when entering the waitForExpression production.
EnterWaitForExpression(c *WaitForExpressionContext)
// EnterWaitForEventName is called when entering the waitForEventName production.
EnterWaitForEventName(c *WaitForEventNameContext)
// EnterWaitForEventSource is called when entering the waitForEventSource production.
EnterWaitForEventSource(c *WaitForEventSourceContext)
// EnterOptionsClause is called when entering the optionsClause production.
EnterOptionsClause(c *OptionsClauseContext)
// EnterTimeoutClause is called when entering the timeoutClause production.
EnterTimeoutClause(c *TimeoutClauseContext)
// EnterParam is called when entering the param production.
EnterParam(c *ParamContext)
// EnterVariable is called when entering the variable production.
EnterVariable(c *VariableContext)
// EnterLiteral is called when entering the literal production.
EnterLiteral(c *LiteralContext)
// EnterArrayLiteral is called when entering the arrayLiteral production.
EnterArrayLiteral(c *ArrayLiteralContext)
// EnterObjectLiteral is called when entering the objectLiteral production.
EnterObjectLiteral(c *ObjectLiteralContext)
// EnterBooleanLiteral is called when entering the booleanLiteral production.
EnterBooleanLiteral(c *BooleanLiteralContext)
// EnterStringLiteral is called when entering the stringLiteral production.
EnterStringLiteral(c *StringLiteralContext)
// EnterFloatLiteral is called when entering the floatLiteral production.
EnterFloatLiteral(c *FloatLiteralContext)
// EnterIntegerLiteral is called when entering the integerLiteral production.
EnterIntegerLiteral(c *IntegerLiteralContext)
// EnterNoneLiteral is called when entering the noneLiteral production.
EnterNoneLiteral(c *NoneLiteralContext)
// EnterPropertyAssignment is called when entering the propertyAssignment production.
EnterPropertyAssignment(c *PropertyAssignmentContext)
// EnterComputedPropertyName is called when entering the computedPropertyName production.
EnterComputedPropertyName(c *ComputedPropertyNameContext)
// EnterPropertyName is called when entering the propertyName production.
EnterPropertyName(c *PropertyNameContext)
// EnterNamespaceIdentifier is called when entering the namespaceIdentifier production.
EnterNamespaceIdentifier(c *NamespaceIdentifierContext)
// EnterNamespace is called when entering the namespace production.
EnterNamespace(c *NamespaceContext)
// EnterMemberExpression is called when entering the memberExpression production.
EnterMemberExpression(c *MemberExpressionContext)
// EnterMemberExpressionSource is called when entering the memberExpressionSource production.
EnterMemberExpressionSource(c *MemberExpressionSourceContext)
// EnterFunctionCallExpression is called when entering the functionCallExpression production.
EnterFunctionCallExpression(c *FunctionCallExpressionContext)
// EnterFunctionCall is called when entering the functionCall production.
EnterFunctionCall(c *FunctionCallContext)
// EnterFunctionName is called when entering the functionName production.
EnterFunctionName(c *FunctionNameContext)
// EnterArgumentList is called when entering the argumentList production.
EnterArgumentList(c *ArgumentListContext)
// EnterMemberExpressionPath is called when entering the memberExpressionPath production.
EnterMemberExpressionPath(c *MemberExpressionPathContext)
// EnterSafeReservedWord is called when entering the safeReservedWord production.
EnterSafeReservedWord(c *SafeReservedWordContext)
// EnterUnsafeReservedWord is called when entering the unsafeReservedWord production.
EnterUnsafeReservedWord(c *UnsafeReservedWordContext)
// EnterRangeOperator is called when entering the rangeOperator production.
EnterRangeOperator(c *RangeOperatorContext)
// EnterRangeOperand is called when entering the rangeOperand production.
EnterRangeOperand(c *RangeOperandContext)
// EnterExpression is called when entering the expression production.
EnterExpression(c *ExpressionContext)
// EnterPredicate is called when entering the predicate production.
EnterPredicate(c *PredicateContext)
// EnterExpressionAtom is called when entering the expressionAtom production.
EnterExpressionAtom(c *ExpressionAtomContext)
// EnterArrayOperator is called when entering the arrayOperator production.
EnterArrayOperator(c *ArrayOperatorContext)
// EnterEqualityOperator is called when entering the equalityOperator production.
EnterEqualityOperator(c *EqualityOperatorContext)
// EnterInOperator is called when entering the inOperator production.
EnterInOperator(c *InOperatorContext)
// EnterLikeOperator is called when entering the likeOperator production.
EnterLikeOperator(c *LikeOperatorContext)
// EnterUnaryOperator is called when entering the unaryOperator production.
EnterUnaryOperator(c *UnaryOperatorContext)
// EnterRegexpOperator is called when entering the regexpOperator production.
EnterRegexpOperator(c *RegexpOperatorContext)
// EnterLogicalAndOperator is called when entering the logicalAndOperator production.
EnterLogicalAndOperator(c *LogicalAndOperatorContext)
// EnterLogicalOrOperator is called when entering the logicalOrOperator production.
EnterLogicalOrOperator(c *LogicalOrOperatorContext)
// EnterMultiplicativeOperator is called when entering the multiplicativeOperator production.
EnterMultiplicativeOperator(c *MultiplicativeOperatorContext)
// EnterAdditiveOperator is called when entering the additiveOperator production.
EnterAdditiveOperator(c *AdditiveOperatorContext)
// EnterErrorOperator is called when entering the errorOperator production.
EnterErrorOperator(c *ErrorOperatorContext)
// ExitProgram is called when exiting the program production.
ExitProgram(c *ProgramContext)
// ExitHead is called when exiting the head production.
ExitHead(c *HeadContext)
// ExitUseExpression is called when exiting the useExpression production.
ExitUseExpression(c *UseExpressionContext)
// ExitUse is called when exiting the use production.
ExitUse(c *UseContext)
// ExitBody is called when exiting the body production.
ExitBody(c *BodyContext)
// ExitBodyStatement is called when exiting the bodyStatement production.
ExitBodyStatement(c *BodyStatementContext)
// ExitBodyExpression is called when exiting the bodyExpression production.
ExitBodyExpression(c *BodyExpressionContext)
// ExitVariableDeclaration is called when exiting the variableDeclaration production.
ExitVariableDeclaration(c *VariableDeclarationContext)
// ExitReturnExpression is called when exiting the returnExpression production.
ExitReturnExpression(c *ReturnExpressionContext)
// ExitForExpression is called when exiting the forExpression production.
ExitForExpression(c *ForExpressionContext)
// ExitForExpressionSource is called when exiting the forExpressionSource production.
ExitForExpressionSource(c *ForExpressionSourceContext)
// ExitForExpressionClause is called when exiting the forExpressionClause production.
ExitForExpressionClause(c *ForExpressionClauseContext)
// ExitForExpressionStatement is called when exiting the forExpressionStatement production.
ExitForExpressionStatement(c *ForExpressionStatementContext)
// ExitForExpressionBody is called when exiting the forExpressionBody production.
ExitForExpressionBody(c *ForExpressionBodyContext)
// ExitForExpressionReturn is called when exiting the forExpressionReturn production.
ExitForExpressionReturn(c *ForExpressionReturnContext)
// ExitFilterClause is called when exiting the filterClause production.
ExitFilterClause(c *FilterClauseContext)
// ExitLimitClause is called when exiting the limitClause production.
ExitLimitClause(c *LimitClauseContext)
// ExitLimitClauseValue is called when exiting the limitClauseValue production.
ExitLimitClauseValue(c *LimitClauseValueContext)
// ExitSortClause is called when exiting the sortClause production.
ExitSortClause(c *SortClauseContext)
// ExitSortClauseExpression is called when exiting the sortClauseExpression production.
ExitSortClauseExpression(c *SortClauseExpressionContext)
// ExitCollectClause is called when exiting the collectClause production.
ExitCollectClause(c *CollectClauseContext)
// ExitCollectSelector is called when exiting the collectSelector production.
ExitCollectSelector(c *CollectSelectorContext)
// ExitCollectGrouping is called when exiting the collectGrouping production.
ExitCollectGrouping(c *CollectGroupingContext)
// ExitCollectAggregateSelector is called when exiting the collectAggregateSelector production.
ExitCollectAggregateSelector(c *CollectAggregateSelectorContext)
// ExitCollectAggregator is called when exiting the collectAggregator production.
ExitCollectAggregator(c *CollectAggregatorContext)
// ExitCollectGroupProjection is called when exiting the collectGroupProjection production.
ExitCollectGroupProjection(c *CollectGroupProjectionContext)
// ExitCollectGroupProjectionFilter is called when exiting the collectGroupProjectionFilter production.
ExitCollectGroupProjectionFilter(c *CollectGroupProjectionFilterContext)
// ExitCollectCounter is called when exiting the collectCounter production.
ExitCollectCounter(c *CollectCounterContext)
// ExitWaitForExpression is called when exiting the waitForExpression production.
ExitWaitForExpression(c *WaitForExpressionContext)
// ExitWaitForEventName is called when exiting the waitForEventName production.
ExitWaitForEventName(c *WaitForEventNameContext)
// ExitWaitForEventSource is called when exiting the waitForEventSource production.
ExitWaitForEventSource(c *WaitForEventSourceContext)
// ExitOptionsClause is called when exiting the optionsClause production.
ExitOptionsClause(c *OptionsClauseContext)
// ExitTimeoutClause is called when exiting the timeoutClause production.
ExitTimeoutClause(c *TimeoutClauseContext)
// ExitParam is called when exiting the param production.
ExitParam(c *ParamContext)
// ExitVariable is called when exiting the variable production.
ExitVariable(c *VariableContext)
// ExitLiteral is called when exiting the literal production.
ExitLiteral(c *LiteralContext)
// ExitArrayLiteral is called when exiting the arrayLiteral production.
ExitArrayLiteral(c *ArrayLiteralContext)
// ExitObjectLiteral is called when exiting the objectLiteral production.
ExitObjectLiteral(c *ObjectLiteralContext)
// ExitBooleanLiteral is called when exiting the booleanLiteral production.
ExitBooleanLiteral(c *BooleanLiteralContext)
// ExitStringLiteral is called when exiting the stringLiteral production.
ExitStringLiteral(c *StringLiteralContext)
// ExitFloatLiteral is called when exiting the floatLiteral production.
ExitFloatLiteral(c *FloatLiteralContext)
// ExitIntegerLiteral is called when exiting the integerLiteral production.
ExitIntegerLiteral(c *IntegerLiteralContext)
// ExitNoneLiteral is called when exiting the noneLiteral production.
ExitNoneLiteral(c *NoneLiteralContext)
// ExitPropertyAssignment is called when exiting the propertyAssignment production.
ExitPropertyAssignment(c *PropertyAssignmentContext)
// ExitComputedPropertyName is called when exiting the computedPropertyName production.
ExitComputedPropertyName(c *ComputedPropertyNameContext)
// ExitPropertyName is called when exiting the propertyName production.
ExitPropertyName(c *PropertyNameContext)
// ExitNamespaceIdentifier is called when exiting the namespaceIdentifier production.
ExitNamespaceIdentifier(c *NamespaceIdentifierContext)
// ExitNamespace is called when exiting the namespace production.
ExitNamespace(c *NamespaceContext)
// ExitMemberExpression is called when exiting the memberExpression production.
ExitMemberExpression(c *MemberExpressionContext)
// ExitMemberExpressionSource is called when exiting the memberExpressionSource production.
ExitMemberExpressionSource(c *MemberExpressionSourceContext)
// ExitFunctionCallExpression is called when exiting the functionCallExpression production.
ExitFunctionCallExpression(c *FunctionCallExpressionContext)
// ExitFunctionCall is called when exiting the functionCall production.
ExitFunctionCall(c *FunctionCallContext)
// ExitFunctionName is called when exiting the functionName production.
ExitFunctionName(c *FunctionNameContext)
// ExitArgumentList is called when exiting the argumentList production.
ExitArgumentList(c *ArgumentListContext)
// ExitMemberExpressionPath is called when exiting the memberExpressionPath production.
ExitMemberExpressionPath(c *MemberExpressionPathContext)
// ExitSafeReservedWord is called when exiting the safeReservedWord production.
ExitSafeReservedWord(c *SafeReservedWordContext)
// ExitUnsafeReservedWord is called when exiting the unsafeReservedWord production.
ExitUnsafeReservedWord(c *UnsafeReservedWordContext)
// ExitRangeOperator is called when exiting the rangeOperator production.
ExitRangeOperator(c *RangeOperatorContext)
// ExitRangeOperand is called when exiting the rangeOperand production.
ExitRangeOperand(c *RangeOperandContext)
// ExitExpression is called when exiting the expression production.
ExitExpression(c *ExpressionContext)
// ExitPredicate is called when exiting the predicate production.
ExitPredicate(c *PredicateContext)
// ExitExpressionAtom is called when exiting the expressionAtom production.
ExitExpressionAtom(c *ExpressionAtomContext)
// ExitArrayOperator is called when exiting the arrayOperator production.
ExitArrayOperator(c *ArrayOperatorContext)
// ExitEqualityOperator is called when exiting the equalityOperator production.
ExitEqualityOperator(c *EqualityOperatorContext)
// ExitInOperator is called when exiting the inOperator production.
ExitInOperator(c *InOperatorContext)
// ExitLikeOperator is called when exiting the likeOperator production.
ExitLikeOperator(c *LikeOperatorContext)
// ExitUnaryOperator is called when exiting the unaryOperator production.
ExitUnaryOperator(c *UnaryOperatorContext)
// ExitRegexpOperator is called when exiting the regexpOperator production.
ExitRegexpOperator(c *RegexpOperatorContext)
// ExitLogicalAndOperator is called when exiting the logicalAndOperator production.
ExitLogicalAndOperator(c *LogicalAndOperatorContext)
// ExitLogicalOrOperator is called when exiting the logicalOrOperator production.
ExitLogicalOrOperator(c *LogicalOrOperatorContext)
// ExitMultiplicativeOperator is called when exiting the multiplicativeOperator production.
ExitMultiplicativeOperator(c *MultiplicativeOperatorContext)
// ExitAdditiveOperator is called when exiting the additiveOperator production.
ExitAdditiveOperator(c *AdditiveOperatorContext)
// ExitErrorOperator is called when exiting the errorOperator production.
ExitErrorOperator(c *ErrorOperatorContext)
}

View File

@@ -0,0 +1,228 @@
// Code generated from antlr/FqlParser.g4 by ANTLR 4.13.2. DO NOT EDIT.
package fql // FqlParser
import "github.com/antlr4-go/antlr/v4"
// A complete Visitor for a parse tree produced by FqlParser.
type FqlParserVisitor interface {
antlr.ParseTreeVisitor
// Visit a parse tree produced by FqlParser#program.
VisitProgram(ctx *ProgramContext) interface{}
// Visit a parse tree produced by FqlParser#head.
VisitHead(ctx *HeadContext) interface{}
// Visit a parse tree produced by FqlParser#useExpression.
VisitUseExpression(ctx *UseExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#use.
VisitUse(ctx *UseContext) interface{}
// Visit a parse tree produced by FqlParser#body.
VisitBody(ctx *BodyContext) interface{}
// Visit a parse tree produced by FqlParser#bodyStatement.
VisitBodyStatement(ctx *BodyStatementContext) interface{}
// Visit a parse tree produced by FqlParser#bodyExpression.
VisitBodyExpression(ctx *BodyExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#variableDeclaration.
VisitVariableDeclaration(ctx *VariableDeclarationContext) interface{}
// Visit a parse tree produced by FqlParser#returnExpression.
VisitReturnExpression(ctx *ReturnExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#forExpression.
VisitForExpression(ctx *ForExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#forExpressionSource.
VisitForExpressionSource(ctx *ForExpressionSourceContext) interface{}
// Visit a parse tree produced by FqlParser#forExpressionClause.
VisitForExpressionClause(ctx *ForExpressionClauseContext) interface{}
// Visit a parse tree produced by FqlParser#forExpressionStatement.
VisitForExpressionStatement(ctx *ForExpressionStatementContext) interface{}
// Visit a parse tree produced by FqlParser#forExpressionBody.
VisitForExpressionBody(ctx *ForExpressionBodyContext) interface{}
// Visit a parse tree produced by FqlParser#forExpressionReturn.
VisitForExpressionReturn(ctx *ForExpressionReturnContext) interface{}
// Visit a parse tree produced by FqlParser#filterClause.
VisitFilterClause(ctx *FilterClauseContext) interface{}
// Visit a parse tree produced by FqlParser#limitClause.
VisitLimitClause(ctx *LimitClauseContext) interface{}
// Visit a parse tree produced by FqlParser#limitClauseValue.
VisitLimitClauseValue(ctx *LimitClauseValueContext) interface{}
// Visit a parse tree produced by FqlParser#sortClause.
VisitSortClause(ctx *SortClauseContext) interface{}
// Visit a parse tree produced by FqlParser#sortClauseExpression.
VisitSortClauseExpression(ctx *SortClauseExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#collectClause.
VisitCollectClause(ctx *CollectClauseContext) interface{}
// Visit a parse tree produced by FqlParser#collectSelector.
VisitCollectSelector(ctx *CollectSelectorContext) interface{}
// Visit a parse tree produced by FqlParser#collectGrouping.
VisitCollectGrouping(ctx *CollectGroupingContext) interface{}
// Visit a parse tree produced by FqlParser#collectAggregateSelector.
VisitCollectAggregateSelector(ctx *CollectAggregateSelectorContext) interface{}
// Visit a parse tree produced by FqlParser#collectAggregator.
VisitCollectAggregator(ctx *CollectAggregatorContext) interface{}
// Visit a parse tree produced by FqlParser#collectGroupProjection.
VisitCollectGroupProjection(ctx *CollectGroupProjectionContext) interface{}
// Visit a parse tree produced by FqlParser#collectGroupProjectionFilter.
VisitCollectGroupProjectionFilter(ctx *CollectGroupProjectionFilterContext) interface{}
// Visit a parse tree produced by FqlParser#collectCounter.
VisitCollectCounter(ctx *CollectCounterContext) interface{}
// Visit a parse tree produced by FqlParser#waitForExpression.
VisitWaitForExpression(ctx *WaitForExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#waitForEventName.
VisitWaitForEventName(ctx *WaitForEventNameContext) interface{}
// Visit a parse tree produced by FqlParser#waitForEventSource.
VisitWaitForEventSource(ctx *WaitForEventSourceContext) interface{}
// Visit a parse tree produced by FqlParser#optionsClause.
VisitOptionsClause(ctx *OptionsClauseContext) interface{}
// Visit a parse tree produced by FqlParser#timeoutClause.
VisitTimeoutClause(ctx *TimeoutClauseContext) interface{}
// Visit a parse tree produced by FqlParser#param.
VisitParam(ctx *ParamContext) interface{}
// Visit a parse tree produced by FqlParser#variable.
VisitVariable(ctx *VariableContext) interface{}
// Visit a parse tree produced by FqlParser#literal.
VisitLiteral(ctx *LiteralContext) interface{}
// Visit a parse tree produced by FqlParser#arrayLiteral.
VisitArrayLiteral(ctx *ArrayLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#objectLiteral.
VisitObjectLiteral(ctx *ObjectLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#booleanLiteral.
VisitBooleanLiteral(ctx *BooleanLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#stringLiteral.
VisitStringLiteral(ctx *StringLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#floatLiteral.
VisitFloatLiteral(ctx *FloatLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#integerLiteral.
VisitIntegerLiteral(ctx *IntegerLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#noneLiteral.
VisitNoneLiteral(ctx *NoneLiteralContext) interface{}
// Visit a parse tree produced by FqlParser#propertyAssignment.
VisitPropertyAssignment(ctx *PropertyAssignmentContext) interface{}
// Visit a parse tree produced by FqlParser#computedPropertyName.
VisitComputedPropertyName(ctx *ComputedPropertyNameContext) interface{}
// Visit a parse tree produced by FqlParser#propertyName.
VisitPropertyName(ctx *PropertyNameContext) interface{}
// Visit a parse tree produced by FqlParser#namespaceIdentifier.
VisitNamespaceIdentifier(ctx *NamespaceIdentifierContext) interface{}
// Visit a parse tree produced by FqlParser#namespace.
VisitNamespace(ctx *NamespaceContext) interface{}
// Visit a parse tree produced by FqlParser#memberExpression.
VisitMemberExpression(ctx *MemberExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#memberExpressionSource.
VisitMemberExpressionSource(ctx *MemberExpressionSourceContext) interface{}
// Visit a parse tree produced by FqlParser#functionCallExpression.
VisitFunctionCallExpression(ctx *FunctionCallExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#functionCall.
VisitFunctionCall(ctx *FunctionCallContext) interface{}
// Visit a parse tree produced by FqlParser#functionName.
VisitFunctionName(ctx *FunctionNameContext) interface{}
// Visit a parse tree produced by FqlParser#argumentList.
VisitArgumentList(ctx *ArgumentListContext) interface{}
// Visit a parse tree produced by FqlParser#memberExpressionPath.
VisitMemberExpressionPath(ctx *MemberExpressionPathContext) interface{}
// Visit a parse tree produced by FqlParser#safeReservedWord.
VisitSafeReservedWord(ctx *SafeReservedWordContext) interface{}
// Visit a parse tree produced by FqlParser#unsafeReservedWord.
VisitUnsafeReservedWord(ctx *UnsafeReservedWordContext) interface{}
// Visit a parse tree produced by FqlParser#rangeOperator.
VisitRangeOperator(ctx *RangeOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#rangeOperand.
VisitRangeOperand(ctx *RangeOperandContext) interface{}
// Visit a parse tree produced by FqlParser#expression.
VisitExpression(ctx *ExpressionContext) interface{}
// Visit a parse tree produced by FqlParser#predicate.
VisitPredicate(ctx *PredicateContext) interface{}
// Visit a parse tree produced by FqlParser#expressionAtom.
VisitExpressionAtom(ctx *ExpressionAtomContext) interface{}
// Visit a parse tree produced by FqlParser#arrayOperator.
VisitArrayOperator(ctx *ArrayOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#equalityOperator.
VisitEqualityOperator(ctx *EqualityOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#inOperator.
VisitInOperator(ctx *InOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#likeOperator.
VisitLikeOperator(ctx *LikeOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#unaryOperator.
VisitUnaryOperator(ctx *UnaryOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#regexpOperator.
VisitRegexpOperator(ctx *RegexpOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#logicalAndOperator.
VisitLogicalAndOperator(ctx *LogicalAndOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#logicalOrOperator.
VisitLogicalOrOperator(ctx *LogicalOrOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#multiplicativeOperator.
VisitMultiplicativeOperator(ctx *MultiplicativeOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#additiveOperator.
VisitAdditiveOperator(ctx *AdditiveOperatorContext) interface{}
// Visit a parse tree produced by FqlParser#errorOperator.
VisitErrorOperator(ctx *ErrorOperatorContext) interface{}
}