1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-18 03:22:02 +02:00

Added tick as a string literal (#367)

This commit is contained in:
Tim Voronov 2019-09-01 21:41:16 -04:00 committed by GitHub
parent af1125c8e9
commit 5928900e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 507 additions and 490 deletions

View File

@ -23,7 +23,7 @@ BAR
So(string(out), ShouldEqual, `"\nFOO\nBAR\n"`)
})
Convey("Should be possible to use multi line string with nested strings", t, func() {
Convey("Should be possible to use multi line string with nested strings using backtick", t, func() {
compiler.New().
MustCompile(fmt.Sprintf(`
RETURN %s<!DOCTYPE html>
@ -54,6 +54,38 @@ RETURN %s<!DOCTYPE html>
So(string(out), ShouldEqual, string(out))
})
Convey("Should be possible to use multi line string with nested strings using tick", t, func() {
compiler.New().
MustCompile(fmt.Sprintf(`
RETURN %s<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GetTitle</title>
</head>
<body>
Hello world
</body>
</html>%s
`, "´", "´")).
MustRun(context.Background())
out, err := json.Marshal(`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GetTitle</title>
</head>
<body>
Hello world
</body>
</html>`)
So(err, ShouldBeNil)
So(string(out), ShouldEqual, string(out))
})
}
func BenchmarkStringLiteral(b *testing.B) {

View File

@ -961,8 +961,6 @@ func (v *visitor) doVisitStringLiteral(ctx *fql.StringLiteralContext) (core.Expr
if strLiteral != nil {
text = strLiteral.GetText()
} else {
text = ctx.TemplateStringLiteral().GetText()
}
// remove extra quotes

View File

@ -78,8 +78,7 @@ In: 'IN';
// Literals
Param: '@';
Identifier: Letter+ (Symbols (Identifier)*)* (Digit (Identifier)*)*;
StringLiteral: SQString | DQSring;
TemplateStringLiteral: '`' ('\\`' | ~'`')* '`';
StringLiteral: SQString | DQSring | BacktickString | TickString;
IntegerLiteral: [0-9]+;
FloatLiteral
: DecimalIntegerLiteral Dot [0-9]+ ExponentPart?
@ -108,4 +107,6 @@ fragment Digit
;
fragment DQSring: '"' ( '\\'. | '""' | ~('"'| '\\') )* '"';
fragment SQString: '\'' ('\\'. | '\'\'' | ~('\'' | '\\'))* '\'';
fragment BacktickString: '`' ('\\`' | ~'`')* '`';
fragment TickString: '´' ('\\´' | ~'´')* '´';
fragment NamespaceSeparator: '::';

View File

@ -159,7 +159,6 @@ booleanLiteral
stringLiteral
: StringLiteral
| TemplateStringLiteral
;
integerLiteral

File diff suppressed because one or more lines are too long

View File

@ -57,10 +57,9 @@ In=56
Param=57
Identifier=58
StringLiteral=59
TemplateStringLiteral=60
IntegerLiteral=61
FloatLiteral=62
NamespaceSegment=63
IntegerLiteral=60
FloatLiteral=61
NamespaceSegment=62
':'=5
';'=6
'.'=7

File diff suppressed because one or more lines are too long

View File

@ -57,10 +57,9 @@ In=56
Param=57
Identifier=58
StringLiteral=59
TemplateStringLiteral=60
IntegerLiteral=61
FloatLiteral=62
NamespaceSegment=63
IntegerLiteral=60
FloatLiteral=61
NamespaceSegment=62
':'=5
';'=6
'.'=7

View File

@ -14,7 +14,7 @@ var _ = fmt.Printf
var _ = unicode.IsLetter
var serializedLexerAtn = []uint16{
3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 65, 529,
3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 64, 544,
8, 1, 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,
@ -28,59 +28,61 @@ var serializedLexerAtn = []uint16{
4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4,
60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65,
9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9,
70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 3, 2, 3, 2, 3, 2, 3, 2, 7,
2, 152, 10, 2, 12, 2, 14, 2, 155, 11, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2,
3, 3, 3, 3, 3, 3, 3, 3, 7, 3, 166, 10, 3, 12, 3, 14, 3, 169, 11, 3, 3,
3, 3, 3, 3, 4, 6, 4, 174, 10, 4, 13, 4, 14, 4, 175, 3, 4, 3, 4, 3, 5, 3,
5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3,
10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 13, 3, 13, 3, 14, 3, 14, 3, 15, 3, 15,
3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3,
20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 23, 3, 23, 3, 24,
3, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3,
28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 241, 10, 29, 3, 30, 3, 30,
3, 30, 3, 30, 5, 30, 247, 10, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3,
33, 3, 33, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 36, 3, 36, 3, 36,
3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 38, 3, 38, 3,
38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 3, 39,
3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 41, 3, 41, 3,
41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43,
3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3,
44, 3, 44, 5, 44, 319, 10, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46,
3, 46, 3, 46, 3, 46, 3, 46, 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, 349, 10, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 49, 3,
49, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51,
3, 51, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3,
53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54,
3, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 5,
56, 399, 10, 56, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 59, 6, 59, 407,
10, 59, 13, 59, 14, 59, 408, 3, 59, 3, 59, 7, 59, 413, 10, 59, 12, 59,
14, 59, 416, 11, 59, 7, 59, 418, 10, 59, 12, 59, 14, 59, 421, 11, 59, 3,
59, 3, 59, 7, 59, 425, 10, 59, 12, 59, 14, 59, 428, 11, 59, 7, 59, 430,
10, 59, 12, 59, 14, 59, 433, 11, 59, 3, 60, 3, 60, 5, 60, 437, 10, 60,
3, 61, 3, 61, 3, 61, 3, 61, 7, 61, 443, 10, 61, 12, 61, 14, 61, 446, 11,
61, 3, 61, 3, 61, 3, 62, 6, 62, 451, 10, 62, 13, 62, 14, 62, 452, 3, 63,
3, 63, 3, 63, 6, 63, 458, 10, 63, 13, 63, 14, 63, 459, 3, 63, 5, 63, 463,
10, 63, 3, 63, 3, 63, 5, 63, 467, 10, 63, 5, 63, 469, 10, 63, 3, 64, 3,
64, 3, 64, 3, 65, 3, 65, 3, 66, 3, 66, 3, 66, 7, 66, 479, 10, 66, 12, 66,
14, 66, 482, 11, 66, 5, 66, 484, 10, 66, 3, 67, 3, 67, 5, 67, 488, 10,
67, 3, 67, 6, 67, 491, 10, 67, 13, 67, 14, 67, 492, 3, 68, 3, 68, 3, 69,
3, 69, 3, 70, 3, 70, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 7, 71, 507,
10, 71, 12, 71, 14, 71, 510, 11, 71, 3, 71, 3, 71, 3, 72, 3, 72, 3, 72,
3, 72, 3, 72, 3, 72, 7, 72, 520, 10, 72, 12, 72, 14, 72, 523, 11, 72, 3,
72, 3, 72, 3, 73, 3, 73, 3, 73, 3, 153, 2, 74, 3, 3, 5, 4, 7, 5, 9, 6,
11, 7, 13, 8, 15, 9, 17, 10, 19, 11, 21, 12, 23, 13, 25, 14, 27, 15, 29,
16, 31, 17, 33, 18, 35, 19, 37, 20, 39, 21, 41, 22, 43, 23, 45, 24, 47,
25, 49, 26, 51, 27, 53, 28, 55, 29, 57, 30, 59, 31, 61, 32, 63, 33, 65,
34, 67, 35, 69, 36, 71, 37, 73, 38, 75, 39, 77, 40, 79, 41, 81, 42, 83,
43, 85, 44, 87, 45, 89, 46, 91, 47, 93, 48, 95, 49, 97, 50, 99, 51, 101,
52, 103, 53, 105, 54, 107, 55, 109, 56, 111, 57, 113, 58, 115, 59, 117,
60, 119, 61, 121, 62, 123, 63, 125, 64, 127, 65, 129, 2, 131, 2, 133, 2,
135, 2, 137, 2, 139, 2, 141, 2, 143, 2, 145, 2, 3, 2, 13, 5, 2, 12, 12,
15, 15, 8234, 8235, 6, 2, 11, 11, 13, 14, 34, 34, 162, 162, 3, 2, 98, 98,
3, 2, 50, 59, 5, 2, 50, 59, 67, 72, 99, 104, 3, 2, 51, 59, 4, 2, 71, 71,
103, 103, 4, 2, 45, 45, 47, 47, 4, 2, 67, 92, 99, 124, 4, 2, 36, 36, 94,
94, 4, 2, 41, 41, 94, 94, 2, 552, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2,
70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 3, 2, 3, 2,
3, 2, 3, 2, 7, 2, 154, 10, 2, 12, 2, 14, 2, 157, 11, 2, 3, 2, 3, 2, 3,
2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 7, 3, 168, 10, 3, 12, 3, 14, 3,
171, 11, 3, 3, 3, 3, 3, 3, 4, 6, 4, 176, 10, 4, 13, 4, 14, 4, 177, 3, 4,
3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9,
3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 13, 3, 13, 3, 14, 3,
14, 3, 15, 3, 15, 3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 19,
3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3,
23, 3, 23, 3, 24, 3, 24, 3, 25, 3, 25, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27,
3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 5, 29, 243, 10,
29, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 249, 10, 30, 3, 31, 3, 31, 3, 31,
3, 32, 3, 32, 3, 33, 3, 33, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3,
36, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37,
3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 39, 3,
39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40,
3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3,
43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44,
3, 44, 3, 44, 3, 44, 3, 44, 5, 44, 321, 10, 44, 3, 45, 3, 45, 3, 45, 3,
45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 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, 351, 10, 47, 3, 48, 3, 48, 3, 48, 3, 48,
3, 48, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3,
50, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52,
3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3,
54, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56,
3, 56, 3, 56, 5, 56, 401, 10, 56, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3,
59, 6, 59, 409, 10, 59, 13, 59, 14, 59, 410, 3, 59, 3, 59, 7, 59, 415,
10, 59, 12, 59, 14, 59, 418, 11, 59, 7, 59, 420, 10, 59, 12, 59, 14, 59,
423, 11, 59, 3, 59, 3, 59, 7, 59, 427, 10, 59, 12, 59, 14, 59, 430, 11,
59, 7, 59, 432, 10, 59, 12, 59, 14, 59, 435, 11, 59, 3, 60, 3, 60, 3, 60,
3, 60, 5, 60, 441, 10, 60, 3, 61, 6, 61, 444, 10, 61, 13, 61, 14, 61, 445,
3, 62, 3, 62, 3, 62, 6, 62, 451, 10, 62, 13, 62, 14, 62, 452, 3, 62, 5,
62, 456, 10, 62, 3, 62, 3, 62, 5, 62, 460, 10, 62, 5, 62, 462, 10, 62,
3, 63, 3, 63, 3, 63, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 7, 65, 472, 10,
65, 12, 65, 14, 65, 475, 11, 65, 5, 65, 477, 10, 65, 3, 66, 3, 66, 5, 66,
481, 10, 66, 3, 66, 6, 66, 484, 10, 66, 13, 66, 14, 66, 485, 3, 67, 3,
67, 3, 68, 3, 68, 3, 69, 3, 69, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70,
7, 70, 500, 10, 70, 12, 70, 14, 70, 503, 11, 70, 3, 70, 3, 70, 3, 71, 3,
71, 3, 71, 3, 71, 3, 71, 3, 71, 7, 71, 513, 10, 71, 12, 71, 14, 71, 516,
11, 71, 3, 71, 3, 71, 3, 72, 3, 72, 3, 72, 3, 72, 7, 72, 524, 10, 72, 12,
72, 14, 72, 527, 11, 72, 3, 72, 3, 72, 3, 73, 3, 73, 3, 73, 3, 73, 7, 73,
535, 10, 73, 12, 73, 14, 73, 538, 11, 73, 3, 73, 3, 73, 3, 74, 3, 74, 3,
74, 3, 155, 2, 75, 3, 3, 5, 4, 7, 5, 9, 6, 11, 7, 13, 8, 15, 9, 17, 10,
19, 11, 21, 12, 23, 13, 25, 14, 27, 15, 29, 16, 31, 17, 33, 18, 35, 19,
37, 20, 39, 21, 41, 22, 43, 23, 45, 24, 47, 25, 49, 26, 51, 27, 53, 28,
55, 29, 57, 30, 59, 31, 61, 32, 63, 33, 65, 34, 67, 35, 69, 36, 71, 37,
73, 38, 75, 39, 77, 40, 79, 41, 81, 42, 83, 43, 85, 44, 87, 45, 89, 46,
91, 47, 93, 48, 95, 49, 97, 50, 99, 51, 101, 52, 103, 53, 105, 54, 107,
55, 109, 56, 111, 57, 113, 58, 115, 59, 117, 60, 119, 61, 121, 62, 123,
63, 125, 64, 127, 2, 129, 2, 131, 2, 133, 2, 135, 2, 137, 2, 139, 2, 141,
2, 143, 2, 145, 2, 147, 2, 3, 2, 14, 5, 2, 12, 12, 15, 15, 8234, 8235,
6, 2, 11, 11, 13, 14, 34, 34, 162, 162, 3, 2, 50, 59, 5, 2, 50, 59, 67,
72, 99, 104, 3, 2, 51, 59, 4, 2, 71, 71, 103, 103, 4, 2, 45, 45, 47, 47,
4, 2, 67, 92, 99, 124, 4, 2, 36, 36, 94, 94, 4, 2, 41, 41, 94, 94, 3, 2,
98, 98, 3, 2, 182, 182, 2, 569, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2,
7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2, 2, 2,
2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3, 2, 2,
2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 29, 3, 2,
@ -96,160 +98,166 @@ var serializedLexerAtn = []uint16{
99, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2, 2, 105, 3, 2, 2,
2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3, 2, 2, 2, 2, 113,
3, 2, 2, 2, 2, 115, 3, 2, 2, 2, 2, 117, 3, 2, 2, 2, 2, 119, 3, 2, 2, 2,
2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 2, 127, 3,
2, 2, 2, 3, 147, 3, 2, 2, 2, 5, 161, 3, 2, 2, 2, 7, 173, 3, 2, 2, 2, 9,
179, 3, 2, 2, 2, 11, 183, 3, 2, 2, 2, 13, 185, 3, 2, 2, 2, 15, 187, 3,
2, 2, 2, 17, 189, 3, 2, 2, 2, 19, 191, 3, 2, 2, 2, 21, 193, 3, 2, 2, 2,
23, 195, 3, 2, 2, 2, 25, 197, 3, 2, 2, 2, 27, 199, 3, 2, 2, 2, 29, 201,
3, 2, 2, 2, 31, 203, 3, 2, 2, 2, 33, 205, 3, 2, 2, 2, 35, 207, 3, 2, 2,
2, 37, 210, 3, 2, 2, 2, 39, 213, 3, 2, 2, 2, 41, 216, 3, 2, 2, 2, 43, 219,
3, 2, 2, 2, 45, 221, 3, 2, 2, 2, 47, 223, 3, 2, 2, 2, 49, 225, 3, 2, 2,
2, 51, 227, 3, 2, 2, 2, 53, 229, 3, 2, 2, 2, 55, 232, 3, 2, 2, 2, 57, 240,
3, 2, 2, 2, 59, 246, 3, 2, 2, 2, 61, 248, 3, 2, 2, 2, 63, 251, 3, 2, 2,
2, 65, 253, 3, 2, 2, 2, 67, 255, 3, 2, 2, 2, 69, 258, 3, 2, 2, 2, 71, 261,
3, 2, 2, 2, 73, 265, 3, 2, 2, 2, 75, 272, 3, 2, 2, 2, 77, 281, 3, 2, 2,
2, 79, 288, 3, 2, 2, 2, 81, 293, 3, 2, 2, 2, 83, 299, 3, 2, 2, 2, 85, 303,
3, 2, 2, 2, 87, 318, 3, 2, 2, 2, 89, 320, 3, 2, 2, 2, 91, 325, 3, 2, 2,
2, 93, 348, 3, 2, 2, 2, 95, 350, 3, 2, 2, 2, 97, 355, 3, 2, 2, 2, 99, 360,
3, 2, 2, 2, 101, 365, 3, 2, 2, 2, 103, 371, 3, 2, 2, 2, 105, 375, 3, 2,
2, 2, 107, 379, 3, 2, 2, 2, 109, 389, 3, 2, 2, 2, 111, 398, 3, 2, 2, 2,
113, 400, 3, 2, 2, 2, 115, 403, 3, 2, 2, 2, 117, 406, 3, 2, 2, 2, 119,
436, 3, 2, 2, 2, 121, 438, 3, 2, 2, 2, 123, 450, 3, 2, 2, 2, 125, 468,
3, 2, 2, 2, 127, 470, 3, 2, 2, 2, 129, 473, 3, 2, 2, 2, 131, 483, 3, 2,
2, 2, 133, 485, 3, 2, 2, 2, 135, 494, 3, 2, 2, 2, 137, 496, 3, 2, 2, 2,
139, 498, 3, 2, 2, 2, 141, 500, 3, 2, 2, 2, 143, 513, 3, 2, 2, 2, 145,
526, 3, 2, 2, 2, 147, 148, 7, 49, 2, 2, 148, 149, 7, 44, 2, 2, 149, 153,
3, 2, 2, 2, 150, 152, 11, 2, 2, 2, 151, 150, 3, 2, 2, 2, 152, 155, 3, 2,
2, 2, 153, 154, 3, 2, 2, 2, 153, 151, 3, 2, 2, 2, 154, 156, 3, 2, 2, 2,
155, 153, 3, 2, 2, 2, 156, 157, 7, 44, 2, 2, 157, 158, 7, 49, 2, 2, 158,
159, 3, 2, 2, 2, 159, 160, 8, 2, 2, 2, 160, 4, 3, 2, 2, 2, 161, 162, 7,
49, 2, 2, 162, 163, 7, 49, 2, 2, 163, 167, 3, 2, 2, 2, 164, 166, 10, 2,
2, 2, 165, 164, 3, 2, 2, 2, 166, 169, 3, 2, 2, 2, 167, 165, 3, 2, 2, 2,
167, 168, 3, 2, 2, 2, 168, 170, 3, 2, 2, 2, 169, 167, 3, 2, 2, 2, 170,
171, 8, 3, 2, 2, 171, 6, 3, 2, 2, 2, 172, 174, 9, 3, 2, 2, 173, 172, 3,
2, 2, 2, 174, 175, 3, 2, 2, 2, 175, 173, 3, 2, 2, 2, 175, 176, 3, 2, 2,
2, 176, 177, 3, 2, 2, 2, 177, 178, 8, 4, 2, 2, 178, 8, 3, 2, 2, 2, 179,
180, 9, 2, 2, 2, 180, 181, 3, 2, 2, 2, 181, 182, 8, 5, 2, 2, 182, 10, 3,
2, 2, 2, 183, 184, 7, 60, 2, 2, 184, 12, 3, 2, 2, 2, 185, 186, 7, 61, 2,
2, 186, 14, 3, 2, 2, 2, 187, 188, 7, 48, 2, 2, 188, 16, 3, 2, 2, 2, 189,
190, 7, 46, 2, 2, 190, 18, 3, 2, 2, 2, 191, 192, 7, 93, 2, 2, 192, 20,
3, 2, 2, 2, 193, 194, 7, 95, 2, 2, 194, 22, 3, 2, 2, 2, 195, 196, 7, 42,
2, 2, 196, 24, 3, 2, 2, 2, 197, 198, 7, 43, 2, 2, 198, 26, 3, 2, 2, 2,
199, 200, 7, 125, 2, 2, 200, 28, 3, 2, 2, 2, 201, 202, 7, 127, 2, 2, 202,
30, 3, 2, 2, 2, 203, 204, 7, 64, 2, 2, 204, 32, 3, 2, 2, 2, 205, 206, 7,
62, 2, 2, 206, 34, 3, 2, 2, 2, 207, 208, 7, 63, 2, 2, 208, 209, 7, 63,
2, 2, 209, 36, 3, 2, 2, 2, 210, 211, 7, 64, 2, 2, 211, 212, 7, 63, 2, 2,
212, 38, 3, 2, 2, 2, 213, 214, 7, 62, 2, 2, 214, 215, 7, 63, 2, 2, 215,
40, 3, 2, 2, 2, 216, 217, 7, 35, 2, 2, 217, 218, 7, 63, 2, 2, 218, 42,
3, 2, 2, 2, 219, 220, 7, 44, 2, 2, 220, 44, 3, 2, 2, 2, 221, 222, 7, 49,
2, 2, 222, 46, 3, 2, 2, 2, 223, 224, 7, 39, 2, 2, 224, 48, 3, 2, 2, 2,
225, 226, 7, 45, 2, 2, 226, 50, 3, 2, 2, 2, 227, 228, 7, 47, 2, 2, 228,
52, 3, 2, 2, 2, 229, 230, 7, 47, 2, 2, 230, 231, 7, 47, 2, 2, 231, 54,
3, 2, 2, 2, 232, 233, 7, 45, 2, 2, 233, 234, 7, 45, 2, 2, 234, 56, 3, 2,
2, 2, 235, 236, 7, 67, 2, 2, 236, 237, 7, 80, 2, 2, 237, 241, 7, 70, 2,
2, 238, 239, 7, 40, 2, 2, 239, 241, 7, 40, 2, 2, 240, 235, 3, 2, 2, 2,
240, 238, 3, 2, 2, 2, 241, 58, 3, 2, 2, 2, 242, 243, 7, 81, 2, 2, 243,
247, 7, 84, 2, 2, 244, 245, 7, 126, 2, 2, 245, 247, 7, 126, 2, 2, 246,
242, 3, 2, 2, 2, 246, 244, 3, 2, 2, 2, 247, 60, 3, 2, 2, 2, 248, 249, 5,
15, 8, 2, 249, 250, 5, 15, 8, 2, 250, 62, 3, 2, 2, 2, 251, 252, 7, 63,
2, 2, 252, 64, 3, 2, 2, 2, 253, 254, 7, 65, 2, 2, 254, 66, 3, 2, 2, 2,
255, 256, 7, 35, 2, 2, 256, 257, 7, 128, 2, 2, 257, 68, 3, 2, 2, 2, 258,
259, 7, 63, 2, 2, 259, 260, 7, 128, 2, 2, 260, 70, 3, 2, 2, 2, 261, 262,
7, 72, 2, 2, 262, 263, 7, 81, 2, 2, 263, 264, 7, 84, 2, 2, 264, 72, 3,
2, 2, 2, 265, 266, 7, 84, 2, 2, 266, 267, 7, 71, 2, 2, 267, 268, 7, 86,
2, 2, 268, 269, 7, 87, 2, 2, 269, 270, 7, 84, 2, 2, 270, 271, 7, 80, 2,
2, 271, 74, 3, 2, 2, 2, 272, 273, 7, 70, 2, 2, 273, 274, 7, 75, 2, 2, 274,
275, 7, 85, 2, 2, 275, 276, 7, 86, 2, 2, 276, 277, 7, 75, 2, 2, 277, 278,
7, 80, 2, 2, 278, 279, 7, 69, 2, 2, 279, 280, 7, 86, 2, 2, 280, 76, 3,
2, 2, 2, 281, 282, 7, 72, 2, 2, 282, 283, 7, 75, 2, 2, 283, 284, 7, 78,
2, 2, 284, 285, 7, 86, 2, 2, 285, 286, 7, 71, 2, 2, 286, 287, 7, 84, 2,
2, 287, 78, 3, 2, 2, 2, 288, 289, 7, 85, 2, 2, 289, 290, 7, 81, 2, 2, 290,
291, 7, 84, 2, 2, 291, 292, 7, 86, 2, 2, 292, 80, 3, 2, 2, 2, 293, 294,
7, 78, 2, 2, 294, 295, 7, 75, 2, 2, 295, 296, 7, 79, 2, 2, 296, 297, 7,
75, 2, 2, 297, 298, 7, 86, 2, 2, 298, 82, 3, 2, 2, 2, 299, 300, 7, 78,
2, 2, 300, 301, 7, 71, 2, 2, 301, 302, 7, 86, 2, 2, 302, 84, 3, 2, 2, 2,
303, 304, 7, 69, 2, 2, 304, 305, 7, 81, 2, 2, 305, 306, 7, 78, 2, 2, 306,
307, 7, 78, 2, 2, 307, 308, 7, 71, 2, 2, 308, 309, 7, 69, 2, 2, 309, 310,
7, 86, 2, 2, 310, 86, 3, 2, 2, 2, 311, 312, 7, 67, 2, 2, 312, 313, 7, 85,
2, 2, 313, 319, 7, 69, 2, 2, 314, 315, 7, 70, 2, 2, 315, 316, 7, 71, 2,
2, 316, 317, 7, 85, 2, 2, 317, 319, 7, 69, 2, 2, 318, 311, 3, 2, 2, 2,
318, 314, 3, 2, 2, 2, 319, 88, 3, 2, 2, 2, 320, 321, 7, 80, 2, 2, 321,
322, 7, 81, 2, 2, 322, 323, 7, 80, 2, 2, 323, 324, 7, 71, 2, 2, 324, 90,
3, 2, 2, 2, 325, 326, 7, 80, 2, 2, 326, 327, 7, 87, 2, 2, 327, 328, 7,
78, 2, 2, 328, 329, 7, 78, 2, 2, 329, 92, 3, 2, 2, 2, 330, 331, 7, 86,
2, 2, 331, 332, 7, 84, 2, 2, 332, 333, 7, 87, 2, 2, 333, 349, 7, 71, 2,
2, 334, 335, 7, 118, 2, 2, 335, 336, 7, 116, 2, 2, 336, 337, 7, 119, 2,
2, 337, 349, 7, 103, 2, 2, 338, 339, 7, 72, 2, 2, 339, 340, 7, 67, 2, 2,
340, 341, 7, 78, 2, 2, 341, 342, 7, 85, 2, 2, 342, 349, 7, 71, 2, 2, 343,
344, 7, 104, 2, 2, 344, 345, 7, 99, 2, 2, 345, 346, 7, 110, 2, 2, 346,
347, 7, 117, 2, 2, 347, 349, 7, 103, 2, 2, 348, 330, 3, 2, 2, 2, 348, 334,
3, 2, 2, 2, 348, 338, 3, 2, 2, 2, 348, 343, 3, 2, 2, 2, 349, 94, 3, 2,
2, 2, 350, 351, 7, 75, 2, 2, 351, 352, 7, 80, 2, 2, 352, 353, 7, 86, 2,
2, 353, 354, 7, 81, 2, 2, 354, 96, 3, 2, 2, 2, 355, 356, 7, 77, 2, 2, 356,
357, 7, 71, 2, 2, 357, 358, 7, 71, 2, 2, 358, 359, 7, 82, 2, 2, 359, 98,
3, 2, 2, 2, 360, 361, 7, 89, 2, 2, 361, 362, 7, 75, 2, 2, 362, 363, 7,
86, 2, 2, 363, 364, 7, 74, 2, 2, 364, 100, 3, 2, 2, 2, 365, 366, 7, 69,
2, 2, 366, 367, 7, 81, 2, 2, 367, 368, 7, 87, 2, 2, 368, 369, 7, 80, 2,
2, 369, 370, 7, 86, 2, 2, 370, 102, 3, 2, 2, 2, 371, 372, 7, 67, 2, 2,
372, 373, 7, 78, 2, 2, 373, 374, 7, 78, 2, 2, 374, 104, 3, 2, 2, 2, 375,
376, 7, 67, 2, 2, 376, 377, 7, 80, 2, 2, 377, 378, 7, 91, 2, 2, 378, 106,
3, 2, 2, 2, 379, 380, 7, 67, 2, 2, 380, 381, 7, 73, 2, 2, 381, 382, 7,
73, 2, 2, 382, 383, 7, 84, 2, 2, 383, 384, 7, 71, 2, 2, 384, 385, 7, 73,
2, 2, 385, 386, 7, 67, 2, 2, 386, 387, 7, 86, 2, 2, 387, 388, 7, 71, 2,
2, 388, 108, 3, 2, 2, 2, 389, 390, 7, 78, 2, 2, 390, 391, 7, 75, 2, 2,
391, 392, 7, 77, 2, 2, 392, 393, 7, 71, 2, 2, 393, 110, 3, 2, 2, 2, 394,
395, 7, 80, 2, 2, 395, 396, 7, 81, 2, 2, 396, 399, 7, 86, 2, 2, 397, 399,
7, 35, 2, 2, 398, 394, 3, 2, 2, 2, 398, 397, 3, 2, 2, 2, 399, 112, 3, 2,
2, 2, 400, 401, 7, 75, 2, 2, 401, 402, 7, 80, 2, 2, 402, 114, 3, 2, 2,
2, 403, 404, 7, 66, 2, 2, 404, 116, 3, 2, 2, 2, 405, 407, 5, 135, 68, 2,
406, 405, 3, 2, 2, 2, 407, 408, 3, 2, 2, 2, 408, 406, 3, 2, 2, 2, 408,
409, 3, 2, 2, 2, 409, 419, 3, 2, 2, 2, 410, 414, 5, 137, 69, 2, 411, 413,
5, 117, 59, 2, 412, 411, 3, 2, 2, 2, 413, 416, 3, 2, 2, 2, 414, 412, 3,
2, 2, 2, 414, 415, 3, 2, 2, 2, 415, 418, 3, 2, 2, 2, 416, 414, 3, 2, 2,
2, 417, 410, 3, 2, 2, 2, 418, 421, 3, 2, 2, 2, 419, 417, 3, 2, 2, 2, 419,
420, 3, 2, 2, 2, 420, 431, 3, 2, 2, 2, 421, 419, 3, 2, 2, 2, 422, 426,
5, 139, 70, 2, 423, 425, 5, 117, 59, 2, 424, 423, 3, 2, 2, 2, 425, 428,
3, 2, 2, 2, 426, 424, 3, 2, 2, 2, 426, 427, 3, 2, 2, 2, 427, 430, 3, 2,
2, 2, 428, 426, 3, 2, 2, 2, 429, 422, 3, 2, 2, 2, 430, 433, 3, 2, 2, 2,
431, 429, 3, 2, 2, 2, 431, 432, 3, 2, 2, 2, 432, 118, 3, 2, 2, 2, 433,
431, 3, 2, 2, 2, 434, 437, 5, 143, 72, 2, 435, 437, 5, 141, 71, 2, 436,
434, 3, 2, 2, 2, 436, 435, 3, 2, 2, 2, 437, 120, 3, 2, 2, 2, 438, 444,
7, 98, 2, 2, 439, 440, 7, 94, 2, 2, 440, 443, 7, 98, 2, 2, 441, 443, 10,
4, 2, 2, 442, 439, 3, 2, 2, 2, 442, 441, 3, 2, 2, 2, 443, 446, 3, 2, 2,
2, 444, 442, 3, 2, 2, 2, 444, 445, 3, 2, 2, 2, 445, 447, 3, 2, 2, 2, 446,
444, 3, 2, 2, 2, 447, 448, 7, 98, 2, 2, 448, 122, 3, 2, 2, 2, 449, 451,
9, 5, 2, 2, 450, 449, 3, 2, 2, 2, 451, 452, 3, 2, 2, 2, 452, 450, 3, 2,
2, 2, 452, 453, 3, 2, 2, 2, 453, 124, 3, 2, 2, 2, 454, 455, 5, 131, 66,
2, 455, 457, 5, 15, 8, 2, 456, 458, 9, 5, 2, 2, 457, 456, 3, 2, 2, 2, 458,
459, 3, 2, 2, 2, 459, 457, 3, 2, 2, 2, 459, 460, 3, 2, 2, 2, 460, 462,
3, 2, 2, 2, 461, 463, 5, 133, 67, 2, 462, 461, 3, 2, 2, 2, 462, 463, 3,
2, 2, 2, 463, 469, 3, 2, 2, 2, 464, 466, 5, 131, 66, 2, 465, 467, 5, 133,
67, 2, 466, 465, 3, 2, 2, 2, 466, 467, 3, 2, 2, 2, 467, 469, 3, 2, 2, 2,
468, 454, 3, 2, 2, 2, 468, 464, 3, 2, 2, 2, 469, 126, 3, 2, 2, 2, 470,
471, 5, 117, 59, 2, 471, 472, 5, 145, 73, 2, 472, 128, 3, 2, 2, 2, 473,
474, 9, 6, 2, 2, 474, 130, 3, 2, 2, 2, 475, 484, 7, 50, 2, 2, 476, 480,
9, 7, 2, 2, 477, 479, 9, 5, 2, 2, 478, 477, 3, 2, 2, 2, 479, 482, 3, 2,
2, 2, 480, 478, 3, 2, 2, 2, 480, 481, 3, 2, 2, 2, 481, 484, 3, 2, 2, 2,
482, 480, 3, 2, 2, 2, 483, 475, 3, 2, 2, 2, 483, 476, 3, 2, 2, 2, 484,
132, 3, 2, 2, 2, 485, 487, 9, 8, 2, 2, 486, 488, 9, 9, 2, 2, 487, 486,
3, 2, 2, 2, 487, 488, 3, 2, 2, 2, 488, 490, 3, 2, 2, 2, 489, 491, 9, 5,
2, 2, 490, 489, 3, 2, 2, 2, 491, 492, 3, 2, 2, 2, 492, 490, 3, 2, 2, 2,
492, 493, 3, 2, 2, 2, 493, 134, 3, 2, 2, 2, 494, 495, 9, 10, 2, 2, 495,
136, 3, 2, 2, 2, 496, 497, 7, 97, 2, 2, 497, 138, 3, 2, 2, 2, 498, 499,
4, 50, 59, 2, 499, 140, 3, 2, 2, 2, 500, 508, 7, 36, 2, 2, 501, 502, 7,
94, 2, 2, 502, 507, 11, 2, 2, 2, 503, 504, 7, 36, 2, 2, 504, 507, 7, 36,
2, 2, 505, 507, 10, 11, 2, 2, 506, 501, 3, 2, 2, 2, 506, 503, 3, 2, 2,
2, 506, 505, 3, 2, 2, 2, 507, 510, 3, 2, 2, 2, 508, 506, 3, 2, 2, 2, 508,
509, 3, 2, 2, 2, 509, 511, 3, 2, 2, 2, 510, 508, 3, 2, 2, 2, 511, 512,
7, 36, 2, 2, 512, 142, 3, 2, 2, 2, 513, 521, 7, 41, 2, 2, 514, 515, 7,
94, 2, 2, 515, 520, 11, 2, 2, 2, 516, 517, 7, 41, 2, 2, 517, 520, 7, 41,
2, 2, 518, 520, 10, 12, 2, 2, 519, 514, 3, 2, 2, 2, 519, 516, 3, 2, 2,
2, 519, 518, 3, 2, 2, 2, 520, 523, 3, 2, 2, 2, 521, 519, 3, 2, 2, 2, 521,
522, 3, 2, 2, 2, 522, 524, 3, 2, 2, 2, 523, 521, 3, 2, 2, 2, 524, 525,
7, 41, 2, 2, 525, 144, 3, 2, 2, 2, 526, 527, 7, 60, 2, 2, 527, 528, 7,
60, 2, 2, 528, 146, 3, 2, 2, 2, 32, 2, 153, 167, 175, 240, 246, 318, 348,
398, 408, 414, 419, 426, 431, 436, 442, 444, 452, 459, 462, 466, 468, 480,
483, 487, 492, 506, 508, 519, 521, 3, 2, 3, 2,
2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 3, 149, 3,
2, 2, 2, 5, 163, 3, 2, 2, 2, 7, 175, 3, 2, 2, 2, 9, 181, 3, 2, 2, 2, 11,
185, 3, 2, 2, 2, 13, 187, 3, 2, 2, 2, 15, 189, 3, 2, 2, 2, 17, 191, 3,
2, 2, 2, 19, 193, 3, 2, 2, 2, 21, 195, 3, 2, 2, 2, 23, 197, 3, 2, 2, 2,
25, 199, 3, 2, 2, 2, 27, 201, 3, 2, 2, 2, 29, 203, 3, 2, 2, 2, 31, 205,
3, 2, 2, 2, 33, 207, 3, 2, 2, 2, 35, 209, 3, 2, 2, 2, 37, 212, 3, 2, 2,
2, 39, 215, 3, 2, 2, 2, 41, 218, 3, 2, 2, 2, 43, 221, 3, 2, 2, 2, 45, 223,
3, 2, 2, 2, 47, 225, 3, 2, 2, 2, 49, 227, 3, 2, 2, 2, 51, 229, 3, 2, 2,
2, 53, 231, 3, 2, 2, 2, 55, 234, 3, 2, 2, 2, 57, 242, 3, 2, 2, 2, 59, 248,
3, 2, 2, 2, 61, 250, 3, 2, 2, 2, 63, 253, 3, 2, 2, 2, 65, 255, 3, 2, 2,
2, 67, 257, 3, 2, 2, 2, 69, 260, 3, 2, 2, 2, 71, 263, 3, 2, 2, 2, 73, 267,
3, 2, 2, 2, 75, 274, 3, 2, 2, 2, 77, 283, 3, 2, 2, 2, 79, 290, 3, 2, 2,
2, 81, 295, 3, 2, 2, 2, 83, 301, 3, 2, 2, 2, 85, 305, 3, 2, 2, 2, 87, 320,
3, 2, 2, 2, 89, 322, 3, 2, 2, 2, 91, 327, 3, 2, 2, 2, 93, 350, 3, 2, 2,
2, 95, 352, 3, 2, 2, 2, 97, 357, 3, 2, 2, 2, 99, 362, 3, 2, 2, 2, 101,
367, 3, 2, 2, 2, 103, 373, 3, 2, 2, 2, 105, 377, 3, 2, 2, 2, 107, 381,
3, 2, 2, 2, 109, 391, 3, 2, 2, 2, 111, 400, 3, 2, 2, 2, 113, 402, 3, 2,
2, 2, 115, 405, 3, 2, 2, 2, 117, 408, 3, 2, 2, 2, 119, 440, 3, 2, 2, 2,
121, 443, 3, 2, 2, 2, 123, 461, 3, 2, 2, 2, 125, 463, 3, 2, 2, 2, 127,
466, 3, 2, 2, 2, 129, 476, 3, 2, 2, 2, 131, 478, 3, 2, 2, 2, 133, 487,
3, 2, 2, 2, 135, 489, 3, 2, 2, 2, 137, 491, 3, 2, 2, 2, 139, 493, 3, 2,
2, 2, 141, 506, 3, 2, 2, 2, 143, 519, 3, 2, 2, 2, 145, 530, 3, 2, 2, 2,
147, 541, 3, 2, 2, 2, 149, 150, 7, 49, 2, 2, 150, 151, 7, 44, 2, 2, 151,
155, 3, 2, 2, 2, 152, 154, 11, 2, 2, 2, 153, 152, 3, 2, 2, 2, 154, 157,
3, 2, 2, 2, 155, 156, 3, 2, 2, 2, 155, 153, 3, 2, 2, 2, 156, 158, 3, 2,
2, 2, 157, 155, 3, 2, 2, 2, 158, 159, 7, 44, 2, 2, 159, 160, 7, 49, 2,
2, 160, 161, 3, 2, 2, 2, 161, 162, 8, 2, 2, 2, 162, 4, 3, 2, 2, 2, 163,
164, 7, 49, 2, 2, 164, 165, 7, 49, 2, 2, 165, 169, 3, 2, 2, 2, 166, 168,
10, 2, 2, 2, 167, 166, 3, 2, 2, 2, 168, 171, 3, 2, 2, 2, 169, 167, 3, 2,
2, 2, 169, 170, 3, 2, 2, 2, 170, 172, 3, 2, 2, 2, 171, 169, 3, 2, 2, 2,
172, 173, 8, 3, 2, 2, 173, 6, 3, 2, 2, 2, 174, 176, 9, 3, 2, 2, 175, 174,
3, 2, 2, 2, 176, 177, 3, 2, 2, 2, 177, 175, 3, 2, 2, 2, 177, 178, 3, 2,
2, 2, 178, 179, 3, 2, 2, 2, 179, 180, 8, 4, 2, 2, 180, 8, 3, 2, 2, 2, 181,
182, 9, 2, 2, 2, 182, 183, 3, 2, 2, 2, 183, 184, 8, 5, 2, 2, 184, 10, 3,
2, 2, 2, 185, 186, 7, 60, 2, 2, 186, 12, 3, 2, 2, 2, 187, 188, 7, 61, 2,
2, 188, 14, 3, 2, 2, 2, 189, 190, 7, 48, 2, 2, 190, 16, 3, 2, 2, 2, 191,
192, 7, 46, 2, 2, 192, 18, 3, 2, 2, 2, 193, 194, 7, 93, 2, 2, 194, 20,
3, 2, 2, 2, 195, 196, 7, 95, 2, 2, 196, 22, 3, 2, 2, 2, 197, 198, 7, 42,
2, 2, 198, 24, 3, 2, 2, 2, 199, 200, 7, 43, 2, 2, 200, 26, 3, 2, 2, 2,
201, 202, 7, 125, 2, 2, 202, 28, 3, 2, 2, 2, 203, 204, 7, 127, 2, 2, 204,
30, 3, 2, 2, 2, 205, 206, 7, 64, 2, 2, 206, 32, 3, 2, 2, 2, 207, 208, 7,
62, 2, 2, 208, 34, 3, 2, 2, 2, 209, 210, 7, 63, 2, 2, 210, 211, 7, 63,
2, 2, 211, 36, 3, 2, 2, 2, 212, 213, 7, 64, 2, 2, 213, 214, 7, 63, 2, 2,
214, 38, 3, 2, 2, 2, 215, 216, 7, 62, 2, 2, 216, 217, 7, 63, 2, 2, 217,
40, 3, 2, 2, 2, 218, 219, 7, 35, 2, 2, 219, 220, 7, 63, 2, 2, 220, 42,
3, 2, 2, 2, 221, 222, 7, 44, 2, 2, 222, 44, 3, 2, 2, 2, 223, 224, 7, 49,
2, 2, 224, 46, 3, 2, 2, 2, 225, 226, 7, 39, 2, 2, 226, 48, 3, 2, 2, 2,
227, 228, 7, 45, 2, 2, 228, 50, 3, 2, 2, 2, 229, 230, 7, 47, 2, 2, 230,
52, 3, 2, 2, 2, 231, 232, 7, 47, 2, 2, 232, 233, 7, 47, 2, 2, 233, 54,
3, 2, 2, 2, 234, 235, 7, 45, 2, 2, 235, 236, 7, 45, 2, 2, 236, 56, 3, 2,
2, 2, 237, 238, 7, 67, 2, 2, 238, 239, 7, 80, 2, 2, 239, 243, 7, 70, 2,
2, 240, 241, 7, 40, 2, 2, 241, 243, 7, 40, 2, 2, 242, 237, 3, 2, 2, 2,
242, 240, 3, 2, 2, 2, 243, 58, 3, 2, 2, 2, 244, 245, 7, 81, 2, 2, 245,
249, 7, 84, 2, 2, 246, 247, 7, 126, 2, 2, 247, 249, 7, 126, 2, 2, 248,
244, 3, 2, 2, 2, 248, 246, 3, 2, 2, 2, 249, 60, 3, 2, 2, 2, 250, 251, 5,
15, 8, 2, 251, 252, 5, 15, 8, 2, 252, 62, 3, 2, 2, 2, 253, 254, 7, 63,
2, 2, 254, 64, 3, 2, 2, 2, 255, 256, 7, 65, 2, 2, 256, 66, 3, 2, 2, 2,
257, 258, 7, 35, 2, 2, 258, 259, 7, 128, 2, 2, 259, 68, 3, 2, 2, 2, 260,
261, 7, 63, 2, 2, 261, 262, 7, 128, 2, 2, 262, 70, 3, 2, 2, 2, 263, 264,
7, 72, 2, 2, 264, 265, 7, 81, 2, 2, 265, 266, 7, 84, 2, 2, 266, 72, 3,
2, 2, 2, 267, 268, 7, 84, 2, 2, 268, 269, 7, 71, 2, 2, 269, 270, 7, 86,
2, 2, 270, 271, 7, 87, 2, 2, 271, 272, 7, 84, 2, 2, 272, 273, 7, 80, 2,
2, 273, 74, 3, 2, 2, 2, 274, 275, 7, 70, 2, 2, 275, 276, 7, 75, 2, 2, 276,
277, 7, 85, 2, 2, 277, 278, 7, 86, 2, 2, 278, 279, 7, 75, 2, 2, 279, 280,
7, 80, 2, 2, 280, 281, 7, 69, 2, 2, 281, 282, 7, 86, 2, 2, 282, 76, 3,
2, 2, 2, 283, 284, 7, 72, 2, 2, 284, 285, 7, 75, 2, 2, 285, 286, 7, 78,
2, 2, 286, 287, 7, 86, 2, 2, 287, 288, 7, 71, 2, 2, 288, 289, 7, 84, 2,
2, 289, 78, 3, 2, 2, 2, 290, 291, 7, 85, 2, 2, 291, 292, 7, 81, 2, 2, 292,
293, 7, 84, 2, 2, 293, 294, 7, 86, 2, 2, 294, 80, 3, 2, 2, 2, 295, 296,
7, 78, 2, 2, 296, 297, 7, 75, 2, 2, 297, 298, 7, 79, 2, 2, 298, 299, 7,
75, 2, 2, 299, 300, 7, 86, 2, 2, 300, 82, 3, 2, 2, 2, 301, 302, 7, 78,
2, 2, 302, 303, 7, 71, 2, 2, 303, 304, 7, 86, 2, 2, 304, 84, 3, 2, 2, 2,
305, 306, 7, 69, 2, 2, 306, 307, 7, 81, 2, 2, 307, 308, 7, 78, 2, 2, 308,
309, 7, 78, 2, 2, 309, 310, 7, 71, 2, 2, 310, 311, 7, 69, 2, 2, 311, 312,
7, 86, 2, 2, 312, 86, 3, 2, 2, 2, 313, 314, 7, 67, 2, 2, 314, 315, 7, 85,
2, 2, 315, 321, 7, 69, 2, 2, 316, 317, 7, 70, 2, 2, 317, 318, 7, 71, 2,
2, 318, 319, 7, 85, 2, 2, 319, 321, 7, 69, 2, 2, 320, 313, 3, 2, 2, 2,
320, 316, 3, 2, 2, 2, 321, 88, 3, 2, 2, 2, 322, 323, 7, 80, 2, 2, 323,
324, 7, 81, 2, 2, 324, 325, 7, 80, 2, 2, 325, 326, 7, 71, 2, 2, 326, 90,
3, 2, 2, 2, 327, 328, 7, 80, 2, 2, 328, 329, 7, 87, 2, 2, 329, 330, 7,
78, 2, 2, 330, 331, 7, 78, 2, 2, 331, 92, 3, 2, 2, 2, 332, 333, 7, 86,
2, 2, 333, 334, 7, 84, 2, 2, 334, 335, 7, 87, 2, 2, 335, 351, 7, 71, 2,
2, 336, 337, 7, 118, 2, 2, 337, 338, 7, 116, 2, 2, 338, 339, 7, 119, 2,
2, 339, 351, 7, 103, 2, 2, 340, 341, 7, 72, 2, 2, 341, 342, 7, 67, 2, 2,
342, 343, 7, 78, 2, 2, 343, 344, 7, 85, 2, 2, 344, 351, 7, 71, 2, 2, 345,
346, 7, 104, 2, 2, 346, 347, 7, 99, 2, 2, 347, 348, 7, 110, 2, 2, 348,
349, 7, 117, 2, 2, 349, 351, 7, 103, 2, 2, 350, 332, 3, 2, 2, 2, 350, 336,
3, 2, 2, 2, 350, 340, 3, 2, 2, 2, 350, 345, 3, 2, 2, 2, 351, 94, 3, 2,
2, 2, 352, 353, 7, 75, 2, 2, 353, 354, 7, 80, 2, 2, 354, 355, 7, 86, 2,
2, 355, 356, 7, 81, 2, 2, 356, 96, 3, 2, 2, 2, 357, 358, 7, 77, 2, 2, 358,
359, 7, 71, 2, 2, 359, 360, 7, 71, 2, 2, 360, 361, 7, 82, 2, 2, 361, 98,
3, 2, 2, 2, 362, 363, 7, 89, 2, 2, 363, 364, 7, 75, 2, 2, 364, 365, 7,
86, 2, 2, 365, 366, 7, 74, 2, 2, 366, 100, 3, 2, 2, 2, 367, 368, 7, 69,
2, 2, 368, 369, 7, 81, 2, 2, 369, 370, 7, 87, 2, 2, 370, 371, 7, 80, 2,
2, 371, 372, 7, 86, 2, 2, 372, 102, 3, 2, 2, 2, 373, 374, 7, 67, 2, 2,
374, 375, 7, 78, 2, 2, 375, 376, 7, 78, 2, 2, 376, 104, 3, 2, 2, 2, 377,
378, 7, 67, 2, 2, 378, 379, 7, 80, 2, 2, 379, 380, 7, 91, 2, 2, 380, 106,
3, 2, 2, 2, 381, 382, 7, 67, 2, 2, 382, 383, 7, 73, 2, 2, 383, 384, 7,
73, 2, 2, 384, 385, 7, 84, 2, 2, 385, 386, 7, 71, 2, 2, 386, 387, 7, 73,
2, 2, 387, 388, 7, 67, 2, 2, 388, 389, 7, 86, 2, 2, 389, 390, 7, 71, 2,
2, 390, 108, 3, 2, 2, 2, 391, 392, 7, 78, 2, 2, 392, 393, 7, 75, 2, 2,
393, 394, 7, 77, 2, 2, 394, 395, 7, 71, 2, 2, 395, 110, 3, 2, 2, 2, 396,
397, 7, 80, 2, 2, 397, 398, 7, 81, 2, 2, 398, 401, 7, 86, 2, 2, 399, 401,
7, 35, 2, 2, 400, 396, 3, 2, 2, 2, 400, 399, 3, 2, 2, 2, 401, 112, 3, 2,
2, 2, 402, 403, 7, 75, 2, 2, 403, 404, 7, 80, 2, 2, 404, 114, 3, 2, 2,
2, 405, 406, 7, 66, 2, 2, 406, 116, 3, 2, 2, 2, 407, 409, 5, 133, 67, 2,
408, 407, 3, 2, 2, 2, 409, 410, 3, 2, 2, 2, 410, 408, 3, 2, 2, 2, 410,
411, 3, 2, 2, 2, 411, 421, 3, 2, 2, 2, 412, 416, 5, 135, 68, 2, 413, 415,
5, 117, 59, 2, 414, 413, 3, 2, 2, 2, 415, 418, 3, 2, 2, 2, 416, 414, 3,
2, 2, 2, 416, 417, 3, 2, 2, 2, 417, 420, 3, 2, 2, 2, 418, 416, 3, 2, 2,
2, 419, 412, 3, 2, 2, 2, 420, 423, 3, 2, 2, 2, 421, 419, 3, 2, 2, 2, 421,
422, 3, 2, 2, 2, 422, 433, 3, 2, 2, 2, 423, 421, 3, 2, 2, 2, 424, 428,
5, 137, 69, 2, 425, 427, 5, 117, 59, 2, 426, 425, 3, 2, 2, 2, 427, 430,
3, 2, 2, 2, 428, 426, 3, 2, 2, 2, 428, 429, 3, 2, 2, 2, 429, 432, 3, 2,
2, 2, 430, 428, 3, 2, 2, 2, 431, 424, 3, 2, 2, 2, 432, 435, 3, 2, 2, 2,
433, 431, 3, 2, 2, 2, 433, 434, 3, 2, 2, 2, 434, 118, 3, 2, 2, 2, 435,
433, 3, 2, 2, 2, 436, 441, 5, 141, 71, 2, 437, 441, 5, 139, 70, 2, 438,
441, 5, 143, 72, 2, 439, 441, 5, 145, 73, 2, 440, 436, 3, 2, 2, 2, 440,
437, 3, 2, 2, 2, 440, 438, 3, 2, 2, 2, 440, 439, 3, 2, 2, 2, 441, 120,
3, 2, 2, 2, 442, 444, 9, 4, 2, 2, 443, 442, 3, 2, 2, 2, 444, 445, 3, 2,
2, 2, 445, 443, 3, 2, 2, 2, 445, 446, 3, 2, 2, 2, 446, 122, 3, 2, 2, 2,
447, 448, 5, 129, 65, 2, 448, 450, 5, 15, 8, 2, 449, 451, 9, 4, 2, 2, 450,
449, 3, 2, 2, 2, 451, 452, 3, 2, 2, 2, 452, 450, 3, 2, 2, 2, 452, 453,
3, 2, 2, 2, 453, 455, 3, 2, 2, 2, 454, 456, 5, 131, 66, 2, 455, 454, 3,
2, 2, 2, 455, 456, 3, 2, 2, 2, 456, 462, 3, 2, 2, 2, 457, 459, 5, 129,
65, 2, 458, 460, 5, 131, 66, 2, 459, 458, 3, 2, 2, 2, 459, 460, 3, 2, 2,
2, 460, 462, 3, 2, 2, 2, 461, 447, 3, 2, 2, 2, 461, 457, 3, 2, 2, 2, 462,
124, 3, 2, 2, 2, 463, 464, 5, 117, 59, 2, 464, 465, 5, 147, 74, 2, 465,
126, 3, 2, 2, 2, 466, 467, 9, 5, 2, 2, 467, 128, 3, 2, 2, 2, 468, 477,
7, 50, 2, 2, 469, 473, 9, 6, 2, 2, 470, 472, 9, 4, 2, 2, 471, 470, 3, 2,
2, 2, 472, 475, 3, 2, 2, 2, 473, 471, 3, 2, 2, 2, 473, 474, 3, 2, 2, 2,
474, 477, 3, 2, 2, 2, 475, 473, 3, 2, 2, 2, 476, 468, 3, 2, 2, 2, 476,
469, 3, 2, 2, 2, 477, 130, 3, 2, 2, 2, 478, 480, 9, 7, 2, 2, 479, 481,
9, 8, 2, 2, 480, 479, 3, 2, 2, 2, 480, 481, 3, 2, 2, 2, 481, 483, 3, 2,
2, 2, 482, 484, 9, 4, 2, 2, 483, 482, 3, 2, 2, 2, 484, 485, 3, 2, 2, 2,
485, 483, 3, 2, 2, 2, 485, 486, 3, 2, 2, 2, 486, 132, 3, 2, 2, 2, 487,
488, 9, 9, 2, 2, 488, 134, 3, 2, 2, 2, 489, 490, 7, 97, 2, 2, 490, 136,
3, 2, 2, 2, 491, 492, 4, 50, 59, 2, 492, 138, 3, 2, 2, 2, 493, 501, 7,
36, 2, 2, 494, 495, 7, 94, 2, 2, 495, 500, 11, 2, 2, 2, 496, 497, 7, 36,
2, 2, 497, 500, 7, 36, 2, 2, 498, 500, 10, 10, 2, 2, 499, 494, 3, 2, 2,
2, 499, 496, 3, 2, 2, 2, 499, 498, 3, 2, 2, 2, 500, 503, 3, 2, 2, 2, 501,
499, 3, 2, 2, 2, 501, 502, 3, 2, 2, 2, 502, 504, 3, 2, 2, 2, 503, 501,
3, 2, 2, 2, 504, 505, 7, 36, 2, 2, 505, 140, 3, 2, 2, 2, 506, 514, 7, 41,
2, 2, 507, 508, 7, 94, 2, 2, 508, 513, 11, 2, 2, 2, 509, 510, 7, 41, 2,
2, 510, 513, 7, 41, 2, 2, 511, 513, 10, 11, 2, 2, 512, 507, 3, 2, 2, 2,
512, 509, 3, 2, 2, 2, 512, 511, 3, 2, 2, 2, 513, 516, 3, 2, 2, 2, 514,
512, 3, 2, 2, 2, 514, 515, 3, 2, 2, 2, 515, 517, 3, 2, 2, 2, 516, 514,
3, 2, 2, 2, 517, 518, 7, 41, 2, 2, 518, 142, 3, 2, 2, 2, 519, 525, 7, 98,
2, 2, 520, 521, 7, 94, 2, 2, 521, 524, 7, 98, 2, 2, 522, 524, 10, 12, 2,
2, 523, 520, 3, 2, 2, 2, 523, 522, 3, 2, 2, 2, 524, 527, 3, 2, 2, 2, 525,
523, 3, 2, 2, 2, 525, 526, 3, 2, 2, 2, 526, 528, 3, 2, 2, 2, 527, 525,
3, 2, 2, 2, 528, 529, 7, 98, 2, 2, 529, 144, 3, 2, 2, 2, 530, 536, 7, 182,
2, 2, 531, 532, 7, 94, 2, 2, 532, 535, 7, 182, 2, 2, 533, 535, 10, 13,
2, 2, 534, 531, 3, 2, 2, 2, 534, 533, 3, 2, 2, 2, 535, 538, 3, 2, 2, 2,
536, 534, 3, 2, 2, 2, 536, 537, 3, 2, 2, 2, 537, 539, 3, 2, 2, 2, 538,
536, 3, 2, 2, 2, 539, 540, 7, 182, 2, 2, 540, 146, 3, 2, 2, 2, 541, 542,
7, 60, 2, 2, 542, 543, 7, 60, 2, 2, 543, 148, 3, 2, 2, 2, 34, 2, 155, 169,
177, 242, 248, 320, 350, 400, 410, 416, 421, 428, 433, 440, 445, 452, 455,
459, 461, 473, 476, 480, 485, 499, 501, 512, 514, 523, 525, 534, 536, 3,
2, 3, 2,
}
var lexerDeserializer = antlr.NewATNDeserializer(nil)
@ -281,8 +289,7 @@ var lexerSymbolicNames = []string{
"For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect",
"SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With",
"Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier",
"StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral",
"NamespaceSegment",
"StringLiteral", "IntegerLiteral", "FloatLiteral", "NamespaceSegment",
}
var lexerRuleNames = []string{
@ -294,9 +301,9 @@ var lexerRuleNames = []string{
"For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect",
"SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With",
"Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier",
"StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral",
"NamespaceSegment", "HexDigit", "DecimalIntegerLiteral", "ExponentPart",
"Letter", "Symbols", "Digit", "DQSring", "SQString", "NamespaceSeparator",
"StringLiteral", "IntegerLiteral", "FloatLiteral", "NamespaceSegment",
"HexDigit", "DecimalIntegerLiteral", "ExponentPart", "Letter", "Symbols",
"Digit", "DQSring", "SQString", "BacktickString", "TickString", "NamespaceSeparator",
}
type FqlLexer struct {
@ -334,67 +341,66 @@ func NewFqlLexer(input antlr.CharStream) *FqlLexer {
// 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
FqlLexerDistinct = 37
FqlLexerFilter = 38
FqlLexerSort = 39
FqlLexerLimit = 40
FqlLexerLet = 41
FqlLexerCollect = 42
FqlLexerSortDirection = 43
FqlLexerNone = 44
FqlLexerNull = 45
FqlLexerBooleanLiteral = 46
FqlLexerInto = 47
FqlLexerKeep = 48
FqlLexerWith = 49
FqlLexerCount = 50
FqlLexerAll = 51
FqlLexerAny = 52
FqlLexerAggregate = 53
FqlLexerLike = 54
FqlLexerNot = 55
FqlLexerIn = 56
FqlLexerParam = 57
FqlLexerIdentifier = 58
FqlLexerStringLiteral = 59
FqlLexerTemplateStringLiteral = 60
FqlLexerIntegerLiteral = 61
FqlLexerFloatLiteral = 62
FqlLexerNamespaceSegment = 63
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
FqlLexerDistinct = 37
FqlLexerFilter = 38
FqlLexerSort = 39
FqlLexerLimit = 40
FqlLexerLet = 41
FqlLexerCollect = 42
FqlLexerSortDirection = 43
FqlLexerNone = 44
FqlLexerNull = 45
FqlLexerBooleanLiteral = 46
FqlLexerInto = 47
FqlLexerKeep = 48
FqlLexerWith = 49
FqlLexerCount = 50
FqlLexerAll = 51
FqlLexerAny = 52
FqlLexerAggregate = 53
FqlLexerLike = 54
FqlLexerNot = 55
FqlLexerIn = 56
FqlLexerParam = 57
FqlLexerIdentifier = 58
FqlLexerStringLiteral = 59
FqlLexerIntegerLiteral = 60
FqlLexerFloatLiteral = 61
FqlLexerNamespaceSegment = 62
)

View File

@ -15,7 +15,7 @@ var _ = reflect.Copy
var _ = strconv.Itoa
var parserATN = []uint16{
3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 65, 612,
3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 64, 612,
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,
@ -84,111 +84,111 @@ var parserATN = []uint16{
6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42,
44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112,
114, 2, 10, 3, 2, 61, 62, 3, 2, 46, 47, 4, 2, 46, 46, 53, 54, 3, 2, 17,
22, 3, 2, 35, 36, 3, 2, 23, 25, 3, 2, 26, 27, 4, 2, 26, 27, 56, 57, 2,
649, 2, 116, 3, 2, 2, 2, 4, 121, 3, 2, 2, 2, 6, 128, 3, 2, 2, 2, 8, 132,
3, 2, 2, 2, 10, 149, 3, 2, 2, 2, 12, 151, 3, 2, 2, 2, 14, 167, 3, 2, 2,
2, 16, 169, 3, 2, 2, 2, 18, 178, 3, 2, 2, 2, 20, 184, 3, 2, 2, 2, 22, 188,
3, 2, 2, 2, 24, 192, 3, 2, 2, 2, 26, 196, 3, 2, 2, 2, 28, 198, 3, 2, 2,
2, 30, 201, 3, 2, 2, 2, 32, 209, 3, 2, 2, 2, 34, 211, 3, 2, 2, 2, 36, 220,
3, 2, 2, 2, 38, 242, 3, 2, 2, 2, 40, 244, 3, 2, 2, 2, 42, 248, 3, 2, 2,
2, 44, 256, 3, 2, 2, 2, 46, 265, 3, 2, 2, 2, 48, 277, 3, 2, 2, 2, 50, 279,
3, 2, 2, 2, 52, 299, 3, 2, 2, 2, 54, 301, 3, 2, 2, 2, 56, 304, 3, 2, 2,
2, 58, 309, 3, 2, 2, 2, 60, 317, 3, 2, 2, 2, 62, 323, 3, 2, 2, 2, 64, 339,
3, 2, 2, 2, 66, 341, 3, 2, 2, 2, 68, 343, 3, 2, 2, 2, 70, 345, 3, 2, 2,
2, 72, 347, 3, 2, 2, 2, 74, 349, 3, 2, 2, 2, 76, 370, 3, 2, 2, 2, 78, 372,
3, 2, 2, 2, 80, 374, 3, 2, 2, 2, 82, 380, 3, 2, 2, 2, 84, 382, 3, 2, 2,
2, 86, 389, 3, 2, 2, 2, 88, 392, 3, 2, 2, 2, 90, 478, 3, 2, 2, 2, 92, 480,
3, 2, 2, 2, 94, 510, 3, 2, 2, 2, 96, 588, 3, 2, 2, 2, 98, 590, 3, 2, 2,
2, 100, 595, 3, 2, 2, 2, 102, 597, 3, 2, 2, 2, 104, 599, 3, 2, 2, 2, 106,
601, 3, 2, 2, 2, 108, 603, 3, 2, 2, 2, 110, 605, 3, 2, 2, 2, 112, 607,
3, 2, 2, 2, 114, 609, 3, 2, 2, 2, 116, 117, 5, 4, 3, 2, 117, 3, 3, 2, 2,
2, 118, 120, 5, 6, 4, 2, 119, 118, 3, 2, 2, 2, 120, 123, 3, 2, 2, 2, 121,
119, 3, 2, 2, 2, 121, 122, 3, 2, 2, 2, 122, 124, 3, 2, 2, 2, 123, 121,
3, 2, 2, 2, 124, 125, 5, 8, 5, 2, 125, 5, 3, 2, 2, 2, 126, 129, 5, 88,
45, 2, 127, 129, 5, 52, 27, 2, 128, 126, 3, 2, 2, 2, 128, 127, 3, 2, 2,
2, 129, 7, 3, 2, 2, 2, 130, 133, 5, 10, 6, 2, 131, 133, 5, 12, 7, 2, 132,
130, 3, 2, 2, 2, 132, 131, 3, 2, 2, 2, 133, 9, 3, 2, 2, 2, 134, 136, 7,
38, 2, 2, 135, 137, 7, 39, 2, 2, 136, 135, 3, 2, 2, 2, 136, 137, 3, 2,
2, 2, 137, 138, 3, 2, 2, 2, 138, 150, 5, 94, 48, 2, 139, 141, 7, 38, 2,
2, 140, 142, 7, 39, 2, 2, 141, 140, 3, 2, 2, 2, 141, 142, 3, 2, 2, 2, 142,
143, 3, 2, 2, 2, 143, 144, 7, 13, 2, 2, 144, 145, 5, 12, 7, 2, 145, 146,
7, 14, 2, 2, 146, 150, 3, 2, 2, 2, 147, 148, 7, 38, 2, 2, 148, 150, 5,
96, 49, 2, 149, 134, 3, 2, 2, 2, 149, 139, 3, 2, 2, 2, 149, 147, 3, 2,
2, 2, 150, 11, 3, 2, 2, 2, 151, 152, 7, 37, 2, 2, 152, 155, 5, 14, 8, 2,
153, 154, 7, 10, 2, 2, 154, 156, 5, 16, 9, 2, 155, 153, 3, 2, 2, 2, 155,
156, 3, 2, 2, 2, 156, 157, 3, 2, 2, 2, 157, 158, 7, 58, 2, 2, 158, 162,
5, 18, 10, 2, 159, 161, 5, 24, 13, 2, 160, 159, 3, 2, 2, 2, 161, 164, 3,
2, 2, 2, 162, 160, 3, 2, 2, 2, 162, 163, 3, 2, 2, 2, 163, 165, 3, 2, 2,
2, 164, 162, 3, 2, 2, 2, 165, 166, 5, 26, 14, 2, 166, 13, 3, 2, 2, 2, 167,
168, 7, 60, 2, 2, 168, 15, 3, 2, 2, 2, 169, 170, 7, 60, 2, 2, 170, 17,
3, 2, 2, 2, 171, 179, 5, 88, 45, 2, 172, 179, 5, 60, 31, 2, 173, 179, 5,
62, 32, 2, 174, 179, 5, 56, 29, 2, 175, 179, 5, 90, 46, 2, 176, 179, 5,
58, 30, 2, 177, 179, 5, 54, 28, 2, 178, 171, 3, 2, 2, 2, 178, 172, 3, 2,
2, 2, 178, 173, 3, 2, 2, 2, 178, 174, 3, 2, 2, 2, 178, 175, 3, 2, 2, 2,
178, 176, 3, 2, 2, 2, 178, 177, 3, 2, 2, 2, 179, 19, 3, 2, 2, 2, 180, 185,
5, 30, 16, 2, 181, 185, 5, 34, 18, 2, 182, 185, 5, 28, 15, 2, 183, 185,
5, 38, 20, 2, 184, 180, 3, 2, 2, 2, 184, 181, 3, 2, 2, 2, 184, 182, 3,
2, 2, 2, 184, 183, 3, 2, 2, 2, 185, 21, 3, 2, 2, 2, 186, 189, 5, 52, 27,
2, 187, 189, 5, 88, 45, 2, 188, 186, 3, 2, 2, 2, 188, 187, 3, 2, 2, 2,
189, 23, 3, 2, 2, 2, 190, 193, 5, 22, 12, 2, 191, 193, 5, 20, 11, 2, 192,
190, 3, 2, 2, 2, 192, 191, 3, 2, 2, 2, 193, 25, 3, 2, 2, 2, 194, 197, 5,
10, 6, 2, 195, 197, 5, 12, 7, 2, 196, 194, 3, 2, 2, 2, 196, 195, 3, 2,
2, 2, 197, 27, 3, 2, 2, 2, 198, 199, 7, 40, 2, 2, 199, 200, 5, 94, 48,
2, 200, 29, 3, 2, 2, 2, 201, 202, 7, 42, 2, 2, 202, 205, 5, 32, 17, 2,
203, 204, 7, 10, 2, 2, 204, 206, 5, 32, 17, 2, 205, 203, 3, 2, 2, 2, 205,
206, 3, 2, 2, 2, 206, 31, 3, 2, 2, 2, 207, 210, 7, 63, 2, 2, 208, 210,
5, 54, 28, 2, 209, 207, 3, 2, 2, 2, 209, 208, 3, 2, 2, 2, 210, 33, 3, 2,
2, 2, 211, 212, 7, 41, 2, 2, 212, 217, 5, 36, 19, 2, 213, 214, 7, 10, 2,
2, 214, 216, 5, 36, 19, 2, 215, 213, 3, 2, 2, 2, 216, 219, 3, 2, 2, 2,
217, 215, 3, 2, 2, 2, 217, 218, 3, 2, 2, 2, 218, 35, 3, 2, 2, 2, 219, 217,
3, 2, 2, 2, 220, 222, 5, 94, 48, 2, 221, 223, 7, 45, 2, 2, 222, 221, 3,
2, 2, 2, 222, 223, 3, 2, 2, 2, 223, 37, 3, 2, 2, 2, 224, 225, 7, 44, 2,
2, 225, 243, 5, 50, 26, 2, 226, 227, 7, 44, 2, 2, 227, 243, 5, 44, 23,
2, 228, 229, 7, 44, 2, 2, 229, 230, 5, 42, 22, 2, 230, 231, 5, 44, 23,
2, 231, 243, 3, 2, 2, 2, 232, 233, 7, 44, 2, 2, 233, 234, 5, 42, 22, 2,
234, 235, 5, 48, 25, 2, 235, 243, 3, 2, 2, 2, 236, 237, 7, 44, 2, 2, 237,
238, 5, 42, 22, 2, 238, 239, 5, 50, 26, 2, 239, 243, 3, 2, 2, 2, 240, 241,
7, 44, 2, 2, 241, 243, 5, 42, 22, 2, 242, 224, 3, 2, 2, 2, 242, 226, 3,
2, 2, 2, 242, 228, 3, 2, 2, 2, 242, 232, 3, 2, 2, 2, 242, 236, 3, 2, 2,
2, 242, 240, 3, 2, 2, 2, 243, 39, 3, 2, 2, 2, 244, 245, 7, 60, 2, 2, 245,
246, 7, 33, 2, 2, 246, 247, 5, 94, 48, 2, 247, 41, 3, 2, 2, 2, 248, 253,
5, 40, 21, 2, 249, 250, 7, 10, 2, 2, 250, 252, 5, 40, 21, 2, 251, 249,
3, 2, 2, 2, 252, 255, 3, 2, 2, 2, 253, 251, 3, 2, 2, 2, 253, 254, 3, 2,
2, 2, 254, 43, 3, 2, 2, 2, 255, 253, 3, 2, 2, 2, 256, 257, 7, 55, 2, 2,
257, 262, 5, 46, 24, 2, 258, 259, 7, 10, 2, 2, 259, 261, 5, 46, 24, 2,
260, 258, 3, 2, 2, 2, 261, 264, 3, 2, 2, 2, 262, 260, 3, 2, 2, 2, 262,
263, 3, 2, 2, 2, 263, 45, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 265, 266, 7,
60, 2, 2, 266, 267, 7, 33, 2, 2, 267, 268, 5, 88, 45, 2, 268, 47, 3, 2,
2, 2, 269, 270, 7, 49, 2, 2, 270, 278, 5, 40, 21, 2, 271, 272, 7, 49, 2,
2, 272, 275, 7, 60, 2, 2, 273, 274, 7, 50, 2, 2, 274, 276, 7, 60, 2, 2,
275, 273, 3, 2, 2, 2, 275, 276, 3, 2, 2, 2, 276, 278, 3, 2, 2, 2, 277,
269, 3, 2, 2, 2, 277, 271, 3, 2, 2, 2, 278, 49, 3, 2, 2, 2, 279, 280, 7,
51, 2, 2, 280, 281, 7, 52, 2, 2, 281, 282, 7, 49, 2, 2, 282, 283, 7, 60,
2, 2, 283, 51, 3, 2, 2, 2, 284, 285, 7, 43, 2, 2, 285, 286, 7, 60, 2, 2,
286, 287, 7, 33, 2, 2, 287, 300, 5, 94, 48, 2, 288, 289, 7, 43, 2, 2, 289,
290, 7, 60, 2, 2, 290, 291, 7, 33, 2, 2, 291, 292, 7, 13, 2, 2, 292, 293,
5, 12, 7, 2, 293, 294, 7, 14, 2, 2, 294, 300, 3, 2, 2, 2, 295, 296, 7,
43, 2, 2, 296, 297, 7, 60, 2, 2, 297, 298, 7, 33, 2, 2, 298, 300, 5, 96,
49, 2, 299, 284, 3, 2, 2, 2, 299, 288, 3, 2, 2, 2, 299, 295, 3, 2, 2, 2,
300, 53, 3, 2, 2, 2, 301, 302, 7, 59, 2, 2, 302, 303, 7, 60, 2, 2, 303,
55, 3, 2, 2, 2, 304, 305, 7, 60, 2, 2, 305, 57, 3, 2, 2, 2, 306, 310, 5,
68, 35, 2, 307, 310, 5, 56, 29, 2, 308, 310, 5, 54, 28, 2, 309, 306, 3,
2, 2, 2, 309, 307, 3, 2, 2, 2, 309, 308, 3, 2, 2, 2, 310, 311, 3, 2, 2,
2, 311, 315, 7, 32, 2, 2, 312, 316, 5, 68, 35, 2, 313, 316, 5, 56, 29,
2, 314, 316, 5, 54, 28, 2, 315, 312, 3, 2, 2, 2, 315, 313, 3, 2, 2, 2,
315, 314, 3, 2, 2, 2, 316, 59, 3, 2, 2, 2, 317, 319, 7, 11, 2, 2, 318,
320, 5, 74, 38, 2, 319, 318, 3, 2, 2, 2, 319, 320, 3, 2, 2, 2, 320, 321,
3, 2, 2, 2, 321, 322, 7, 12, 2, 2, 322, 61, 3, 2, 2, 2, 323, 332, 7, 15,
2, 2, 324, 329, 5, 76, 39, 2, 325, 326, 7, 10, 2, 2, 326, 328, 5, 76, 39,
114, 2, 9, 3, 2, 46, 47, 4, 2, 46, 46, 53, 54, 3, 2, 17, 22, 3, 2, 35,
36, 3, 2, 23, 25, 3, 2, 26, 27, 4, 2, 26, 27, 56, 57, 2, 649, 2, 116, 3,
2, 2, 2, 4, 121, 3, 2, 2, 2, 6, 128, 3, 2, 2, 2, 8, 132, 3, 2, 2, 2, 10,
149, 3, 2, 2, 2, 12, 151, 3, 2, 2, 2, 14, 167, 3, 2, 2, 2, 16, 169, 3,
2, 2, 2, 18, 178, 3, 2, 2, 2, 20, 184, 3, 2, 2, 2, 22, 188, 3, 2, 2, 2,
24, 192, 3, 2, 2, 2, 26, 196, 3, 2, 2, 2, 28, 198, 3, 2, 2, 2, 30, 201,
3, 2, 2, 2, 32, 209, 3, 2, 2, 2, 34, 211, 3, 2, 2, 2, 36, 220, 3, 2, 2,
2, 38, 242, 3, 2, 2, 2, 40, 244, 3, 2, 2, 2, 42, 248, 3, 2, 2, 2, 44, 256,
3, 2, 2, 2, 46, 265, 3, 2, 2, 2, 48, 277, 3, 2, 2, 2, 50, 279, 3, 2, 2,
2, 52, 299, 3, 2, 2, 2, 54, 301, 3, 2, 2, 2, 56, 304, 3, 2, 2, 2, 58, 309,
3, 2, 2, 2, 60, 317, 3, 2, 2, 2, 62, 323, 3, 2, 2, 2, 64, 339, 3, 2, 2,
2, 66, 341, 3, 2, 2, 2, 68, 343, 3, 2, 2, 2, 70, 345, 3, 2, 2, 2, 72, 347,
3, 2, 2, 2, 74, 349, 3, 2, 2, 2, 76, 370, 3, 2, 2, 2, 78, 372, 3, 2, 2,
2, 80, 374, 3, 2, 2, 2, 82, 380, 3, 2, 2, 2, 84, 382, 3, 2, 2, 2, 86, 389,
3, 2, 2, 2, 88, 392, 3, 2, 2, 2, 90, 478, 3, 2, 2, 2, 92, 480, 3, 2, 2,
2, 94, 510, 3, 2, 2, 2, 96, 588, 3, 2, 2, 2, 98, 590, 3, 2, 2, 2, 100,
595, 3, 2, 2, 2, 102, 597, 3, 2, 2, 2, 104, 599, 3, 2, 2, 2, 106, 601,
3, 2, 2, 2, 108, 603, 3, 2, 2, 2, 110, 605, 3, 2, 2, 2, 112, 607, 3, 2,
2, 2, 114, 609, 3, 2, 2, 2, 116, 117, 5, 4, 3, 2, 117, 3, 3, 2, 2, 2, 118,
120, 5, 6, 4, 2, 119, 118, 3, 2, 2, 2, 120, 123, 3, 2, 2, 2, 121, 119,
3, 2, 2, 2, 121, 122, 3, 2, 2, 2, 122, 124, 3, 2, 2, 2, 123, 121, 3, 2,
2, 2, 124, 125, 5, 8, 5, 2, 125, 5, 3, 2, 2, 2, 126, 129, 5, 88, 45, 2,
127, 129, 5, 52, 27, 2, 128, 126, 3, 2, 2, 2, 128, 127, 3, 2, 2, 2, 129,
7, 3, 2, 2, 2, 130, 133, 5, 10, 6, 2, 131, 133, 5, 12, 7, 2, 132, 130,
3, 2, 2, 2, 132, 131, 3, 2, 2, 2, 133, 9, 3, 2, 2, 2, 134, 136, 7, 38,
2, 2, 135, 137, 7, 39, 2, 2, 136, 135, 3, 2, 2, 2, 136, 137, 3, 2, 2, 2,
137, 138, 3, 2, 2, 2, 138, 150, 5, 94, 48, 2, 139, 141, 7, 38, 2, 2, 140,
142, 7, 39, 2, 2, 141, 140, 3, 2, 2, 2, 141, 142, 3, 2, 2, 2, 142, 143,
3, 2, 2, 2, 143, 144, 7, 13, 2, 2, 144, 145, 5, 12, 7, 2, 145, 146, 7,
14, 2, 2, 146, 150, 3, 2, 2, 2, 147, 148, 7, 38, 2, 2, 148, 150, 5, 96,
49, 2, 149, 134, 3, 2, 2, 2, 149, 139, 3, 2, 2, 2, 149, 147, 3, 2, 2, 2,
150, 11, 3, 2, 2, 2, 151, 152, 7, 37, 2, 2, 152, 155, 5, 14, 8, 2, 153,
154, 7, 10, 2, 2, 154, 156, 5, 16, 9, 2, 155, 153, 3, 2, 2, 2, 155, 156,
3, 2, 2, 2, 156, 157, 3, 2, 2, 2, 157, 158, 7, 58, 2, 2, 158, 162, 5, 18,
10, 2, 159, 161, 5, 24, 13, 2, 160, 159, 3, 2, 2, 2, 161, 164, 3, 2, 2,
2, 162, 160, 3, 2, 2, 2, 162, 163, 3, 2, 2, 2, 163, 165, 3, 2, 2, 2, 164,
162, 3, 2, 2, 2, 165, 166, 5, 26, 14, 2, 166, 13, 3, 2, 2, 2, 167, 168,
7, 60, 2, 2, 168, 15, 3, 2, 2, 2, 169, 170, 7, 60, 2, 2, 170, 17, 3, 2,
2, 2, 171, 179, 5, 88, 45, 2, 172, 179, 5, 60, 31, 2, 173, 179, 5, 62,
32, 2, 174, 179, 5, 56, 29, 2, 175, 179, 5, 90, 46, 2, 176, 179, 5, 58,
30, 2, 177, 179, 5, 54, 28, 2, 178, 171, 3, 2, 2, 2, 178, 172, 3, 2, 2,
2, 178, 173, 3, 2, 2, 2, 178, 174, 3, 2, 2, 2, 178, 175, 3, 2, 2, 2, 178,
176, 3, 2, 2, 2, 178, 177, 3, 2, 2, 2, 179, 19, 3, 2, 2, 2, 180, 185, 5,
30, 16, 2, 181, 185, 5, 34, 18, 2, 182, 185, 5, 28, 15, 2, 183, 185, 5,
38, 20, 2, 184, 180, 3, 2, 2, 2, 184, 181, 3, 2, 2, 2, 184, 182, 3, 2,
2, 2, 184, 183, 3, 2, 2, 2, 185, 21, 3, 2, 2, 2, 186, 189, 5, 52, 27, 2,
187, 189, 5, 88, 45, 2, 188, 186, 3, 2, 2, 2, 188, 187, 3, 2, 2, 2, 189,
23, 3, 2, 2, 2, 190, 193, 5, 22, 12, 2, 191, 193, 5, 20, 11, 2, 192, 190,
3, 2, 2, 2, 192, 191, 3, 2, 2, 2, 193, 25, 3, 2, 2, 2, 194, 197, 5, 10,
6, 2, 195, 197, 5, 12, 7, 2, 196, 194, 3, 2, 2, 2, 196, 195, 3, 2, 2, 2,
197, 27, 3, 2, 2, 2, 198, 199, 7, 40, 2, 2, 199, 200, 5, 94, 48, 2, 200,
29, 3, 2, 2, 2, 201, 202, 7, 42, 2, 2, 202, 205, 5, 32, 17, 2, 203, 204,
7, 10, 2, 2, 204, 206, 5, 32, 17, 2, 205, 203, 3, 2, 2, 2, 205, 206, 3,
2, 2, 2, 206, 31, 3, 2, 2, 2, 207, 210, 7, 62, 2, 2, 208, 210, 5, 54, 28,
2, 209, 207, 3, 2, 2, 2, 209, 208, 3, 2, 2, 2, 210, 33, 3, 2, 2, 2, 211,
212, 7, 41, 2, 2, 212, 217, 5, 36, 19, 2, 213, 214, 7, 10, 2, 2, 214, 216,
5, 36, 19, 2, 215, 213, 3, 2, 2, 2, 216, 219, 3, 2, 2, 2, 217, 215, 3,
2, 2, 2, 217, 218, 3, 2, 2, 2, 218, 35, 3, 2, 2, 2, 219, 217, 3, 2, 2,
2, 220, 222, 5, 94, 48, 2, 221, 223, 7, 45, 2, 2, 222, 221, 3, 2, 2, 2,
222, 223, 3, 2, 2, 2, 223, 37, 3, 2, 2, 2, 224, 225, 7, 44, 2, 2, 225,
243, 5, 50, 26, 2, 226, 227, 7, 44, 2, 2, 227, 243, 5, 44, 23, 2, 228,
229, 7, 44, 2, 2, 229, 230, 5, 42, 22, 2, 230, 231, 5, 44, 23, 2, 231,
243, 3, 2, 2, 2, 232, 233, 7, 44, 2, 2, 233, 234, 5, 42, 22, 2, 234, 235,
5, 48, 25, 2, 235, 243, 3, 2, 2, 2, 236, 237, 7, 44, 2, 2, 237, 238, 5,
42, 22, 2, 238, 239, 5, 50, 26, 2, 239, 243, 3, 2, 2, 2, 240, 241, 7, 44,
2, 2, 241, 243, 5, 42, 22, 2, 242, 224, 3, 2, 2, 2, 242, 226, 3, 2, 2,
2, 242, 228, 3, 2, 2, 2, 242, 232, 3, 2, 2, 2, 242, 236, 3, 2, 2, 2, 242,
240, 3, 2, 2, 2, 243, 39, 3, 2, 2, 2, 244, 245, 7, 60, 2, 2, 245, 246,
7, 33, 2, 2, 246, 247, 5, 94, 48, 2, 247, 41, 3, 2, 2, 2, 248, 253, 5,
40, 21, 2, 249, 250, 7, 10, 2, 2, 250, 252, 5, 40, 21, 2, 251, 249, 3,
2, 2, 2, 252, 255, 3, 2, 2, 2, 253, 251, 3, 2, 2, 2, 253, 254, 3, 2, 2,
2, 254, 43, 3, 2, 2, 2, 255, 253, 3, 2, 2, 2, 256, 257, 7, 55, 2, 2, 257,
262, 5, 46, 24, 2, 258, 259, 7, 10, 2, 2, 259, 261, 5, 46, 24, 2, 260,
258, 3, 2, 2, 2, 261, 264, 3, 2, 2, 2, 262, 260, 3, 2, 2, 2, 262, 263,
3, 2, 2, 2, 263, 45, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 265, 266, 7, 60,
2, 2, 266, 267, 7, 33, 2, 2, 267, 268, 5, 88, 45, 2, 268, 47, 3, 2, 2,
2, 269, 270, 7, 49, 2, 2, 270, 278, 5, 40, 21, 2, 271, 272, 7, 49, 2, 2,
272, 275, 7, 60, 2, 2, 273, 274, 7, 50, 2, 2, 274, 276, 7, 60, 2, 2, 275,
273, 3, 2, 2, 2, 275, 276, 3, 2, 2, 2, 276, 278, 3, 2, 2, 2, 277, 269,
3, 2, 2, 2, 277, 271, 3, 2, 2, 2, 278, 49, 3, 2, 2, 2, 279, 280, 7, 51,
2, 2, 280, 281, 7, 52, 2, 2, 281, 282, 7, 49, 2, 2, 282, 283, 7, 60, 2,
2, 283, 51, 3, 2, 2, 2, 284, 285, 7, 43, 2, 2, 285, 286, 7, 60, 2, 2, 286,
287, 7, 33, 2, 2, 287, 300, 5, 94, 48, 2, 288, 289, 7, 43, 2, 2, 289, 290,
7, 60, 2, 2, 290, 291, 7, 33, 2, 2, 291, 292, 7, 13, 2, 2, 292, 293, 5,
12, 7, 2, 293, 294, 7, 14, 2, 2, 294, 300, 3, 2, 2, 2, 295, 296, 7, 43,
2, 2, 296, 297, 7, 60, 2, 2, 297, 298, 7, 33, 2, 2, 298, 300, 5, 96, 49,
2, 299, 284, 3, 2, 2, 2, 299, 288, 3, 2, 2, 2, 299, 295, 3, 2, 2, 2, 300,
53, 3, 2, 2, 2, 301, 302, 7, 59, 2, 2, 302, 303, 7, 60, 2, 2, 303, 55,
3, 2, 2, 2, 304, 305, 7, 60, 2, 2, 305, 57, 3, 2, 2, 2, 306, 310, 5, 68,
35, 2, 307, 310, 5, 56, 29, 2, 308, 310, 5, 54, 28, 2, 309, 306, 3, 2,
2, 2, 309, 307, 3, 2, 2, 2, 309, 308, 3, 2, 2, 2, 310, 311, 3, 2, 2, 2,
311, 315, 7, 32, 2, 2, 312, 316, 5, 68, 35, 2, 313, 316, 5, 56, 29, 2,
314, 316, 5, 54, 28, 2, 315, 312, 3, 2, 2, 2, 315, 313, 3, 2, 2, 2, 315,
314, 3, 2, 2, 2, 316, 59, 3, 2, 2, 2, 317, 319, 7, 11, 2, 2, 318, 320,
5, 74, 38, 2, 319, 318, 3, 2, 2, 2, 319, 320, 3, 2, 2, 2, 320, 321, 3,
2, 2, 2, 321, 322, 7, 12, 2, 2, 322, 61, 3, 2, 2, 2, 323, 332, 7, 15, 2,
2, 324, 329, 5, 76, 39, 2, 325, 326, 7, 10, 2, 2, 326, 328, 5, 76, 39,
2, 327, 325, 3, 2, 2, 2, 328, 331, 3, 2, 2, 2, 329, 327, 3, 2, 2, 2, 329,
330, 3, 2, 2, 2, 330, 333, 3, 2, 2, 2, 331, 329, 3, 2, 2, 2, 332, 324,
3, 2, 2, 2, 332, 333, 3, 2, 2, 2, 333, 335, 3, 2, 2, 2, 334, 336, 7, 10,
2, 2, 335, 334, 3, 2, 2, 2, 335, 336, 3, 2, 2, 2, 336, 337, 3, 2, 2, 2,
337, 338, 7, 16, 2, 2, 338, 63, 3, 2, 2, 2, 339, 340, 7, 48, 2, 2, 340,
65, 3, 2, 2, 2, 341, 342, 9, 2, 2, 2, 342, 67, 3, 2, 2, 2, 343, 344, 7,
63, 2, 2, 344, 69, 3, 2, 2, 2, 345, 346, 7, 64, 2, 2, 346, 71, 3, 2, 2,
2, 347, 348, 9, 3, 2, 2, 348, 73, 3, 2, 2, 2, 349, 358, 5, 94, 48, 2, 350,
65, 3, 2, 2, 2, 341, 342, 7, 61, 2, 2, 342, 67, 3, 2, 2, 2, 343, 344, 7,
62, 2, 2, 344, 69, 3, 2, 2, 2, 345, 346, 7, 63, 2, 2, 346, 71, 3, 2, 2,
2, 347, 348, 9, 2, 2, 2, 348, 73, 3, 2, 2, 2, 349, 358, 5, 94, 48, 2, 350,
352, 7, 10, 2, 2, 351, 350, 3, 2, 2, 2, 352, 353, 3, 2, 2, 2, 353, 351,
3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 355, 3, 2, 2, 2, 355, 357, 5, 94,
48, 2, 356, 351, 3, 2, 2, 2, 357, 360, 3, 2, 2, 2, 358, 356, 3, 2, 2, 2,
@ -201,7 +201,7 @@ var parserATN = []uint16{
5, 94, 48, 2, 376, 377, 7, 12, 2, 2, 377, 81, 3, 2, 2, 2, 378, 381, 7,
60, 2, 2, 379, 381, 5, 66, 34, 2, 380, 378, 3, 2, 2, 2, 380, 379, 3, 2,
2, 2, 381, 83, 3, 2, 2, 2, 382, 383, 7, 13, 2, 2, 383, 384, 5, 94, 48,
2, 384, 385, 7, 14, 2, 2, 385, 85, 3, 2, 2, 2, 386, 388, 7, 65, 2, 2, 387,
2, 384, 385, 7, 14, 2, 2, 385, 85, 3, 2, 2, 2, 386, 388, 7, 64, 2, 2, 387,
386, 3, 2, 2, 2, 388, 391, 3, 2, 2, 2, 389, 387, 3, 2, 2, 2, 389, 390,
3, 2, 2, 2, 390, 87, 3, 2, 2, 2, 391, 389, 3, 2, 2, 2, 392, 393, 5, 86,
44, 2, 393, 394, 7, 60, 2, 2, 394, 395, 5, 92, 47, 2, 395, 89, 3, 2, 2,
@ -280,13 +280,13 @@ var parserATN = []uint16{
14, 2, 2, 583, 584, 7, 7, 2, 2, 584, 585, 7, 13, 2, 2, 585, 586, 5, 12,
7, 2, 586, 587, 7, 14, 2, 2, 587, 589, 3, 2, 2, 2, 588, 560, 3, 2, 2, 2,
588, 570, 3, 2, 2, 2, 588, 578, 3, 2, 2, 2, 589, 97, 3, 2, 2, 2, 590, 591,
9, 4, 2, 2, 591, 99, 3, 2, 2, 2, 592, 596, 7, 58, 2, 2, 593, 594, 7, 57,
9, 3, 2, 2, 591, 99, 3, 2, 2, 2, 592, 596, 7, 58, 2, 2, 593, 594, 7, 57,
2, 2, 594, 596, 7, 58, 2, 2, 595, 592, 3, 2, 2, 2, 595, 593, 3, 2, 2, 2,
596, 101, 3, 2, 2, 2, 597, 598, 9, 5, 2, 2, 598, 103, 3, 2, 2, 2, 599,
600, 9, 6, 2, 2, 600, 105, 3, 2, 2, 2, 601, 602, 7, 30, 2, 2, 602, 107,
3, 2, 2, 2, 603, 604, 7, 31, 2, 2, 604, 109, 3, 2, 2, 2, 605, 606, 9, 7,
2, 2, 606, 111, 3, 2, 2, 2, 607, 608, 9, 8, 2, 2, 608, 113, 3, 2, 2, 2,
609, 610, 9, 9, 2, 2, 610, 115, 3, 2, 2, 2, 59, 121, 128, 132, 136, 141,
596, 101, 3, 2, 2, 2, 597, 598, 9, 4, 2, 2, 598, 103, 3, 2, 2, 2, 599,
600, 9, 5, 2, 2, 600, 105, 3, 2, 2, 2, 601, 602, 7, 30, 2, 2, 602, 107,
3, 2, 2, 2, 603, 604, 7, 31, 2, 2, 604, 109, 3, 2, 2, 2, 605, 606, 9, 6,
2, 2, 606, 111, 3, 2, 2, 2, 607, 608, 9, 7, 2, 2, 608, 113, 3, 2, 2, 2,
609, 610, 9, 8, 2, 2, 610, 115, 3, 2, 2, 2, 59, 121, 128, 132, 136, 141,
149, 155, 162, 178, 184, 188, 192, 196, 205, 209, 217, 222, 242, 253, 262,
275, 277, 299, 309, 315, 319, 329, 332, 335, 353, 358, 370, 380, 389, 402,
407, 416, 421, 429, 434, 443, 448, 457, 462, 470, 475, 478, 486, 489, 510,
@ -312,8 +312,7 @@ var symbolicNames = []string{
"For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect",
"SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With",
"Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier",
"StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral",
"NamespaceSegment",
"StringLiteral", "IntegerLiteral", "FloatLiteral", "NamespaceSegment",
}
var ruleNames = []string{
@ -360,70 +359,69 @@ func NewFqlParser(input antlr.TokenStream) *FqlParser {
// FqlParser tokens.
const (
FqlParserEOF = antlr.TokenEOF
FqlParserMultiLineComment = 1
FqlParserSingleLineComment = 2
FqlParserWhiteSpaces = 3
FqlParserLineTerminator = 4
FqlParserColon = 5
FqlParserSemiColon = 6
FqlParserDot = 7
FqlParserComma = 8
FqlParserOpenBracket = 9
FqlParserCloseBracket = 10
FqlParserOpenParen = 11
FqlParserCloseParen = 12
FqlParserOpenBrace = 13
FqlParserCloseBrace = 14
FqlParserGt = 15
FqlParserLt = 16
FqlParserEq = 17
FqlParserGte = 18
FqlParserLte = 19
FqlParserNeq = 20
FqlParserMulti = 21
FqlParserDiv = 22
FqlParserMod = 23
FqlParserPlus = 24
FqlParserMinus = 25
FqlParserMinusMinus = 26
FqlParserPlusPlus = 27
FqlParserAnd = 28
FqlParserOr = 29
FqlParserRange = 30
FqlParserAssign = 31
FqlParserQuestionMark = 32
FqlParserRegexNotMatch = 33
FqlParserRegexMatch = 34
FqlParserFor = 35
FqlParserReturn = 36
FqlParserDistinct = 37
FqlParserFilter = 38
FqlParserSort = 39
FqlParserLimit = 40
FqlParserLet = 41
FqlParserCollect = 42
FqlParserSortDirection = 43
FqlParserNone = 44
FqlParserNull = 45
FqlParserBooleanLiteral = 46
FqlParserInto = 47
FqlParserKeep = 48
FqlParserWith = 49
FqlParserCount = 50
FqlParserAll = 51
FqlParserAny = 52
FqlParserAggregate = 53
FqlParserLike = 54
FqlParserNot = 55
FqlParserIn = 56
FqlParserParam = 57
FqlParserIdentifier = 58
FqlParserStringLiteral = 59
FqlParserTemplateStringLiteral = 60
FqlParserIntegerLiteral = 61
FqlParserFloatLiteral = 62
FqlParserNamespaceSegment = 63
FqlParserEOF = antlr.TokenEOF
FqlParserMultiLineComment = 1
FqlParserSingleLineComment = 2
FqlParserWhiteSpaces = 3
FqlParserLineTerminator = 4
FqlParserColon = 5
FqlParserSemiColon = 6
FqlParserDot = 7
FqlParserComma = 8
FqlParserOpenBracket = 9
FqlParserCloseBracket = 10
FqlParserOpenParen = 11
FqlParserCloseParen = 12
FqlParserOpenBrace = 13
FqlParserCloseBrace = 14
FqlParserGt = 15
FqlParserLt = 16
FqlParserEq = 17
FqlParserGte = 18
FqlParserLte = 19
FqlParserNeq = 20
FqlParserMulti = 21
FqlParserDiv = 22
FqlParserMod = 23
FqlParserPlus = 24
FqlParserMinus = 25
FqlParserMinusMinus = 26
FqlParserPlusPlus = 27
FqlParserAnd = 28
FqlParserOr = 29
FqlParserRange = 30
FqlParserAssign = 31
FqlParserQuestionMark = 32
FqlParserRegexNotMatch = 33
FqlParserRegexMatch = 34
FqlParserFor = 35
FqlParserReturn = 36
FqlParserDistinct = 37
FqlParserFilter = 38
FqlParserSort = 39
FqlParserLimit = 40
FqlParserLet = 41
FqlParserCollect = 42
FqlParserSortDirection = 43
FqlParserNone = 44
FqlParserNull = 45
FqlParserBooleanLiteral = 46
FqlParserInto = 47
FqlParserKeep = 48
FqlParserWith = 49
FqlParserCount = 50
FqlParserAll = 51
FqlParserAny = 52
FqlParserAggregate = 53
FqlParserLike = 54
FqlParserNot = 55
FqlParserIn = 56
FqlParserParam = 57
FqlParserIdentifier = 58
FqlParserStringLiteral = 59
FqlParserIntegerLiteral = 60
FqlParserFloatLiteral = 61
FqlParserNamespaceSegment = 62
)
// FqlParser rules.
@ -4888,7 +4886,7 @@ func (p *FqlParser) ArrayLiteral() (localctx IArrayLiteralContext) {
p.GetErrorHandler().Sync(p)
_la = p.GetTokenStream().LA(1)
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserTemplateStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
{
p.SetState(316)
p.ArrayElementList()
@ -5042,7 +5040,7 @@ func (p *FqlParser) ObjectLiteral() (localctx IObjectLiteralContext) {
p.GetErrorHandler().Sync(p)
_la = p.GetTokenStream().LA(1)
if _la == FqlParserOpenBracket || (((_la-58)&-(0x1f+1)) == 0 && ((1<<uint((_la-58)))&((1<<(FqlParserIdentifier-58))|(1<<(FqlParserStringLiteral-58))|(1<<(FqlParserTemplateStringLiteral-58)))) != 0) {
if _la == FqlParserOpenBracket || _la == FqlParserIdentifier || _la == FqlParserStringLiteral {
{
p.SetState(322)
p.PropertyAssignment()
@ -5231,10 +5229,6 @@ func (s *StringLiteralContext) StringLiteral() antlr.TerminalNode {
return s.GetToken(FqlParserStringLiteral, 0)
}
func (s *StringLiteralContext) TemplateStringLiteral() antlr.TerminalNode {
return s.GetToken(FqlParserTemplateStringLiteral, 0)
}
func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext {
return s
}
@ -5268,7 +5262,6 @@ func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{
func (p *FqlParser) StringLiteral() (localctx IStringLiteralContext) {
localctx = NewStringLiteralContext(p, p.GetParserRuleContext(), p.GetState())
p.EnterRule(localctx, 64, FqlParserRULE_stringLiteral)
var _la int
defer func() {
p.ExitRule()
@ -5289,14 +5282,7 @@ func (p *FqlParser) StringLiteral() (localctx IStringLiteralContext) {
p.EnterOuterAlt(localctx, 1)
{
p.SetState(339)
_la = p.GetTokenStream().LA(1)
if !(_la == FqlParserStringLiteral || _la == FqlParserTemplateStringLiteral) {
p.GetErrorHandler().RecoverInline(p)
} else {
p.GetErrorHandler().ReportMatch(p)
p.Consume()
}
p.Match(FqlParserStringLiteral)
}
return localctx
@ -6294,7 +6280,7 @@ func (p *FqlParser) PropertyName() (localctx IPropertyNameContext) {
p.Match(FqlParserIdentifier)
}
case FqlParserStringLiteral, FqlParserTemplateStringLiteral:
case FqlParserStringLiteral:
p.EnterOuterAlt(localctx, 2)
{
p.SetState(377)
@ -7237,7 +7223,7 @@ func (p *FqlParser) Arguments() (localctx IArgumentsContext) {
p.GetErrorHandler().Sync(p)
_la = p.GetTokenStream().LA(1)
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserTemplateStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
{
p.SetState(479)
p.expression(0)
@ -7899,7 +7885,7 @@ func (p *FqlParser) expression(_p int) (localctx IExpressionContext) {
p.GetErrorHandler().Sync(p)
_la = p.GetTokenStream().LA(1)
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserTemplateStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
{
p.SetState(548)
p.expression(0)
@ -8102,7 +8088,7 @@ func (p *FqlParser) ForTernaryExpression() (localctx IForTernaryExpressionContex
p.GetErrorHandler().Sync(p)
_la = p.GetTokenStream().LA(1)
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserTemplateStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<FqlParserOpenBracket)|(1<<FqlParserOpenParen)|(1<<FqlParserOpenBrace)|(1<<FqlParserPlus)|(1<<FqlParserMinus))) != 0) || (((_la-44)&-(0x1f+1)) == 0 && ((1<<uint((_la-44)))&((1<<(FqlParserNone-44))|(1<<(FqlParserNull-44))|(1<<(FqlParserBooleanLiteral-44))|(1<<(FqlParserLike-44))|(1<<(FqlParserNot-44))|(1<<(FqlParserParam-44))|(1<<(FqlParserIdentifier-44))|(1<<(FqlParserStringLiteral-44))|(1<<(FqlParserIntegerLiteral-44))|(1<<(FqlParserFloatLiteral-44))|(1<<(FqlParserNamespaceSegment-44)))) != 0) {
{
p.SetState(560)
p.expression(0)