From 22bdf85f41cb221107eaccc34a05d06d3377ebd3 Mon Sep 17 00:00:00 2001 From: Brennan Lamey <66885902+brennanjl@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:07:04 -0500 Subject: [PATCH] fix: cte syntax bug (#912) --- parse/analyze.go | 17 +- parse/gen/kuneiform_parser.go | 2129 +++++++++++++++--------------- parse/grammar/KuneiformParser.g4 | 2 +- parse/parse_test.go | 99 ++ 4 files changed, 1180 insertions(+), 1067 deletions(-) diff --git a/parse/analyze.go b/parse/analyze.go index f963173f0..21be26f96 100644 --- a/parse/analyze.go +++ b/parse/analyze.go @@ -1265,14 +1265,17 @@ func (s *sqlAnalyzer) VisitCommonTableExpression(p0 *CommonTableExpression) any panic("expected query to return attributes") } - if len(p0.Columns) != len(rel) { - s.errs.AddErr(p0, ErrResultShape, "expected %d columns, received %d", len(p0.Columns), len(rel)) - return nil - } + // cte columns are optional + if len(p0.Columns) > 0 { + if len(p0.Columns) != len(rel) { + s.errs.AddErr(p0, ErrResultShape, "expected %d columns, received %d", len(p0.Columns), len(rel)) + return nil + } - // rename the columns and add the relation to the outer scope - for i, col := range p0.Columns { - rel[i].Name = col + // rename the columns and add the relation to the outer scope + for i, col := range p0.Columns { + rel[i].Name = col + } } s.sqlCtx.outerRelations = append(s.sqlCtx.outerRelations, &Relation{ diff --git a/parse/gen/kuneiform_parser.go b/parse/gen/kuneiform_parser.go index 6a20d32d4..8e896e1fc 100644 --- a/parse/gen/kuneiform_parser.go +++ b/parse/gen/kuneiform_parser.go @@ -88,7 +88,7 @@ func kuneiformparserParserInit() { } staticData.PredictionContextCache = antlr.NewPredictionContextCache() staticData.serializedATN = []int32{ - 4, 1, 131, 1135, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, + 4, 1, 131, 1137, 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, @@ -138,504 +138,505 @@ func kuneiformparserParserInit() { 1, 30, 5, 30, 452, 8, 30, 10, 30, 12, 30, 455, 9, 30, 3, 30, 457, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 463, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 5, 31, 470, 8, 31, 10, 31, 12, 31, 473, 9, 31, 3, 31, 475, 8, - 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, - 5, 32, 487, 8, 32, 10, 32, 12, 32, 490, 9, 32, 1, 32, 1, 32, 1, 32, 1, - 32, 1, 32, 5, 32, 497, 8, 32, 10, 32, 12, 32, 500, 9, 32, 3, 32, 502, 8, - 32, 1, 32, 1, 32, 3, 32, 506, 8, 32, 1, 32, 1, 32, 3, 32, 510, 8, 32, 1, - 33, 1, 33, 3, 33, 514, 8, 33, 1, 33, 1, 33, 3, 33, 518, 8, 33, 1, 34, 1, - 34, 3, 34, 522, 8, 34, 1, 34, 1, 34, 3, 34, 526, 8, 34, 1, 35, 1, 35, 3, - 35, 530, 8, 35, 1, 35, 1, 35, 1, 35, 5, 35, 535, 8, 35, 10, 35, 12, 35, - 538, 9, 35, 1, 35, 1, 35, 1, 35, 5, 35, 543, 8, 35, 10, 35, 12, 35, 546, - 9, 35, 3, 35, 548, 8, 35, 1, 35, 1, 35, 3, 35, 552, 8, 35, 1, 35, 1, 35, - 1, 35, 1, 35, 1, 35, 3, 35, 559, 8, 35, 3, 35, 561, 8, 35, 1, 36, 1, 36, - 3, 36, 565, 8, 36, 1, 36, 3, 36, 568, 8, 36, 1, 36, 1, 36, 1, 36, 1, 36, - 3, 36, 574, 8, 36, 1, 36, 3, 36, 577, 8, 36, 1, 36, 1, 36, 3, 36, 581, - 8, 36, 1, 36, 3, 36, 584, 8, 36, 3, 36, 586, 8, 36, 1, 37, 3, 37, 589, - 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 3, 38, 598, 8, - 38, 1, 38, 3, 38, 601, 8, 38, 1, 38, 1, 38, 1, 38, 3, 38, 606, 8, 38, 1, - 38, 3, 38, 609, 8, 38, 1, 39, 1, 39, 1, 39, 3, 39, 614, 8, 39, 1, 39, 3, - 39, 617, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 623, 8, 39, 10, 39, - 12, 39, 626, 9, 39, 1, 39, 1, 39, 1, 39, 5, 39, 631, 8, 39, 10, 39, 12, - 39, 634, 9, 39, 3, 39, 636, 8, 39, 1, 39, 1, 39, 3, 39, 640, 8, 39, 1, - 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 650, 8, 41, - 1, 41, 3, 41, 653, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 659, 8, 41, - 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 670, - 8, 41, 10, 41, 12, 41, 673, 9, 41, 1, 41, 3, 41, 676, 8, 41, 1, 42, 1, - 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 685, 8, 42, 3, 42, 687, 8, - 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 696, 8, 42, - 10, 42, 12, 42, 699, 9, 42, 1, 42, 1, 42, 3, 42, 703, 8, 42, 3, 42, 705, - 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 711, 8, 43, 1, 43, 3, 43, 714, - 8, 43, 1, 43, 1, 43, 3, 43, 718, 8, 43, 1, 44, 1, 44, 1, 44, 3, 44, 723, - 8, 44, 1, 44, 1, 44, 3, 44, 727, 8, 44, 1, 44, 1, 44, 3, 44, 731, 8, 44, - 1, 44, 1, 44, 1, 44, 3, 44, 736, 8, 44, 1, 44, 1, 44, 3, 44, 740, 8, 44, - 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 746, 8, 44, 1, 44, 1, 44, 1, 44, 1, - 44, 3, 44, 752, 8, 44, 1, 44, 4, 44, 755, 8, 44, 11, 44, 12, 44, 756, 1, - 44, 1, 44, 3, 44, 761, 8, 44, 1, 44, 1, 44, 1, 44, 3, 44, 766, 8, 44, 1, - 44, 3, 44, 769, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 775, 8, 44, 3, - 44, 777, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 784, 8, 44, 1, - 44, 1, 44, 1, 44, 1, 44, 3, 44, 790, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, - 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, + 31, 1, 31, 3, 31, 478, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, + 1, 32, 1, 32, 1, 32, 5, 32, 489, 8, 32, 10, 32, 12, 32, 492, 9, 32, 1, + 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 499, 8, 32, 10, 32, 12, 32, 502, + 9, 32, 3, 32, 504, 8, 32, 1, 32, 1, 32, 3, 32, 508, 8, 32, 1, 32, 1, 32, + 3, 32, 512, 8, 32, 1, 33, 1, 33, 3, 33, 516, 8, 33, 1, 33, 1, 33, 3, 33, + 520, 8, 33, 1, 34, 1, 34, 3, 34, 524, 8, 34, 1, 34, 1, 34, 3, 34, 528, + 8, 34, 1, 35, 1, 35, 3, 35, 532, 8, 35, 1, 35, 1, 35, 1, 35, 5, 35, 537, + 8, 35, 10, 35, 12, 35, 540, 9, 35, 1, 35, 1, 35, 1, 35, 5, 35, 545, 8, + 35, 10, 35, 12, 35, 548, 9, 35, 3, 35, 550, 8, 35, 1, 35, 1, 35, 3, 35, + 554, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 561, 8, 35, 3, 35, + 563, 8, 35, 1, 36, 1, 36, 3, 36, 567, 8, 36, 1, 36, 3, 36, 570, 8, 36, + 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 576, 8, 36, 1, 36, 3, 36, 579, 8, 36, + 1, 36, 1, 36, 3, 36, 583, 8, 36, 1, 36, 3, 36, 586, 8, 36, 3, 36, 588, + 8, 36, 1, 37, 3, 37, 591, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, + 38, 1, 38, 3, 38, 600, 8, 38, 1, 38, 3, 38, 603, 8, 38, 1, 38, 1, 38, 1, + 38, 3, 38, 608, 8, 38, 1, 38, 3, 38, 611, 8, 38, 1, 39, 1, 39, 1, 39, 3, + 39, 616, 8, 39, 1, 39, 3, 39, 619, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, + 39, 625, 8, 39, 10, 39, 12, 39, 628, 9, 39, 1, 39, 1, 39, 1, 39, 5, 39, + 633, 8, 39, 10, 39, 12, 39, 636, 9, 39, 3, 39, 638, 8, 39, 1, 39, 1, 39, + 3, 39, 642, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, + 41, 3, 41, 652, 8, 41, 1, 41, 3, 41, 655, 8, 41, 1, 41, 1, 41, 1, 41, 1, + 41, 3, 41, 661, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, + 1, 41, 1, 41, 5, 41, 672, 8, 41, 10, 41, 12, 41, 675, 9, 41, 1, 41, 3, + 41, 678, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, + 687, 8, 42, 3, 42, 689, 8, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, + 1, 42, 5, 42, 698, 8, 42, 10, 42, 12, 42, 701, 9, 42, 1, 42, 1, 42, 3, + 42, 705, 8, 42, 3, 42, 707, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 713, + 8, 43, 1, 43, 3, 43, 716, 8, 43, 1, 43, 1, 43, 3, 43, 720, 8, 43, 1, 44, + 1, 44, 1, 44, 3, 44, 725, 8, 44, 1, 44, 1, 44, 3, 44, 729, 8, 44, 1, 44, + 1, 44, 3, 44, 733, 8, 44, 1, 44, 1, 44, 1, 44, 3, 44, 738, 8, 44, 1, 44, + 1, 44, 3, 44, 742, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 748, 8, 44, + 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 754, 8, 44, 1, 44, 4, 44, 757, 8, 44, + 11, 44, 12, 44, 758, 1, 44, 1, 44, 3, 44, 763, 8, 44, 1, 44, 1, 44, 1, + 44, 3, 44, 768, 8, 44, 1, 44, 3, 44, 771, 8, 44, 1, 44, 1, 44, 1, 44, 1, + 44, 3, 44, 777, 8, 44, 3, 44, 779, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, + 44, 3, 44, 786, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 792, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, - 1, 44, 1, 44, 1, 44, 3, 44, 820, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, - 44, 826, 8, 44, 1, 44, 1, 44, 3, 44, 830, 8, 44, 1, 44, 1, 44, 1, 44, 1, - 44, 3, 44, 836, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 843, 8, - 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 851, 8, 44, 5, 44, - 853, 8, 44, 10, 44, 12, 44, 856, 9, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, - 45, 1, 46, 1, 46, 1, 46, 5, 46, 866, 8, 46, 10, 46, 12, 46, 869, 9, 46, - 1, 47, 1, 47, 1, 47, 3, 47, 874, 8, 47, 1, 47, 1, 47, 3, 47, 878, 8, 47, - 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, - 47, 890, 8, 47, 1, 47, 1, 47, 3, 47, 894, 8, 47, 1, 48, 1, 48, 1, 48, 5, - 48, 899, 8, 48, 10, 48, 12, 48, 902, 9, 48, 1, 49, 1, 49, 1, 49, 1, 49, - 3, 49, 908, 8, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 914, 8, 49, 1, 49, - 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 921, 8, 49, 1, 49, 3, 49, 924, 8, 49, - 1, 50, 5, 50, 927, 8, 50, 10, 50, 12, 50, 930, 9, 50, 1, 51, 1, 51, 1, - 51, 3, 51, 935, 8, 51, 1, 51, 1, 51, 3, 51, 939, 8, 51, 1, 51, 1, 51, 3, - 51, 943, 8, 51, 1, 51, 1, 51, 3, 51, 947, 8, 51, 1, 51, 1, 51, 3, 51, 951, - 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 957, 8, 51, 1, 51, 1, 51, 3, - 51, 961, 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, - 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, - 51, 1, 51, 3, 51, 983, 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 989, 8, - 51, 1, 51, 1, 51, 1, 51, 3, 51, 994, 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, - 1, 51, 1, 51, 3, 51, 1002, 8, 51, 5, 51, 1004, 8, 51, 10, 51, 12, 51, 1007, - 9, 51, 1, 52, 1, 52, 1, 52, 5, 52, 1012, 8, 52, 10, 52, 12, 52, 1015, 9, - 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1024, 8, 53, - 10, 53, 12, 53, 1027, 9, 53, 1, 53, 1, 53, 3, 53, 1031, 8, 53, 1, 53, 1, - 53, 1, 53, 1, 53, 1, 53, 3, 53, 1038, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, - 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1050, 8, 53, 1, 53, 1, - 53, 5, 53, 1054, 8, 53, 10, 53, 12, 53, 1057, 9, 53, 1, 53, 1, 53, 1, 53, - 1, 53, 1, 53, 1, 53, 5, 53, 1065, 8, 53, 10, 53, 12, 53, 1068, 9, 53, 1, - 53, 1, 53, 1, 53, 5, 53, 1073, 8, 53, 10, 53, 12, 53, 1076, 9, 53, 1, 53, - 3, 53, 1079, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, - 53, 3, 53, 1089, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, - 1097, 8, 53, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 3, 55, 1104, 8, 55, 1, - 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1115, - 8, 55, 1, 55, 1, 55, 3, 55, 1119, 8, 55, 1, 56, 1, 56, 1, 56, 5, 56, 1124, - 8, 56, 10, 56, 12, 56, 1127, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, - 1, 57, 1, 57, 0, 2, 88, 102, 58, 0, 2, 4, 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, 0, 16, 1, 0, 20, 21, - 1, 0, 115, 116, 1, 0, 126, 127, 3, 0, 43, 43, 47, 47, 58, 58, 1, 0, 55, - 56, 1, 0, 38, 41, 1, 0, 74, 75, 1, 0, 101, 102, 2, 0, 70, 72, 96, 96, 2, - 0, 20, 21, 57, 57, 2, 0, 15, 16, 23, 27, 1, 0, 61, 62, 3, 0, 14, 14, 19, - 19, 22, 22, 2, 0, 11, 11, 20, 21, 1, 0, 59, 60, 2, 0, 29, 29, 126, 126, - 1295, 0, 116, 1, 0, 0, 0, 2, 119, 1, 0, 0, 0, 4, 122, 1, 0, 0, 0, 6, 125, - 1, 0, 0, 0, 8, 142, 1, 0, 0, 0, 10, 148, 1, 0, 0, 0, 12, 150, 1, 0, 0, - 0, 14, 158, 1, 0, 0, 0, 16, 170, 1, 0, 0, 0, 18, 173, 1, 0, 0, 0, 20, 175, - 1, 0, 0, 0, 22, 183, 1, 0, 0, 0, 24, 194, 1, 0, 0, 0, 26, 212, 1, 0, 0, - 0, 28, 216, 1, 0, 0, 0, 30, 239, 1, 0, 0, 0, 32, 256, 1, 0, 0, 0, 34, 264, - 1, 0, 0, 0, 36, 273, 1, 0, 0, 0, 38, 299, 1, 0, 0, 0, 40, 323, 1, 0, 0, - 0, 42, 331, 1, 0, 0, 0, 44, 341, 1, 0, 0, 0, 46, 361, 1, 0, 0, 0, 48, 369, - 1, 0, 0, 0, 50, 374, 1, 0, 0, 0, 52, 396, 1, 0, 0, 0, 54, 418, 1, 0, 0, - 0, 56, 430, 1, 0, 0, 0, 58, 444, 1, 0, 0, 0, 60, 456, 1, 0, 0, 0, 62, 464, - 1, 0, 0, 0, 64, 482, 1, 0, 0, 0, 66, 517, 1, 0, 0, 0, 68, 519, 1, 0, 0, - 0, 70, 527, 1, 0, 0, 0, 72, 585, 1, 0, 0, 0, 74, 588, 1, 0, 0, 0, 76, 608, - 1, 0, 0, 0, 78, 610, 1, 0, 0, 0, 80, 641, 1, 0, 0, 0, 82, 645, 1, 0, 0, - 0, 84, 677, 1, 0, 0, 0, 86, 706, 1, 0, 0, 0, 88, 776, 1, 0, 0, 0, 90, 857, - 1, 0, 0, 0, 92, 862, 1, 0, 0, 0, 94, 893, 1, 0, 0, 0, 96, 900, 1, 0, 0, - 0, 98, 923, 1, 0, 0, 0, 100, 928, 1, 0, 0, 0, 102, 960, 1, 0, 0, 0, 104, - 1008, 1, 0, 0, 0, 106, 1096, 1, 0, 0, 0, 108, 1098, 1, 0, 0, 0, 110, 1118, - 1, 0, 0, 0, 112, 1120, 1, 0, 0, 0, 114, 1130, 1, 0, 0, 0, 116, 117, 3, - 22, 11, 0, 117, 118, 5, 0, 0, 1, 118, 1, 1, 0, 0, 0, 119, 120, 3, 58, 29, - 0, 120, 121, 5, 0, 0, 1, 121, 3, 1, 0, 0, 0, 122, 123, 3, 96, 48, 0, 123, - 124, 5, 0, 0, 1, 124, 5, 1, 0, 0, 0, 125, 126, 3, 100, 50, 0, 126, 127, - 5, 0, 0, 1, 127, 7, 1, 0, 0, 0, 128, 143, 5, 114, 0, 0, 129, 131, 7, 0, - 0, 0, 130, 129, 1, 0, 0, 0, 130, 131, 1, 0, 0, 0, 131, 132, 1, 0, 0, 0, - 132, 143, 5, 117, 0, 0, 133, 135, 7, 0, 0, 0, 134, 133, 1, 0, 0, 0, 134, - 135, 1, 0, 0, 0, 135, 136, 1, 0, 0, 0, 136, 137, 5, 117, 0, 0, 137, 138, - 5, 12, 0, 0, 138, 143, 5, 117, 0, 0, 139, 143, 7, 1, 0, 0, 140, 143, 5, - 52, 0, 0, 141, 143, 5, 118, 0, 0, 142, 128, 1, 0, 0, 0, 142, 130, 1, 0, - 0, 0, 142, 134, 1, 0, 0, 0, 142, 139, 1, 0, 0, 0, 142, 140, 1, 0, 0, 0, - 142, 141, 1, 0, 0, 0, 143, 9, 1, 0, 0, 0, 144, 145, 5, 32, 0, 0, 145, 146, - 5, 125, 0, 0, 146, 149, 5, 32, 0, 0, 147, 149, 5, 125, 0, 0, 148, 144, - 1, 0, 0, 0, 148, 147, 1, 0, 0, 0, 149, 11, 1, 0, 0, 0, 150, 155, 3, 10, - 5, 0, 151, 152, 5, 9, 0, 0, 152, 154, 3, 10, 5, 0, 153, 151, 1, 0, 0, 0, - 154, 157, 1, 0, 0, 0, 155, 153, 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, 156, - 13, 1, 0, 0, 0, 157, 155, 1, 0, 0, 0, 158, 164, 5, 125, 0, 0, 159, 160, - 5, 7, 0, 0, 160, 161, 5, 117, 0, 0, 161, 162, 5, 9, 0, 0, 162, 163, 5, - 117, 0, 0, 163, 165, 5, 8, 0, 0, 164, 159, 1, 0, 0, 0, 164, 165, 1, 0, - 0, 0, 165, 168, 1, 0, 0, 0, 166, 167, 5, 3, 0, 0, 167, 169, 5, 4, 0, 0, - 168, 166, 1, 0, 0, 0, 168, 169, 1, 0, 0, 0, 169, 15, 1, 0, 0, 0, 170, 171, - 5, 28, 0, 0, 171, 172, 3, 14, 7, 0, 172, 17, 1, 0, 0, 0, 173, 174, 7, 2, - 0, 0, 174, 19, 1, 0, 0, 0, 175, 180, 3, 18, 9, 0, 176, 177, 5, 9, 0, 0, - 177, 179, 3, 18, 9, 0, 178, 176, 1, 0, 0, 0, 179, 182, 1, 0, 0, 0, 180, - 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 21, 1, 0, 0, 0, 182, 180, 1, - 0, 0, 0, 183, 191, 3, 26, 13, 0, 184, 190, 3, 28, 14, 0, 185, 190, 3, 30, - 15, 0, 186, 190, 3, 50, 25, 0, 187, 190, 3, 52, 26, 0, 188, 190, 3, 54, - 27, 0, 189, 184, 1, 0, 0, 0, 189, 185, 1, 0, 0, 0, 189, 186, 1, 0, 0, 0, - 189, 187, 1, 0, 0, 0, 189, 188, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, - 189, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 23, 1, 0, 0, 0, 193, 191, 1, - 0, 0, 0, 194, 195, 5, 127, 0, 0, 195, 208, 5, 7, 0, 0, 196, 197, 5, 125, - 0, 0, 197, 198, 5, 15, 0, 0, 198, 205, 3, 8, 4, 0, 199, 200, 5, 9, 0, 0, - 200, 201, 5, 125, 0, 0, 201, 202, 5, 15, 0, 0, 202, 204, 3, 8, 4, 0, 203, - 199, 1, 0, 0, 0, 204, 207, 1, 0, 0, 0, 205, 203, 1, 0, 0, 0, 205, 206, - 1, 0, 0, 0, 206, 209, 1, 0, 0, 0, 207, 205, 1, 0, 0, 0, 208, 196, 1, 0, - 0, 0, 208, 209, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 211, 5, 8, 0, 0, - 211, 25, 1, 0, 0, 0, 212, 213, 5, 33, 0, 0, 213, 214, 5, 125, 0, 0, 214, - 215, 5, 6, 0, 0, 215, 27, 1, 0, 0, 0, 216, 217, 5, 34, 0, 0, 217, 233, - 5, 125, 0, 0, 218, 219, 5, 1, 0, 0, 219, 220, 5, 125, 0, 0, 220, 221, 5, - 5, 0, 0, 221, 228, 3, 8, 4, 0, 222, 223, 5, 9, 0, 0, 223, 224, 5, 125, - 0, 0, 224, 225, 5, 5, 0, 0, 225, 227, 3, 8, 4, 0, 226, 222, 1, 0, 0, 0, - 227, 230, 1, 0, 0, 0, 228, 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, - 231, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 231, 232, 5, 2, 0, 0, 232, 234, - 1, 0, 0, 0, 233, 218, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, - 0, 0, 235, 236, 5, 73, 0, 0, 236, 237, 5, 125, 0, 0, 237, 238, 5, 6, 0, - 0, 238, 29, 1, 0, 0, 0, 239, 240, 5, 35, 0, 0, 240, 241, 5, 125, 0, 0, - 241, 242, 5, 1, 0, 0, 242, 251, 3, 32, 16, 0, 243, 247, 5, 9, 0, 0, 244, - 248, 3, 32, 16, 0, 245, 248, 3, 34, 17, 0, 246, 248, 3, 36, 18, 0, 247, - 244, 1, 0, 0, 0, 247, 245, 1, 0, 0, 0, 247, 246, 1, 0, 0, 0, 248, 250, - 1, 0, 0, 0, 249, 243, 1, 0, 0, 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, - 0, 0, 251, 252, 1, 0, 0, 0, 252, 254, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, - 254, 255, 5, 2, 0, 0, 255, 31, 1, 0, 0, 0, 256, 257, 5, 125, 0, 0, 257, - 261, 3, 14, 7, 0, 258, 260, 3, 46, 23, 0, 259, 258, 1, 0, 0, 0, 260, 263, - 1, 0, 0, 0, 261, 259, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 33, 1, 0, - 0, 0, 263, 261, 1, 0, 0, 0, 264, 265, 5, 128, 0, 0, 265, 266, 7, 3, 0, - 0, 266, 267, 5, 7, 0, 0, 267, 268, 3, 12, 6, 0, 268, 269, 5, 8, 0, 0, 269, - 35, 1, 0, 0, 0, 270, 271, 5, 42, 0, 0, 271, 274, 5, 44, 0, 0, 272, 274, - 5, 119, 0, 0, 273, 270, 1, 0, 0, 0, 273, 272, 1, 0, 0, 0, 274, 275, 1, - 0, 0, 0, 275, 276, 5, 7, 0, 0, 276, 277, 3, 12, 6, 0, 277, 278, 5, 8, 0, - 0, 278, 279, 7, 4, 0, 0, 279, 280, 5, 125, 0, 0, 280, 281, 5, 7, 0, 0, - 281, 282, 3, 12, 6, 0, 282, 286, 5, 8, 0, 0, 283, 285, 3, 38, 19, 0, 284, - 283, 1, 0, 0, 0, 285, 288, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, - 1, 0, 0, 0, 287, 37, 1, 0, 0, 0, 288, 286, 1, 0, 0, 0, 289, 290, 5, 45, - 0, 0, 290, 293, 5, 54, 0, 0, 291, 293, 5, 120, 0, 0, 292, 289, 1, 0, 0, - 0, 292, 291, 1, 0, 0, 0, 293, 300, 1, 0, 0, 0, 294, 295, 5, 45, 0, 0, 295, - 298, 5, 53, 0, 0, 296, 298, 5, 121, 0, 0, 297, 294, 1, 0, 0, 0, 297, 296, - 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 292, 1, 0, 0, 0, 299, 297, 1, 0, - 0, 0, 300, 302, 1, 0, 0, 0, 301, 303, 5, 46, 0, 0, 302, 301, 1, 0, 0, 0, - 302, 303, 1, 0, 0, 0, 303, 321, 1, 0, 0, 0, 304, 305, 5, 83, 0, 0, 305, - 308, 5, 36, 0, 0, 306, 308, 5, 124, 0, 0, 307, 304, 1, 0, 0, 0, 307, 306, - 1, 0, 0, 0, 308, 322, 1, 0, 0, 0, 309, 322, 5, 48, 0, 0, 310, 311, 5, 50, - 0, 0, 311, 314, 5, 52, 0, 0, 312, 314, 5, 123, 0, 0, 313, 310, 1, 0, 0, - 0, 313, 312, 1, 0, 0, 0, 314, 322, 1, 0, 0, 0, 315, 316, 5, 50, 0, 0, 316, - 319, 5, 51, 0, 0, 317, 319, 5, 122, 0, 0, 318, 315, 1, 0, 0, 0, 318, 317, - 1, 0, 0, 0, 319, 322, 1, 0, 0, 0, 320, 322, 5, 49, 0, 0, 321, 307, 1, 0, - 0, 0, 321, 309, 1, 0, 0, 0, 321, 313, 1, 0, 0, 0, 321, 318, 1, 0, 0, 0, - 321, 320, 1, 0, 0, 0, 322, 39, 1, 0, 0, 0, 323, 328, 3, 14, 7, 0, 324, - 325, 5, 9, 0, 0, 325, 327, 3, 14, 7, 0, 326, 324, 1, 0, 0, 0, 327, 330, - 1, 0, 0, 0, 328, 326, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 41, 1, 0, - 0, 0, 330, 328, 1, 0, 0, 0, 331, 332, 5, 125, 0, 0, 332, 338, 3, 14, 7, - 0, 333, 334, 5, 9, 0, 0, 334, 335, 5, 125, 0, 0, 335, 337, 3, 14, 7, 0, - 336, 333, 1, 0, 0, 0, 337, 340, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 338, - 339, 1, 0, 0, 0, 339, 43, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 341, 342, 3, - 18, 9, 0, 342, 349, 3, 14, 7, 0, 343, 344, 5, 9, 0, 0, 344, 345, 3, 18, - 9, 0, 345, 346, 3, 14, 7, 0, 346, 348, 1, 0, 0, 0, 347, 343, 1, 0, 0, 0, - 348, 351, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, - 45, 1, 0, 0, 0, 351, 349, 1, 0, 0, 0, 352, 362, 5, 125, 0, 0, 353, 355, - 5, 43, 0, 0, 354, 356, 5, 44, 0, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, - 0, 0, 0, 356, 362, 1, 0, 0, 0, 357, 358, 5, 57, 0, 0, 358, 362, 5, 52, - 0, 0, 359, 362, 5, 51, 0, 0, 360, 362, 5, 47, 0, 0, 361, 352, 1, 0, 0, - 0, 361, 353, 1, 0, 0, 0, 361, 357, 1, 0, 0, 0, 361, 359, 1, 0, 0, 0, 361, - 360, 1, 0, 0, 0, 362, 367, 1, 0, 0, 0, 363, 364, 5, 7, 0, 0, 364, 365, - 3, 8, 4, 0, 365, 366, 5, 8, 0, 0, 366, 368, 1, 0, 0, 0, 367, 363, 1, 0, - 0, 0, 367, 368, 1, 0, 0, 0, 368, 47, 1, 0, 0, 0, 369, 370, 7, 5, 0, 0, - 370, 49, 1, 0, 0, 0, 371, 373, 3, 24, 12, 0, 372, 371, 1, 0, 0, 0, 373, - 376, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 377, - 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 377, 378, 5, 36, 0, 0, 378, 379, 5, 125, - 0, 0, 379, 381, 5, 7, 0, 0, 380, 382, 3, 20, 10, 0, 381, 380, 1, 0, 0, - 0, 381, 382, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 385, 5, 8, 0, 0, 384, - 386, 3, 48, 24, 0, 385, 384, 1, 0, 0, 0, 386, 387, 1, 0, 0, 0, 387, 385, - 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 390, 5, 1, - 0, 0, 390, 391, 3, 96, 48, 0, 391, 392, 5, 2, 0, 0, 392, 51, 1, 0, 0, 0, - 393, 395, 3, 24, 12, 0, 394, 393, 1, 0, 0, 0, 395, 398, 1, 0, 0, 0, 396, - 394, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 399, 1, 0, 0, 0, 398, 396, - 1, 0, 0, 0, 399, 400, 5, 37, 0, 0, 400, 401, 5, 125, 0, 0, 401, 403, 5, - 7, 0, 0, 402, 404, 3, 44, 22, 0, 403, 402, 1, 0, 0, 0, 403, 404, 1, 0, - 0, 0, 404, 405, 1, 0, 0, 0, 405, 407, 5, 8, 0, 0, 406, 408, 3, 48, 24, - 0, 407, 406, 1, 0, 0, 0, 408, 409, 1, 0, 0, 0, 409, 407, 1, 0, 0, 0, 409, - 410, 1, 0, 0, 0, 410, 412, 1, 0, 0, 0, 411, 413, 3, 56, 28, 0, 412, 411, - 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 5, 1, - 0, 0, 415, 416, 3, 100, 50, 0, 416, 417, 5, 2, 0, 0, 417, 53, 1, 0, 0, - 0, 418, 419, 5, 42, 0, 0, 419, 420, 5, 37, 0, 0, 420, 421, 5, 125, 0, 0, - 421, 424, 5, 7, 0, 0, 422, 425, 3, 40, 20, 0, 423, 425, 3, 44, 22, 0, 424, - 422, 1, 0, 0, 0, 424, 423, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, - 1, 0, 0, 0, 426, 428, 5, 8, 0, 0, 427, 429, 3, 56, 28, 0, 428, 427, 1, - 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 55, 1, 0, 0, 0, 430, 442, 5, 82, 0, - 0, 431, 433, 5, 35, 0, 0, 432, 431, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, - 434, 1, 0, 0, 0, 434, 435, 5, 7, 0, 0, 435, 436, 3, 42, 21, 0, 436, 437, - 5, 8, 0, 0, 437, 443, 1, 0, 0, 0, 438, 439, 5, 7, 0, 0, 439, 440, 3, 40, - 20, 0, 440, 441, 5, 8, 0, 0, 441, 443, 1, 0, 0, 0, 442, 432, 1, 0, 0, 0, - 442, 438, 1, 0, 0, 0, 443, 57, 1, 0, 0, 0, 444, 445, 3, 60, 30, 0, 445, - 446, 5, 6, 0, 0, 446, 59, 1, 0, 0, 0, 447, 448, 5, 84, 0, 0, 448, 453, - 3, 62, 31, 0, 449, 450, 5, 9, 0, 0, 450, 452, 3, 62, 31, 0, 451, 449, 1, - 0, 0, 0, 452, 455, 1, 0, 0, 0, 453, 451, 1, 0, 0, 0, 453, 454, 1, 0, 0, - 0, 454, 457, 1, 0, 0, 0, 455, 453, 1, 0, 0, 0, 456, 447, 1, 0, 0, 0, 456, - 457, 1, 0, 0, 0, 457, 462, 1, 0, 0, 0, 458, 463, 3, 64, 32, 0, 459, 463, - 3, 78, 39, 0, 460, 463, 3, 82, 41, 0, 461, 463, 3, 86, 43, 0, 462, 458, - 1, 0, 0, 0, 462, 459, 1, 0, 0, 0, 462, 460, 1, 0, 0, 0, 462, 461, 1, 0, - 0, 0, 463, 61, 1, 0, 0, 0, 464, 465, 3, 10, 5, 0, 465, 474, 5, 7, 0, 0, - 466, 471, 3, 10, 5, 0, 467, 468, 5, 9, 0, 0, 468, 470, 3, 10, 5, 0, 469, - 467, 1, 0, 0, 0, 470, 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, - 1, 0, 0, 0, 472, 475, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 466, 1, 0, - 0, 0, 474, 475, 1, 0, 0, 0, 475, 476, 1, 0, 0, 0, 476, 477, 5, 8, 0, 0, - 477, 478, 5, 73, 0, 0, 478, 479, 5, 7, 0, 0, 479, 480, 3, 64, 32, 0, 480, - 481, 5, 8, 0, 0, 481, 63, 1, 0, 0, 0, 482, 488, 3, 70, 35, 0, 483, 484, - 3, 66, 33, 0, 484, 485, 3, 70, 35, 0, 485, 487, 1, 0, 0, 0, 486, 483, 1, - 0, 0, 0, 487, 490, 1, 0, 0, 0, 488, 486, 1, 0, 0, 0, 488, 489, 1, 0, 0, - 0, 489, 501, 1, 0, 0, 0, 490, 488, 1, 0, 0, 0, 491, 492, 5, 78, 0, 0, 492, - 493, 5, 79, 0, 0, 493, 498, 3, 68, 34, 0, 494, 495, 5, 9, 0, 0, 495, 497, - 3, 68, 34, 0, 496, 494, 1, 0, 0, 0, 497, 500, 1, 0, 0, 0, 498, 496, 1, - 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 502, 1, 0, 0, 0, 500, 498, 1, 0, 0, - 0, 501, 491, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 505, 1, 0, 0, 0, 503, - 504, 5, 76, 0, 0, 504, 506, 3, 88, 44, 0, 505, 503, 1, 0, 0, 0, 505, 506, - 1, 0, 0, 0, 506, 509, 1, 0, 0, 0, 507, 508, 5, 77, 0, 0, 508, 510, 3, 88, - 44, 0, 509, 507, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 65, 1, 0, 0, 0, - 511, 513, 5, 97, 0, 0, 512, 514, 5, 67, 0, 0, 513, 512, 1, 0, 0, 0, 513, - 514, 1, 0, 0, 0, 514, 518, 1, 0, 0, 0, 515, 518, 5, 98, 0, 0, 516, 518, - 5, 99, 0, 0, 517, 511, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 516, 1, 0, - 0, 0, 518, 67, 1, 0, 0, 0, 519, 521, 3, 88, 44, 0, 520, 522, 7, 6, 0, 0, - 521, 520, 1, 0, 0, 0, 521, 522, 1, 0, 0, 0, 522, 525, 1, 0, 0, 0, 523, - 524, 5, 100, 0, 0, 524, 526, 7, 7, 0, 0, 525, 523, 1, 0, 0, 0, 525, 526, - 1, 0, 0, 0, 526, 69, 1, 0, 0, 0, 527, 529, 5, 93, 0, 0, 528, 530, 5, 89, - 0, 0, 529, 528, 1, 0, 0, 0, 529, 530, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, - 531, 536, 3, 76, 38, 0, 532, 533, 5, 9, 0, 0, 533, 535, 3, 76, 38, 0, 534, - 532, 1, 0, 0, 0, 535, 538, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 536, 537, - 1, 0, 0, 0, 537, 547, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 539, 540, 5, 90, - 0, 0, 540, 544, 3, 72, 36, 0, 541, 543, 3, 74, 37, 0, 542, 541, 1, 0, 0, - 0, 543, 546, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, - 548, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 547, 539, 1, 0, 0, 0, 547, 548, - 1, 0, 0, 0, 548, 551, 1, 0, 0, 0, 549, 550, 5, 91, 0, 0, 550, 552, 3, 88, - 44, 0, 551, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 560, 1, 0, 0, 0, - 553, 554, 5, 80, 0, 0, 554, 555, 5, 79, 0, 0, 555, 558, 3, 92, 46, 0, 556, - 557, 5, 81, 0, 0, 557, 559, 3, 88, 44, 0, 558, 556, 1, 0, 0, 0, 558, 559, - 1, 0, 0, 0, 559, 561, 1, 0, 0, 0, 560, 553, 1, 0, 0, 0, 560, 561, 1, 0, - 0, 0, 561, 71, 1, 0, 0, 0, 562, 567, 3, 10, 5, 0, 563, 565, 5, 73, 0, 0, - 564, 563, 1, 0, 0, 0, 564, 565, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, - 568, 3, 10, 5, 0, 567, 564, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 586, - 1, 0, 0, 0, 569, 570, 5, 7, 0, 0, 570, 571, 3, 64, 32, 0, 571, 576, 5, - 8, 0, 0, 572, 574, 5, 73, 0, 0, 573, 572, 1, 0, 0, 0, 573, 574, 1, 0, 0, - 0, 574, 575, 1, 0, 0, 0, 575, 577, 3, 10, 5, 0, 576, 573, 1, 0, 0, 0, 576, - 577, 1, 0, 0, 0, 577, 586, 1, 0, 0, 0, 578, 580, 3, 94, 47, 0, 579, 581, - 5, 73, 0, 0, 580, 579, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 583, 1, 0, - 0, 0, 582, 584, 3, 10, 5, 0, 583, 582, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, - 584, 586, 1, 0, 0, 0, 585, 562, 1, 0, 0, 0, 585, 569, 1, 0, 0, 0, 585, - 578, 1, 0, 0, 0, 586, 73, 1, 0, 0, 0, 587, 589, 7, 8, 0, 0, 588, 587, 1, - 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 5, 69, 0, - 0, 591, 592, 3, 72, 36, 0, 592, 593, 5, 45, 0, 0, 593, 594, 3, 88, 44, - 0, 594, 75, 1, 0, 0, 0, 595, 600, 3, 88, 44, 0, 596, 598, 5, 73, 0, 0, - 597, 596, 1, 0, 0, 0, 597, 598, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, - 601, 3, 10, 5, 0, 600, 597, 1, 0, 0, 0, 600, 601, 1, 0, 0, 0, 601, 609, - 1, 0, 0, 0, 602, 603, 3, 10, 5, 0, 603, 604, 5, 12, 0, 0, 604, 606, 1, - 0, 0, 0, 605, 602, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 1, 0, 0, - 0, 607, 609, 5, 14, 0, 0, 608, 595, 1, 0, 0, 0, 608, 605, 1, 0, 0, 0, 609, - 77, 1, 0, 0, 0, 610, 611, 5, 54, 0, 0, 611, 616, 3, 10, 5, 0, 612, 614, - 5, 73, 0, 0, 613, 612, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 1, 0, - 0, 0, 615, 617, 3, 10, 5, 0, 616, 613, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, - 617, 618, 1, 0, 0, 0, 618, 619, 5, 50, 0, 0, 619, 624, 3, 80, 40, 0, 620, - 621, 5, 9, 0, 0, 621, 623, 3, 80, 40, 0, 622, 620, 1, 0, 0, 0, 623, 626, - 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 635, 1, 0, - 0, 0, 626, 624, 1, 0, 0, 0, 627, 628, 5, 90, 0, 0, 628, 632, 3, 72, 36, - 0, 629, 631, 3, 74, 37, 0, 630, 629, 1, 0, 0, 0, 631, 634, 1, 0, 0, 0, - 632, 630, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 636, 1, 0, 0, 0, 634, - 632, 1, 0, 0, 0, 635, 627, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 639, - 1, 0, 0, 0, 637, 638, 5, 91, 0, 0, 638, 640, 3, 88, 44, 0, 639, 637, 1, - 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 79, 1, 0, 0, 0, 641, 642, 3, 10, 5, - 0, 642, 643, 5, 15, 0, 0, 643, 644, 3, 88, 44, 0, 644, 81, 1, 0, 0, 0, - 645, 646, 5, 94, 0, 0, 646, 647, 5, 104, 0, 0, 647, 652, 3, 10, 5, 0, 648, - 650, 5, 73, 0, 0, 649, 648, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 651, - 1, 0, 0, 0, 651, 653, 3, 10, 5, 0, 652, 649, 1, 0, 0, 0, 652, 653, 1, 0, - 0, 0, 653, 658, 1, 0, 0, 0, 654, 655, 5, 7, 0, 0, 655, 656, 3, 12, 6, 0, - 656, 657, 5, 8, 0, 0, 657, 659, 1, 0, 0, 0, 658, 654, 1, 0, 0, 0, 658, - 659, 1, 0, 0, 0, 659, 660, 1, 0, 0, 0, 660, 661, 5, 95, 0, 0, 661, 662, - 5, 7, 0, 0, 662, 663, 3, 92, 46, 0, 663, 671, 5, 8, 0, 0, 664, 665, 5, - 9, 0, 0, 665, 666, 5, 7, 0, 0, 666, 667, 3, 92, 46, 0, 667, 668, 5, 8, - 0, 0, 668, 670, 1, 0, 0, 0, 669, 664, 1, 0, 0, 0, 670, 673, 1, 0, 0, 0, - 671, 669, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 675, 1, 0, 0, 0, 673, - 671, 1, 0, 0, 0, 674, 676, 3, 84, 42, 0, 675, 674, 1, 0, 0, 0, 675, 676, - 1, 0, 0, 0, 676, 83, 1, 0, 0, 0, 677, 678, 5, 45, 0, 0, 678, 686, 5, 105, - 0, 0, 679, 680, 5, 7, 0, 0, 680, 681, 3, 12, 6, 0, 681, 684, 5, 8, 0, 0, - 682, 683, 5, 91, 0, 0, 683, 685, 3, 88, 44, 0, 684, 682, 1, 0, 0, 0, 684, - 685, 1, 0, 0, 0, 685, 687, 1, 0, 0, 0, 686, 679, 1, 0, 0, 0, 686, 687, - 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 704, 5, 46, 0, 0, 689, 705, 5, 106, - 0, 0, 690, 691, 5, 54, 0, 0, 691, 692, 5, 50, 0, 0, 692, 697, 3, 80, 40, - 0, 693, 694, 5, 9, 0, 0, 694, 696, 3, 80, 40, 0, 695, 693, 1, 0, 0, 0, - 696, 699, 1, 0, 0, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, - 702, 1, 0, 0, 0, 699, 697, 1, 0, 0, 0, 700, 701, 5, 91, 0, 0, 701, 703, - 3, 88, 44, 0, 702, 700, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 705, 1, - 0, 0, 0, 704, 689, 1, 0, 0, 0, 704, 690, 1, 0, 0, 0, 705, 85, 1, 0, 0, - 0, 706, 707, 5, 53, 0, 0, 707, 708, 5, 90, 0, 0, 708, 713, 3, 10, 5, 0, - 709, 711, 5, 73, 0, 0, 710, 709, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, - 712, 1, 0, 0, 0, 712, 714, 3, 10, 5, 0, 713, 710, 1, 0, 0, 0, 713, 714, - 1, 0, 0, 0, 714, 717, 1, 0, 0, 0, 715, 716, 5, 91, 0, 0, 716, 718, 3, 88, - 44, 0, 717, 715, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 87, 1, 0, 0, 0, - 719, 720, 6, 44, -1, 0, 720, 722, 3, 8, 4, 0, 721, 723, 3, 16, 8, 0, 722, - 721, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 777, 1, 0, 0, 0, 724, 726, - 3, 94, 47, 0, 725, 727, 3, 16, 8, 0, 726, 725, 1, 0, 0, 0, 726, 727, 1, - 0, 0, 0, 727, 777, 1, 0, 0, 0, 728, 730, 3, 18, 9, 0, 729, 731, 3, 16, - 8, 0, 730, 729, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 777, 1, 0, 0, 0, - 732, 733, 3, 10, 5, 0, 733, 734, 5, 12, 0, 0, 734, 736, 1, 0, 0, 0, 735, - 732, 1, 0, 0, 0, 735, 736, 1, 0, 0, 0, 736, 737, 1, 0, 0, 0, 737, 739, - 3, 10, 5, 0, 738, 740, 3, 16, 8, 0, 739, 738, 1, 0, 0, 0, 739, 740, 1, - 0, 0, 0, 740, 777, 1, 0, 0, 0, 741, 742, 5, 7, 0, 0, 742, 743, 3, 88, 44, - 0, 743, 745, 5, 8, 0, 0, 744, 746, 3, 16, 8, 0, 745, 744, 1, 0, 0, 0, 745, - 746, 1, 0, 0, 0, 746, 777, 1, 0, 0, 0, 747, 748, 7, 9, 0, 0, 748, 777, - 3, 88, 44, 10, 749, 751, 5, 85, 0, 0, 750, 752, 3, 88, 44, 0, 751, 750, - 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 754, 1, 0, 0, 0, 753, 755, 3, 90, - 45, 0, 754, 753, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 754, 1, 0, 0, 0, - 756, 757, 1, 0, 0, 0, 757, 760, 1, 0, 0, 0, 758, 759, 5, 110, 0, 0, 759, - 761, 3, 88, 44, 0, 760, 758, 1, 0, 0, 0, 760, 761, 1, 0, 0, 0, 761, 762, - 1, 0, 0, 0, 762, 763, 5, 88, 0, 0, 763, 777, 1, 0, 0, 0, 764, 766, 5, 57, - 0, 0, 765, 764, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, - 767, 769, 5, 66, 0, 0, 768, 765, 1, 0, 0, 0, 768, 769, 1, 0, 0, 0, 769, - 770, 1, 0, 0, 0, 770, 771, 5, 7, 0, 0, 771, 772, 3, 64, 32, 0, 772, 774, - 5, 8, 0, 0, 773, 775, 3, 16, 8, 0, 774, 773, 1, 0, 0, 0, 774, 775, 1, 0, - 0, 0, 775, 777, 1, 0, 0, 0, 776, 719, 1, 0, 0, 0, 776, 724, 1, 0, 0, 0, - 776, 728, 1, 0, 0, 0, 776, 735, 1, 0, 0, 0, 776, 741, 1, 0, 0, 0, 776, - 747, 1, 0, 0, 0, 776, 749, 1, 0, 0, 0, 776, 768, 1, 0, 0, 0, 777, 854, - 1, 0, 0, 0, 778, 779, 10, 13, 0, 0, 779, 780, 7, 10, 0, 0, 780, 853, 3, - 88, 44, 14, 781, 783, 10, 11, 0, 0, 782, 784, 5, 57, 0, 0, 783, 782, 1, - 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 786, 7, 11, 0, - 0, 786, 853, 3, 88, 44, 12, 787, 789, 10, 9, 0, 0, 788, 790, 5, 57, 0, - 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, - 792, 5, 64, 0, 0, 792, 793, 3, 88, 44, 0, 793, 794, 5, 59, 0, 0, 794, 795, - 3, 88, 44, 10, 795, 853, 1, 0, 0, 0, 796, 797, 10, 5, 0, 0, 797, 798, 5, - 13, 0, 0, 798, 853, 3, 88, 44, 6, 799, 800, 10, 4, 0, 0, 800, 801, 7, 12, - 0, 0, 801, 853, 3, 88, 44, 5, 802, 803, 10, 3, 0, 0, 803, 804, 7, 0, 0, - 0, 804, 853, 3, 88, 44, 4, 805, 806, 10, 2, 0, 0, 806, 807, 5, 59, 0, 0, - 807, 853, 3, 88, 44, 3, 808, 809, 10, 1, 0, 0, 809, 810, 5, 60, 0, 0, 810, - 853, 3, 88, 44, 2, 811, 812, 10, 20, 0, 0, 812, 813, 5, 92, 0, 0, 813, - 853, 3, 10, 5, 0, 814, 815, 10, 16, 0, 0, 815, 816, 5, 3, 0, 0, 816, 817, - 3, 88, 44, 0, 817, 819, 5, 4, 0, 0, 818, 820, 3, 16, 8, 0, 819, 818, 1, - 0, 0, 0, 819, 820, 1, 0, 0, 0, 820, 853, 1, 0, 0, 0, 821, 822, 10, 15, - 0, 0, 822, 823, 5, 12, 0, 0, 823, 825, 3, 10, 5, 0, 824, 826, 3, 16, 8, - 0, 825, 824, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 853, 1, 0, 0, 0, 827, - 829, 10, 12, 0, 0, 828, 830, 5, 57, 0, 0, 829, 828, 1, 0, 0, 0, 829, 830, - 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 832, 5, 63, 0, 0, 832, 835, 5, 7, - 0, 0, 833, 836, 3, 92, 46, 0, 834, 836, 3, 64, 32, 0, 835, 833, 1, 0, 0, - 0, 835, 834, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 838, 5, 8, 0, 0, 838, - 853, 1, 0, 0, 0, 839, 840, 10, 8, 0, 0, 840, 842, 5, 65, 0, 0, 841, 843, - 5, 57, 0, 0, 842, 841, 1, 0, 0, 0, 842, 843, 1, 0, 0, 0, 843, 850, 1, 0, - 0, 0, 844, 845, 5, 89, 0, 0, 845, 846, 5, 90, 0, 0, 846, 851, 3, 88, 44, - 0, 847, 851, 5, 52, 0, 0, 848, 851, 5, 115, 0, 0, 849, 851, 5, 116, 0, - 0, 850, 844, 1, 0, 0, 0, 850, 847, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, - 849, 1, 0, 0, 0, 851, 853, 1, 0, 0, 0, 852, 778, 1, 0, 0, 0, 852, 781, - 1, 0, 0, 0, 852, 787, 1, 0, 0, 0, 852, 796, 1, 0, 0, 0, 852, 799, 1, 0, - 0, 0, 852, 802, 1, 0, 0, 0, 852, 805, 1, 0, 0, 0, 852, 808, 1, 0, 0, 0, - 852, 811, 1, 0, 0, 0, 852, 814, 1, 0, 0, 0, 852, 821, 1, 0, 0, 0, 852, - 827, 1, 0, 0, 0, 852, 839, 1, 0, 0, 0, 853, 856, 1, 0, 0, 0, 854, 852, - 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 89, 1, 0, 0, 0, 856, 854, 1, 0, - 0, 0, 857, 858, 5, 86, 0, 0, 858, 859, 3, 88, 44, 0, 859, 860, 5, 87, 0, - 0, 860, 861, 3, 88, 44, 0, 861, 91, 1, 0, 0, 0, 862, 867, 3, 88, 44, 0, - 863, 864, 5, 9, 0, 0, 864, 866, 3, 88, 44, 0, 865, 863, 1, 0, 0, 0, 866, - 869, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 93, 1, - 0, 0, 0, 869, 867, 1, 0, 0, 0, 870, 871, 3, 10, 5, 0, 871, 877, 5, 7, 0, - 0, 872, 874, 5, 89, 0, 0, 873, 872, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, - 875, 1, 0, 0, 0, 875, 878, 3, 92, 46, 0, 876, 878, 5, 14, 0, 0, 877, 873, - 1, 0, 0, 0, 877, 876, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 879, 1, 0, - 0, 0, 879, 880, 5, 8, 0, 0, 880, 894, 1, 0, 0, 0, 881, 882, 3, 10, 5, 0, - 882, 883, 5, 3, 0, 0, 883, 884, 3, 88, 44, 0, 884, 885, 5, 9, 0, 0, 885, - 886, 3, 88, 44, 0, 886, 887, 5, 4, 0, 0, 887, 889, 5, 7, 0, 0, 888, 890, - 3, 92, 46, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 891, 1, - 0, 0, 0, 891, 892, 5, 8, 0, 0, 892, 894, 1, 0, 0, 0, 893, 870, 1, 0, 0, - 0, 893, 881, 1, 0, 0, 0, 894, 95, 1, 0, 0, 0, 895, 896, 3, 98, 49, 0, 896, - 897, 5, 6, 0, 0, 897, 899, 1, 0, 0, 0, 898, 895, 1, 0, 0, 0, 899, 902, - 1, 0, 0, 0, 900, 898, 1, 0, 0, 0, 900, 901, 1, 0, 0, 0, 901, 97, 1, 0, - 0, 0, 902, 900, 1, 0, 0, 0, 903, 924, 3, 60, 30, 0, 904, 905, 5, 125, 0, - 0, 905, 907, 5, 7, 0, 0, 906, 908, 3, 104, 52, 0, 907, 906, 1, 0, 0, 0, - 907, 908, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 924, 5, 8, 0, 0, 910, - 911, 3, 20, 10, 0, 911, 912, 5, 15, 0, 0, 912, 914, 1, 0, 0, 0, 913, 910, - 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 5, 125, - 0, 0, 916, 917, 5, 12, 0, 0, 917, 918, 5, 125, 0, 0, 918, 920, 5, 7, 0, - 0, 919, 921, 3, 104, 52, 0, 920, 919, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, - 921, 922, 1, 0, 0, 0, 922, 924, 5, 8, 0, 0, 923, 903, 1, 0, 0, 0, 923, - 904, 1, 0, 0, 0, 923, 913, 1, 0, 0, 0, 924, 99, 1, 0, 0, 0, 925, 927, 3, - 106, 53, 0, 926, 925, 1, 0, 0, 0, 927, 930, 1, 0, 0, 0, 928, 926, 1, 0, - 0, 0, 928, 929, 1, 0, 0, 0, 929, 101, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, - 931, 932, 6, 51, -1, 0, 932, 934, 3, 8, 4, 0, 933, 935, 3, 16, 8, 0, 934, - 933, 1, 0, 0, 0, 934, 935, 1, 0, 0, 0, 935, 961, 1, 0, 0, 0, 936, 938, - 3, 110, 55, 0, 937, 939, 3, 16, 8, 0, 938, 937, 1, 0, 0, 0, 938, 939, 1, - 0, 0, 0, 939, 961, 1, 0, 0, 0, 940, 942, 3, 18, 9, 0, 941, 943, 3, 16, - 8, 0, 942, 941, 1, 0, 0, 0, 942, 943, 1, 0, 0, 0, 943, 961, 1, 0, 0, 0, - 944, 946, 5, 3, 0, 0, 945, 947, 3, 104, 52, 0, 946, 945, 1, 0, 0, 0, 946, - 947, 1, 0, 0, 0, 947, 948, 1, 0, 0, 0, 948, 950, 5, 4, 0, 0, 949, 951, - 3, 16, 8, 0, 950, 949, 1, 0, 0, 0, 950, 951, 1, 0, 0, 0, 951, 961, 1, 0, - 0, 0, 952, 953, 5, 7, 0, 0, 953, 954, 3, 102, 51, 0, 954, 956, 5, 8, 0, - 0, 955, 957, 3, 16, 8, 0, 956, 955, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, - 961, 1, 0, 0, 0, 958, 959, 7, 13, 0, 0, 959, 961, 3, 102, 51, 6, 960, 931, - 1, 0, 0, 0, 960, 936, 1, 0, 0, 0, 960, 940, 1, 0, 0, 0, 960, 944, 1, 0, - 0, 0, 960, 952, 1, 0, 0, 0, 960, 958, 1, 0, 0, 0, 961, 1005, 1, 0, 0, 0, - 962, 963, 10, 7, 0, 0, 963, 964, 7, 10, 0, 0, 964, 1004, 3, 102, 51, 8, - 965, 966, 10, 4, 0, 0, 966, 967, 7, 14, 0, 0, 967, 1004, 3, 102, 51, 5, - 968, 969, 10, 3, 0, 0, 969, 970, 5, 13, 0, 0, 970, 1004, 3, 102, 51, 4, - 971, 972, 10, 2, 0, 0, 972, 973, 7, 12, 0, 0, 973, 1004, 3, 102, 51, 3, - 974, 975, 10, 1, 0, 0, 975, 976, 7, 0, 0, 0, 976, 1004, 3, 102, 51, 2, - 977, 978, 10, 10, 0, 0, 978, 979, 5, 3, 0, 0, 979, 980, 3, 102, 51, 0, - 980, 982, 5, 4, 0, 0, 981, 983, 3, 16, 8, 0, 982, 981, 1, 0, 0, 0, 982, - 983, 1, 0, 0, 0, 983, 1004, 1, 0, 0, 0, 984, 985, 10, 8, 0, 0, 985, 986, - 5, 12, 0, 0, 986, 988, 5, 125, 0, 0, 987, 989, 3, 16, 8, 0, 988, 987, 1, - 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 1004, 1, 0, 0, 0, 990, 991, 10, 5, - 0, 0, 991, 993, 5, 65, 0, 0, 992, 994, 5, 57, 0, 0, 993, 992, 1, 0, 0, - 0, 993, 994, 1, 0, 0, 0, 994, 1001, 1, 0, 0, 0, 995, 996, 5, 89, 0, 0, - 996, 997, 5, 90, 0, 0, 997, 1002, 3, 102, 51, 0, 998, 1002, 5, 52, 0, 0, - 999, 1002, 5, 115, 0, 0, 1000, 1002, 5, 116, 0, 0, 1001, 995, 1, 0, 0, - 0, 1001, 998, 1, 0, 0, 0, 1001, 999, 1, 0, 0, 0, 1001, 1000, 1, 0, 0, 0, - 1002, 1004, 1, 0, 0, 0, 1003, 962, 1, 0, 0, 0, 1003, 965, 1, 0, 0, 0, 1003, - 968, 1, 0, 0, 0, 1003, 971, 1, 0, 0, 0, 1003, 974, 1, 0, 0, 0, 1003, 977, - 1, 0, 0, 0, 1003, 984, 1, 0, 0, 0, 1003, 990, 1, 0, 0, 0, 1004, 1007, 1, - 0, 0, 0, 1005, 1003, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 103, 1, - 0, 0, 0, 1007, 1005, 1, 0, 0, 0, 1008, 1013, 3, 102, 51, 0, 1009, 1010, - 5, 9, 0, 0, 1010, 1012, 3, 102, 51, 0, 1011, 1009, 1, 0, 0, 0, 1012, 1015, - 1, 0, 0, 0, 1013, 1011, 1, 0, 0, 0, 1013, 1014, 1, 0, 0, 0, 1014, 105, - 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1016, 1017, 5, 126, 0, 0, 1017, 1018, - 3, 14, 7, 0, 1018, 1019, 5, 6, 0, 0, 1019, 1097, 1, 0, 0, 0, 1020, 1025, - 3, 108, 54, 0, 1021, 1022, 5, 9, 0, 0, 1022, 1024, 3, 108, 54, 0, 1023, - 1021, 1, 0, 0, 0, 1024, 1027, 1, 0, 0, 0, 1025, 1023, 1, 0, 0, 0, 1025, - 1026, 1, 0, 0, 0, 1026, 1028, 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1028, - 1029, 5, 30, 0, 0, 1029, 1031, 1, 0, 0, 0, 1030, 1020, 1, 0, 0, 0, 1030, - 1031, 1, 0, 0, 0, 1031, 1032, 1, 0, 0, 0, 1032, 1033, 3, 110, 55, 0, 1033, - 1034, 5, 6, 0, 0, 1034, 1097, 1, 0, 0, 0, 1035, 1037, 3, 102, 51, 0, 1036, - 1038, 3, 14, 7, 0, 1037, 1036, 1, 0, 0, 0, 1037, 1038, 1, 0, 0, 0, 1038, - 1039, 1, 0, 0, 0, 1039, 1040, 5, 30, 0, 0, 1040, 1041, 3, 102, 51, 0, 1041, - 1042, 5, 6, 0, 0, 1042, 1097, 1, 0, 0, 0, 1043, 1044, 5, 107, 0, 0, 1044, - 1045, 5, 126, 0, 0, 1045, 1049, 5, 63, 0, 0, 1046, 1050, 3, 114, 57, 0, - 1047, 1050, 3, 18, 9, 0, 1048, 1050, 3, 60, 30, 0, 1049, 1046, 1, 0, 0, - 0, 1049, 1047, 1, 0, 0, 0, 1049, 1048, 1, 0, 0, 0, 1050, 1051, 1, 0, 0, - 0, 1051, 1055, 5, 1, 0, 0, 1052, 1054, 3, 106, 53, 0, 1053, 1052, 1, 0, - 0, 0, 1054, 1057, 1, 0, 0, 0, 1055, 1053, 1, 0, 0, 0, 1055, 1056, 1, 0, - 0, 0, 1056, 1058, 1, 0, 0, 0, 1057, 1055, 1, 0, 0, 0, 1058, 1059, 5, 2, - 0, 0, 1059, 1097, 1, 0, 0, 0, 1060, 1061, 5, 108, 0, 0, 1061, 1066, 3, - 112, 56, 0, 1062, 1063, 5, 109, 0, 0, 1063, 1065, 3, 112, 56, 0, 1064, - 1062, 1, 0, 0, 0, 1065, 1068, 1, 0, 0, 0, 1066, 1064, 1, 0, 0, 0, 1066, - 1067, 1, 0, 0, 0, 1067, 1078, 1, 0, 0, 0, 1068, 1066, 1, 0, 0, 0, 1069, - 1070, 5, 110, 0, 0, 1070, 1074, 5, 1, 0, 0, 1071, 1073, 3, 106, 53, 0, - 1072, 1071, 1, 0, 0, 0, 1073, 1076, 1, 0, 0, 0, 1074, 1072, 1, 0, 0, 0, - 1074, 1075, 1, 0, 0, 0, 1075, 1077, 1, 0, 0, 0, 1076, 1074, 1, 0, 0, 0, - 1077, 1079, 5, 2, 0, 0, 1078, 1069, 1, 0, 0, 0, 1078, 1079, 1, 0, 0, 0, - 1079, 1097, 1, 0, 0, 0, 1080, 1081, 3, 60, 30, 0, 1081, 1082, 5, 6, 0, - 0, 1082, 1097, 1, 0, 0, 0, 1083, 1084, 5, 111, 0, 0, 1084, 1097, 5, 6, - 0, 0, 1085, 1088, 5, 112, 0, 0, 1086, 1089, 3, 104, 52, 0, 1087, 1089, - 3, 60, 30, 0, 1088, 1086, 1, 0, 0, 0, 1088, 1087, 1, 0, 0, 0, 1088, 1089, - 1, 0, 0, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1097, 5, 6, 0, 0, 1091, 1092, - 5, 112, 0, 0, 1092, 1093, 5, 113, 0, 0, 1093, 1094, 3, 104, 52, 0, 1094, - 1095, 5, 6, 0, 0, 1095, 1097, 1, 0, 0, 0, 1096, 1016, 1, 0, 0, 0, 1096, - 1030, 1, 0, 0, 0, 1096, 1035, 1, 0, 0, 0, 1096, 1043, 1, 0, 0, 0, 1096, - 1060, 1, 0, 0, 0, 1096, 1080, 1, 0, 0, 0, 1096, 1083, 1, 0, 0, 0, 1096, - 1085, 1, 0, 0, 0, 1096, 1091, 1, 0, 0, 0, 1097, 107, 1, 0, 0, 0, 1098, - 1099, 7, 15, 0, 0, 1099, 109, 1, 0, 0, 0, 1100, 1101, 5, 125, 0, 0, 1101, - 1103, 5, 7, 0, 0, 1102, 1104, 3, 104, 52, 0, 1103, 1102, 1, 0, 0, 0, 1103, - 1104, 1, 0, 0, 0, 1104, 1105, 1, 0, 0, 0, 1105, 1119, 5, 8, 0, 0, 1106, - 1107, 5, 125, 0, 0, 1107, 1108, 5, 3, 0, 0, 1108, 1109, 3, 102, 51, 0, - 1109, 1110, 5, 9, 0, 0, 1110, 1111, 3, 102, 51, 0, 1111, 1112, 5, 4, 0, - 0, 1112, 1114, 5, 7, 0, 0, 1113, 1115, 3, 104, 52, 0, 1114, 1113, 1, 0, - 0, 0, 1114, 1115, 1, 0, 0, 0, 1115, 1116, 1, 0, 0, 0, 1116, 1117, 5, 8, - 0, 0, 1117, 1119, 1, 0, 0, 0, 1118, 1100, 1, 0, 0, 0, 1118, 1106, 1, 0, - 0, 0, 1119, 111, 1, 0, 0, 0, 1120, 1121, 3, 102, 51, 0, 1121, 1125, 5, - 1, 0, 0, 1122, 1124, 3, 106, 53, 0, 1123, 1122, 1, 0, 0, 0, 1124, 1127, - 1, 0, 0, 0, 1125, 1123, 1, 0, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1128, - 1, 0, 0, 0, 1127, 1125, 1, 0, 0, 0, 1128, 1129, 5, 2, 0, 0, 1129, 113, - 1, 0, 0, 0, 1130, 1131, 3, 102, 51, 0, 1131, 1132, 5, 31, 0, 0, 1132, 1133, - 3, 102, 51, 0, 1133, 115, 1, 0, 0, 0, 158, 130, 134, 142, 148, 155, 164, - 168, 180, 189, 191, 205, 208, 228, 233, 247, 251, 261, 273, 286, 292, 297, - 299, 302, 307, 313, 318, 321, 328, 338, 349, 355, 361, 367, 374, 381, 387, - 396, 403, 409, 412, 424, 428, 432, 442, 453, 456, 462, 471, 474, 488, 498, - 501, 505, 509, 513, 517, 521, 525, 529, 536, 544, 547, 551, 558, 560, 564, - 567, 573, 576, 580, 583, 585, 588, 597, 600, 605, 608, 613, 616, 624, 632, - 635, 639, 649, 652, 658, 671, 675, 684, 686, 697, 702, 704, 710, 713, 717, - 722, 726, 730, 735, 739, 745, 751, 756, 760, 765, 768, 774, 776, 783, 789, - 819, 825, 829, 835, 842, 850, 852, 854, 867, 873, 877, 889, 893, 900, 907, - 913, 920, 923, 928, 934, 938, 942, 946, 950, 956, 960, 982, 988, 993, 1001, - 1003, 1005, 1013, 1025, 1030, 1037, 1049, 1055, 1066, 1074, 1078, 1088, - 1096, 1103, 1114, 1118, 1125, + 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, + 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 822, 8, 44, 1, 44, + 1, 44, 1, 44, 1, 44, 3, 44, 828, 8, 44, 1, 44, 1, 44, 3, 44, 832, 8, 44, + 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 838, 8, 44, 1, 44, 1, 44, 1, 44, 1, + 44, 1, 44, 3, 44, 845, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, + 3, 44, 853, 8, 44, 5, 44, 855, 8, 44, 10, 44, 12, 44, 858, 9, 44, 1, 45, + 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 5, 46, 868, 8, 46, 10, + 46, 12, 46, 871, 9, 46, 1, 47, 1, 47, 1, 47, 3, 47, 876, 8, 47, 1, 47, + 1, 47, 3, 47, 880, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, + 47, 1, 47, 1, 47, 1, 47, 3, 47, 892, 8, 47, 1, 47, 1, 47, 3, 47, 896, 8, + 47, 1, 48, 1, 48, 1, 48, 5, 48, 901, 8, 48, 10, 48, 12, 48, 904, 9, 48, + 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 910, 8, 49, 1, 49, 1, 49, 1, 49, 1, + 49, 3, 49, 916, 8, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 923, 8, + 49, 1, 49, 3, 49, 926, 8, 49, 1, 50, 5, 50, 929, 8, 50, 10, 50, 12, 50, + 932, 9, 50, 1, 51, 1, 51, 1, 51, 3, 51, 937, 8, 51, 1, 51, 1, 51, 3, 51, + 941, 8, 51, 1, 51, 1, 51, 3, 51, 945, 8, 51, 1, 51, 1, 51, 3, 51, 949, + 8, 51, 1, 51, 1, 51, 3, 51, 953, 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, + 51, 959, 8, 51, 1, 51, 1, 51, 3, 51, 963, 8, 51, 1, 51, 1, 51, 1, 51, 1, + 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, + 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 985, 8, 51, 1, 51, 1, + 51, 1, 51, 1, 51, 3, 51, 991, 8, 51, 1, 51, 1, 51, 1, 51, 3, 51, 996, 8, + 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 1004, 8, 51, 5, 51, + 1006, 8, 51, 10, 51, 12, 51, 1009, 9, 51, 1, 52, 1, 52, 1, 52, 5, 52, 1014, + 8, 52, 10, 52, 12, 52, 1017, 9, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, + 1, 53, 1, 53, 5, 53, 1026, 8, 53, 10, 53, 12, 53, 1029, 9, 53, 1, 53, 1, + 53, 3, 53, 1033, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1040, + 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, + 53, 3, 53, 1052, 8, 53, 1, 53, 1, 53, 5, 53, 1056, 8, 53, 10, 53, 12, 53, + 1059, 9, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1067, 8, + 53, 10, 53, 12, 53, 1070, 9, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1075, 8, 53, + 10, 53, 12, 53, 1078, 9, 53, 1, 53, 3, 53, 1081, 8, 53, 1, 53, 1, 53, 1, + 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1091, 8, 53, 1, 53, 1, 53, + 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1099, 8, 53, 1, 54, 1, 54, 1, 55, 1, + 55, 1, 55, 3, 55, 1106, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, + 1, 55, 1, 55, 1, 55, 3, 55, 1117, 8, 55, 1, 55, 1, 55, 3, 55, 1121, 8, + 55, 1, 56, 1, 56, 1, 56, 5, 56, 1126, 8, 56, 10, 56, 12, 56, 1129, 9, 56, + 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 0, 2, 88, 102, 58, 0, + 2, 4, 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, 0, 16, 1, 0, 20, 21, 1, 0, 115, 116, 1, 0, 126, 127, 3, + 0, 43, 43, 47, 47, 58, 58, 1, 0, 55, 56, 1, 0, 38, 41, 1, 0, 74, 75, 1, + 0, 101, 102, 2, 0, 70, 72, 96, 96, 2, 0, 20, 21, 57, 57, 2, 0, 15, 16, + 23, 27, 1, 0, 61, 62, 3, 0, 14, 14, 19, 19, 22, 22, 2, 0, 11, 11, 20, 21, + 1, 0, 59, 60, 2, 0, 29, 29, 126, 126, 1298, 0, 116, 1, 0, 0, 0, 2, 119, + 1, 0, 0, 0, 4, 122, 1, 0, 0, 0, 6, 125, 1, 0, 0, 0, 8, 142, 1, 0, 0, 0, + 10, 148, 1, 0, 0, 0, 12, 150, 1, 0, 0, 0, 14, 158, 1, 0, 0, 0, 16, 170, + 1, 0, 0, 0, 18, 173, 1, 0, 0, 0, 20, 175, 1, 0, 0, 0, 22, 183, 1, 0, 0, + 0, 24, 194, 1, 0, 0, 0, 26, 212, 1, 0, 0, 0, 28, 216, 1, 0, 0, 0, 30, 239, + 1, 0, 0, 0, 32, 256, 1, 0, 0, 0, 34, 264, 1, 0, 0, 0, 36, 273, 1, 0, 0, + 0, 38, 299, 1, 0, 0, 0, 40, 323, 1, 0, 0, 0, 42, 331, 1, 0, 0, 0, 44, 341, + 1, 0, 0, 0, 46, 361, 1, 0, 0, 0, 48, 369, 1, 0, 0, 0, 50, 374, 1, 0, 0, + 0, 52, 396, 1, 0, 0, 0, 54, 418, 1, 0, 0, 0, 56, 430, 1, 0, 0, 0, 58, 444, + 1, 0, 0, 0, 60, 456, 1, 0, 0, 0, 62, 464, 1, 0, 0, 0, 64, 484, 1, 0, 0, + 0, 66, 519, 1, 0, 0, 0, 68, 521, 1, 0, 0, 0, 70, 529, 1, 0, 0, 0, 72, 587, + 1, 0, 0, 0, 74, 590, 1, 0, 0, 0, 76, 610, 1, 0, 0, 0, 78, 612, 1, 0, 0, + 0, 80, 643, 1, 0, 0, 0, 82, 647, 1, 0, 0, 0, 84, 679, 1, 0, 0, 0, 86, 708, + 1, 0, 0, 0, 88, 778, 1, 0, 0, 0, 90, 859, 1, 0, 0, 0, 92, 864, 1, 0, 0, + 0, 94, 895, 1, 0, 0, 0, 96, 902, 1, 0, 0, 0, 98, 925, 1, 0, 0, 0, 100, + 930, 1, 0, 0, 0, 102, 962, 1, 0, 0, 0, 104, 1010, 1, 0, 0, 0, 106, 1098, + 1, 0, 0, 0, 108, 1100, 1, 0, 0, 0, 110, 1120, 1, 0, 0, 0, 112, 1122, 1, + 0, 0, 0, 114, 1132, 1, 0, 0, 0, 116, 117, 3, 22, 11, 0, 117, 118, 5, 0, + 0, 1, 118, 1, 1, 0, 0, 0, 119, 120, 3, 58, 29, 0, 120, 121, 5, 0, 0, 1, + 121, 3, 1, 0, 0, 0, 122, 123, 3, 96, 48, 0, 123, 124, 5, 0, 0, 1, 124, + 5, 1, 0, 0, 0, 125, 126, 3, 100, 50, 0, 126, 127, 5, 0, 0, 1, 127, 7, 1, + 0, 0, 0, 128, 143, 5, 114, 0, 0, 129, 131, 7, 0, 0, 0, 130, 129, 1, 0, + 0, 0, 130, 131, 1, 0, 0, 0, 131, 132, 1, 0, 0, 0, 132, 143, 5, 117, 0, + 0, 133, 135, 7, 0, 0, 0, 134, 133, 1, 0, 0, 0, 134, 135, 1, 0, 0, 0, 135, + 136, 1, 0, 0, 0, 136, 137, 5, 117, 0, 0, 137, 138, 5, 12, 0, 0, 138, 143, + 5, 117, 0, 0, 139, 143, 7, 1, 0, 0, 140, 143, 5, 52, 0, 0, 141, 143, 5, + 118, 0, 0, 142, 128, 1, 0, 0, 0, 142, 130, 1, 0, 0, 0, 142, 134, 1, 0, + 0, 0, 142, 139, 1, 0, 0, 0, 142, 140, 1, 0, 0, 0, 142, 141, 1, 0, 0, 0, + 143, 9, 1, 0, 0, 0, 144, 145, 5, 32, 0, 0, 145, 146, 5, 125, 0, 0, 146, + 149, 5, 32, 0, 0, 147, 149, 5, 125, 0, 0, 148, 144, 1, 0, 0, 0, 148, 147, + 1, 0, 0, 0, 149, 11, 1, 0, 0, 0, 150, 155, 3, 10, 5, 0, 151, 152, 5, 9, + 0, 0, 152, 154, 3, 10, 5, 0, 153, 151, 1, 0, 0, 0, 154, 157, 1, 0, 0, 0, + 155, 153, 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, 156, 13, 1, 0, 0, 0, 157, 155, + 1, 0, 0, 0, 158, 164, 5, 125, 0, 0, 159, 160, 5, 7, 0, 0, 160, 161, 5, + 117, 0, 0, 161, 162, 5, 9, 0, 0, 162, 163, 5, 117, 0, 0, 163, 165, 5, 8, + 0, 0, 164, 159, 1, 0, 0, 0, 164, 165, 1, 0, 0, 0, 165, 168, 1, 0, 0, 0, + 166, 167, 5, 3, 0, 0, 167, 169, 5, 4, 0, 0, 168, 166, 1, 0, 0, 0, 168, + 169, 1, 0, 0, 0, 169, 15, 1, 0, 0, 0, 170, 171, 5, 28, 0, 0, 171, 172, + 3, 14, 7, 0, 172, 17, 1, 0, 0, 0, 173, 174, 7, 2, 0, 0, 174, 19, 1, 0, + 0, 0, 175, 180, 3, 18, 9, 0, 176, 177, 5, 9, 0, 0, 177, 179, 3, 18, 9, + 0, 178, 176, 1, 0, 0, 0, 179, 182, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 180, + 181, 1, 0, 0, 0, 181, 21, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 183, 191, 3, + 26, 13, 0, 184, 190, 3, 28, 14, 0, 185, 190, 3, 30, 15, 0, 186, 190, 3, + 50, 25, 0, 187, 190, 3, 52, 26, 0, 188, 190, 3, 54, 27, 0, 189, 184, 1, + 0, 0, 0, 189, 185, 1, 0, 0, 0, 189, 186, 1, 0, 0, 0, 189, 187, 1, 0, 0, + 0, 189, 188, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 189, 1, 0, 0, 0, 191, + 192, 1, 0, 0, 0, 192, 23, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 195, 5, + 127, 0, 0, 195, 208, 5, 7, 0, 0, 196, 197, 5, 125, 0, 0, 197, 198, 5, 15, + 0, 0, 198, 205, 3, 8, 4, 0, 199, 200, 5, 9, 0, 0, 200, 201, 5, 125, 0, + 0, 201, 202, 5, 15, 0, 0, 202, 204, 3, 8, 4, 0, 203, 199, 1, 0, 0, 0, 204, + 207, 1, 0, 0, 0, 205, 203, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 209, + 1, 0, 0, 0, 207, 205, 1, 0, 0, 0, 208, 196, 1, 0, 0, 0, 208, 209, 1, 0, + 0, 0, 209, 210, 1, 0, 0, 0, 210, 211, 5, 8, 0, 0, 211, 25, 1, 0, 0, 0, + 212, 213, 5, 33, 0, 0, 213, 214, 5, 125, 0, 0, 214, 215, 5, 6, 0, 0, 215, + 27, 1, 0, 0, 0, 216, 217, 5, 34, 0, 0, 217, 233, 5, 125, 0, 0, 218, 219, + 5, 1, 0, 0, 219, 220, 5, 125, 0, 0, 220, 221, 5, 5, 0, 0, 221, 228, 3, + 8, 4, 0, 222, 223, 5, 9, 0, 0, 223, 224, 5, 125, 0, 0, 224, 225, 5, 5, + 0, 0, 225, 227, 3, 8, 4, 0, 226, 222, 1, 0, 0, 0, 227, 230, 1, 0, 0, 0, + 228, 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 231, 1, 0, 0, 0, 230, + 228, 1, 0, 0, 0, 231, 232, 5, 2, 0, 0, 232, 234, 1, 0, 0, 0, 233, 218, + 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 236, 5, 73, + 0, 0, 236, 237, 5, 125, 0, 0, 237, 238, 5, 6, 0, 0, 238, 29, 1, 0, 0, 0, + 239, 240, 5, 35, 0, 0, 240, 241, 5, 125, 0, 0, 241, 242, 5, 1, 0, 0, 242, + 251, 3, 32, 16, 0, 243, 247, 5, 9, 0, 0, 244, 248, 3, 32, 16, 0, 245, 248, + 3, 34, 17, 0, 246, 248, 3, 36, 18, 0, 247, 244, 1, 0, 0, 0, 247, 245, 1, + 0, 0, 0, 247, 246, 1, 0, 0, 0, 248, 250, 1, 0, 0, 0, 249, 243, 1, 0, 0, + 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, + 254, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 254, 255, 5, 2, 0, 0, 255, 31, 1, + 0, 0, 0, 256, 257, 5, 125, 0, 0, 257, 261, 3, 14, 7, 0, 258, 260, 3, 46, + 23, 0, 259, 258, 1, 0, 0, 0, 260, 263, 1, 0, 0, 0, 261, 259, 1, 0, 0, 0, + 261, 262, 1, 0, 0, 0, 262, 33, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 264, 265, + 5, 128, 0, 0, 265, 266, 7, 3, 0, 0, 266, 267, 5, 7, 0, 0, 267, 268, 3, + 12, 6, 0, 268, 269, 5, 8, 0, 0, 269, 35, 1, 0, 0, 0, 270, 271, 5, 42, 0, + 0, 271, 274, 5, 44, 0, 0, 272, 274, 5, 119, 0, 0, 273, 270, 1, 0, 0, 0, + 273, 272, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 276, 5, 7, 0, 0, 276, + 277, 3, 12, 6, 0, 277, 278, 5, 8, 0, 0, 278, 279, 7, 4, 0, 0, 279, 280, + 5, 125, 0, 0, 280, 281, 5, 7, 0, 0, 281, 282, 3, 12, 6, 0, 282, 286, 5, + 8, 0, 0, 283, 285, 3, 38, 19, 0, 284, 283, 1, 0, 0, 0, 285, 288, 1, 0, + 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 37, 1, 0, 0, 0, + 288, 286, 1, 0, 0, 0, 289, 290, 5, 45, 0, 0, 290, 293, 5, 54, 0, 0, 291, + 293, 5, 120, 0, 0, 292, 289, 1, 0, 0, 0, 292, 291, 1, 0, 0, 0, 293, 300, + 1, 0, 0, 0, 294, 295, 5, 45, 0, 0, 295, 298, 5, 53, 0, 0, 296, 298, 5, + 121, 0, 0, 297, 294, 1, 0, 0, 0, 297, 296, 1, 0, 0, 0, 298, 300, 1, 0, + 0, 0, 299, 292, 1, 0, 0, 0, 299, 297, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, + 301, 303, 5, 46, 0, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, + 321, 1, 0, 0, 0, 304, 305, 5, 83, 0, 0, 305, 308, 5, 36, 0, 0, 306, 308, + 5, 124, 0, 0, 307, 304, 1, 0, 0, 0, 307, 306, 1, 0, 0, 0, 308, 322, 1, + 0, 0, 0, 309, 322, 5, 48, 0, 0, 310, 311, 5, 50, 0, 0, 311, 314, 5, 52, + 0, 0, 312, 314, 5, 123, 0, 0, 313, 310, 1, 0, 0, 0, 313, 312, 1, 0, 0, + 0, 314, 322, 1, 0, 0, 0, 315, 316, 5, 50, 0, 0, 316, 319, 5, 51, 0, 0, + 317, 319, 5, 122, 0, 0, 318, 315, 1, 0, 0, 0, 318, 317, 1, 0, 0, 0, 319, + 322, 1, 0, 0, 0, 320, 322, 5, 49, 0, 0, 321, 307, 1, 0, 0, 0, 321, 309, + 1, 0, 0, 0, 321, 313, 1, 0, 0, 0, 321, 318, 1, 0, 0, 0, 321, 320, 1, 0, + 0, 0, 322, 39, 1, 0, 0, 0, 323, 328, 3, 14, 7, 0, 324, 325, 5, 9, 0, 0, + 325, 327, 3, 14, 7, 0, 326, 324, 1, 0, 0, 0, 327, 330, 1, 0, 0, 0, 328, + 326, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 41, 1, 0, 0, 0, 330, 328, 1, + 0, 0, 0, 331, 332, 5, 125, 0, 0, 332, 338, 3, 14, 7, 0, 333, 334, 5, 9, + 0, 0, 334, 335, 5, 125, 0, 0, 335, 337, 3, 14, 7, 0, 336, 333, 1, 0, 0, + 0, 337, 340, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 338, 339, 1, 0, 0, 0, 339, + 43, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 341, 342, 3, 18, 9, 0, 342, 349, + 3, 14, 7, 0, 343, 344, 5, 9, 0, 0, 344, 345, 3, 18, 9, 0, 345, 346, 3, + 14, 7, 0, 346, 348, 1, 0, 0, 0, 347, 343, 1, 0, 0, 0, 348, 351, 1, 0, 0, + 0, 349, 347, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 45, 1, 0, 0, 0, 351, + 349, 1, 0, 0, 0, 352, 362, 5, 125, 0, 0, 353, 355, 5, 43, 0, 0, 354, 356, + 5, 44, 0, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 362, 1, 0, + 0, 0, 357, 358, 5, 57, 0, 0, 358, 362, 5, 52, 0, 0, 359, 362, 5, 51, 0, + 0, 360, 362, 5, 47, 0, 0, 361, 352, 1, 0, 0, 0, 361, 353, 1, 0, 0, 0, 361, + 357, 1, 0, 0, 0, 361, 359, 1, 0, 0, 0, 361, 360, 1, 0, 0, 0, 362, 367, + 1, 0, 0, 0, 363, 364, 5, 7, 0, 0, 364, 365, 3, 8, 4, 0, 365, 366, 5, 8, + 0, 0, 366, 368, 1, 0, 0, 0, 367, 363, 1, 0, 0, 0, 367, 368, 1, 0, 0, 0, + 368, 47, 1, 0, 0, 0, 369, 370, 7, 5, 0, 0, 370, 49, 1, 0, 0, 0, 371, 373, + 3, 24, 12, 0, 372, 371, 1, 0, 0, 0, 373, 376, 1, 0, 0, 0, 374, 372, 1, + 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 377, 1, 0, 0, 0, 376, 374, 1, 0, 0, + 0, 377, 378, 5, 36, 0, 0, 378, 379, 5, 125, 0, 0, 379, 381, 5, 7, 0, 0, + 380, 382, 3, 20, 10, 0, 381, 380, 1, 0, 0, 0, 381, 382, 1, 0, 0, 0, 382, + 383, 1, 0, 0, 0, 383, 385, 5, 8, 0, 0, 384, 386, 3, 48, 24, 0, 385, 384, + 1, 0, 0, 0, 386, 387, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 387, 388, 1, 0, + 0, 0, 388, 389, 1, 0, 0, 0, 389, 390, 5, 1, 0, 0, 390, 391, 3, 96, 48, + 0, 391, 392, 5, 2, 0, 0, 392, 51, 1, 0, 0, 0, 393, 395, 3, 24, 12, 0, 394, + 393, 1, 0, 0, 0, 395, 398, 1, 0, 0, 0, 396, 394, 1, 0, 0, 0, 396, 397, + 1, 0, 0, 0, 397, 399, 1, 0, 0, 0, 398, 396, 1, 0, 0, 0, 399, 400, 5, 37, + 0, 0, 400, 401, 5, 125, 0, 0, 401, 403, 5, 7, 0, 0, 402, 404, 3, 44, 22, + 0, 403, 402, 1, 0, 0, 0, 403, 404, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, + 407, 5, 8, 0, 0, 406, 408, 3, 48, 24, 0, 407, 406, 1, 0, 0, 0, 408, 409, + 1, 0, 0, 0, 409, 407, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 412, 1, 0, + 0, 0, 411, 413, 3, 56, 28, 0, 412, 411, 1, 0, 0, 0, 412, 413, 1, 0, 0, + 0, 413, 414, 1, 0, 0, 0, 414, 415, 5, 1, 0, 0, 415, 416, 3, 100, 50, 0, + 416, 417, 5, 2, 0, 0, 417, 53, 1, 0, 0, 0, 418, 419, 5, 42, 0, 0, 419, + 420, 5, 37, 0, 0, 420, 421, 5, 125, 0, 0, 421, 424, 5, 7, 0, 0, 422, 425, + 3, 40, 20, 0, 423, 425, 3, 44, 22, 0, 424, 422, 1, 0, 0, 0, 424, 423, 1, + 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 428, 5, 8, 0, + 0, 427, 429, 3, 56, 28, 0, 428, 427, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, + 429, 55, 1, 0, 0, 0, 430, 442, 5, 82, 0, 0, 431, 433, 5, 35, 0, 0, 432, + 431, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 435, + 5, 7, 0, 0, 435, 436, 3, 42, 21, 0, 436, 437, 5, 8, 0, 0, 437, 443, 1, + 0, 0, 0, 438, 439, 5, 7, 0, 0, 439, 440, 3, 40, 20, 0, 440, 441, 5, 8, + 0, 0, 441, 443, 1, 0, 0, 0, 442, 432, 1, 0, 0, 0, 442, 438, 1, 0, 0, 0, + 443, 57, 1, 0, 0, 0, 444, 445, 3, 60, 30, 0, 445, 446, 5, 6, 0, 0, 446, + 59, 1, 0, 0, 0, 447, 448, 5, 84, 0, 0, 448, 453, 3, 62, 31, 0, 449, 450, + 5, 9, 0, 0, 450, 452, 3, 62, 31, 0, 451, 449, 1, 0, 0, 0, 452, 455, 1, + 0, 0, 0, 453, 451, 1, 0, 0, 0, 453, 454, 1, 0, 0, 0, 454, 457, 1, 0, 0, + 0, 455, 453, 1, 0, 0, 0, 456, 447, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, + 462, 1, 0, 0, 0, 458, 463, 3, 64, 32, 0, 459, 463, 3, 78, 39, 0, 460, 463, + 3, 82, 41, 0, 461, 463, 3, 86, 43, 0, 462, 458, 1, 0, 0, 0, 462, 459, 1, + 0, 0, 0, 462, 460, 1, 0, 0, 0, 462, 461, 1, 0, 0, 0, 463, 61, 1, 0, 0, + 0, 464, 477, 3, 10, 5, 0, 465, 474, 5, 7, 0, 0, 466, 471, 3, 10, 5, 0, + 467, 468, 5, 9, 0, 0, 468, 470, 3, 10, 5, 0, 469, 467, 1, 0, 0, 0, 470, + 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 475, + 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 466, 1, 0, 0, 0, 474, 475, 1, 0, + 0, 0, 475, 476, 1, 0, 0, 0, 476, 478, 5, 8, 0, 0, 477, 465, 1, 0, 0, 0, + 477, 478, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 480, 5, 73, 0, 0, 480, + 481, 5, 7, 0, 0, 481, 482, 3, 64, 32, 0, 482, 483, 5, 8, 0, 0, 483, 63, + 1, 0, 0, 0, 484, 490, 3, 70, 35, 0, 485, 486, 3, 66, 33, 0, 486, 487, 3, + 70, 35, 0, 487, 489, 1, 0, 0, 0, 488, 485, 1, 0, 0, 0, 489, 492, 1, 0, + 0, 0, 490, 488, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 503, 1, 0, 0, 0, + 492, 490, 1, 0, 0, 0, 493, 494, 5, 78, 0, 0, 494, 495, 5, 79, 0, 0, 495, + 500, 3, 68, 34, 0, 496, 497, 5, 9, 0, 0, 497, 499, 3, 68, 34, 0, 498, 496, + 1, 0, 0, 0, 499, 502, 1, 0, 0, 0, 500, 498, 1, 0, 0, 0, 500, 501, 1, 0, + 0, 0, 501, 504, 1, 0, 0, 0, 502, 500, 1, 0, 0, 0, 503, 493, 1, 0, 0, 0, + 503, 504, 1, 0, 0, 0, 504, 507, 1, 0, 0, 0, 505, 506, 5, 76, 0, 0, 506, + 508, 3, 88, 44, 0, 507, 505, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 511, + 1, 0, 0, 0, 509, 510, 5, 77, 0, 0, 510, 512, 3, 88, 44, 0, 511, 509, 1, + 0, 0, 0, 511, 512, 1, 0, 0, 0, 512, 65, 1, 0, 0, 0, 513, 515, 5, 97, 0, + 0, 514, 516, 5, 67, 0, 0, 515, 514, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, + 520, 1, 0, 0, 0, 517, 520, 5, 98, 0, 0, 518, 520, 5, 99, 0, 0, 519, 513, + 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 519, 518, 1, 0, 0, 0, 520, 67, 1, 0, + 0, 0, 521, 523, 3, 88, 44, 0, 522, 524, 7, 6, 0, 0, 523, 522, 1, 0, 0, + 0, 523, 524, 1, 0, 0, 0, 524, 527, 1, 0, 0, 0, 525, 526, 5, 100, 0, 0, + 526, 528, 7, 7, 0, 0, 527, 525, 1, 0, 0, 0, 527, 528, 1, 0, 0, 0, 528, + 69, 1, 0, 0, 0, 529, 531, 5, 93, 0, 0, 530, 532, 5, 89, 0, 0, 531, 530, + 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 538, 3, 76, + 38, 0, 534, 535, 5, 9, 0, 0, 535, 537, 3, 76, 38, 0, 536, 534, 1, 0, 0, + 0, 537, 540, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, + 549, 1, 0, 0, 0, 540, 538, 1, 0, 0, 0, 541, 542, 5, 90, 0, 0, 542, 546, + 3, 72, 36, 0, 543, 545, 3, 74, 37, 0, 544, 543, 1, 0, 0, 0, 545, 548, 1, + 0, 0, 0, 546, 544, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 550, 1, 0, 0, + 0, 548, 546, 1, 0, 0, 0, 549, 541, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550, + 553, 1, 0, 0, 0, 551, 552, 5, 91, 0, 0, 552, 554, 3, 88, 44, 0, 553, 551, + 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 562, 1, 0, 0, 0, 555, 556, 5, 80, + 0, 0, 556, 557, 5, 79, 0, 0, 557, 560, 3, 92, 46, 0, 558, 559, 5, 81, 0, + 0, 559, 561, 3, 88, 44, 0, 560, 558, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, + 561, 563, 1, 0, 0, 0, 562, 555, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, + 71, 1, 0, 0, 0, 564, 569, 3, 10, 5, 0, 565, 567, 5, 73, 0, 0, 566, 565, + 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 570, 3, 10, + 5, 0, 569, 566, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 588, 1, 0, 0, 0, + 571, 572, 5, 7, 0, 0, 572, 573, 3, 64, 32, 0, 573, 578, 5, 8, 0, 0, 574, + 576, 5, 73, 0, 0, 575, 574, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, + 1, 0, 0, 0, 577, 579, 3, 10, 5, 0, 578, 575, 1, 0, 0, 0, 578, 579, 1, 0, + 0, 0, 579, 588, 1, 0, 0, 0, 580, 582, 3, 94, 47, 0, 581, 583, 5, 73, 0, + 0, 582, 581, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 585, 1, 0, 0, 0, 584, + 586, 3, 10, 5, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 588, + 1, 0, 0, 0, 587, 564, 1, 0, 0, 0, 587, 571, 1, 0, 0, 0, 587, 580, 1, 0, + 0, 0, 588, 73, 1, 0, 0, 0, 589, 591, 7, 8, 0, 0, 590, 589, 1, 0, 0, 0, + 590, 591, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 5, 69, 0, 0, 593, + 594, 3, 72, 36, 0, 594, 595, 5, 45, 0, 0, 595, 596, 3, 88, 44, 0, 596, + 75, 1, 0, 0, 0, 597, 602, 3, 88, 44, 0, 598, 600, 5, 73, 0, 0, 599, 598, + 1, 0, 0, 0, 599, 600, 1, 0, 0, 0, 600, 601, 1, 0, 0, 0, 601, 603, 3, 10, + 5, 0, 602, 599, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 611, 1, 0, 0, 0, + 604, 605, 3, 10, 5, 0, 605, 606, 5, 12, 0, 0, 606, 608, 1, 0, 0, 0, 607, + 604, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 609, 1, 0, 0, 0, 609, 611, + 5, 14, 0, 0, 610, 597, 1, 0, 0, 0, 610, 607, 1, 0, 0, 0, 611, 77, 1, 0, + 0, 0, 612, 613, 5, 54, 0, 0, 613, 618, 3, 10, 5, 0, 614, 616, 5, 73, 0, + 0, 615, 614, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, + 619, 3, 10, 5, 0, 618, 615, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 620, + 1, 0, 0, 0, 620, 621, 5, 50, 0, 0, 621, 626, 3, 80, 40, 0, 622, 623, 5, + 9, 0, 0, 623, 625, 3, 80, 40, 0, 624, 622, 1, 0, 0, 0, 625, 628, 1, 0, + 0, 0, 626, 624, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 637, 1, 0, 0, 0, + 628, 626, 1, 0, 0, 0, 629, 630, 5, 90, 0, 0, 630, 634, 3, 72, 36, 0, 631, + 633, 3, 74, 37, 0, 632, 631, 1, 0, 0, 0, 633, 636, 1, 0, 0, 0, 634, 632, + 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 638, 1, 0, 0, 0, 636, 634, 1, 0, + 0, 0, 637, 629, 1, 0, 0, 0, 637, 638, 1, 0, 0, 0, 638, 641, 1, 0, 0, 0, + 639, 640, 5, 91, 0, 0, 640, 642, 3, 88, 44, 0, 641, 639, 1, 0, 0, 0, 641, + 642, 1, 0, 0, 0, 642, 79, 1, 0, 0, 0, 643, 644, 3, 10, 5, 0, 644, 645, + 5, 15, 0, 0, 645, 646, 3, 88, 44, 0, 646, 81, 1, 0, 0, 0, 647, 648, 5, + 94, 0, 0, 648, 649, 5, 104, 0, 0, 649, 654, 3, 10, 5, 0, 650, 652, 5, 73, + 0, 0, 651, 650, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 653, 1, 0, 0, 0, + 653, 655, 3, 10, 5, 0, 654, 651, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 655, + 660, 1, 0, 0, 0, 656, 657, 5, 7, 0, 0, 657, 658, 3, 12, 6, 0, 658, 659, + 5, 8, 0, 0, 659, 661, 1, 0, 0, 0, 660, 656, 1, 0, 0, 0, 660, 661, 1, 0, + 0, 0, 661, 662, 1, 0, 0, 0, 662, 663, 5, 95, 0, 0, 663, 664, 5, 7, 0, 0, + 664, 665, 3, 92, 46, 0, 665, 673, 5, 8, 0, 0, 666, 667, 5, 9, 0, 0, 667, + 668, 5, 7, 0, 0, 668, 669, 3, 92, 46, 0, 669, 670, 5, 8, 0, 0, 670, 672, + 1, 0, 0, 0, 671, 666, 1, 0, 0, 0, 672, 675, 1, 0, 0, 0, 673, 671, 1, 0, + 0, 0, 673, 674, 1, 0, 0, 0, 674, 677, 1, 0, 0, 0, 675, 673, 1, 0, 0, 0, + 676, 678, 3, 84, 42, 0, 677, 676, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, + 83, 1, 0, 0, 0, 679, 680, 5, 45, 0, 0, 680, 688, 5, 105, 0, 0, 681, 682, + 5, 7, 0, 0, 682, 683, 3, 12, 6, 0, 683, 686, 5, 8, 0, 0, 684, 685, 5, 91, + 0, 0, 685, 687, 3, 88, 44, 0, 686, 684, 1, 0, 0, 0, 686, 687, 1, 0, 0, + 0, 687, 689, 1, 0, 0, 0, 688, 681, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, + 690, 1, 0, 0, 0, 690, 706, 5, 46, 0, 0, 691, 707, 5, 106, 0, 0, 692, 693, + 5, 54, 0, 0, 693, 694, 5, 50, 0, 0, 694, 699, 3, 80, 40, 0, 695, 696, 5, + 9, 0, 0, 696, 698, 3, 80, 40, 0, 697, 695, 1, 0, 0, 0, 698, 701, 1, 0, + 0, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 704, 1, 0, 0, 0, + 701, 699, 1, 0, 0, 0, 702, 703, 5, 91, 0, 0, 703, 705, 3, 88, 44, 0, 704, + 702, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 707, 1, 0, 0, 0, 706, 691, + 1, 0, 0, 0, 706, 692, 1, 0, 0, 0, 707, 85, 1, 0, 0, 0, 708, 709, 5, 53, + 0, 0, 709, 710, 5, 90, 0, 0, 710, 715, 3, 10, 5, 0, 711, 713, 5, 73, 0, + 0, 712, 711, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 714, 1, 0, 0, 0, 714, + 716, 3, 10, 5, 0, 715, 712, 1, 0, 0, 0, 715, 716, 1, 0, 0, 0, 716, 719, + 1, 0, 0, 0, 717, 718, 5, 91, 0, 0, 718, 720, 3, 88, 44, 0, 719, 717, 1, + 0, 0, 0, 719, 720, 1, 0, 0, 0, 720, 87, 1, 0, 0, 0, 721, 722, 6, 44, -1, + 0, 722, 724, 3, 8, 4, 0, 723, 725, 3, 16, 8, 0, 724, 723, 1, 0, 0, 0, 724, + 725, 1, 0, 0, 0, 725, 779, 1, 0, 0, 0, 726, 728, 3, 94, 47, 0, 727, 729, + 3, 16, 8, 0, 728, 727, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 779, 1, 0, + 0, 0, 730, 732, 3, 18, 9, 0, 731, 733, 3, 16, 8, 0, 732, 731, 1, 0, 0, + 0, 732, 733, 1, 0, 0, 0, 733, 779, 1, 0, 0, 0, 734, 735, 3, 10, 5, 0, 735, + 736, 5, 12, 0, 0, 736, 738, 1, 0, 0, 0, 737, 734, 1, 0, 0, 0, 737, 738, + 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 741, 3, 10, 5, 0, 740, 742, 3, 16, + 8, 0, 741, 740, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 779, 1, 0, 0, 0, + 743, 744, 5, 7, 0, 0, 744, 745, 3, 88, 44, 0, 745, 747, 5, 8, 0, 0, 746, + 748, 3, 16, 8, 0, 747, 746, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 779, + 1, 0, 0, 0, 749, 750, 7, 9, 0, 0, 750, 779, 3, 88, 44, 10, 751, 753, 5, + 85, 0, 0, 752, 754, 3, 88, 44, 0, 753, 752, 1, 0, 0, 0, 753, 754, 1, 0, + 0, 0, 754, 756, 1, 0, 0, 0, 755, 757, 3, 90, 45, 0, 756, 755, 1, 0, 0, + 0, 757, 758, 1, 0, 0, 0, 758, 756, 1, 0, 0, 0, 758, 759, 1, 0, 0, 0, 759, + 762, 1, 0, 0, 0, 760, 761, 5, 110, 0, 0, 761, 763, 3, 88, 44, 0, 762, 760, + 1, 0, 0, 0, 762, 763, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 765, 5, 88, + 0, 0, 765, 779, 1, 0, 0, 0, 766, 768, 5, 57, 0, 0, 767, 766, 1, 0, 0, 0, + 767, 768, 1, 0, 0, 0, 768, 769, 1, 0, 0, 0, 769, 771, 5, 66, 0, 0, 770, + 767, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, + 5, 7, 0, 0, 773, 774, 3, 64, 32, 0, 774, 776, 5, 8, 0, 0, 775, 777, 3, + 16, 8, 0, 776, 775, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 779, 1, 0, 0, + 0, 778, 721, 1, 0, 0, 0, 778, 726, 1, 0, 0, 0, 778, 730, 1, 0, 0, 0, 778, + 737, 1, 0, 0, 0, 778, 743, 1, 0, 0, 0, 778, 749, 1, 0, 0, 0, 778, 751, + 1, 0, 0, 0, 778, 770, 1, 0, 0, 0, 779, 856, 1, 0, 0, 0, 780, 781, 10, 13, + 0, 0, 781, 782, 7, 10, 0, 0, 782, 855, 3, 88, 44, 14, 783, 785, 10, 11, + 0, 0, 784, 786, 5, 57, 0, 0, 785, 784, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, + 786, 787, 1, 0, 0, 0, 787, 788, 7, 11, 0, 0, 788, 855, 3, 88, 44, 12, 789, + 791, 10, 9, 0, 0, 790, 792, 5, 57, 0, 0, 791, 790, 1, 0, 0, 0, 791, 792, + 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 794, 5, 64, 0, 0, 794, 795, 3, 88, + 44, 0, 795, 796, 5, 59, 0, 0, 796, 797, 3, 88, 44, 10, 797, 855, 1, 0, + 0, 0, 798, 799, 10, 5, 0, 0, 799, 800, 5, 13, 0, 0, 800, 855, 3, 88, 44, + 6, 801, 802, 10, 4, 0, 0, 802, 803, 7, 12, 0, 0, 803, 855, 3, 88, 44, 5, + 804, 805, 10, 3, 0, 0, 805, 806, 7, 0, 0, 0, 806, 855, 3, 88, 44, 4, 807, + 808, 10, 2, 0, 0, 808, 809, 5, 59, 0, 0, 809, 855, 3, 88, 44, 3, 810, 811, + 10, 1, 0, 0, 811, 812, 5, 60, 0, 0, 812, 855, 3, 88, 44, 2, 813, 814, 10, + 20, 0, 0, 814, 815, 5, 92, 0, 0, 815, 855, 3, 10, 5, 0, 816, 817, 10, 16, + 0, 0, 817, 818, 5, 3, 0, 0, 818, 819, 3, 88, 44, 0, 819, 821, 5, 4, 0, + 0, 820, 822, 3, 16, 8, 0, 821, 820, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, + 855, 1, 0, 0, 0, 823, 824, 10, 15, 0, 0, 824, 825, 5, 12, 0, 0, 825, 827, + 3, 10, 5, 0, 826, 828, 3, 16, 8, 0, 827, 826, 1, 0, 0, 0, 827, 828, 1, + 0, 0, 0, 828, 855, 1, 0, 0, 0, 829, 831, 10, 12, 0, 0, 830, 832, 5, 57, + 0, 0, 831, 830, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 833, 1, 0, 0, 0, + 833, 834, 5, 63, 0, 0, 834, 837, 5, 7, 0, 0, 835, 838, 3, 92, 46, 0, 836, + 838, 3, 64, 32, 0, 837, 835, 1, 0, 0, 0, 837, 836, 1, 0, 0, 0, 838, 839, + 1, 0, 0, 0, 839, 840, 5, 8, 0, 0, 840, 855, 1, 0, 0, 0, 841, 842, 10, 8, + 0, 0, 842, 844, 5, 65, 0, 0, 843, 845, 5, 57, 0, 0, 844, 843, 1, 0, 0, + 0, 844, 845, 1, 0, 0, 0, 845, 852, 1, 0, 0, 0, 846, 847, 5, 89, 0, 0, 847, + 848, 5, 90, 0, 0, 848, 853, 3, 88, 44, 0, 849, 853, 5, 52, 0, 0, 850, 853, + 5, 115, 0, 0, 851, 853, 5, 116, 0, 0, 852, 846, 1, 0, 0, 0, 852, 849, 1, + 0, 0, 0, 852, 850, 1, 0, 0, 0, 852, 851, 1, 0, 0, 0, 853, 855, 1, 0, 0, + 0, 854, 780, 1, 0, 0, 0, 854, 783, 1, 0, 0, 0, 854, 789, 1, 0, 0, 0, 854, + 798, 1, 0, 0, 0, 854, 801, 1, 0, 0, 0, 854, 804, 1, 0, 0, 0, 854, 807, + 1, 0, 0, 0, 854, 810, 1, 0, 0, 0, 854, 813, 1, 0, 0, 0, 854, 816, 1, 0, + 0, 0, 854, 823, 1, 0, 0, 0, 854, 829, 1, 0, 0, 0, 854, 841, 1, 0, 0, 0, + 855, 858, 1, 0, 0, 0, 856, 854, 1, 0, 0, 0, 856, 857, 1, 0, 0, 0, 857, + 89, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 859, 860, 5, 86, 0, 0, 860, 861, + 3, 88, 44, 0, 861, 862, 5, 87, 0, 0, 862, 863, 3, 88, 44, 0, 863, 91, 1, + 0, 0, 0, 864, 869, 3, 88, 44, 0, 865, 866, 5, 9, 0, 0, 866, 868, 3, 88, + 44, 0, 867, 865, 1, 0, 0, 0, 868, 871, 1, 0, 0, 0, 869, 867, 1, 0, 0, 0, + 869, 870, 1, 0, 0, 0, 870, 93, 1, 0, 0, 0, 871, 869, 1, 0, 0, 0, 872, 873, + 3, 10, 5, 0, 873, 879, 5, 7, 0, 0, 874, 876, 5, 89, 0, 0, 875, 874, 1, + 0, 0, 0, 875, 876, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 880, 3, 92, 46, + 0, 878, 880, 5, 14, 0, 0, 879, 875, 1, 0, 0, 0, 879, 878, 1, 0, 0, 0, 879, + 880, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 882, 5, 8, 0, 0, 882, 896, + 1, 0, 0, 0, 883, 884, 3, 10, 5, 0, 884, 885, 5, 3, 0, 0, 885, 886, 3, 88, + 44, 0, 886, 887, 5, 9, 0, 0, 887, 888, 3, 88, 44, 0, 888, 889, 5, 4, 0, + 0, 889, 891, 5, 7, 0, 0, 890, 892, 3, 92, 46, 0, 891, 890, 1, 0, 0, 0, + 891, 892, 1, 0, 0, 0, 892, 893, 1, 0, 0, 0, 893, 894, 5, 8, 0, 0, 894, + 896, 1, 0, 0, 0, 895, 872, 1, 0, 0, 0, 895, 883, 1, 0, 0, 0, 896, 95, 1, + 0, 0, 0, 897, 898, 3, 98, 49, 0, 898, 899, 5, 6, 0, 0, 899, 901, 1, 0, + 0, 0, 900, 897, 1, 0, 0, 0, 901, 904, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, + 902, 903, 1, 0, 0, 0, 903, 97, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 905, 926, + 3, 60, 30, 0, 906, 907, 5, 125, 0, 0, 907, 909, 5, 7, 0, 0, 908, 910, 3, + 104, 52, 0, 909, 908, 1, 0, 0, 0, 909, 910, 1, 0, 0, 0, 910, 911, 1, 0, + 0, 0, 911, 926, 5, 8, 0, 0, 912, 913, 3, 20, 10, 0, 913, 914, 5, 15, 0, + 0, 914, 916, 1, 0, 0, 0, 915, 912, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, + 917, 1, 0, 0, 0, 917, 918, 5, 125, 0, 0, 918, 919, 5, 12, 0, 0, 919, 920, + 5, 125, 0, 0, 920, 922, 5, 7, 0, 0, 921, 923, 3, 104, 52, 0, 922, 921, + 1, 0, 0, 0, 922, 923, 1, 0, 0, 0, 923, 924, 1, 0, 0, 0, 924, 926, 5, 8, + 0, 0, 925, 905, 1, 0, 0, 0, 925, 906, 1, 0, 0, 0, 925, 915, 1, 0, 0, 0, + 926, 99, 1, 0, 0, 0, 927, 929, 3, 106, 53, 0, 928, 927, 1, 0, 0, 0, 929, + 932, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 930, 931, 1, 0, 0, 0, 931, 101, + 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 933, 934, 6, 51, -1, 0, 934, 936, 3, + 8, 4, 0, 935, 937, 3, 16, 8, 0, 936, 935, 1, 0, 0, 0, 936, 937, 1, 0, 0, + 0, 937, 963, 1, 0, 0, 0, 938, 940, 3, 110, 55, 0, 939, 941, 3, 16, 8, 0, + 940, 939, 1, 0, 0, 0, 940, 941, 1, 0, 0, 0, 941, 963, 1, 0, 0, 0, 942, + 944, 3, 18, 9, 0, 943, 945, 3, 16, 8, 0, 944, 943, 1, 0, 0, 0, 944, 945, + 1, 0, 0, 0, 945, 963, 1, 0, 0, 0, 946, 948, 5, 3, 0, 0, 947, 949, 3, 104, + 52, 0, 948, 947, 1, 0, 0, 0, 948, 949, 1, 0, 0, 0, 949, 950, 1, 0, 0, 0, + 950, 952, 5, 4, 0, 0, 951, 953, 3, 16, 8, 0, 952, 951, 1, 0, 0, 0, 952, + 953, 1, 0, 0, 0, 953, 963, 1, 0, 0, 0, 954, 955, 5, 7, 0, 0, 955, 956, + 3, 102, 51, 0, 956, 958, 5, 8, 0, 0, 957, 959, 3, 16, 8, 0, 958, 957, 1, + 0, 0, 0, 958, 959, 1, 0, 0, 0, 959, 963, 1, 0, 0, 0, 960, 961, 7, 13, 0, + 0, 961, 963, 3, 102, 51, 6, 962, 933, 1, 0, 0, 0, 962, 938, 1, 0, 0, 0, + 962, 942, 1, 0, 0, 0, 962, 946, 1, 0, 0, 0, 962, 954, 1, 0, 0, 0, 962, + 960, 1, 0, 0, 0, 963, 1007, 1, 0, 0, 0, 964, 965, 10, 7, 0, 0, 965, 966, + 7, 10, 0, 0, 966, 1006, 3, 102, 51, 8, 967, 968, 10, 4, 0, 0, 968, 969, + 7, 14, 0, 0, 969, 1006, 3, 102, 51, 5, 970, 971, 10, 3, 0, 0, 971, 972, + 5, 13, 0, 0, 972, 1006, 3, 102, 51, 4, 973, 974, 10, 2, 0, 0, 974, 975, + 7, 12, 0, 0, 975, 1006, 3, 102, 51, 3, 976, 977, 10, 1, 0, 0, 977, 978, + 7, 0, 0, 0, 978, 1006, 3, 102, 51, 2, 979, 980, 10, 10, 0, 0, 980, 981, + 5, 3, 0, 0, 981, 982, 3, 102, 51, 0, 982, 984, 5, 4, 0, 0, 983, 985, 3, + 16, 8, 0, 984, 983, 1, 0, 0, 0, 984, 985, 1, 0, 0, 0, 985, 1006, 1, 0, + 0, 0, 986, 987, 10, 8, 0, 0, 987, 988, 5, 12, 0, 0, 988, 990, 5, 125, 0, + 0, 989, 991, 3, 16, 8, 0, 990, 989, 1, 0, 0, 0, 990, 991, 1, 0, 0, 0, 991, + 1006, 1, 0, 0, 0, 992, 993, 10, 5, 0, 0, 993, 995, 5, 65, 0, 0, 994, 996, + 5, 57, 0, 0, 995, 994, 1, 0, 0, 0, 995, 996, 1, 0, 0, 0, 996, 1003, 1, + 0, 0, 0, 997, 998, 5, 89, 0, 0, 998, 999, 5, 90, 0, 0, 999, 1004, 3, 102, + 51, 0, 1000, 1004, 5, 52, 0, 0, 1001, 1004, 5, 115, 0, 0, 1002, 1004, 5, + 116, 0, 0, 1003, 997, 1, 0, 0, 0, 1003, 1000, 1, 0, 0, 0, 1003, 1001, 1, + 0, 0, 0, 1003, 1002, 1, 0, 0, 0, 1004, 1006, 1, 0, 0, 0, 1005, 964, 1, + 0, 0, 0, 1005, 967, 1, 0, 0, 0, 1005, 970, 1, 0, 0, 0, 1005, 973, 1, 0, + 0, 0, 1005, 976, 1, 0, 0, 0, 1005, 979, 1, 0, 0, 0, 1005, 986, 1, 0, 0, + 0, 1005, 992, 1, 0, 0, 0, 1006, 1009, 1, 0, 0, 0, 1007, 1005, 1, 0, 0, + 0, 1007, 1008, 1, 0, 0, 0, 1008, 103, 1, 0, 0, 0, 1009, 1007, 1, 0, 0, + 0, 1010, 1015, 3, 102, 51, 0, 1011, 1012, 5, 9, 0, 0, 1012, 1014, 3, 102, + 51, 0, 1013, 1011, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1013, 1, 0, + 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 105, 1, 0, 0, 0, 1017, 1015, 1, 0, + 0, 0, 1018, 1019, 5, 126, 0, 0, 1019, 1020, 3, 14, 7, 0, 1020, 1021, 5, + 6, 0, 0, 1021, 1099, 1, 0, 0, 0, 1022, 1027, 3, 108, 54, 0, 1023, 1024, + 5, 9, 0, 0, 1024, 1026, 3, 108, 54, 0, 1025, 1023, 1, 0, 0, 0, 1026, 1029, + 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1027, 1028, 1, 0, 0, 0, 1028, 1030, + 1, 0, 0, 0, 1029, 1027, 1, 0, 0, 0, 1030, 1031, 5, 30, 0, 0, 1031, 1033, + 1, 0, 0, 0, 1032, 1022, 1, 0, 0, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1034, + 1, 0, 0, 0, 1034, 1035, 3, 110, 55, 0, 1035, 1036, 5, 6, 0, 0, 1036, 1099, + 1, 0, 0, 0, 1037, 1039, 3, 102, 51, 0, 1038, 1040, 3, 14, 7, 0, 1039, 1038, + 1, 0, 0, 0, 1039, 1040, 1, 0, 0, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1042, + 5, 30, 0, 0, 1042, 1043, 3, 102, 51, 0, 1043, 1044, 5, 6, 0, 0, 1044, 1099, + 1, 0, 0, 0, 1045, 1046, 5, 107, 0, 0, 1046, 1047, 5, 126, 0, 0, 1047, 1051, + 5, 63, 0, 0, 1048, 1052, 3, 114, 57, 0, 1049, 1052, 3, 18, 9, 0, 1050, + 1052, 3, 60, 30, 0, 1051, 1048, 1, 0, 0, 0, 1051, 1049, 1, 0, 0, 0, 1051, + 1050, 1, 0, 0, 0, 1052, 1053, 1, 0, 0, 0, 1053, 1057, 5, 1, 0, 0, 1054, + 1056, 3, 106, 53, 0, 1055, 1054, 1, 0, 0, 0, 1056, 1059, 1, 0, 0, 0, 1057, + 1055, 1, 0, 0, 0, 1057, 1058, 1, 0, 0, 0, 1058, 1060, 1, 0, 0, 0, 1059, + 1057, 1, 0, 0, 0, 1060, 1061, 5, 2, 0, 0, 1061, 1099, 1, 0, 0, 0, 1062, + 1063, 5, 108, 0, 0, 1063, 1068, 3, 112, 56, 0, 1064, 1065, 5, 109, 0, 0, + 1065, 1067, 3, 112, 56, 0, 1066, 1064, 1, 0, 0, 0, 1067, 1070, 1, 0, 0, + 0, 1068, 1066, 1, 0, 0, 0, 1068, 1069, 1, 0, 0, 0, 1069, 1080, 1, 0, 0, + 0, 1070, 1068, 1, 0, 0, 0, 1071, 1072, 5, 110, 0, 0, 1072, 1076, 5, 1, + 0, 0, 1073, 1075, 3, 106, 53, 0, 1074, 1073, 1, 0, 0, 0, 1075, 1078, 1, + 0, 0, 0, 1076, 1074, 1, 0, 0, 0, 1076, 1077, 1, 0, 0, 0, 1077, 1079, 1, + 0, 0, 0, 1078, 1076, 1, 0, 0, 0, 1079, 1081, 5, 2, 0, 0, 1080, 1071, 1, + 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1099, 1, 0, 0, 0, 1082, 1083, 3, + 60, 30, 0, 1083, 1084, 5, 6, 0, 0, 1084, 1099, 1, 0, 0, 0, 1085, 1086, + 5, 111, 0, 0, 1086, 1099, 5, 6, 0, 0, 1087, 1090, 5, 112, 0, 0, 1088, 1091, + 3, 104, 52, 0, 1089, 1091, 3, 60, 30, 0, 1090, 1088, 1, 0, 0, 0, 1090, + 1089, 1, 0, 0, 0, 1090, 1091, 1, 0, 0, 0, 1091, 1092, 1, 0, 0, 0, 1092, + 1099, 5, 6, 0, 0, 1093, 1094, 5, 112, 0, 0, 1094, 1095, 5, 113, 0, 0, 1095, + 1096, 3, 104, 52, 0, 1096, 1097, 5, 6, 0, 0, 1097, 1099, 1, 0, 0, 0, 1098, + 1018, 1, 0, 0, 0, 1098, 1032, 1, 0, 0, 0, 1098, 1037, 1, 0, 0, 0, 1098, + 1045, 1, 0, 0, 0, 1098, 1062, 1, 0, 0, 0, 1098, 1082, 1, 0, 0, 0, 1098, + 1085, 1, 0, 0, 0, 1098, 1087, 1, 0, 0, 0, 1098, 1093, 1, 0, 0, 0, 1099, + 107, 1, 0, 0, 0, 1100, 1101, 7, 15, 0, 0, 1101, 109, 1, 0, 0, 0, 1102, + 1103, 5, 125, 0, 0, 1103, 1105, 5, 7, 0, 0, 1104, 1106, 3, 104, 52, 0, + 1105, 1104, 1, 0, 0, 0, 1105, 1106, 1, 0, 0, 0, 1106, 1107, 1, 0, 0, 0, + 1107, 1121, 5, 8, 0, 0, 1108, 1109, 5, 125, 0, 0, 1109, 1110, 5, 3, 0, + 0, 1110, 1111, 3, 102, 51, 0, 1111, 1112, 5, 9, 0, 0, 1112, 1113, 3, 102, + 51, 0, 1113, 1114, 5, 4, 0, 0, 1114, 1116, 5, 7, 0, 0, 1115, 1117, 3, 104, + 52, 0, 1116, 1115, 1, 0, 0, 0, 1116, 1117, 1, 0, 0, 0, 1117, 1118, 1, 0, + 0, 0, 1118, 1119, 5, 8, 0, 0, 1119, 1121, 1, 0, 0, 0, 1120, 1102, 1, 0, + 0, 0, 1120, 1108, 1, 0, 0, 0, 1121, 111, 1, 0, 0, 0, 1122, 1123, 3, 102, + 51, 0, 1123, 1127, 5, 1, 0, 0, 1124, 1126, 3, 106, 53, 0, 1125, 1124, 1, + 0, 0, 0, 1126, 1129, 1, 0, 0, 0, 1127, 1125, 1, 0, 0, 0, 1127, 1128, 1, + 0, 0, 0, 1128, 1130, 1, 0, 0, 0, 1129, 1127, 1, 0, 0, 0, 1130, 1131, 5, + 2, 0, 0, 1131, 113, 1, 0, 0, 0, 1132, 1133, 3, 102, 51, 0, 1133, 1134, + 5, 31, 0, 0, 1134, 1135, 3, 102, 51, 0, 1135, 115, 1, 0, 0, 0, 159, 130, + 134, 142, 148, 155, 164, 168, 180, 189, 191, 205, 208, 228, 233, 247, 251, + 261, 273, 286, 292, 297, 299, 302, 307, 313, 318, 321, 328, 338, 349, 355, + 361, 367, 374, 381, 387, 396, 403, 409, 412, 424, 428, 432, 442, 453, 456, + 462, 471, 474, 477, 490, 500, 503, 507, 511, 515, 519, 523, 527, 531, 538, + 546, 549, 553, 560, 562, 566, 569, 575, 578, 582, 585, 587, 590, 599, 602, + 607, 610, 615, 618, 626, 634, 637, 641, 651, 654, 660, 673, 677, 686, 688, + 699, 704, 706, 712, 715, 719, 724, 728, 732, 737, 741, 747, 753, 758, 762, + 767, 770, 776, 778, 785, 791, 821, 827, 831, 837, 844, 852, 854, 856, 869, + 875, 879, 891, 895, 902, 909, 915, 922, 925, 930, 936, 940, 944, 948, 952, + 958, 962, 984, 990, 995, 1003, 1005, 1007, 1015, 1027, 1032, 1039, 1051, + 1057, 1068, 1076, 1080, 1090, 1098, 1105, 1116, 1120, 1127, } deserializer := antlr.NewATNDeserializer(nil) staticData.atn = deserializer.Deserialize(staticData.serializedATN) @@ -7860,12 +7861,12 @@ type ICommon_table_expressionContext interface { // Getter signatures AllIdentifier() []IIdentifierContext Identifier(i int) IIdentifierContext + AS() antlr.TerminalNode AllLPAREN() []antlr.TerminalNode LPAREN(i int) antlr.TerminalNode + Select_statement() ISelect_statementContext AllRPAREN() []antlr.TerminalNode RPAREN(i int) antlr.TerminalNode - AS() antlr.TerminalNode - Select_statement() ISelect_statementContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode @@ -7946,6 +7947,10 @@ func (s *Common_table_expressionContext) Identifier(i int) IIdentifierContext { return t.(IIdentifierContext) } +func (s *Common_table_expressionContext) AS() antlr.TerminalNode { + return s.GetToken(KuneiformParserAS, 0) +} + func (s *Common_table_expressionContext) AllLPAREN() []antlr.TerminalNode { return s.GetTokens(KuneiformParserLPAREN) } @@ -7954,18 +7959,6 @@ func (s *Common_table_expressionContext) LPAREN(i int) antlr.TerminalNode { return s.GetToken(KuneiformParserLPAREN, i) } -func (s *Common_table_expressionContext) AllRPAREN() []antlr.TerminalNode { - return s.GetTokens(KuneiformParserRPAREN) -} - -func (s *Common_table_expressionContext) RPAREN(i int) antlr.TerminalNode { - return s.GetToken(KuneiformParserRPAREN, i) -} - -func (s *Common_table_expressionContext) AS() antlr.TerminalNode { - return s.GetToken(KuneiformParserAS, 0) -} - func (s *Common_table_expressionContext) Select_statement() ISelect_statementContext { var t antlr.RuleContext for _, ctx := range s.GetChildren() { @@ -7982,6 +7975,14 @@ func (s *Common_table_expressionContext) Select_statement() ISelect_statementCon return t.(ISelect_statementContext) } +func (s *Common_table_expressionContext) AllRPAREN() []antlr.TerminalNode { + return s.GetTokens(KuneiformParserRPAREN) +} + +func (s *Common_table_expressionContext) RPAREN(i int) antlr.TerminalNode { + return s.GetToken(KuneiformParserRPAREN, i) +} + func (s *Common_table_expressionContext) AllCOMMA() []antlr.TerminalNode { return s.GetTokens(KuneiformParserCOMMA) } @@ -8018,66 +8019,76 @@ func (p *KuneiformParser) Common_table_expression() (localctx ICommon_table_expr p.SetState(464) p.Identifier() } - { - p.SetState(465) - p.Match(KuneiformParserLPAREN) - if p.HasError() { - // Recognition error - abort rule - goto errorExit - } - } - p.SetState(474) + p.SetState(477) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) - if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserIDENTIFIER { + if _la == KuneiformParserLPAREN { { - p.SetState(466) - p.Identifier() + p.SetState(465) + p.Match(KuneiformParserLPAREN) + if p.HasError() { + // Recognition error - abort rule + goto errorExit + } } - p.SetState(471) + p.SetState(474) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) - for _la == KuneiformParserCOMMA { + if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserIDENTIFIER { { - p.SetState(467) - p.Match(KuneiformParserCOMMA) + p.SetState(466) + p.Identifier() + } + p.SetState(471) + p.GetErrorHandler().Sync(p) + if p.HasError() { + goto errorExit + } + _la = p.GetTokenStream().LA(1) + + for _la == KuneiformParserCOMMA { + { + p.SetState(467) + p.Match(KuneiformParserCOMMA) + if p.HasError() { + // Recognition error - abort rule + goto errorExit + } + } + { + p.SetState(468) + p.Identifier() + } + + p.SetState(473) + p.GetErrorHandler().Sync(p) if p.HasError() { - // Recognition error - abort rule goto errorExit } - } - { - p.SetState(468) - p.Identifier() + _la = p.GetTokenStream().LA(1) } - p.SetState(473) - p.GetErrorHandler().Sync(p) + } + { + p.SetState(476) + p.Match(KuneiformParserRPAREN) if p.HasError() { + // Recognition error - abort rule goto errorExit } - _la = p.GetTokenStream().LA(1) } } { - p.SetState(476) - p.Match(KuneiformParserRPAREN) - if p.HasError() { - // Recognition error - abort rule - goto errorExit - } - } - { - p.SetState(477) + p.SetState(479) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -8085,7 +8096,7 @@ func (p *KuneiformParser) Common_table_expression() (localctx ICommon_table_expr } } { - p.SetState(478) + p.SetState(480) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -8093,11 +8104,11 @@ func (p *KuneiformParser) Common_table_expression() (localctx ICommon_table_expr } } { - p.SetState(479) + p.SetState(481) p.Select_statement() } { - p.SetState(480) + p.SetState(482) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -8412,10 +8423,10 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) p.EnterOuterAlt(localctx, 1) { - p.SetState(482) + p.SetState(484) p.Select_core() } - p.SetState(488) + p.SetState(490) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8424,22 +8435,22 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) for (int64((_la-97)) & ^0x3f) == 0 && ((int64(1)<<(_la-97))&7) != 0 { { - p.SetState(483) + p.SetState(485) p.Compound_operator() } { - p.SetState(484) + p.SetState(486) p.Select_core() } - p.SetState(490) + p.SetState(492) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(501) + p.SetState(503) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8448,7 +8459,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) if _la == KuneiformParserORDER { { - p.SetState(491) + p.SetState(493) p.Match(KuneiformParserORDER) if p.HasError() { // Recognition error - abort rule @@ -8456,7 +8467,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } { - p.SetState(492) + p.SetState(494) p.Match(KuneiformParserBY) if p.HasError() { // Recognition error - abort rule @@ -8464,10 +8475,10 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } { - p.SetState(493) + p.SetState(495) p.Ordering_term() } - p.SetState(498) + p.SetState(500) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8476,7 +8487,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) for _la == KuneiformParserCOMMA { { - p.SetState(494) + p.SetState(496) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -8484,11 +8495,11 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } { - p.SetState(495) + p.SetState(497) p.Ordering_term() } - p.SetState(500) + p.SetState(502) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8497,7 +8508,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } - p.SetState(505) + p.SetState(507) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8506,7 +8517,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) if _la == KuneiformParserLIMIT { { - p.SetState(503) + p.SetState(505) p.Match(KuneiformParserLIMIT) if p.HasError() { // Recognition error - abort rule @@ -8514,7 +8525,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } { - p.SetState(504) + p.SetState(506) var _x = p.sql_expr(0) @@ -8522,7 +8533,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } - p.SetState(509) + p.SetState(511) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8531,7 +8542,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) if _la == KuneiformParserOFFSET { { - p.SetState(507) + p.SetState(509) p.Match(KuneiformParserOFFSET) if p.HasError() { // Recognition error - abort rule @@ -8539,7 +8550,7 @@ func (p *KuneiformParser) Select_statement() (localctx ISelect_statementContext) } } { - p.SetState(508) + p.SetState(510) var _x = p.sql_expr(0) @@ -8649,7 +8660,7 @@ func (p *KuneiformParser) Compound_operator() (localctx ICompound_operatorContex p.EnterRule(localctx, 66, KuneiformParserRULE_compound_operator) var _la int - p.SetState(517) + p.SetState(519) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8659,14 +8670,14 @@ func (p *KuneiformParser) Compound_operator() (localctx ICompound_operatorContex case KuneiformParserUNION: p.EnterOuterAlt(localctx, 1) { - p.SetState(511) + p.SetState(513) p.Match(KuneiformParserUNION) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(513) + p.SetState(515) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8675,7 +8686,7 @@ func (p *KuneiformParser) Compound_operator() (localctx ICompound_operatorContex if _la == KuneiformParserALL { { - p.SetState(512) + p.SetState(514) p.Match(KuneiformParserALL) if p.HasError() { // Recognition error - abort rule @@ -8688,7 +8699,7 @@ func (p *KuneiformParser) Compound_operator() (localctx ICompound_operatorContex case KuneiformParserINTERSECT: p.EnterOuterAlt(localctx, 2) { - p.SetState(515) + p.SetState(517) p.Match(KuneiformParserINTERSECT) if p.HasError() { // Recognition error - abort rule @@ -8699,7 +8710,7 @@ func (p *KuneiformParser) Compound_operator() (localctx ICompound_operatorContex case KuneiformParserEXCEPT: p.EnterOuterAlt(localctx, 3) { - p.SetState(516) + p.SetState(518) p.Match(KuneiformParserEXCEPT) if p.HasError() { // Recognition error - abort rule @@ -8837,10 +8848,10 @@ func (p *KuneiformParser) Ordering_term() (localctx IOrdering_termContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(519) + p.SetState(521) p.sql_expr(0) } - p.SetState(521) + p.SetState(523) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8849,7 +8860,7 @@ func (p *KuneiformParser) Ordering_term() (localctx IOrdering_termContext) { if _la == KuneiformParserASC || _la == KuneiformParserDESC { { - p.SetState(520) + p.SetState(522) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserASC || _la == KuneiformParserDESC) { @@ -8861,7 +8872,7 @@ func (p *KuneiformParser) Ordering_term() (localctx IOrdering_termContext) { } } - p.SetState(525) + p.SetState(527) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8870,7 +8881,7 @@ func (p *KuneiformParser) Ordering_term() (localctx IOrdering_termContext) { if _la == KuneiformParserNULLS { { - p.SetState(523) + p.SetState(525) p.Match(KuneiformParserNULLS) if p.HasError() { // Recognition error - abort rule @@ -8878,7 +8889,7 @@ func (p *KuneiformParser) Ordering_term() (localctx IOrdering_termContext) { } } { - p.SetState(524) + p.SetState(526) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserFIRST || _la == KuneiformParserLAST) { @@ -9215,14 +9226,14 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(527) + p.SetState(529) p.Match(KuneiformParserSELECT) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(529) + p.SetState(531) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9231,7 +9242,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { if _la == KuneiformParserDISTINCT { { - p.SetState(528) + p.SetState(530) p.Match(KuneiformParserDISTINCT) if p.HasError() { // Recognition error - abort rule @@ -9241,10 +9252,10 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } { - p.SetState(531) + p.SetState(533) p.Result_column() } - p.SetState(536) + p.SetState(538) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9253,7 +9264,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { for _la == KuneiformParserCOMMA { { - p.SetState(532) + p.SetState(534) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -9261,18 +9272,18 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(533) + p.SetState(535) p.Result_column() } - p.SetState(538) + p.SetState(540) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(547) + p.SetState(549) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9281,7 +9292,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { if _la == KuneiformParserFROM { { - p.SetState(539) + p.SetState(541) p.Match(KuneiformParserFROM) if p.HasError() { // Recognition error - abort rule @@ -9289,10 +9300,10 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(540) + p.SetState(542) p.Relation() } - p.SetState(544) + p.SetState(546) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9301,11 +9312,11 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { for (int64((_la-69)) & ^0x3f) == 0 && ((int64(1)<<(_la-69))&134217743) != 0 { { - p.SetState(541) + p.SetState(543) p.Join() } - p.SetState(546) + p.SetState(548) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9314,7 +9325,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } - p.SetState(551) + p.SetState(553) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9323,7 +9334,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { if _la == KuneiformParserWHERE { { - p.SetState(549) + p.SetState(551) p.Match(KuneiformParserWHERE) if p.HasError() { // Recognition error - abort rule @@ -9331,7 +9342,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(550) + p.SetState(552) var _x = p.sql_expr(0) @@ -9339,7 +9350,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } - p.SetState(560) + p.SetState(562) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9348,7 +9359,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { if _la == KuneiformParserGROUP { { - p.SetState(553) + p.SetState(555) p.Match(KuneiformParserGROUP) if p.HasError() { // Recognition error - abort rule @@ -9356,7 +9367,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(554) + p.SetState(556) p.Match(KuneiformParserBY) if p.HasError() { // Recognition error - abort rule @@ -9364,13 +9375,13 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(555) + p.SetState(557) var _x = p.Sql_expr_list() localctx.(*Select_coreContext).group_by = _x } - p.SetState(558) + p.SetState(560) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9379,7 +9390,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { if _la == KuneiformParserHAVING { { - p.SetState(556) + p.SetState(558) p.Match(KuneiformParserHAVING) if p.HasError() { // Recognition error - abort rule @@ -9387,7 +9398,7 @@ func (p *KuneiformParser) Select_core() (localctx ISelect_coreContext) { } } { - p.SetState(557) + p.SetState(559) var _x = p.sql_expr(0) @@ -9699,24 +9710,24 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { p.EnterRule(localctx, 72, KuneiformParserRULE_relation) var _la int - p.SetState(585) + p.SetState(587) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 71, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 72, p.GetParserRuleContext()) { case 1: localctx = NewTable_relationContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(562) + p.SetState(564) var _x = p.Identifier() localctx.(*Table_relationContext).table_name = _x } - p.SetState(567) + p.SetState(569) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9724,7 +9735,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(564) + p.SetState(566) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9733,7 +9744,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { if _la == KuneiformParserAS { { - p.SetState(563) + p.SetState(565) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -9743,7 +9754,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { } { - p.SetState(566) + p.SetState(568) var _x = p.Identifier() @@ -9756,7 +9767,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { localctx = NewSubquery_relationContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(569) + p.SetState(571) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -9764,18 +9775,18 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { } } { - p.SetState(570) + p.SetState(572) p.Select_statement() } { - p.SetState(571) + p.SetState(573) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(576) + p.SetState(578) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9783,7 +9794,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(573) + p.SetState(575) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9792,7 +9803,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { if _la == KuneiformParserAS { { - p.SetState(572) + p.SetState(574) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -9802,7 +9813,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { } { - p.SetState(575) + p.SetState(577) var _x = p.Identifier() @@ -9815,11 +9826,11 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { localctx = NewFunction_relationContext(p, localctx) p.EnterOuterAlt(localctx, 3) { - p.SetState(578) + p.SetState(580) p.Sql_function_call() } - p.SetState(580) + p.SetState(582) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9828,7 +9839,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { if _la == KuneiformParserAS { { - p.SetState(579) + p.SetState(581) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -9837,7 +9848,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { } } - p.SetState(583) + p.SetState(585) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9846,7 +9857,7 @@ func (p *KuneiformParser) Relation() (localctx IRelationContext) { if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserIDENTIFIER { { - p.SetState(582) + p.SetState(584) var _x = p.Identifier() @@ -10005,7 +10016,7 @@ func (p *KuneiformParser) Join() (localctx IJoinContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(588) + p.SetState(590) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10014,7 +10025,7 @@ func (p *KuneiformParser) Join() (localctx IJoinContext) { if (int64((_la-70)) & ^0x3f) == 0 && ((int64(1)<<(_la-70))&67108871) != 0 { { - p.SetState(587) + p.SetState(589) _la = p.GetTokenStream().LA(1) if !((int64((_la-70)) & ^0x3f) == 0 && ((int64(1)<<(_la-70))&67108871) != 0) { @@ -10027,7 +10038,7 @@ func (p *KuneiformParser) Join() (localctx IJoinContext) { } { - p.SetState(590) + p.SetState(592) p.Match(KuneiformParserJOIN) if p.HasError() { // Recognition error - abort rule @@ -10035,11 +10046,11 @@ func (p *KuneiformParser) Join() (localctx IJoinContext) { } } { - p.SetState(591) + p.SetState(593) p.Relation() } { - p.SetState(592) + p.SetState(594) p.Match(KuneiformParserON) if p.HasError() { // Recognition error - abort rule @@ -10047,7 +10058,7 @@ func (p *KuneiformParser) Join() (localctx IJoinContext) { } } { - p.SetState(593) + p.SetState(595) p.sql_expr(0) } @@ -10244,21 +10255,21 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { p.EnterRule(localctx, 76, KuneiformParserRULE_result_column) var _la int - p.SetState(608) + p.SetState(610) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 76, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 77, p.GetParserRuleContext()) { case 1: localctx = NewExpression_result_columnContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(595) + p.SetState(597) p.sql_expr(0) } - p.SetState(600) + p.SetState(602) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10266,7 +10277,7 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(597) + p.SetState(599) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10275,7 +10286,7 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { if _la == KuneiformParserAS { { - p.SetState(596) + p.SetState(598) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -10285,7 +10296,7 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { } { - p.SetState(599) + p.SetState(601) p.Identifier() } @@ -10294,7 +10305,7 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { case 2: localctx = NewWildcard_result_columnContext(p, localctx) p.EnterOuterAlt(localctx, 2) - p.SetState(605) + p.SetState(607) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10303,14 +10314,14 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserIDENTIFIER { { - p.SetState(602) + p.SetState(604) var _x = p.Identifier() localctx.(*Wildcard_result_columnContext).table_name = _x } { - p.SetState(603) + p.SetState(605) p.Match(KuneiformParserPERIOD) if p.HasError() { // Recognition error - abort rule @@ -10320,7 +10331,7 @@ func (p *KuneiformParser) Result_column() (localctx IResult_columnContext) { } { - p.SetState(607) + p.SetState(609) p.Match(KuneiformParserSTAR) if p.HasError() { // Recognition error - abort rule @@ -10646,7 +10657,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) p.EnterOuterAlt(localctx, 1) { - p.SetState(610) + p.SetState(612) p.Match(KuneiformParserUPDATE) if p.HasError() { // Recognition error - abort rule @@ -10654,13 +10665,13 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } { - p.SetState(611) + p.SetState(613) var _x = p.Identifier() localctx.(*Update_statementContext).table_name = _x } - p.SetState(616) + p.SetState(618) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10668,7 +10679,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(613) + p.SetState(615) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10677,7 +10688,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) if _la == KuneiformParserAS { { - p.SetState(612) + p.SetState(614) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -10687,7 +10698,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } { - p.SetState(615) + p.SetState(617) var _x = p.Identifier() @@ -10696,7 +10707,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } { - p.SetState(618) + p.SetState(620) p.Match(KuneiformParserSET) if p.HasError() { // Recognition error - abort rule @@ -10704,10 +10715,10 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } { - p.SetState(619) + p.SetState(621) p.Update_set_clause() } - p.SetState(624) + p.SetState(626) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10716,7 +10727,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) for _la == KuneiformParserCOMMA { { - p.SetState(620) + p.SetState(622) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -10724,18 +10735,18 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } { - p.SetState(621) + p.SetState(623) p.Update_set_clause() } - p.SetState(626) + p.SetState(628) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(635) + p.SetState(637) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10744,7 +10755,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) if _la == KuneiformParserFROM { { - p.SetState(627) + p.SetState(629) p.Match(KuneiformParserFROM) if p.HasError() { // Recognition error - abort rule @@ -10752,10 +10763,10 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } { - p.SetState(628) + p.SetState(630) p.Relation() } - p.SetState(632) + p.SetState(634) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10764,11 +10775,11 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) for (int64((_la-69)) & ^0x3f) == 0 && ((int64(1)<<(_la-69))&134217743) != 0 { { - p.SetState(629) + p.SetState(631) p.Join() } - p.SetState(634) + p.SetState(636) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10777,7 +10788,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } - p.SetState(639) + p.SetState(641) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10786,7 +10797,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) if _la == KuneiformParserWHERE { { - p.SetState(637) + p.SetState(639) p.Match(KuneiformParserWHERE) if p.HasError() { // Recognition error - abort rule @@ -10794,7 +10805,7 @@ func (p *KuneiformParser) Update_statement() (localctx IUpdate_statementContext) } } { - p.SetState(638) + p.SetState(640) var _x = p.sql_expr(0) @@ -10934,14 +10945,14 @@ func (p *KuneiformParser) Update_set_clause() (localctx IUpdate_set_clauseContex p.EnterRule(localctx, 80, KuneiformParserRULE_update_set_clause) p.EnterOuterAlt(localctx, 1) { - p.SetState(641) + p.SetState(643) var _x = p.Identifier() localctx.(*Update_set_clauseContext).column = _x } { - p.SetState(642) + p.SetState(644) p.Match(KuneiformParserEQUALS) if p.HasError() { // Recognition error - abort rule @@ -10949,7 +10960,7 @@ func (p *KuneiformParser) Update_set_clause() (localctx IUpdate_set_clauseContex } } { - p.SetState(643) + p.SetState(645) p.sql_expr(0) } @@ -11241,7 +11252,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) p.EnterOuterAlt(localctx, 1) { - p.SetState(645) + p.SetState(647) p.Match(KuneiformParserINSERT) if p.HasError() { // Recognition error - abort rule @@ -11249,7 +11260,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(646) + p.SetState(648) p.Match(KuneiformParserINTO) if p.HasError() { // Recognition error - abort rule @@ -11257,13 +11268,13 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(647) + p.SetState(649) var _x = p.Identifier() localctx.(*Insert_statementContext).table_name = _x } - p.SetState(652) + p.SetState(654) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11271,7 +11282,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(649) + p.SetState(651) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11280,7 +11291,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) if _la == KuneiformParserAS { { - p.SetState(648) + p.SetState(650) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -11290,7 +11301,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } { - p.SetState(651) + p.SetState(653) var _x = p.Identifier() @@ -11298,7 +11309,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } - p.SetState(658) + p.SetState(660) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11307,7 +11318,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) if _la == KuneiformParserLPAREN { { - p.SetState(654) + p.SetState(656) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -11315,14 +11326,14 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(655) + p.SetState(657) var _x = p.Identifier_list() localctx.(*Insert_statementContext).target_columns = _x } { - p.SetState(656) + p.SetState(658) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -11332,7 +11343,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } { - p.SetState(660) + p.SetState(662) p.Match(KuneiformParserVALUES) if p.HasError() { // Recognition error - abort rule @@ -11340,7 +11351,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(661) + p.SetState(663) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -11348,18 +11359,18 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(662) + p.SetState(664) p.Sql_expr_list() } { - p.SetState(663) + p.SetState(665) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(671) + p.SetState(673) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11368,7 +11379,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) for _la == KuneiformParserCOMMA { { - p.SetState(664) + p.SetState(666) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -11376,7 +11387,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(665) + p.SetState(667) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -11384,11 +11395,11 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } { - p.SetState(666) + p.SetState(668) p.Sql_expr_list() } { - p.SetState(667) + p.SetState(669) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -11396,14 +11407,14 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) } } - p.SetState(673) + p.SetState(675) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(675) + p.SetState(677) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11412,7 +11423,7 @@ func (p *KuneiformParser) Insert_statement() (localctx IInsert_statementContext) if _la == KuneiformParserON { { - p.SetState(674) + p.SetState(676) p.Upsert_clause() } @@ -11699,7 +11710,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(677) + p.SetState(679) p.Match(KuneiformParserON) if p.HasError() { // Recognition error - abort rule @@ -11707,14 +11718,14 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(678) + p.SetState(680) p.Match(KuneiformParserCONFLICT) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(686) + p.SetState(688) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11723,7 +11734,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { if _la == KuneiformParserLPAREN { { - p.SetState(679) + p.SetState(681) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -11731,21 +11742,21 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(680) + p.SetState(682) var _x = p.Identifier_list() localctx.(*Upsert_clauseContext).conflict_columns = _x } { - p.SetState(681) + p.SetState(683) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(684) + p.SetState(686) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11754,7 +11765,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { if _la == KuneiformParserWHERE { { - p.SetState(682) + p.SetState(684) p.Match(KuneiformParserWHERE) if p.HasError() { // Recognition error - abort rule @@ -11762,7 +11773,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(683) + p.SetState(685) var _x = p.sql_expr(0) @@ -11773,14 +11784,14 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } { - p.SetState(688) + p.SetState(690) p.Match(KuneiformParserDO) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(704) + p.SetState(706) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11789,7 +11800,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { switch p.GetTokenStream().LA(1) { case KuneiformParserNOTHING: { - p.SetState(689) + p.SetState(691) p.Match(KuneiformParserNOTHING) if p.HasError() { // Recognition error - abort rule @@ -11799,7 +11810,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { case KuneiformParserUPDATE: { - p.SetState(690) + p.SetState(692) p.Match(KuneiformParserUPDATE) if p.HasError() { // Recognition error - abort rule @@ -11807,7 +11818,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(691) + p.SetState(693) p.Match(KuneiformParserSET) if p.HasError() { // Recognition error - abort rule @@ -11815,10 +11826,10 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(692) + p.SetState(694) p.Update_set_clause() } - p.SetState(697) + p.SetState(699) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11827,7 +11838,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { for _la == KuneiformParserCOMMA { { - p.SetState(693) + p.SetState(695) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -11835,18 +11846,18 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(694) + p.SetState(696) p.Update_set_clause() } - p.SetState(699) + p.SetState(701) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(702) + p.SetState(704) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11855,7 +11866,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { if _la == KuneiformParserWHERE { { - p.SetState(700) + p.SetState(702) p.Match(KuneiformParserWHERE) if p.HasError() { // Recognition error - abort rule @@ -11863,7 +11874,7 @@ func (p *KuneiformParser) Upsert_clause() (localctx IUpsert_clauseContext) { } } { - p.SetState(701) + p.SetState(703) var _x = p.sql_expr(0) @@ -12073,7 +12084,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) p.EnterOuterAlt(localctx, 1) { - p.SetState(706) + p.SetState(708) p.Match(KuneiformParserDELETE) if p.HasError() { // Recognition error - abort rule @@ -12081,7 +12092,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) } } { - p.SetState(707) + p.SetState(709) p.Match(KuneiformParserFROM) if p.HasError() { // Recognition error - abort rule @@ -12089,13 +12100,13 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) } } { - p.SetState(708) + p.SetState(710) var _x = p.Identifier() localctx.(*Delete_statementContext).table_name = _x } - p.SetState(713) + p.SetState(715) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -12103,7 +12114,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) _la = p.GetTokenStream().LA(1) if _la == KuneiformParserDOUBLE_QUOTE || _la == KuneiformParserAS || _la == KuneiformParserIDENTIFIER { - p.SetState(710) + p.SetState(712) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -12112,7 +12123,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) if _la == KuneiformParserAS { { - p.SetState(709) + p.SetState(711) p.Match(KuneiformParserAS) if p.HasError() { // Recognition error - abort rule @@ -12122,7 +12133,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) } { - p.SetState(712) + p.SetState(714) var _x = p.Identifier() @@ -12130,7 +12141,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) } } - p.SetState(717) + p.SetState(719) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -12139,7 +12150,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) if _la == KuneiformParserWHERE { { - p.SetState(715) + p.SetState(717) p.Match(KuneiformParserWHERE) if p.HasError() { // Recognition error - abort rule @@ -12147,7 +12158,7 @@ func (p *KuneiformParser) Delete_statement() (localctx IDelete_statementContext) } } { - p.SetState(716) + p.SetState(718) var _x = p.sql_expr(0) @@ -13772,28 +13783,28 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { var _alt int p.EnterOuterAlt(localctx, 1) - p.SetState(776) + p.SetState(778) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 108, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 109, p.GetParserRuleContext()) { case 1: localctx = NewLiteral_sql_exprContext(p, localctx) p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(720) + p.SetState(722) p.Literal() } - p.SetState(722) + p.SetState(724) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 96, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 97, p.GetParserRuleContext()) == 1 { { - p.SetState(721) + p.SetState(723) p.Type_cast() } @@ -13806,15 +13817,15 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(724) + p.SetState(726) p.Sql_function_call() } - p.SetState(726) + p.SetState(728) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 97, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 98, p.GetParserRuleContext()) == 1 { { - p.SetState(725) + p.SetState(727) p.Type_cast() } @@ -13827,15 +13838,15 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(728) + p.SetState(730) p.Variable() } - p.SetState(730) + p.SetState(732) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 98, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 99, p.GetParserRuleContext()) == 1 { { - p.SetState(729) + p.SetState(731) p.Type_cast() } @@ -13847,19 +13858,19 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx = NewColumn_sql_exprContext(p, localctx) p.SetParserRuleContext(localctx) _prevctx = localctx - p.SetState(735) + p.SetState(737) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 99, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 100, p.GetParserRuleContext()) == 1 { { - p.SetState(732) + p.SetState(734) var _x = p.Identifier() localctx.(*Column_sql_exprContext).table = _x } { - p.SetState(733) + p.SetState(735) p.Match(KuneiformParserPERIOD) if p.HasError() { // Recognition error - abort rule @@ -13871,18 +13882,18 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { goto errorExit } { - p.SetState(737) + p.SetState(739) var _x = p.Identifier() localctx.(*Column_sql_exprContext).column = _x } - p.SetState(739) + p.SetState(741) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 100, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 101, p.GetParserRuleContext()) == 1 { { - p.SetState(738) + p.SetState(740) p.Type_cast() } @@ -13895,7 +13906,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(741) + p.SetState(743) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -13903,23 +13914,23 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(742) + p.SetState(744) p.sql_expr(0) } { - p.SetState(743) + p.SetState(745) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(745) + p.SetState(747) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 101, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 102, p.GetParserRuleContext()) == 1 { { - p.SetState(744) + p.SetState(746) p.Type_cast() } @@ -13932,7 +13943,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(747) + p.SetState(749) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&144115188079001600) != 0) { @@ -13943,7 +13954,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(748) + p.SetState(750) p.sql_expr(10) } @@ -13952,14 +13963,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(749) + p.SetState(751) p.Match(KuneiformParserCASE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(751) + p.SetState(753) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -13968,7 +13979,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&148618792001339520) != 0) || ((int64((_la-66)) & ^0x3f) == 0 && ((int64(1)<<(_la-66))&4043950990402519041) != 0) { { - p.SetState(750) + p.SetState(752) var _x = p.sql_expr(0) @@ -13976,7 +13987,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } - p.SetState(754) + p.SetState(756) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -13985,18 +13996,18 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { for ok := true; ok; ok = _la == KuneiformParserWHEN { { - p.SetState(753) + p.SetState(755) p.When_then_clause() } - p.SetState(756) + p.SetState(758) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(760) + p.SetState(762) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14005,7 +14016,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserELSE { { - p.SetState(758) + p.SetState(760) p.Match(KuneiformParserELSE) if p.HasError() { // Recognition error - abort rule @@ -14013,7 +14024,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(759) + p.SetState(761) var _x = p.sql_expr(0) @@ -14022,7 +14033,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(762) + p.SetState(764) p.Match(KuneiformParserEND) if p.HasError() { // Recognition error - abort rule @@ -14034,7 +14045,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx = NewSubquery_sql_exprContext(p, localctx) p.SetParserRuleContext(localctx) _prevctx = localctx - p.SetState(768) + p.SetState(770) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14042,7 +14053,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { _la = p.GetTokenStream().LA(1) if _la == KuneiformParserNOT || _la == KuneiformParserEXISTS { - p.SetState(765) + p.SetState(767) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14051,7 +14062,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserNOT { { - p.SetState(764) + p.SetState(766) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -14061,7 +14072,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(767) + p.SetState(769) p.Match(KuneiformParserEXISTS) if p.HasError() { // Recognition error - abort rule @@ -14071,7 +14082,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(770) + p.SetState(772) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -14079,23 +14090,23 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(771) + p.SetState(773) p.Select_statement() } { - p.SetState(772) + p.SetState(774) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(774) + p.SetState(776) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 107, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 108, p.GetParserRuleContext()) == 1 { { - p.SetState(773) + p.SetState(775) p.Type_cast() } @@ -14107,12 +14118,12 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { goto errorExit } p.GetParserRuleContext().SetStop(p.GetTokenStream().LT(-1)) - p.SetState(854) + p.SetState(856) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 118, p.GetParserRuleContext()) + _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 119, p.GetParserRuleContext()) if p.HasError() { goto errorExit } @@ -14122,26 +14133,26 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { p.TriggerExitRuleEvent() } _prevctx = localctx - p.SetState(852) + p.SetState(854) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 117, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 118, p.GetParserRuleContext()) { case 1: localctx = NewComparison_sql_exprContext(p, NewSql_exprContext(p, _parentctx, _parentState)) localctx.(*Comparison_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(778) + p.SetState(780) if !(p.Precpred(p.GetParserRuleContext(), 13)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 13)", "")) goto errorExit } { - p.SetState(779) + p.SetState(781) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&260145152) != 0) { @@ -14152,7 +14163,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(780) + p.SetState(782) var _x = p.sql_expr(14) @@ -14164,13 +14175,13 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Like_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(781) + p.SetState(783) if !(p.Precpred(p.GetParserRuleContext(), 11)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 11)", "")) goto errorExit } - p.SetState(783) + p.SetState(785) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14179,7 +14190,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserNOT { { - p.SetState(782) + p.SetState(784) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -14189,7 +14200,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(785) + p.SetState(787) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserLIKE || _la == KuneiformParserILIKE) { @@ -14200,7 +14211,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(786) + p.SetState(788) var _x = p.sql_expr(12) @@ -14212,13 +14223,13 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Between_sql_exprContext).element = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(787) + p.SetState(789) if !(p.Precpred(p.GetParserRuleContext(), 9)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 9)", "")) goto errorExit } - p.SetState(789) + p.SetState(791) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14227,7 +14238,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserNOT { { - p.SetState(788) + p.SetState(790) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -14237,7 +14248,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(791) + p.SetState(793) p.Match(KuneiformParserBETWEEN) if p.HasError() { // Recognition error - abort rule @@ -14245,14 +14256,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(792) + p.SetState(794) var _x = p.sql_expr(0) localctx.(*Between_sql_exprContext).lower = _x } { - p.SetState(793) + p.SetState(795) p.Match(KuneiformParserAND) if p.HasError() { // Recognition error - abort rule @@ -14260,7 +14271,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(794) + p.SetState(796) var _x = p.sql_expr(10) @@ -14272,14 +14283,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Arithmetic_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(796) + p.SetState(798) if !(p.Precpred(p.GetParserRuleContext(), 5)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 5)", "")) goto errorExit } { - p.SetState(797) + p.SetState(799) p.Match(KuneiformParserCONCAT) if p.HasError() { // Recognition error - abort rule @@ -14287,7 +14298,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(798) + p.SetState(800) var _x = p.sql_expr(6) @@ -14299,14 +14310,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Arithmetic_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(799) + p.SetState(801) if !(p.Precpred(p.GetParserRuleContext(), 4)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 4)", "")) goto errorExit } { - p.SetState(800) + p.SetState(802) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4734976) != 0) { @@ -14317,7 +14328,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(801) + p.SetState(803) var _x = p.sql_expr(5) @@ -14329,14 +14340,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Arithmetic_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(802) + p.SetState(804) if !(p.Precpred(p.GetParserRuleContext(), 3)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 3)", "")) goto errorExit } { - p.SetState(803) + p.SetState(805) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserPLUS || _la == KuneiformParserMINUS) { @@ -14347,7 +14358,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(804) + p.SetState(806) var _x = p.sql_expr(4) @@ -14359,14 +14370,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Logical_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(805) + p.SetState(807) if !(p.Precpred(p.GetParserRuleContext(), 2)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 2)", "")) goto errorExit } { - p.SetState(806) + p.SetState(808) p.Match(KuneiformParserAND) if p.HasError() { // Recognition error - abort rule @@ -14374,7 +14385,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(807) + p.SetState(809) var _x = p.sql_expr(3) @@ -14386,14 +14397,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Logical_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(808) + p.SetState(810) if !(p.Precpred(p.GetParserRuleContext(), 1)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 1)", "")) goto errorExit } { - p.SetState(809) + p.SetState(811) p.Match(KuneiformParserOR) if p.HasError() { // Recognition error - abort rule @@ -14401,7 +14412,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(810) + p.SetState(812) var _x = p.sql_expr(2) @@ -14411,14 +14422,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case 9: localctx = NewCollate_sql_exprContext(p, NewSql_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(811) + p.SetState(813) if !(p.Precpred(p.GetParserRuleContext(), 20)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 20)", "")) goto errorExit } { - p.SetState(812) + p.SetState(814) p.Match(KuneiformParserCOLLATE) if p.HasError() { // Recognition error - abort rule @@ -14426,21 +14437,21 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(813) + p.SetState(815) p.Identifier() } case 10: localctx = NewArray_access_sql_exprContext(p, NewSql_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(814) + p.SetState(816) if !(p.Precpred(p.GetParserRuleContext(), 16)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 16)", "")) goto errorExit } { - p.SetState(815) + p.SetState(817) p.Match(KuneiformParserLBRACKET) if p.HasError() { // Recognition error - abort rule @@ -14448,23 +14459,23 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(816) + p.SetState(818) p.sql_expr(0) } { - p.SetState(817) + p.SetState(819) p.Match(KuneiformParserRBRACKET) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(819) + p.SetState(821) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 111, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 112, p.GetParserRuleContext()) == 1 { { - p.SetState(818) + p.SetState(820) p.Type_cast() } @@ -14475,14 +14486,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case 11: localctx = NewField_access_sql_exprContext(p, NewSql_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(821) + p.SetState(823) if !(p.Precpred(p.GetParserRuleContext(), 15)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 15)", "")) goto errorExit } { - p.SetState(822) + p.SetState(824) p.Match(KuneiformParserPERIOD) if p.HasError() { // Recognition error - abort rule @@ -14490,15 +14501,15 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(823) + p.SetState(825) p.Identifier() } - p.SetState(825) + p.SetState(827) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 112, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 113, p.GetParserRuleContext()) == 1 { { - p.SetState(824) + p.SetState(826) p.Type_cast() } @@ -14509,13 +14520,13 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case 12: localctx = NewIn_sql_exprContext(p, NewSql_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(827) + p.SetState(829) if !(p.Precpred(p.GetParserRuleContext(), 12)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 12)", "")) goto errorExit } - p.SetState(829) + p.SetState(831) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14524,7 +14535,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserNOT { { - p.SetState(828) + p.SetState(830) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -14534,7 +14545,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } { - p.SetState(831) + p.SetState(833) p.Match(KuneiformParserIN) if p.HasError() { // Recognition error - abort rule @@ -14542,14 +14553,14 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(832) + p.SetState(834) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(835) + p.SetState(837) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14558,13 +14569,13 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { switch p.GetTokenStream().LA(1) { case KuneiformParserLPAREN, KuneiformParserPLUS, KuneiformParserMINUS, KuneiformParserDOUBLE_QUOTE, KuneiformParserNULL, KuneiformParserNOT, KuneiformParserEXISTS, KuneiformParserCASE, KuneiformParserSTRING_, KuneiformParserTRUE, KuneiformParserFALSE, KuneiformParserDIGITS_, KuneiformParserBINARY_, KuneiformParserIDENTIFIER, KuneiformParserVARIABLE, KuneiformParserCONTEXTUAL_VARIABLE: { - p.SetState(833) + p.SetState(835) p.Sql_expr_list() } case KuneiformParserSELECT: { - p.SetState(834) + p.SetState(836) p.Select_statement() } @@ -14573,7 +14584,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { goto errorExit } { - p.SetState(837) + p.SetState(839) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -14586,21 +14597,21 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { localctx.(*Is_sql_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_sql_expr) - p.SetState(839) + p.SetState(841) if !(p.Precpred(p.GetParserRuleContext(), 8)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 8)", "")) goto errorExit } { - p.SetState(840) + p.SetState(842) p.Match(KuneiformParserIS) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(842) + p.SetState(844) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14609,7 +14620,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { if _la == KuneiformParserNOT { { - p.SetState(841) + p.SetState(843) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -14618,7 +14629,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } - p.SetState(850) + p.SetState(852) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -14627,7 +14638,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { switch p.GetTokenStream().LA(1) { case KuneiformParserDISTINCT: { - p.SetState(844) + p.SetState(846) p.Match(KuneiformParserDISTINCT) if p.HasError() { // Recognition error - abort rule @@ -14635,7 +14646,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(845) + p.SetState(847) p.Match(KuneiformParserFROM) if p.HasError() { // Recognition error - abort rule @@ -14643,7 +14654,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } { - p.SetState(846) + p.SetState(848) var _x = p.sql_expr(0) @@ -14652,7 +14663,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case KuneiformParserNULL: { - p.SetState(847) + p.SetState(849) p.Match(KuneiformParserNULL) if p.HasError() { // Recognition error - abort rule @@ -14662,7 +14673,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case KuneiformParserTRUE: { - p.SetState(848) + p.SetState(850) p.Match(KuneiformParserTRUE) if p.HasError() { // Recognition error - abort rule @@ -14672,7 +14683,7 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { case KuneiformParserFALSE: { - p.SetState(849) + p.SetState(851) p.Match(KuneiformParserFALSE) if p.HasError() { // Recognition error - abort rule @@ -14690,12 +14701,12 @@ func (p *KuneiformParser) sql_expr(_p int) (localctx ISql_exprContext) { } } - p.SetState(856) + p.SetState(858) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 118, p.GetParserRuleContext()) + _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 119, p.GetParserRuleContext()) if p.HasError() { goto errorExit } @@ -14857,7 +14868,7 @@ func (p *KuneiformParser) When_then_clause() (localctx IWhen_then_clauseContext) p.EnterRule(localctx, 90, KuneiformParserRULE_when_then_clause) p.EnterOuterAlt(localctx, 1) { - p.SetState(857) + p.SetState(859) p.Match(KuneiformParserWHEN) if p.HasError() { // Recognition error - abort rule @@ -14865,14 +14876,14 @@ func (p *KuneiformParser) When_then_clause() (localctx IWhen_then_clauseContext) } } { - p.SetState(858) + p.SetState(860) var _x = p.sql_expr(0) localctx.(*When_then_clauseContext).when_condition = _x } { - p.SetState(859) + p.SetState(861) p.Match(KuneiformParserTHEN) if p.HasError() { // Recognition error - abort rule @@ -14880,7 +14891,7 @@ func (p *KuneiformParser) When_then_clause() (localctx IWhen_then_clauseContext) } } { - p.SetState(860) + p.SetState(862) var _x = p.sql_expr(0) @@ -15023,10 +15034,10 @@ func (p *KuneiformParser) Sql_expr_list() (localctx ISql_expr_listContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(862) + p.SetState(864) p.sql_expr(0) } - p.SetState(867) + p.SetState(869) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15035,7 +15046,7 @@ func (p *KuneiformParser) Sql_expr_list() (localctx ISql_expr_listContext) { for _la == KuneiformParserCOMMA { { - p.SetState(863) + p.SetState(865) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -15043,11 +15054,11 @@ func (p *KuneiformParser) Sql_expr_list() (localctx ISql_expr_listContext) { } } { - p.SetState(864) + p.SetState(866) p.sql_expr(0) } - p.SetState(869) + p.SetState(871) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15334,36 +15345,36 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex p.EnterRule(localctx, 94, KuneiformParserRULE_sql_function_call) var _la int - p.SetState(893) + p.SetState(895) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 123, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 124, p.GetParserRuleContext()) { case 1: localctx = NewNormal_call_sqlContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(870) + p.SetState(872) p.Identifier() } { - p.SetState(871) + p.SetState(873) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(877) + p.SetState(879) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } switch p.GetTokenStream().LA(1) { case KuneiformParserLPAREN, KuneiformParserPLUS, KuneiformParserMINUS, KuneiformParserDOUBLE_QUOTE, KuneiformParserNULL, KuneiformParserNOT, KuneiformParserEXISTS, KuneiformParserCASE, KuneiformParserDISTINCT, KuneiformParserSTRING_, KuneiformParserTRUE, KuneiformParserFALSE, KuneiformParserDIGITS_, KuneiformParserBINARY_, KuneiformParserIDENTIFIER, KuneiformParserVARIABLE, KuneiformParserCONTEXTUAL_VARIABLE: - p.SetState(873) + p.SetState(875) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15372,7 +15383,7 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex if _la == KuneiformParserDISTINCT { { - p.SetState(872) + p.SetState(874) p.Match(KuneiformParserDISTINCT) if p.HasError() { // Recognition error - abort rule @@ -15382,13 +15393,13 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex } { - p.SetState(875) + p.SetState(877) p.Sql_expr_list() } case KuneiformParserSTAR: { - p.SetState(876) + p.SetState(878) p.Match(KuneiformParserSTAR) if p.HasError() { // Recognition error - abort rule @@ -15401,7 +15412,7 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex default: } { - p.SetState(879) + p.SetState(881) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -15413,11 +15424,11 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex localctx = NewForeign_call_sqlContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(881) + p.SetState(883) p.Identifier() } { - p.SetState(882) + p.SetState(884) p.Match(KuneiformParserLBRACKET) if p.HasError() { // Recognition error - abort rule @@ -15425,14 +15436,14 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex } } { - p.SetState(883) + p.SetState(885) var _x = p.sql_expr(0) localctx.(*Foreign_call_sqlContext).dbid = _x } { - p.SetState(884) + p.SetState(886) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -15440,14 +15451,14 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex } } { - p.SetState(885) + p.SetState(887) var _x = p.sql_expr(0) localctx.(*Foreign_call_sqlContext).procedure = _x } { - p.SetState(886) + p.SetState(888) p.Match(KuneiformParserRBRACKET) if p.HasError() { // Recognition error - abort rule @@ -15455,14 +15466,14 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex } } { - p.SetState(887) + p.SetState(889) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(889) + p.SetState(891) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15471,13 +15482,13 @@ func (p *KuneiformParser) Sql_function_call() (localctx ISql_function_callContex if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&148618792001339520) != 0) || ((int64((_la-66)) & ^0x3f) == 0 && ((int64(1)<<(_la-66))&4043950990402519041) != 0) { { - p.SetState(888) + p.SetState(890) p.Sql_expr_list() } } { - p.SetState(891) + p.SetState(893) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -15624,7 +15635,7 @@ func (p *KuneiformParser) Action_block() (localctx IAction_blockContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(900) + p.SetState(902) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15633,11 +15644,11 @@ func (p *KuneiformParser) Action_block() (localctx IAction_blockContext) { for _la == KuneiformParserDELETE || _la == KuneiformParserUPDATE || ((int64((_la-84)) & ^0x3f) == 0 && ((int64(1)<<(_la-84))&15393162790401) != 0) { { - p.SetState(895) + p.SetState(897) p.Action_statement() } { - p.SetState(896) + p.SetState(898) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -15645,7 +15656,7 @@ func (p *KuneiformParser) Action_block() (localctx IAction_blockContext) { } } - p.SetState(902) + p.SetState(904) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15909,18 +15920,18 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) p.EnterRule(localctx, 98, KuneiformParserRULE_action_statement) var _la int - p.SetState(923) + p.SetState(925) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 128, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 129, p.GetParserRuleContext()) { case 1: localctx = NewSql_actionContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(903) + p.SetState(905) p.Sql_statement() } @@ -15928,7 +15939,7 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) localctx = NewLocal_actionContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(904) + p.SetState(906) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule @@ -15936,14 +15947,14 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) } } { - p.SetState(905) + p.SetState(907) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(907) + p.SetState(909) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15952,13 +15963,13 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4503599630518408) != 0) || ((int64((_la-114)) & ^0x3f) == 0 && ((int64(1)<<(_la-114))&14367) != 0) { { - p.SetState(906) + p.SetState(908) p.Procedure_expr_list() } } { - p.SetState(909) + p.SetState(911) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -15969,7 +15980,7 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) case 3: localctx = NewExtension_actionContext(p, localctx) p.EnterOuterAlt(localctx, 3) - p.SetState(913) + p.SetState(915) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -15978,11 +15989,11 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) if _la == KuneiformParserVARIABLE || _la == KuneiformParserCONTEXTUAL_VARIABLE { { - p.SetState(910) + p.SetState(912) p.Variable_list() } { - p.SetState(911) + p.SetState(913) p.Match(KuneiformParserEQUALS) if p.HasError() { // Recognition error - abort rule @@ -15992,7 +16003,7 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) } { - p.SetState(915) + p.SetState(917) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule @@ -16000,7 +16011,7 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) } } { - p.SetState(916) + p.SetState(918) p.Match(KuneiformParserPERIOD) if p.HasError() { // Recognition error - abort rule @@ -16008,7 +16019,7 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) } } { - p.SetState(917) + p.SetState(919) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule @@ -16016,14 +16027,14 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) } } { - p.SetState(918) + p.SetState(920) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(920) + p.SetState(922) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -16032,13 +16043,13 @@ func (p *KuneiformParser) Action_statement() (localctx IAction_statementContext) if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4503599630518408) != 0) || ((int64((_la-114)) & ^0x3f) == 0 && ((int64(1)<<(_la-114))&14367) != 0) { { - p.SetState(919) + p.SetState(921) p.Procedure_expr_list() } } { - p.SetState(922) + p.SetState(924) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -16175,7 +16186,7 @@ func (p *KuneiformParser) Procedure_block() (localctx IProcedure_blockContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(928) + p.SetState(930) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -16184,11 +16195,11 @@ func (p *KuneiformParser) Procedure_block() (localctx IProcedure_blockContext) { for ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&31525197931612296) != 0) || ((int64((_la-84)) & ^0x3f) == 0 && ((int64(1)<<(_la-84))&15426876605953) != 0) { { - p.SetState(925) + p.SetState(927) p.Proc_statement() } - p.SetState(930) + p.SetState(932) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -17188,28 +17199,28 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex var _alt int p.EnterOuterAlt(localctx, 1) - p.SetState(960) + p.SetState(962) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 136, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 137, p.GetParserRuleContext()) { case 1: localctx = NewLiteral_procedure_exprContext(p, localctx) p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(932) + p.SetState(934) p.Literal() } - p.SetState(934) + p.SetState(936) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 130, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 131, p.GetParserRuleContext()) == 1 { { - p.SetState(933) + p.SetState(935) p.Type_cast() } @@ -17222,15 +17233,15 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(936) + p.SetState(938) p.Procedure_function_call() } - p.SetState(938) + p.SetState(940) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 131, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 132, p.GetParserRuleContext()) == 1 { { - p.SetState(937) + p.SetState(939) p.Type_cast() } @@ -17243,15 +17254,15 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(940) + p.SetState(942) p.Variable() } - p.SetState(942) + p.SetState(944) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 132, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 133, p.GetParserRuleContext()) == 1 { { - p.SetState(941) + p.SetState(943) p.Type_cast() } @@ -17264,14 +17275,14 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(944) + p.SetState(946) p.Match(KuneiformParserLBRACKET) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(946) + p.SetState(948) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -17280,25 +17291,25 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4503599630518408) != 0) || ((int64((_la-114)) & ^0x3f) == 0 && ((int64(1)<<(_la-114))&14367) != 0) { { - p.SetState(945) + p.SetState(947) p.Procedure_expr_list() } } { - p.SetState(948) + p.SetState(950) p.Match(KuneiformParserRBRACKET) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(950) + p.SetState(952) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 134, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 135, p.GetParserRuleContext()) == 1 { { - p.SetState(949) + p.SetState(951) p.Type_cast() } @@ -17311,7 +17322,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(952) + p.SetState(954) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule @@ -17319,23 +17330,23 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(953) + p.SetState(955) p.procedure_expr(0) } { - p.SetState(954) + p.SetState(956) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(956) + p.SetState(958) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 135, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 136, p.GetParserRuleContext()) == 1 { { - p.SetState(955) + p.SetState(957) p.Type_cast() } @@ -17348,7 +17359,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.SetParserRuleContext(localctx) _prevctx = localctx { - p.SetState(958) + p.SetState(960) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&3147776) != 0) { @@ -17359,7 +17370,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(959) + p.SetState(961) p.procedure_expr(6) } @@ -17367,12 +17378,12 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex goto errorExit } p.GetParserRuleContext().SetStop(p.GetTokenStream().LT(-1)) - p.SetState(1005) + p.SetState(1007) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 142, p.GetParserRuleContext()) + _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 143, p.GetParserRuleContext()) if p.HasError() { goto errorExit } @@ -17382,24 +17393,24 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex p.TriggerExitRuleEvent() } _prevctx = localctx - p.SetState(1003) + p.SetState(1005) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 141, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 142, p.GetParserRuleContext()) { case 1: localctx = NewComparison_procedure_exprContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(962) + p.SetState(964) if !(p.Precpred(p.GetParserRuleContext(), 7)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 7)", "")) goto errorExit } { - p.SetState(963) + p.SetState(965) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&260145152) != 0) { @@ -17410,21 +17421,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(964) + p.SetState(966) p.procedure_expr(8) } case 2: localctx = NewLogical_procedure_exprContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(965) + p.SetState(967) if !(p.Precpred(p.GetParserRuleContext(), 4)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 4)", "")) goto errorExit } { - p.SetState(966) + p.SetState(968) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserAND || _la == KuneiformParserOR) { @@ -17435,21 +17446,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(967) + p.SetState(969) p.procedure_expr(5) } case 3: localctx = NewProcedure_expr_arithmeticContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(968) + p.SetState(970) if !(p.Precpred(p.GetParserRuleContext(), 3)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 3)", "")) goto errorExit } { - p.SetState(969) + p.SetState(971) p.Match(KuneiformParserCONCAT) if p.HasError() { // Recognition error - abort rule @@ -17457,21 +17468,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(970) + p.SetState(972) p.procedure_expr(4) } case 4: localctx = NewProcedure_expr_arithmeticContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(971) + p.SetState(973) if !(p.Precpred(p.GetParserRuleContext(), 2)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 2)", "")) goto errorExit } { - p.SetState(972) + p.SetState(974) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4734976) != 0) { @@ -17482,21 +17493,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(973) + p.SetState(975) p.procedure_expr(3) } case 5: localctx = NewProcedure_expr_arithmeticContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(974) + p.SetState(976) if !(p.Precpred(p.GetParserRuleContext(), 1)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 1)", "")) goto errorExit } { - p.SetState(975) + p.SetState(977) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserPLUS || _la == KuneiformParserMINUS) { @@ -17507,21 +17518,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(976) + p.SetState(978) p.procedure_expr(2) } case 6: localctx = NewArray_access_procedure_exprContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(977) + p.SetState(979) if !(p.Precpred(p.GetParserRuleContext(), 10)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 10)", "")) goto errorExit } { - p.SetState(978) + p.SetState(980) p.Match(KuneiformParserLBRACKET) if p.HasError() { // Recognition error - abort rule @@ -17529,23 +17540,23 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(979) + p.SetState(981) p.procedure_expr(0) } { - p.SetState(980) + p.SetState(982) p.Match(KuneiformParserRBRACKET) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(982) + p.SetState(984) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 137, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 138, p.GetParserRuleContext()) == 1 { { - p.SetState(981) + p.SetState(983) p.Type_cast() } @@ -17556,14 +17567,14 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex case 7: localctx = NewField_access_procedure_exprContext(p, NewProcedure_exprContext(p, _parentctx, _parentState)) p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(984) + p.SetState(986) if !(p.Precpred(p.GetParserRuleContext(), 8)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 8)", "")) goto errorExit } { - p.SetState(985) + p.SetState(987) p.Match(KuneiformParserPERIOD) if p.HasError() { // Recognition error - abort rule @@ -17571,19 +17582,19 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(986) + p.SetState(988) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(988) + p.SetState(990) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 138, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 139, p.GetParserRuleContext()) == 1 { { - p.SetState(987) + p.SetState(989) p.Type_cast() } @@ -17596,21 +17607,21 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex localctx.(*Is_procedure_exprContext).left = _prevctx p.PushNewRecursionContext(localctx, _startState, KuneiformParserRULE_procedure_expr) - p.SetState(990) + p.SetState(992) if !(p.Precpred(p.GetParserRuleContext(), 5)) { p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 5)", "")) goto errorExit } { - p.SetState(991) + p.SetState(993) p.Match(KuneiformParserIS) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(993) + p.SetState(995) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -17619,7 +17630,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex if _la == KuneiformParserNOT { { - p.SetState(992) + p.SetState(994) p.Match(KuneiformParserNOT) if p.HasError() { // Recognition error - abort rule @@ -17628,7 +17639,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } - p.SetState(1001) + p.SetState(1003) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -17637,7 +17648,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex switch p.GetTokenStream().LA(1) { case KuneiformParserDISTINCT: { - p.SetState(995) + p.SetState(997) p.Match(KuneiformParserDISTINCT) if p.HasError() { // Recognition error - abort rule @@ -17645,7 +17656,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(996) + p.SetState(998) p.Match(KuneiformParserFROM) if p.HasError() { // Recognition error - abort rule @@ -17653,7 +17664,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } { - p.SetState(997) + p.SetState(999) var _x = p.procedure_expr(0) @@ -17662,7 +17673,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex case KuneiformParserNULL: { - p.SetState(998) + p.SetState(1000) p.Match(KuneiformParserNULL) if p.HasError() { // Recognition error - abort rule @@ -17672,7 +17683,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex case KuneiformParserTRUE: { - p.SetState(999) + p.SetState(1001) p.Match(KuneiformParserTRUE) if p.HasError() { // Recognition error - abort rule @@ -17682,7 +17693,7 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex case KuneiformParserFALSE: { - p.SetState(1000) + p.SetState(1002) p.Match(KuneiformParserFALSE) if p.HasError() { // Recognition error - abort rule @@ -17700,12 +17711,12 @@ func (p *KuneiformParser) procedure_expr(_p int) (localctx IProcedure_exprContex } } - p.SetState(1007) + p.SetState(1009) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 142, p.GetParserRuleContext()) + _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 143, p.GetParserRuleContext()) if p.HasError() { goto errorExit } @@ -17847,10 +17858,10 @@ func (p *KuneiformParser) Procedure_expr_list() (localctx IProcedure_expr_listCo p.EnterOuterAlt(localctx, 1) { - p.SetState(1008) + p.SetState(1010) p.procedure_expr(0) } - p.SetState(1013) + p.SetState(1015) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -17859,7 +17870,7 @@ func (p *KuneiformParser) Procedure_expr_list() (localctx IProcedure_expr_listCo for _la == KuneiformParserCOMMA { { - p.SetState(1009) + p.SetState(1011) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -17867,11 +17878,11 @@ func (p *KuneiformParser) Procedure_expr_list() (localctx IProcedure_expr_listCo } } { - p.SetState(1010) + p.SetState(1012) p.procedure_expr(0) } - p.SetState(1015) + p.SetState(1017) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18686,18 +18697,18 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { p.EnterRule(localctx, 106, KuneiformParserRULE_proc_statement) var _la int - p.SetState(1096) + p.SetState(1098) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 153, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 154, p.GetParserRuleContext()) { case 1: localctx = NewStmt_variable_declarationContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(1016) + p.SetState(1018) p.Match(KuneiformParserVARIABLE) if p.HasError() { // Recognition error - abort rule @@ -18705,11 +18716,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1017) + p.SetState(1019) p.Type_() } { - p.SetState(1018) + p.SetState(1020) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -18720,7 +18731,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { case 2: localctx = NewStmt_procedure_callContext(p, localctx) p.EnterOuterAlt(localctx, 2) - p.SetState(1030) + p.SetState(1032) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18729,11 +18740,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { if _la == KuneiformParserUNDERSCORE || _la == KuneiformParserVARIABLE { { - p.SetState(1020) + p.SetState(1022) p.Variable_or_underscore() } - p.SetState(1025) + p.SetState(1027) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18742,7 +18753,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { for _la == KuneiformParserCOMMA { { - p.SetState(1021) + p.SetState(1023) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -18751,11 +18762,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } { - p.SetState(1022) + p.SetState(1024) p.Variable_or_underscore() } - p.SetState(1027) + p.SetState(1029) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18763,7 +18774,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(1028) + p.SetState(1030) p.Match(KuneiformParserASSIGN) if p.HasError() { // Recognition error - abort rule @@ -18773,11 +18784,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } { - p.SetState(1032) + p.SetState(1034) p.Procedure_function_call() } { - p.SetState(1033) + p.SetState(1035) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -18789,10 +18800,10 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_variable_assignmentContext(p, localctx) p.EnterOuterAlt(localctx, 3) { - p.SetState(1035) + p.SetState(1037) p.procedure_expr(0) } - p.SetState(1037) + p.SetState(1039) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18801,13 +18812,13 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { if _la == KuneiformParserIDENTIFIER { { - p.SetState(1036) + p.SetState(1038) p.Type_() } } { - p.SetState(1039) + p.SetState(1041) p.Match(KuneiformParserASSIGN) if p.HasError() { // Recognition error - abort rule @@ -18815,11 +18826,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1040) + p.SetState(1042) p.procedure_expr(0) } { - p.SetState(1041) + p.SetState(1043) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -18831,7 +18842,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_for_loopContext(p, localctx) p.EnterOuterAlt(localctx, 4) { - p.SetState(1043) + p.SetState(1045) p.Match(KuneiformParserFOR) if p.HasError() { // Recognition error - abort rule @@ -18839,7 +18850,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1044) + p.SetState(1046) var _m = p.Match(KuneiformParserVARIABLE) @@ -18850,29 +18861,29 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1045) + p.SetState(1047) p.Match(KuneiformParserIN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1049) + p.SetState(1051) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 147, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 148, p.GetParserRuleContext()) { case 1: { - p.SetState(1046) + p.SetState(1048) p.Range_() } case 2: { - p.SetState(1047) + p.SetState(1049) var _x = p.Variable() @@ -18881,7 +18892,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { case 3: { - p.SetState(1048) + p.SetState(1050) p.Sql_statement() } @@ -18889,14 +18900,14 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { goto errorExit } { - p.SetState(1051) + p.SetState(1053) p.Match(KuneiformParserLBRACE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1055) + p.SetState(1057) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18905,11 +18916,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { for ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&31525197931612296) != 0) || ((int64((_la-84)) & ^0x3f) == 0 && ((int64(1)<<(_la-84))&15426876605953) != 0) { { - p.SetState(1052) + p.SetState(1054) p.Proc_statement() } - p.SetState(1057) + p.SetState(1059) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18917,7 +18928,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(1058) + p.SetState(1060) p.Match(KuneiformParserRBRACE) if p.HasError() { // Recognition error - abort rule @@ -18929,7 +18940,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_ifContext(p, localctx) p.EnterOuterAlt(localctx, 5) { - p.SetState(1060) + p.SetState(1062) p.Match(KuneiformParserIF) if p.HasError() { // Recognition error - abort rule @@ -18937,10 +18948,10 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1061) + p.SetState(1063) p.If_then_block() } - p.SetState(1066) + p.SetState(1068) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18949,7 +18960,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { for _la == KuneiformParserELSEIF { { - p.SetState(1062) + p.SetState(1064) p.Match(KuneiformParserELSEIF) if p.HasError() { // Recognition error - abort rule @@ -18957,18 +18968,18 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1063) + p.SetState(1065) p.If_then_block() } - p.SetState(1068) + p.SetState(1070) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(1078) + p.SetState(1080) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -18977,7 +18988,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { if _la == KuneiformParserELSE { { - p.SetState(1069) + p.SetState(1071) p.Match(KuneiformParserELSE) if p.HasError() { // Recognition error - abort rule @@ -18985,14 +18996,14 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1070) + p.SetState(1072) p.Match(KuneiformParserLBRACE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1074) + p.SetState(1076) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19001,11 +19012,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { for ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&31525197931612296) != 0) || ((int64((_la-84)) & ^0x3f) == 0 && ((int64(1)<<(_la-84))&15426876605953) != 0) { { - p.SetState(1071) + p.SetState(1073) p.Proc_statement() } - p.SetState(1076) + p.SetState(1078) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19013,7 +19024,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(1077) + p.SetState(1079) p.Match(KuneiformParserRBRACE) if p.HasError() { // Recognition error - abort rule @@ -19027,11 +19038,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_sqlContext(p, localctx) p.EnterOuterAlt(localctx, 6) { - p.SetState(1080) + p.SetState(1082) p.Sql_statement() } { - p.SetState(1081) + p.SetState(1083) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -19043,7 +19054,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_breakContext(p, localctx) p.EnterOuterAlt(localctx, 7) { - p.SetState(1083) + p.SetState(1085) p.Match(KuneiformParserBREAK) if p.HasError() { // Recognition error - abort rule @@ -19051,7 +19062,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1084) + p.SetState(1086) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -19063,14 +19074,14 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_returnContext(p, localctx) p.EnterOuterAlt(localctx, 8) { - p.SetState(1085) + p.SetState(1087) p.Match(KuneiformParserRETURN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1088) + p.SetState(1090) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19078,13 +19089,13 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { switch p.GetTokenStream().LA(1) { case KuneiformParserLBRACKET, KuneiformParserLPAREN, KuneiformParserEXCL, KuneiformParserPLUS, KuneiformParserMINUS, KuneiformParserNULL, KuneiformParserSTRING_, KuneiformParserTRUE, KuneiformParserFALSE, KuneiformParserDIGITS_, KuneiformParserBINARY_, KuneiformParserIDENTIFIER, KuneiformParserVARIABLE, KuneiformParserCONTEXTUAL_VARIABLE: { - p.SetState(1086) + p.SetState(1088) p.Procedure_expr_list() } case KuneiformParserDELETE, KuneiformParserUPDATE, KuneiformParserWITH, KuneiformParserSELECT, KuneiformParserINSERT: { - p.SetState(1087) + p.SetState(1089) p.Sql_statement() } @@ -19093,7 +19104,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { default: } { - p.SetState(1090) + p.SetState(1092) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -19105,7 +19116,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { localctx = NewStmt_return_nextContext(p, localctx) p.EnterOuterAlt(localctx, 9) { - p.SetState(1091) + p.SetState(1093) p.Match(KuneiformParserRETURN) if p.HasError() { // Recognition error - abort rule @@ -19113,7 +19124,7 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1092) + p.SetState(1094) p.Match(KuneiformParserNEXT) if p.HasError() { // Recognition error - abort rule @@ -19121,11 +19132,11 @@ func (p *KuneiformParser) Proc_statement() (localctx IProc_statementContext) { } } { - p.SetState(1093) + p.SetState(1095) p.Procedure_expr_list() } { - p.SetState(1094) + p.SetState(1096) p.Match(KuneiformParserSCOL) if p.HasError() { // Recognition error - abort rule @@ -19230,7 +19241,7 @@ func (p *KuneiformParser) Variable_or_underscore() (localctx IVariable_or_unders p.EnterOuterAlt(localctx, 1) { - p.SetState(1098) + p.SetState(1100) _la = p.GetTokenStream().LA(1) if !(_la == KuneiformParserUNDERSCORE || _la == KuneiformParserVARIABLE) { @@ -19488,18 +19499,18 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio p.EnterRule(localctx, 110, KuneiformParserRULE_procedure_function_call) var _la int - p.SetState(1118) + p.SetState(1120) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 156, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 157, p.GetParserRuleContext()) { case 1: localctx = NewNormal_call_procedureContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(1100) + p.SetState(1102) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule @@ -19507,14 +19518,14 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio } } { - p.SetState(1101) + p.SetState(1103) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1103) + p.SetState(1105) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19523,13 +19534,13 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4503599630518408) != 0) || ((int64((_la-114)) & ^0x3f) == 0 && ((int64(1)<<(_la-114))&14367) != 0) { { - p.SetState(1102) + p.SetState(1104) p.Procedure_expr_list() } } { - p.SetState(1105) + p.SetState(1107) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -19541,7 +19552,7 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio localctx = NewForeign_call_procedureContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(1106) + p.SetState(1108) p.Match(KuneiformParserIDENTIFIER) if p.HasError() { // Recognition error - abort rule @@ -19549,7 +19560,7 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio } } { - p.SetState(1107) + p.SetState(1109) p.Match(KuneiformParserLBRACKET) if p.HasError() { // Recognition error - abort rule @@ -19557,14 +19568,14 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio } } { - p.SetState(1108) + p.SetState(1110) var _x = p.procedure_expr(0) localctx.(*Foreign_call_procedureContext).dbid = _x } { - p.SetState(1109) + p.SetState(1111) p.Match(KuneiformParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -19572,14 +19583,14 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio } } { - p.SetState(1110) + p.SetState(1112) var _x = p.procedure_expr(0) localctx.(*Foreign_call_procedureContext).procedure = _x } { - p.SetState(1111) + p.SetState(1113) p.Match(KuneiformParserRBRACKET) if p.HasError() { // Recognition error - abort rule @@ -19587,14 +19598,14 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio } } { - p.SetState(1112) + p.SetState(1114) p.Match(KuneiformParserLPAREN) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1114) + p.SetState(1116) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19603,13 +19614,13 @@ func (p *KuneiformParser) Procedure_function_call() (localctx IProcedure_functio if ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&4503599630518408) != 0) || ((int64((_la-114)) & ^0x3f) == 0 && ((int64(1)<<(_la-114))&14367) != 0) { { - p.SetState(1113) + p.SetState(1115) p.Procedure_expr_list() } } { - p.SetState(1116) + p.SetState(1118) p.Match(KuneiformParserRPAREN) if p.HasError() { // Recognition error - abort rule @@ -19774,18 +19785,18 @@ func (p *KuneiformParser) If_then_block() (localctx IIf_then_blockContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(1120) + p.SetState(1122) p.procedure_expr(0) } { - p.SetState(1121) + p.SetState(1123) p.Match(KuneiformParserLBRACE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(1125) + p.SetState(1127) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19794,11 +19805,11 @@ func (p *KuneiformParser) If_then_block() (localctx IIf_then_blockContext) { for ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&31525197931612296) != 0) || ((int64((_la-84)) & ^0x3f) == 0 && ((int64(1)<<(_la-84))&15426876605953) != 0) { { - p.SetState(1122) + p.SetState(1124) p.Proc_statement() } - p.SetState(1127) + p.SetState(1129) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -19806,7 +19817,7 @@ func (p *KuneiformParser) If_then_block() (localctx IIf_then_blockContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(1128) + p.SetState(1130) p.Match(KuneiformParserRBRACE) if p.HasError() { // Recognition error - abort rule @@ -19943,11 +19954,11 @@ func (p *KuneiformParser) Range_() (localctx IRangeContext) { p.EnterRule(localctx, 114, KuneiformParserRULE_range) p.EnterOuterAlt(localctx, 1) { - p.SetState(1130) + p.SetState(1132) p.procedure_expr(0) } { - p.SetState(1131) + p.SetState(1133) p.Match(KuneiformParserRANGE) if p.HasError() { // Recognition error - abort rule @@ -19955,7 +19966,7 @@ func (p *KuneiformParser) Range_() (localctx IRangeContext) { } } { - p.SetState(1132) + p.SetState(1134) p.procedure_expr(0) } diff --git a/parse/grammar/KuneiformParser.g4 b/parse/grammar/KuneiformParser.g4 index ba1738b57..49998190e 100644 --- a/parse/grammar/KuneiformParser.g4 +++ b/parse/grammar/KuneiformParser.g4 @@ -196,7 +196,7 @@ sql_statement: ; common_table_expression: - identifier LPAREN (identifier (COMMA identifier)*)? RPAREN AS LPAREN select_statement RPAREN + identifier (LPAREN (identifier (COMMA identifier)*)? RPAREN)? AS LPAREN select_statement RPAREN ; select_statement: diff --git a/parse/parse_test.go b/parse/parse_test.go index e299a2ab6..881a65a28 100644 --- a/parse/parse_test.go +++ b/parse/parse_test.go @@ -2697,6 +2697,105 @@ func Test_SQL(t *testing.T) { }, }, }, + { + name: "cte", + sql: `WITH cte AS (SELECT id FROM users) SELECT * FROM cte;`, + want: &parse.SQLStatement{ + CTEs: []*parse.CommonTableExpression{ + { + Name: "cte", + Query: &parse.SelectStatement{ + SelectCores: []*parse.SelectCore{ + { + Columns: []parse.ResultColumn{ + &parse.ResultColumnExpression{ + Expression: exprColumn("", "id"), + }, + }, + From: &parse.RelationTable{ + Table: "users", + }, + }, + }, + // apply default ordering + Ordering: []*parse.OrderingTerm{ + { + Expression: exprColumn("users", "id"), + }, + }, + }, + }, + }, + SQL: &parse.SelectStatement{ + SelectCores: []*parse.SelectCore{ + { + Columns: []parse.ResultColumn{ + &parse.ResultColumnWildcard{}, + }, + From: &parse.RelationTable{ + Table: "cte", + }, + }, + }, + // apply default ordering + Ordering: []*parse.OrderingTerm{ + { + Expression: exprColumn("cte", "id"), + }, + }, + }, + }, + }, + { + name: "cte with columns", + sql: `WITH cte (id2) AS (SELECT id FROM users) SELECT * FROM cte;`, + want: &parse.SQLStatement{ + CTEs: []*parse.CommonTableExpression{ + { + Name: "cte", + Columns: []string{"id2"}, + Query: &parse.SelectStatement{ + SelectCores: []*parse.SelectCore{ + { + Columns: []parse.ResultColumn{ + &parse.ResultColumnExpression{ + Expression: exprColumn("", "id"), + }, + }, + From: &parse.RelationTable{ + Table: "users", + }, + }, + }, + // apply default ordering + Ordering: []*parse.OrderingTerm{ + { + Expression: exprColumn("users", "id"), + }, + }, + }, + }, + }, + SQL: &parse.SelectStatement{ + SelectCores: []*parse.SelectCore{ + { + Columns: []parse.ResultColumn{ + &parse.ResultColumnWildcard{}, + }, + From: &parse.RelationTable{ + Table: "cte", + }, + }, + }, + // apply default ordering + Ordering: []*parse.OrderingTerm{ + { + Expression: exprColumn("cte", "id2"), + }, + }, + }, + }, + }, } for _, tt := range tests {