From baed3ff674f934bf6b7a8f8a2722f473e06d5c4e Mon Sep 17 00:00:00 2001 From: Agustindeleon Date: Sat, 29 Nov 2025 14:27:38 +0100 Subject: [PATCH] chore: divide comment block in stmt --- g4/SecLangParser.g4 | 2 +- parser/seclang_parser.go | 1296 +++++++++++++-------------- src/seclang_parser/SecLangParser.py | 1150 ++++++++++++------------ testdata/test_44_comments.conf | 8 + testdata/tests.yaml | 9 +- 5 files changed, 1207 insertions(+), 1258 deletions(-) diff --git a/g4/SecLangParser.g4 b/g4/SecLangParser.g4 index 1177229..152a92f 100644 --- a/g4/SecLangParser.g4 +++ b/g4/SecLangParser.g4 @@ -37,7 +37,7 @@ stmt: | comment_block? update_target_rules QUOTE update_target_rules_values QUOTE update_variables PIPE new_target | comment_block? update_action_rule id actions | comment_block? engine_config_directive - | comment_block+; + | comment_block; comment_block: comment+ (BLOCK_COMMENT_END | EOF)? diff --git a/parser/seclang_parser.go b/parser/seclang_parser.go index cec1a22..2854067 100644 --- a/parser/seclang_parser.go +++ b/parser/seclang_parser.go @@ -183,7 +183,7 @@ func seclangparserParserInit() { } staticData.PredictionContextCache = antlr.NewPredictionContextCache() staticData.serializedATN = []int32{ - 4, 1, 270, 687, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, + 4, 1, 270, 683, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, @@ -206,304 +206,302 @@ func seclangparserParserInit() { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 216, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 225, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 236, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 1, 243, 8, 1, 1, 1, 1, 1, 4, 1, 247, 8, 1, 11, 1, 12, 1, 248, - 3, 1, 251, 8, 1, 1, 2, 4, 2, 254, 8, 2, 11, 2, 12, 2, 255, 1, 2, 3, 2, - 259, 8, 2, 1, 3, 1, 3, 3, 3, 263, 8, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, + 1, 1, 3, 1, 243, 8, 1, 1, 1, 1, 1, 3, 1, 247, 8, 1, 1, 2, 4, 2, 250, 8, + 2, 11, 2, 12, 2, 251, 1, 2, 3, 2, 255, 8, 2, 1, 3, 1, 3, 3, 3, 259, 8, + 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, - 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, - 5, 3, 5, 295, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 301, 8, 6, 1, 7, 1, 7, - 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, - 315, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, - 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 3, 17, 331, 8, 17, 1, 18, 1, 18, - 1, 19, 1, 19, 1, 19, 3, 19, 338, 8, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, - 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 350, 8, 23, 10, 23, 12, 23, - 353, 9, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, - 26, 1, 26, 3, 26, 365, 8, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, - 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, - 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 392, - 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 400, 8, 29, 1, - 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 410, 8, 29, - 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 416, 8, 29, 3, 29, 418, 8, 29, 1, 30, - 1, 30, 1, 30, 3, 30, 423, 8, 30, 1, 31, 1, 31, 1, 32, 1, 32, 3, 32, 429, - 8, 32, 1, 32, 1, 32, 1, 32, 3, 32, 434, 8, 32, 1, 32, 1, 32, 1, 32, 1, - 32, 1, 32, 1, 32, 1, 32, 3, 32, 443, 8, 32, 1, 33, 1, 33, 1, 34, 1, 34, - 1, 34, 5, 34, 450, 8, 34, 10, 34, 12, 34, 453, 9, 34, 1, 34, 1, 34, 3, - 34, 457, 8, 34, 1, 34, 1, 34, 5, 34, 461, 8, 34, 10, 34, 12, 34, 464, 9, - 34, 1, 34, 1, 34, 3, 34, 468, 8, 34, 5, 34, 470, 8, 34, 10, 34, 12, 34, - 473, 9, 34, 1, 34, 1, 34, 3, 34, 477, 8, 34, 1, 35, 1, 35, 1, 36, 1, 36, - 1, 37, 3, 37, 484, 8, 37, 1, 37, 3, 37, 487, 8, 37, 1, 37, 3, 37, 490, - 8, 37, 1, 37, 1, 37, 3, 37, 494, 8, 37, 1, 37, 1, 37, 3, 37, 498, 8, 37, - 1, 37, 3, 37, 501, 8, 37, 1, 37, 1, 37, 3, 37, 505, 8, 37, 5, 37, 507, - 8, 37, 10, 37, 12, 37, 510, 9, 37, 1, 38, 3, 38, 513, 8, 38, 1, 38, 3, - 38, 516, 8, 38, 1, 38, 3, 38, 519, 8, 38, 1, 38, 1, 38, 3, 38, 523, 8, - 38, 1, 38, 1, 38, 3, 38, 527, 8, 38, 1, 38, 3, 38, 530, 8, 38, 1, 38, 1, - 38, 3, 38, 534, 8, 38, 5, 38, 536, 8, 38, 10, 38, 12, 38, 539, 9, 38, 1, - 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 3, 40, 547, 8, 40, 3, 40, 549, 8, - 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 43, 1, 43, 1, 44, 1, 44, 1, 45, 1, 45, - 1, 45, 1, 45, 5, 45, 563, 8, 45, 10, 45, 12, 45, 566, 9, 45, 1, 45, 1, - 45, 1, 46, 1, 46, 1, 46, 3, 46, 573, 8, 46, 1, 46, 3, 46, 576, 8, 46, 1, - 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, - 588, 8, 46, 1, 47, 1, 47, 1, 47, 3, 47, 593, 8, 47, 1, 48, 1, 48, 1, 49, - 1, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 606, 8, - 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 616, - 8, 52, 1, 53, 1, 53, 1, 54, 1, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, - 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 635, 8, 57, - 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, - 58, 3, 58, 648, 8, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, - 1, 62, 1, 62, 3, 62, 659, 8, 62, 1, 63, 1, 63, 1, 63, 3, 63, 664, 8, 63, - 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, - 66, 4, 66, 677, 8, 66, 11, 66, 12, 66, 678, 1, 67, 1, 67, 1, 68, 1, 68, - 1, 69, 1, 69, 1, 69, 0, 0, 70, 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, 116, 118, 120, 122, 124, - 126, 128, 130, 132, 134, 136, 138, 0, 15, 1, 1, 259, 259, 8, 0, 131, 139, - 150, 167, 169, 175, 178, 178, 180, 180, 182, 183, 185, 185, 209, 216, 3, - 0, 225, 225, 233, 233, 241, 241, 3, 0, 140, 149, 193, 197, 227, 227, 1, - 0, 89, 125, 2, 0, 85, 85, 87, 87, 5, 0, 27, 27, 30, 30, 44, 44, 46, 46, - 58, 59, 5, 0, 29, 29, 31, 31, 52, 52, 55, 57, 67, 67, 1, 0, 62, 63, 8, - 0, 28, 28, 33, 33, 45, 45, 47, 48, 50, 51, 61, 61, 65, 66, 68, 74, 2, 0, - 79, 79, 82, 82, 1, 0, 77, 78, 1, 0, 34, 43, 2, 0, 3, 3, 5, 6, 1, 0, 226, - 227, 758, 0, 143, 1, 0, 0, 0, 2, 250, 1, 0, 0, 0, 4, 253, 1, 0, 0, 0, 6, - 260, 1, 0, 0, 0, 8, 264, 1, 0, 0, 0, 10, 294, 1, 0, 0, 0, 12, 300, 1, 0, - 0, 0, 14, 302, 1, 0, 0, 0, 16, 304, 1, 0, 0, 0, 18, 306, 1, 0, 0, 0, 20, - 308, 1, 0, 0, 0, 22, 310, 1, 0, 0, 0, 24, 314, 1, 0, 0, 0, 26, 316, 1, - 0, 0, 0, 28, 320, 1, 0, 0, 0, 30, 324, 1, 0, 0, 0, 32, 326, 1, 0, 0, 0, - 34, 330, 1, 0, 0, 0, 36, 332, 1, 0, 0, 0, 38, 337, 1, 0, 0, 0, 40, 339, - 1, 0, 0, 0, 42, 341, 1, 0, 0, 0, 44, 343, 1, 0, 0, 0, 46, 345, 1, 0, 0, - 0, 48, 356, 1, 0, 0, 0, 50, 360, 1, 0, 0, 0, 52, 364, 1, 0, 0, 0, 54, 366, - 1, 0, 0, 0, 56, 391, 1, 0, 0, 0, 58, 417, 1, 0, 0, 0, 60, 422, 1, 0, 0, - 0, 62, 424, 1, 0, 0, 0, 64, 442, 1, 0, 0, 0, 66, 444, 1, 0, 0, 0, 68, 476, - 1, 0, 0, 0, 70, 478, 1, 0, 0, 0, 72, 480, 1, 0, 0, 0, 74, 483, 1, 0, 0, - 0, 76, 512, 1, 0, 0, 0, 78, 540, 1, 0, 0, 0, 80, 548, 1, 0, 0, 0, 82, 550, - 1, 0, 0, 0, 84, 552, 1, 0, 0, 0, 86, 554, 1, 0, 0, 0, 88, 556, 1, 0, 0, - 0, 90, 558, 1, 0, 0, 0, 92, 587, 1, 0, 0, 0, 94, 592, 1, 0, 0, 0, 96, 594, - 1, 0, 0, 0, 98, 596, 1, 0, 0, 0, 100, 598, 1, 0, 0, 0, 102, 605, 1, 0, - 0, 0, 104, 615, 1, 0, 0, 0, 106, 617, 1, 0, 0, 0, 108, 619, 1, 0, 0, 0, - 110, 621, 1, 0, 0, 0, 112, 623, 1, 0, 0, 0, 114, 634, 1, 0, 0, 0, 116, - 647, 1, 0, 0, 0, 118, 649, 1, 0, 0, 0, 120, 651, 1, 0, 0, 0, 122, 653, - 1, 0, 0, 0, 124, 658, 1, 0, 0, 0, 126, 663, 1, 0, 0, 0, 128, 665, 1, 0, - 0, 0, 130, 671, 1, 0, 0, 0, 132, 676, 1, 0, 0, 0, 134, 680, 1, 0, 0, 0, - 136, 682, 1, 0, 0, 0, 138, 684, 1, 0, 0, 0, 140, 142, 3, 2, 1, 0, 141, - 140, 1, 0, 0, 0, 142, 145, 1, 0, 0, 0, 143, 141, 1, 0, 0, 0, 143, 144, - 1, 0, 0, 0, 144, 146, 1, 0, 0, 0, 145, 143, 1, 0, 0, 0, 146, 147, 5, 0, - 0, 1, 147, 1, 1, 0, 0, 0, 148, 150, 3, 4, 2, 0, 149, 148, 1, 0, 0, 0, 149, - 150, 1, 0, 0, 0, 150, 151, 1, 0, 0, 0, 151, 152, 3, 8, 4, 0, 152, 153, - 3, 74, 37, 0, 153, 155, 3, 64, 32, 0, 154, 156, 3, 90, 45, 0, 155, 154, - 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, 156, 251, 1, 0, 0, 0, 157, 159, 3, 4, - 2, 0, 158, 157, 1, 0, 0, 0, 158, 159, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, - 160, 161, 3, 18, 9, 0, 161, 163, 3, 20, 10, 0, 162, 164, 3, 90, 45, 0, - 163, 162, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 251, 1, 0, 0, 0, 165, - 167, 3, 4, 2, 0, 166, 165, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 168, - 1, 0, 0, 0, 168, 169, 3, 18, 9, 0, 169, 170, 5, 1, 0, 0, 170, 171, 3, 20, - 10, 0, 171, 173, 5, 1, 0, 0, 172, 174, 3, 90, 45, 0, 173, 172, 1, 0, 0, - 0, 173, 174, 1, 0, 0, 0, 174, 251, 1, 0, 0, 0, 175, 177, 3, 4, 2, 0, 176, - 175, 1, 0, 0, 0, 176, 177, 1, 0, 0, 0, 177, 178, 1, 0, 0, 0, 178, 180, - 3, 22, 11, 0, 179, 181, 3, 24, 12, 0, 180, 179, 1, 0, 0, 0, 181, 182, 1, - 0, 0, 0, 182, 180, 1, 0, 0, 0, 182, 183, 1, 0, 0, 0, 183, 251, 1, 0, 0, - 0, 184, 186, 3, 4, 2, 0, 185, 184, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, - 187, 1, 0, 0, 0, 187, 188, 3, 34, 17, 0, 188, 189, 3, 36, 18, 0, 189, 251, - 1, 0, 0, 0, 190, 192, 3, 4, 2, 0, 191, 190, 1, 0, 0, 0, 191, 192, 1, 0, - 0, 0, 192, 193, 1, 0, 0, 0, 193, 194, 3, 34, 17, 0, 194, 195, 5, 1, 0, - 0, 195, 196, 3, 36, 18, 0, 196, 197, 5, 1, 0, 0, 197, 251, 1, 0, 0, 0, - 198, 200, 3, 4, 2, 0, 199, 198, 1, 0, 0, 0, 199, 200, 1, 0, 0, 0, 200, - 201, 1, 0, 0, 0, 201, 202, 3, 38, 19, 0, 202, 203, 3, 60, 30, 0, 203, 204, - 3, 76, 38, 0, 204, 251, 1, 0, 0, 0, 205, 207, 3, 4, 2, 0, 206, 205, 1, - 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 209, 3, 38, 19, - 0, 209, 210, 5, 1, 0, 0, 210, 211, 3, 60, 30, 0, 211, 212, 5, 1, 0, 0, - 212, 213, 3, 76, 38, 0, 213, 251, 1, 0, 0, 0, 214, 216, 3, 4, 2, 0, 215, - 214, 1, 0, 0, 0, 215, 216, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 218, - 3, 38, 19, 0, 218, 219, 3, 60, 30, 0, 219, 220, 3, 76, 38, 0, 220, 221, - 5, 8, 0, 0, 221, 222, 3, 78, 39, 0, 222, 251, 1, 0, 0, 0, 223, 225, 3, - 4, 2, 0, 224, 223, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 226, 1, 0, 0, - 0, 226, 227, 3, 38, 19, 0, 227, 228, 5, 1, 0, 0, 228, 229, 3, 60, 30, 0, - 229, 230, 5, 1, 0, 0, 230, 231, 3, 76, 38, 0, 231, 232, 5, 8, 0, 0, 232, - 233, 3, 78, 39, 0, 233, 251, 1, 0, 0, 0, 234, 236, 3, 4, 2, 0, 235, 234, - 1, 0, 0, 0, 235, 236, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 238, 3, 40, - 20, 0, 238, 239, 3, 42, 21, 0, 239, 240, 3, 90, 45, 0, 240, 251, 1, 0, - 0, 0, 241, 243, 3, 4, 2, 0, 242, 241, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, - 243, 244, 1, 0, 0, 0, 244, 251, 3, 10, 5, 0, 245, 247, 3, 4, 2, 0, 246, - 245, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0, 248, 246, 1, 0, 0, 0, 248, 249, - 1, 0, 0, 0, 249, 251, 1, 0, 0, 0, 250, 149, 1, 0, 0, 0, 250, 158, 1, 0, - 0, 0, 250, 166, 1, 0, 0, 0, 250, 176, 1, 0, 0, 0, 250, 185, 1, 0, 0, 0, - 250, 191, 1, 0, 0, 0, 250, 199, 1, 0, 0, 0, 250, 206, 1, 0, 0, 0, 250, - 215, 1, 0, 0, 0, 250, 224, 1, 0, 0, 0, 250, 235, 1, 0, 0, 0, 250, 242, - 1, 0, 0, 0, 250, 246, 1, 0, 0, 0, 251, 3, 1, 0, 0, 0, 252, 254, 3, 6, 3, - 0, 253, 252, 1, 0, 0, 0, 254, 255, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 255, - 256, 1, 0, 0, 0, 256, 258, 1, 0, 0, 0, 257, 259, 7, 0, 0, 0, 258, 257, - 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 5, 1, 0, 0, 0, 260, 262, 5, 12, - 0, 0, 261, 263, 5, 257, 0, 0, 262, 261, 1, 0, 0, 0, 262, 263, 1, 0, 0, - 0, 263, 7, 1, 0, 0, 0, 264, 265, 5, 217, 0, 0, 265, 9, 1, 0, 0, 0, 266, - 267, 3, 54, 27, 0, 267, 268, 3, 56, 28, 0, 268, 295, 1, 0, 0, 0, 269, 270, - 3, 54, 27, 0, 270, 271, 5, 1, 0, 0, 271, 272, 3, 56, 28, 0, 272, 273, 5, - 1, 0, 0, 273, 295, 1, 0, 0, 0, 274, 275, 3, 52, 26, 0, 275, 276, 3, 90, - 45, 0, 276, 295, 1, 0, 0, 0, 277, 278, 3, 12, 6, 0, 278, 279, 5, 1, 0, - 0, 279, 280, 3, 56, 28, 0, 280, 281, 5, 1, 0, 0, 281, 295, 1, 0, 0, 0, - 282, 283, 3, 14, 7, 0, 283, 284, 5, 1, 0, 0, 284, 285, 3, 56, 28, 0, 285, - 286, 5, 1, 0, 0, 286, 295, 1, 0, 0, 0, 287, 288, 3, 16, 8, 0, 288, 289, - 3, 56, 28, 0, 289, 295, 1, 0, 0, 0, 290, 291, 3, 44, 22, 0, 291, 292, 3, - 56, 28, 0, 292, 293, 3, 46, 23, 0, 293, 295, 1, 0, 0, 0, 294, 266, 1, 0, - 0, 0, 294, 269, 1, 0, 0, 0, 294, 274, 1, 0, 0, 0, 294, 277, 1, 0, 0, 0, - 294, 282, 1, 0, 0, 0, 294, 287, 1, 0, 0, 0, 294, 290, 1, 0, 0, 0, 295, - 11, 1, 0, 0, 0, 296, 301, 1, 0, 0, 0, 297, 301, 5, 127, 0, 0, 298, 301, - 5, 128, 0, 0, 299, 301, 5, 129, 0, 0, 300, 296, 1, 0, 0, 0, 300, 297, 1, - 0, 0, 0, 300, 298, 1, 0, 0, 0, 300, 299, 1, 0, 0, 0, 301, 13, 1, 0, 0, - 0, 302, 303, 5, 179, 0, 0, 303, 15, 1, 0, 0, 0, 304, 305, 7, 1, 0, 0, 305, - 17, 1, 0, 0, 0, 306, 307, 5, 218, 0, 0, 307, 19, 1, 0, 0, 0, 308, 309, - 5, 9, 0, 0, 309, 21, 1, 0, 0, 0, 310, 311, 5, 186, 0, 0, 311, 23, 1, 0, - 0, 0, 312, 315, 5, 227, 0, 0, 313, 315, 3, 28, 14, 0, 314, 312, 1, 0, 0, - 0, 314, 313, 1, 0, 0, 0, 315, 25, 1, 0, 0, 0, 316, 317, 5, 261, 0, 0, 317, - 318, 5, 262, 0, 0, 318, 319, 5, 261, 0, 0, 319, 27, 1, 0, 0, 0, 320, 321, - 3, 30, 15, 0, 321, 322, 5, 14, 0, 0, 322, 323, 3, 32, 16, 0, 323, 29, 1, - 0, 0, 0, 324, 325, 5, 227, 0, 0, 325, 31, 1, 0, 0, 0, 326, 327, 5, 227, - 0, 0, 327, 33, 1, 0, 0, 0, 328, 331, 5, 187, 0, 0, 329, 331, 5, 188, 0, - 0, 330, 328, 1, 0, 0, 0, 330, 329, 1, 0, 0, 0, 331, 35, 1, 0, 0, 0, 332, - 333, 7, 2, 0, 0, 333, 37, 1, 0, 0, 0, 334, 338, 5, 191, 0, 0, 335, 338, - 5, 190, 0, 0, 336, 338, 5, 189, 0, 0, 337, 334, 1, 0, 0, 0, 337, 335, 1, - 0, 0, 0, 337, 336, 1, 0, 0, 0, 338, 39, 1, 0, 0, 0, 339, 340, 5, 192, 0, - 0, 340, 41, 1, 0, 0, 0, 341, 342, 5, 227, 0, 0, 342, 43, 1, 0, 0, 0, 343, - 344, 5, 130, 0, 0, 344, 45, 1, 0, 0, 0, 345, 346, 5, 1, 0, 0, 346, 351, - 3, 48, 24, 0, 347, 348, 5, 7, 0, 0, 348, 350, 3, 48, 24, 0, 349, 347, 1, - 0, 0, 0, 350, 353, 1, 0, 0, 0, 351, 349, 1, 0, 0, 0, 351, 352, 1, 0, 0, - 0, 352, 354, 1, 0, 0, 0, 353, 351, 1, 0, 0, 0, 354, 355, 5, 1, 0, 0, 355, - 47, 1, 0, 0, 0, 356, 357, 3, 50, 25, 0, 357, 358, 5, 4, 0, 0, 358, 359, - 3, 56, 28, 0, 359, 49, 1, 0, 0, 0, 360, 361, 5, 219, 0, 0, 361, 51, 1, - 0, 0, 0, 362, 365, 5, 176, 0, 0, 363, 365, 5, 177, 0, 0, 364, 362, 1, 0, - 0, 0, 364, 363, 1, 0, 0, 0, 365, 53, 1, 0, 0, 0, 366, 367, 7, 3, 0, 0, - 367, 55, 1, 0, 0, 0, 368, 392, 5, 227, 0, 0, 369, 392, 3, 28, 14, 0, 370, - 392, 5, 202, 0, 0, 371, 392, 5, 201, 0, 0, 372, 392, 5, 207, 0, 0, 373, - 392, 5, 203, 0, 0, 374, 392, 5, 200, 0, 0, 375, 392, 5, 206, 0, 0, 376, - 392, 5, 223, 0, 0, 377, 392, 5, 198, 0, 0, 378, 392, 5, 208, 0, 0, 379, - 392, 5, 199, 0, 0, 380, 392, 5, 204, 0, 0, 381, 392, 5, 205, 0, 0, 382, - 383, 5, 9, 0, 0, 383, 392, 5, 227, 0, 0, 384, 392, 5, 9, 0, 0, 385, 392, - 5, 233, 0, 0, 386, 392, 5, 225, 0, 0, 387, 392, 5, 241, 0, 0, 388, 392, - 5, 245, 0, 0, 389, 392, 5, 126, 0, 0, 390, 392, 3, 58, 29, 0, 391, 368, - 1, 0, 0, 0, 391, 369, 1, 0, 0, 0, 391, 370, 1, 0, 0, 0, 391, 371, 1, 0, - 0, 0, 391, 372, 1, 0, 0, 0, 391, 373, 1, 0, 0, 0, 391, 374, 1, 0, 0, 0, - 391, 375, 1, 0, 0, 0, 391, 376, 1, 0, 0, 0, 391, 377, 1, 0, 0, 0, 391, - 378, 1, 0, 0, 0, 391, 379, 1, 0, 0, 0, 391, 380, 1, 0, 0, 0, 391, 381, - 1, 0, 0, 0, 391, 382, 1, 0, 0, 0, 391, 384, 1, 0, 0, 0, 391, 385, 1, 0, - 0, 0, 391, 386, 1, 0, 0, 0, 391, 387, 1, 0, 0, 0, 391, 388, 1, 0, 0, 0, - 391, 389, 1, 0, 0, 0, 391, 390, 1, 0, 0, 0, 392, 57, 1, 0, 0, 0, 393, 400, - 3, 138, 69, 0, 394, 395, 5, 2, 0, 0, 395, 396, 3, 118, 59, 0, 396, 397, - 5, 2, 0, 0, 397, 400, 1, 0, 0, 0, 398, 400, 5, 225, 0, 0, 399, 393, 1, - 0, 0, 0, 399, 394, 1, 0, 0, 0, 399, 398, 1, 0, 0, 0, 400, 401, 1, 0, 0, - 0, 401, 402, 5, 18, 0, 0, 402, 418, 3, 84, 42, 0, 403, 410, 3, 138, 69, - 0, 404, 405, 5, 2, 0, 0, 405, 406, 3, 118, 59, 0, 406, 407, 5, 2, 0, 0, - 407, 410, 1, 0, 0, 0, 408, 410, 5, 225, 0, 0, 409, 403, 1, 0, 0, 0, 409, - 404, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 412, - 5, 18, 0, 0, 412, 415, 3, 88, 44, 0, 413, 414, 5, 4, 0, 0, 414, 416, 3, - 126, 63, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 418, 1, 0, - 0, 0, 417, 399, 1, 0, 0, 0, 417, 409, 1, 0, 0, 0, 418, 59, 1, 0, 0, 0, - 419, 423, 5, 227, 0, 0, 420, 423, 3, 28, 14, 0, 421, 423, 5, 233, 0, 0, - 422, 419, 1, 0, 0, 0, 422, 420, 1, 0, 0, 0, 422, 421, 1, 0, 0, 0, 423, - 61, 1, 0, 0, 0, 424, 425, 5, 10, 0, 0, 425, 63, 1, 0, 0, 0, 426, 428, 5, - 1, 0, 0, 427, 429, 3, 62, 31, 0, 428, 427, 1, 0, 0, 0, 428, 429, 1, 0, - 0, 0, 429, 430, 1, 0, 0, 0, 430, 431, 5, 255, 0, 0, 431, 433, 3, 66, 33, - 0, 432, 434, 3, 68, 34, 0, 433, 432, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, - 434, 435, 1, 0, 0, 0, 435, 436, 5, 1, 0, 0, 436, 443, 1, 0, 0, 0, 437, - 438, 5, 1, 0, 0, 438, 439, 3, 68, 34, 0, 439, 440, 5, 1, 0, 0, 440, 443, - 1, 0, 0, 0, 441, 443, 3, 68, 34, 0, 442, 426, 1, 0, 0, 0, 442, 437, 1, - 0, 0, 0, 442, 441, 1, 0, 0, 0, 443, 65, 1, 0, 0, 0, 444, 445, 7, 4, 0, - 0, 445, 67, 1, 0, 0, 0, 446, 477, 3, 82, 41, 0, 447, 477, 5, 233, 0, 0, - 448, 450, 5, 263, 0, 0, 449, 448, 1, 0, 0, 0, 450, 453, 1, 0, 0, 0, 451, - 449, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 456, 1, 0, 0, 0, 453, 451, - 1, 0, 0, 0, 454, 457, 5, 261, 0, 0, 455, 457, 3, 26, 13, 0, 456, 454, 1, - 0, 0, 0, 456, 455, 1, 0, 0, 0, 457, 471, 1, 0, 0, 0, 458, 462, 5, 7, 0, - 0, 459, 461, 5, 263, 0, 0, 460, 459, 1, 0, 0, 0, 461, 464, 1, 0, 0, 0, - 462, 460, 1, 0, 0, 0, 462, 463, 1, 0, 0, 0, 463, 467, 1, 0, 0, 0, 464, - 462, 1, 0, 0, 0, 465, 468, 5, 261, 0, 0, 466, 468, 3, 26, 13, 0, 467, 465, - 1, 0, 0, 0, 467, 466, 1, 0, 0, 0, 468, 470, 1, 0, 0, 0, 469, 458, 1, 0, - 0, 0, 470, 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, - 472, 477, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 477, 5, 254, 0, 0, 475, - 477, 5, 256, 0, 0, 476, 446, 1, 0, 0, 0, 476, 447, 1, 0, 0, 0, 476, 451, - 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 476, 475, 1, 0, 0, 0, 477, 69, 1, 0, - 0, 0, 478, 479, 5, 10, 0, 0, 479, 71, 1, 0, 0, 0, 480, 481, 5, 88, 0, 0, - 481, 73, 1, 0, 0, 0, 482, 484, 5, 1, 0, 0, 483, 482, 1, 0, 0, 0, 483, 484, - 1, 0, 0, 0, 484, 486, 1, 0, 0, 0, 485, 487, 3, 70, 35, 0, 486, 485, 1, - 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 489, 1, 0, 0, 0, 488, 490, 3, 72, 36, - 0, 489, 488, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, - 493, 3, 80, 40, 0, 492, 494, 5, 1, 0, 0, 493, 492, 1, 0, 0, 0, 493, 494, - 1, 0, 0, 0, 494, 508, 1, 0, 0, 0, 495, 497, 5, 8, 0, 0, 496, 498, 5, 1, - 0, 0, 497, 496, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 500, 1, 0, 0, 0, - 499, 501, 3, 70, 35, 0, 500, 499, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, - 502, 1, 0, 0, 0, 502, 504, 3, 80, 40, 0, 503, 505, 5, 1, 0, 0, 504, 503, - 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 507, 1, 0, 0, 0, 506, 495, 1, 0, - 0, 0, 507, 510, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, - 509, 75, 1, 0, 0, 0, 510, 508, 1, 0, 0, 0, 511, 513, 5, 1, 0, 0, 512, 511, - 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 515, 1, 0, 0, 0, 514, 516, 3, 70, - 35, 0, 515, 514, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 518, 1, 0, 0, 0, - 517, 519, 3, 72, 36, 0, 518, 517, 1, 0, 0, 0, 518, 519, 1, 0, 0, 0, 519, - 520, 1, 0, 0, 0, 520, 522, 3, 80, 40, 0, 521, 523, 5, 1, 0, 0, 522, 521, - 1, 0, 0, 0, 522, 523, 1, 0, 0, 0, 523, 537, 1, 0, 0, 0, 524, 526, 5, 7, - 0, 0, 525, 527, 5, 1, 0, 0, 526, 525, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, - 527, 529, 1, 0, 0, 0, 528, 530, 3, 70, 35, 0, 529, 528, 1, 0, 0, 0, 529, - 530, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, 531, 533, 3, 80, 40, 0, 532, 534, - 5, 1, 0, 0, 533, 532, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 536, 1, 0, - 0, 0, 535, 524, 1, 0, 0, 0, 536, 539, 1, 0, 0, 0, 537, 535, 1, 0, 0, 0, - 537, 538, 1, 0, 0, 0, 538, 77, 1, 0, 0, 0, 539, 537, 1, 0, 0, 0, 540, 541, - 3, 80, 40, 0, 541, 79, 1, 0, 0, 0, 542, 549, 3, 82, 41, 0, 543, 546, 3, - 86, 43, 0, 544, 545, 5, 4, 0, 0, 545, 547, 3, 124, 62, 0, 546, 544, 1, - 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 549, 1, 0, 0, 0, 548, 542, 1, 0, 0, - 0, 548, 543, 1, 0, 0, 0, 549, 81, 1, 0, 0, 0, 550, 551, 5, 86, 0, 0, 551, - 83, 1, 0, 0, 0, 552, 553, 5, 86, 0, 0, 553, 85, 1, 0, 0, 0, 554, 555, 7, - 5, 0, 0, 555, 87, 1, 0, 0, 0, 556, 557, 7, 5, 0, 0, 557, 89, 1, 0, 0, 0, - 558, 559, 5, 1, 0, 0, 559, 564, 3, 92, 46, 0, 560, 561, 5, 7, 0, 0, 561, - 563, 3, 92, 46, 0, 562, 560, 1, 0, 0, 0, 563, 566, 1, 0, 0, 0, 564, 562, - 1, 0, 0, 0, 564, 565, 1, 0, 0, 0, 565, 567, 1, 0, 0, 0, 566, 564, 1, 0, - 0, 0, 567, 568, 5, 1, 0, 0, 568, 91, 1, 0, 0, 0, 569, 570, 3, 102, 51, - 0, 570, 572, 5, 4, 0, 0, 571, 573, 5, 10, 0, 0, 572, 571, 1, 0, 0, 0, 572, - 573, 1, 0, 0, 0, 573, 575, 1, 0, 0, 0, 574, 576, 5, 3, 0, 0, 575, 574, - 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 3, 114, - 57, 0, 578, 588, 1, 0, 0, 0, 579, 580, 3, 102, 51, 0, 580, 581, 5, 4, 0, - 0, 581, 582, 3, 114, 57, 0, 582, 588, 1, 0, 0, 0, 583, 584, 5, 83, 0, 0, - 584, 585, 5, 4, 0, 0, 585, 588, 3, 122, 61, 0, 586, 588, 3, 94, 47, 0, - 587, 569, 1, 0, 0, 0, 587, 579, 1, 0, 0, 0, 587, 583, 1, 0, 0, 0, 587, - 586, 1, 0, 0, 0, 588, 93, 1, 0, 0, 0, 589, 593, 3, 96, 48, 0, 590, 593, - 3, 98, 49, 0, 591, 593, 3, 100, 50, 0, 592, 589, 1, 0, 0, 0, 592, 590, - 1, 0, 0, 0, 592, 591, 1, 0, 0, 0, 593, 95, 1, 0, 0, 0, 594, 595, 7, 6, - 0, 0, 595, 97, 1, 0, 0, 0, 596, 597, 7, 7, 0, 0, 597, 99, 1, 0, 0, 0, 598, - 599, 5, 32, 0, 0, 599, 101, 1, 0, 0, 0, 600, 606, 3, 104, 52, 0, 601, 606, - 3, 106, 53, 0, 602, 606, 3, 108, 54, 0, 603, 606, 3, 112, 56, 0, 604, 606, - 3, 110, 55, 0, 605, 600, 1, 0, 0, 0, 605, 601, 1, 0, 0, 0, 605, 602, 1, - 0, 0, 0, 605, 603, 1, 0, 0, 0, 605, 604, 1, 0, 0, 0, 606, 103, 1, 0, 0, - 0, 607, 616, 5, 60, 0, 0, 608, 616, 5, 49, 0, 0, 609, 616, 5, 53, 0, 0, - 610, 616, 5, 54, 0, 0, 611, 616, 5, 64, 0, 0, 612, 616, 5, 75, 0, 0, 613, - 616, 5, 80, 0, 0, 614, 616, 5, 81, 0, 0, 615, 607, 1, 0, 0, 0, 615, 608, - 1, 0, 0, 0, 615, 609, 1, 0, 0, 0, 615, 610, 1, 0, 0, 0, 615, 611, 1, 0, - 0, 0, 615, 612, 1, 0, 0, 0, 615, 613, 1, 0, 0, 0, 615, 614, 1, 0, 0, 0, - 616, 105, 1, 0, 0, 0, 617, 618, 7, 8, 0, 0, 618, 107, 1, 0, 0, 0, 619, - 620, 7, 9, 0, 0, 620, 109, 1, 0, 0, 0, 621, 622, 7, 10, 0, 0, 622, 111, - 1, 0, 0, 0, 623, 624, 7, 11, 0, 0, 624, 113, 1, 0, 0, 0, 625, 635, 3, 116, - 58, 0, 626, 627, 5, 2, 0, 0, 627, 628, 3, 116, 58, 0, 628, 629, 5, 2, 0, - 0, 629, 635, 1, 0, 0, 0, 630, 631, 5, 2, 0, 0, 631, 632, 3, 118, 59, 0, - 632, 633, 5, 2, 0, 0, 633, 635, 1, 0, 0, 0, 634, 625, 1, 0, 0, 0, 634, - 626, 1, 0, 0, 0, 634, 630, 1, 0, 0, 0, 635, 115, 1, 0, 0, 0, 636, 648, - 5, 227, 0, 0, 637, 648, 3, 124, 62, 0, 638, 648, 3, 128, 64, 0, 639, 640, - 3, 120, 60, 0, 640, 641, 3, 134, 67, 0, 641, 642, 3, 56, 28, 0, 642, 648, - 1, 0, 0, 0, 643, 648, 5, 225, 0, 0, 644, 648, 5, 76, 0, 0, 645, 648, 5, - 231, 0, 0, 646, 648, 5, 241, 0, 0, 647, 636, 1, 0, 0, 0, 647, 637, 1, 0, - 0, 0, 647, 638, 1, 0, 0, 0, 647, 639, 1, 0, 0, 0, 647, 643, 1, 0, 0, 0, - 647, 644, 1, 0, 0, 0, 647, 645, 1, 0, 0, 0, 647, 646, 1, 0, 0, 0, 648, - 117, 1, 0, 0, 0, 649, 650, 5, 246, 0, 0, 650, 119, 1, 0, 0, 0, 651, 652, - 7, 12, 0, 0, 652, 121, 1, 0, 0, 0, 653, 654, 5, 84, 0, 0, 654, 123, 1, - 0, 0, 0, 655, 659, 1, 0, 0, 0, 656, 659, 5, 243, 0, 0, 657, 659, 5, 250, - 0, 0, 658, 655, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 658, 657, 1, 0, 0, 0, - 659, 125, 1, 0, 0, 0, 660, 664, 1, 0, 0, 0, 661, 664, 5, 243, 0, 0, 662, - 664, 5, 250, 0, 0, 663, 660, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 663, 662, - 1, 0, 0, 0, 664, 127, 1, 0, 0, 0, 665, 666, 3, 130, 65, 0, 666, 667, 5, - 236, 0, 0, 667, 668, 3, 132, 66, 0, 668, 669, 3, 134, 67, 0, 669, 670, - 3, 136, 68, 0, 670, 129, 1, 0, 0, 0, 671, 672, 5, 235, 0, 0, 672, 131, - 1, 0, 0, 0, 673, 677, 5, 237, 0, 0, 674, 675, 5, 238, 0, 0, 675, 677, 5, - 234, 0, 0, 676, 673, 1, 0, 0, 0, 676, 674, 1, 0, 0, 0, 677, 678, 1, 0, - 0, 0, 678, 676, 1, 0, 0, 0, 678, 679, 1, 0, 0, 0, 679, 133, 1, 0, 0, 0, - 680, 681, 7, 13, 0, 0, 681, 135, 1, 0, 0, 0, 682, 683, 5, 239, 0, 0, 683, - 137, 1, 0, 0, 0, 684, 685, 7, 14, 0, 0, 685, 139, 1, 0, 0, 0, 75, 143, - 149, 155, 158, 163, 166, 173, 176, 182, 185, 191, 199, 206, 215, 224, 235, - 242, 248, 250, 255, 258, 262, 294, 300, 314, 330, 337, 351, 364, 391, 399, - 409, 415, 417, 422, 428, 433, 442, 451, 456, 462, 467, 471, 476, 483, 486, - 489, 493, 497, 500, 504, 508, 512, 515, 518, 522, 526, 529, 533, 537, 546, - 548, 564, 572, 575, 587, 592, 605, 615, 634, 647, 658, 663, 676, 678, + 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 291, 8, 5, 1, 6, 1, 6, 1, + 6, 1, 6, 3, 6, 297, 8, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, + 10, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 311, 8, 12, 1, 13, 1, 13, 1, 13, + 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, + 17, 3, 17, 327, 8, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 3, 19, 334, 8, + 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, + 5, 23, 346, 8, 23, 10, 23, 12, 23, 349, 9, 23, 1, 23, 1, 23, 1, 24, 1, + 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 3, 26, 361, 8, 26, 1, 27, + 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, + 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, + 1, 28, 1, 28, 1, 28, 3, 28, 388, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, + 29, 1, 29, 3, 29, 396, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, + 1, 29, 1, 29, 3, 29, 406, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 412, + 8, 29, 3, 29, 414, 8, 29, 1, 30, 1, 30, 1, 30, 3, 30, 419, 8, 30, 1, 31, + 1, 31, 1, 32, 1, 32, 3, 32, 425, 8, 32, 1, 32, 1, 32, 1, 32, 3, 32, 430, + 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 439, 8, + 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 5, 34, 446, 8, 34, 10, 34, 12, 34, + 449, 9, 34, 1, 34, 1, 34, 3, 34, 453, 8, 34, 1, 34, 1, 34, 5, 34, 457, + 8, 34, 10, 34, 12, 34, 460, 9, 34, 1, 34, 1, 34, 3, 34, 464, 8, 34, 5, + 34, 466, 8, 34, 10, 34, 12, 34, 469, 9, 34, 1, 34, 1, 34, 3, 34, 473, 8, + 34, 1, 35, 1, 35, 1, 36, 1, 36, 1, 37, 3, 37, 480, 8, 37, 1, 37, 3, 37, + 483, 8, 37, 1, 37, 3, 37, 486, 8, 37, 1, 37, 1, 37, 3, 37, 490, 8, 37, + 1, 37, 1, 37, 3, 37, 494, 8, 37, 1, 37, 3, 37, 497, 8, 37, 1, 37, 1, 37, + 3, 37, 501, 8, 37, 5, 37, 503, 8, 37, 10, 37, 12, 37, 506, 9, 37, 1, 38, + 3, 38, 509, 8, 38, 1, 38, 3, 38, 512, 8, 38, 1, 38, 3, 38, 515, 8, 38, + 1, 38, 1, 38, 3, 38, 519, 8, 38, 1, 38, 1, 38, 3, 38, 523, 8, 38, 1, 38, + 3, 38, 526, 8, 38, 1, 38, 1, 38, 3, 38, 530, 8, 38, 5, 38, 532, 8, 38, + 10, 38, 12, 38, 535, 9, 38, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 3, + 40, 543, 8, 40, 3, 40, 545, 8, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 43, 1, + 43, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 5, 45, 559, 8, 45, 10, 45, + 12, 45, 562, 9, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 3, 46, 569, 8, 46, + 1, 46, 3, 46, 572, 8, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, + 46, 1, 46, 1, 46, 1, 46, 3, 46, 584, 8, 46, 1, 47, 1, 47, 1, 47, 3, 47, + 589, 8, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, + 51, 1, 51, 1, 51, 3, 51, 602, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, + 1, 52, 1, 52, 1, 52, 3, 52, 612, 8, 52, 1, 53, 1, 53, 1, 54, 1, 54, 1, + 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, + 1, 57, 1, 57, 3, 57, 631, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, + 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 644, 8, 58, 1, 59, 1, 59, + 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 3, 62, 655, 8, 62, 1, + 63, 1, 63, 1, 63, 3, 63, 660, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, + 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 4, 66, 673, 8, 66, 11, 66, 12, + 66, 674, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 0, 0, 70, 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, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, + 0, 15, 1, 1, 259, 259, 8, 0, 131, 139, 150, 167, 169, 175, 178, 178, 180, + 180, 182, 183, 185, 185, 209, 216, 3, 0, 225, 225, 233, 233, 241, 241, + 3, 0, 140, 149, 193, 197, 227, 227, 1, 0, 89, 125, 2, 0, 85, 85, 87, 87, + 5, 0, 27, 27, 30, 30, 44, 44, 46, 46, 58, 59, 5, 0, 29, 29, 31, 31, 52, + 52, 55, 57, 67, 67, 1, 0, 62, 63, 8, 0, 28, 28, 33, 33, 45, 45, 47, 48, + 50, 51, 61, 61, 65, 66, 68, 74, 2, 0, 79, 79, 82, 82, 1, 0, 77, 78, 1, + 0, 34, 43, 2, 0, 3, 3, 5, 6, 1, 0, 226, 227, 753, 0, 143, 1, 0, 0, 0, 2, + 246, 1, 0, 0, 0, 4, 249, 1, 0, 0, 0, 6, 256, 1, 0, 0, 0, 8, 260, 1, 0, + 0, 0, 10, 290, 1, 0, 0, 0, 12, 296, 1, 0, 0, 0, 14, 298, 1, 0, 0, 0, 16, + 300, 1, 0, 0, 0, 18, 302, 1, 0, 0, 0, 20, 304, 1, 0, 0, 0, 22, 306, 1, + 0, 0, 0, 24, 310, 1, 0, 0, 0, 26, 312, 1, 0, 0, 0, 28, 316, 1, 0, 0, 0, + 30, 320, 1, 0, 0, 0, 32, 322, 1, 0, 0, 0, 34, 326, 1, 0, 0, 0, 36, 328, + 1, 0, 0, 0, 38, 333, 1, 0, 0, 0, 40, 335, 1, 0, 0, 0, 42, 337, 1, 0, 0, + 0, 44, 339, 1, 0, 0, 0, 46, 341, 1, 0, 0, 0, 48, 352, 1, 0, 0, 0, 50, 356, + 1, 0, 0, 0, 52, 360, 1, 0, 0, 0, 54, 362, 1, 0, 0, 0, 56, 387, 1, 0, 0, + 0, 58, 413, 1, 0, 0, 0, 60, 418, 1, 0, 0, 0, 62, 420, 1, 0, 0, 0, 64, 438, + 1, 0, 0, 0, 66, 440, 1, 0, 0, 0, 68, 472, 1, 0, 0, 0, 70, 474, 1, 0, 0, + 0, 72, 476, 1, 0, 0, 0, 74, 479, 1, 0, 0, 0, 76, 508, 1, 0, 0, 0, 78, 536, + 1, 0, 0, 0, 80, 544, 1, 0, 0, 0, 82, 546, 1, 0, 0, 0, 84, 548, 1, 0, 0, + 0, 86, 550, 1, 0, 0, 0, 88, 552, 1, 0, 0, 0, 90, 554, 1, 0, 0, 0, 92, 583, + 1, 0, 0, 0, 94, 588, 1, 0, 0, 0, 96, 590, 1, 0, 0, 0, 98, 592, 1, 0, 0, + 0, 100, 594, 1, 0, 0, 0, 102, 601, 1, 0, 0, 0, 104, 611, 1, 0, 0, 0, 106, + 613, 1, 0, 0, 0, 108, 615, 1, 0, 0, 0, 110, 617, 1, 0, 0, 0, 112, 619, + 1, 0, 0, 0, 114, 630, 1, 0, 0, 0, 116, 643, 1, 0, 0, 0, 118, 645, 1, 0, + 0, 0, 120, 647, 1, 0, 0, 0, 122, 649, 1, 0, 0, 0, 124, 654, 1, 0, 0, 0, + 126, 659, 1, 0, 0, 0, 128, 661, 1, 0, 0, 0, 130, 667, 1, 0, 0, 0, 132, + 672, 1, 0, 0, 0, 134, 676, 1, 0, 0, 0, 136, 678, 1, 0, 0, 0, 138, 680, + 1, 0, 0, 0, 140, 142, 3, 2, 1, 0, 141, 140, 1, 0, 0, 0, 142, 145, 1, 0, + 0, 0, 143, 141, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 146, 1, 0, 0, 0, + 145, 143, 1, 0, 0, 0, 146, 147, 5, 0, 0, 1, 147, 1, 1, 0, 0, 0, 148, 150, + 3, 4, 2, 0, 149, 148, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 151, 1, 0, + 0, 0, 151, 152, 3, 8, 4, 0, 152, 153, 3, 74, 37, 0, 153, 155, 3, 64, 32, + 0, 154, 156, 3, 90, 45, 0, 155, 154, 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, + 156, 247, 1, 0, 0, 0, 157, 159, 3, 4, 2, 0, 158, 157, 1, 0, 0, 0, 158, + 159, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 161, 3, 18, 9, 0, 161, 163, + 3, 20, 10, 0, 162, 164, 3, 90, 45, 0, 163, 162, 1, 0, 0, 0, 163, 164, 1, + 0, 0, 0, 164, 247, 1, 0, 0, 0, 165, 167, 3, 4, 2, 0, 166, 165, 1, 0, 0, + 0, 166, 167, 1, 0, 0, 0, 167, 168, 1, 0, 0, 0, 168, 169, 3, 18, 9, 0, 169, + 170, 5, 1, 0, 0, 170, 171, 3, 20, 10, 0, 171, 173, 5, 1, 0, 0, 172, 174, + 3, 90, 45, 0, 173, 172, 1, 0, 0, 0, 173, 174, 1, 0, 0, 0, 174, 247, 1, + 0, 0, 0, 175, 177, 3, 4, 2, 0, 176, 175, 1, 0, 0, 0, 176, 177, 1, 0, 0, + 0, 177, 178, 1, 0, 0, 0, 178, 180, 3, 22, 11, 0, 179, 181, 3, 24, 12, 0, + 180, 179, 1, 0, 0, 0, 181, 182, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 182, + 183, 1, 0, 0, 0, 183, 247, 1, 0, 0, 0, 184, 186, 3, 4, 2, 0, 185, 184, + 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 188, 3, 34, + 17, 0, 188, 189, 3, 36, 18, 0, 189, 247, 1, 0, 0, 0, 190, 192, 3, 4, 2, + 0, 191, 190, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, + 194, 3, 34, 17, 0, 194, 195, 5, 1, 0, 0, 195, 196, 3, 36, 18, 0, 196, 197, + 5, 1, 0, 0, 197, 247, 1, 0, 0, 0, 198, 200, 3, 4, 2, 0, 199, 198, 1, 0, + 0, 0, 199, 200, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 202, 3, 38, 19, + 0, 202, 203, 3, 60, 30, 0, 203, 204, 3, 76, 38, 0, 204, 247, 1, 0, 0, 0, + 205, 207, 3, 4, 2, 0, 206, 205, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, + 208, 1, 0, 0, 0, 208, 209, 3, 38, 19, 0, 209, 210, 5, 1, 0, 0, 210, 211, + 3, 60, 30, 0, 211, 212, 5, 1, 0, 0, 212, 213, 3, 76, 38, 0, 213, 247, 1, + 0, 0, 0, 214, 216, 3, 4, 2, 0, 215, 214, 1, 0, 0, 0, 215, 216, 1, 0, 0, + 0, 216, 217, 1, 0, 0, 0, 217, 218, 3, 38, 19, 0, 218, 219, 3, 60, 30, 0, + 219, 220, 3, 76, 38, 0, 220, 221, 5, 8, 0, 0, 221, 222, 3, 78, 39, 0, 222, + 247, 1, 0, 0, 0, 223, 225, 3, 4, 2, 0, 224, 223, 1, 0, 0, 0, 224, 225, + 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 227, 3, 38, 19, 0, 227, 228, 5, + 1, 0, 0, 228, 229, 3, 60, 30, 0, 229, 230, 5, 1, 0, 0, 230, 231, 3, 76, + 38, 0, 231, 232, 5, 8, 0, 0, 232, 233, 3, 78, 39, 0, 233, 247, 1, 0, 0, + 0, 234, 236, 3, 4, 2, 0, 235, 234, 1, 0, 0, 0, 235, 236, 1, 0, 0, 0, 236, + 237, 1, 0, 0, 0, 237, 238, 3, 40, 20, 0, 238, 239, 3, 42, 21, 0, 239, 240, + 3, 90, 45, 0, 240, 247, 1, 0, 0, 0, 241, 243, 3, 4, 2, 0, 242, 241, 1, + 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 247, 3, 10, 5, + 0, 245, 247, 3, 4, 2, 0, 246, 149, 1, 0, 0, 0, 246, 158, 1, 0, 0, 0, 246, + 166, 1, 0, 0, 0, 246, 176, 1, 0, 0, 0, 246, 185, 1, 0, 0, 0, 246, 191, + 1, 0, 0, 0, 246, 199, 1, 0, 0, 0, 246, 206, 1, 0, 0, 0, 246, 215, 1, 0, + 0, 0, 246, 224, 1, 0, 0, 0, 246, 235, 1, 0, 0, 0, 246, 242, 1, 0, 0, 0, + 246, 245, 1, 0, 0, 0, 247, 3, 1, 0, 0, 0, 248, 250, 3, 6, 3, 0, 249, 248, + 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, + 0, 0, 252, 254, 1, 0, 0, 0, 253, 255, 7, 0, 0, 0, 254, 253, 1, 0, 0, 0, + 254, 255, 1, 0, 0, 0, 255, 5, 1, 0, 0, 0, 256, 258, 5, 12, 0, 0, 257, 259, + 5, 257, 0, 0, 258, 257, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 7, 1, 0, + 0, 0, 260, 261, 5, 217, 0, 0, 261, 9, 1, 0, 0, 0, 262, 263, 3, 54, 27, + 0, 263, 264, 3, 56, 28, 0, 264, 291, 1, 0, 0, 0, 265, 266, 3, 54, 27, 0, + 266, 267, 5, 1, 0, 0, 267, 268, 3, 56, 28, 0, 268, 269, 5, 1, 0, 0, 269, + 291, 1, 0, 0, 0, 270, 271, 3, 52, 26, 0, 271, 272, 3, 90, 45, 0, 272, 291, + 1, 0, 0, 0, 273, 274, 3, 12, 6, 0, 274, 275, 5, 1, 0, 0, 275, 276, 3, 56, + 28, 0, 276, 277, 5, 1, 0, 0, 277, 291, 1, 0, 0, 0, 278, 279, 3, 14, 7, + 0, 279, 280, 5, 1, 0, 0, 280, 281, 3, 56, 28, 0, 281, 282, 5, 1, 0, 0, + 282, 291, 1, 0, 0, 0, 283, 284, 3, 16, 8, 0, 284, 285, 3, 56, 28, 0, 285, + 291, 1, 0, 0, 0, 286, 287, 3, 44, 22, 0, 287, 288, 3, 56, 28, 0, 288, 289, + 3, 46, 23, 0, 289, 291, 1, 0, 0, 0, 290, 262, 1, 0, 0, 0, 290, 265, 1, + 0, 0, 0, 290, 270, 1, 0, 0, 0, 290, 273, 1, 0, 0, 0, 290, 278, 1, 0, 0, + 0, 290, 283, 1, 0, 0, 0, 290, 286, 1, 0, 0, 0, 291, 11, 1, 0, 0, 0, 292, + 297, 1, 0, 0, 0, 293, 297, 5, 127, 0, 0, 294, 297, 5, 128, 0, 0, 295, 297, + 5, 129, 0, 0, 296, 292, 1, 0, 0, 0, 296, 293, 1, 0, 0, 0, 296, 294, 1, + 0, 0, 0, 296, 295, 1, 0, 0, 0, 297, 13, 1, 0, 0, 0, 298, 299, 5, 179, 0, + 0, 299, 15, 1, 0, 0, 0, 300, 301, 7, 1, 0, 0, 301, 17, 1, 0, 0, 0, 302, + 303, 5, 218, 0, 0, 303, 19, 1, 0, 0, 0, 304, 305, 5, 9, 0, 0, 305, 21, + 1, 0, 0, 0, 306, 307, 5, 186, 0, 0, 307, 23, 1, 0, 0, 0, 308, 311, 5, 227, + 0, 0, 309, 311, 3, 28, 14, 0, 310, 308, 1, 0, 0, 0, 310, 309, 1, 0, 0, + 0, 311, 25, 1, 0, 0, 0, 312, 313, 5, 261, 0, 0, 313, 314, 5, 262, 0, 0, + 314, 315, 5, 261, 0, 0, 315, 27, 1, 0, 0, 0, 316, 317, 3, 30, 15, 0, 317, + 318, 5, 14, 0, 0, 318, 319, 3, 32, 16, 0, 319, 29, 1, 0, 0, 0, 320, 321, + 5, 227, 0, 0, 321, 31, 1, 0, 0, 0, 322, 323, 5, 227, 0, 0, 323, 33, 1, + 0, 0, 0, 324, 327, 5, 187, 0, 0, 325, 327, 5, 188, 0, 0, 326, 324, 1, 0, + 0, 0, 326, 325, 1, 0, 0, 0, 327, 35, 1, 0, 0, 0, 328, 329, 7, 2, 0, 0, + 329, 37, 1, 0, 0, 0, 330, 334, 5, 191, 0, 0, 331, 334, 5, 190, 0, 0, 332, + 334, 5, 189, 0, 0, 333, 330, 1, 0, 0, 0, 333, 331, 1, 0, 0, 0, 333, 332, + 1, 0, 0, 0, 334, 39, 1, 0, 0, 0, 335, 336, 5, 192, 0, 0, 336, 41, 1, 0, + 0, 0, 337, 338, 5, 227, 0, 0, 338, 43, 1, 0, 0, 0, 339, 340, 5, 130, 0, + 0, 340, 45, 1, 0, 0, 0, 341, 342, 5, 1, 0, 0, 342, 347, 3, 48, 24, 0, 343, + 344, 5, 7, 0, 0, 344, 346, 3, 48, 24, 0, 345, 343, 1, 0, 0, 0, 346, 349, + 1, 0, 0, 0, 347, 345, 1, 0, 0, 0, 347, 348, 1, 0, 0, 0, 348, 350, 1, 0, + 0, 0, 349, 347, 1, 0, 0, 0, 350, 351, 5, 1, 0, 0, 351, 47, 1, 0, 0, 0, + 352, 353, 3, 50, 25, 0, 353, 354, 5, 4, 0, 0, 354, 355, 3, 56, 28, 0, 355, + 49, 1, 0, 0, 0, 356, 357, 5, 219, 0, 0, 357, 51, 1, 0, 0, 0, 358, 361, + 5, 176, 0, 0, 359, 361, 5, 177, 0, 0, 360, 358, 1, 0, 0, 0, 360, 359, 1, + 0, 0, 0, 361, 53, 1, 0, 0, 0, 362, 363, 7, 3, 0, 0, 363, 55, 1, 0, 0, 0, + 364, 388, 5, 227, 0, 0, 365, 388, 3, 28, 14, 0, 366, 388, 5, 202, 0, 0, + 367, 388, 5, 201, 0, 0, 368, 388, 5, 207, 0, 0, 369, 388, 5, 203, 0, 0, + 370, 388, 5, 200, 0, 0, 371, 388, 5, 206, 0, 0, 372, 388, 5, 223, 0, 0, + 373, 388, 5, 198, 0, 0, 374, 388, 5, 208, 0, 0, 375, 388, 5, 199, 0, 0, + 376, 388, 5, 204, 0, 0, 377, 388, 5, 205, 0, 0, 378, 379, 5, 9, 0, 0, 379, + 388, 5, 227, 0, 0, 380, 388, 5, 9, 0, 0, 381, 388, 5, 233, 0, 0, 382, 388, + 5, 225, 0, 0, 383, 388, 5, 241, 0, 0, 384, 388, 5, 245, 0, 0, 385, 388, + 5, 126, 0, 0, 386, 388, 3, 58, 29, 0, 387, 364, 1, 0, 0, 0, 387, 365, 1, + 0, 0, 0, 387, 366, 1, 0, 0, 0, 387, 367, 1, 0, 0, 0, 387, 368, 1, 0, 0, + 0, 387, 369, 1, 0, 0, 0, 387, 370, 1, 0, 0, 0, 387, 371, 1, 0, 0, 0, 387, + 372, 1, 0, 0, 0, 387, 373, 1, 0, 0, 0, 387, 374, 1, 0, 0, 0, 387, 375, + 1, 0, 0, 0, 387, 376, 1, 0, 0, 0, 387, 377, 1, 0, 0, 0, 387, 378, 1, 0, + 0, 0, 387, 380, 1, 0, 0, 0, 387, 381, 1, 0, 0, 0, 387, 382, 1, 0, 0, 0, + 387, 383, 1, 0, 0, 0, 387, 384, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 387, + 386, 1, 0, 0, 0, 388, 57, 1, 0, 0, 0, 389, 396, 3, 138, 69, 0, 390, 391, + 5, 2, 0, 0, 391, 392, 3, 118, 59, 0, 392, 393, 5, 2, 0, 0, 393, 396, 1, + 0, 0, 0, 394, 396, 5, 225, 0, 0, 395, 389, 1, 0, 0, 0, 395, 390, 1, 0, + 0, 0, 395, 394, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 398, 5, 18, 0, 0, + 398, 414, 3, 84, 42, 0, 399, 406, 3, 138, 69, 0, 400, 401, 5, 2, 0, 0, + 401, 402, 3, 118, 59, 0, 402, 403, 5, 2, 0, 0, 403, 406, 1, 0, 0, 0, 404, + 406, 5, 225, 0, 0, 405, 399, 1, 0, 0, 0, 405, 400, 1, 0, 0, 0, 405, 404, + 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 408, 5, 18, 0, 0, 408, 411, 3, 88, + 44, 0, 409, 410, 5, 4, 0, 0, 410, 412, 3, 126, 63, 0, 411, 409, 1, 0, 0, + 0, 411, 412, 1, 0, 0, 0, 412, 414, 1, 0, 0, 0, 413, 395, 1, 0, 0, 0, 413, + 405, 1, 0, 0, 0, 414, 59, 1, 0, 0, 0, 415, 419, 5, 227, 0, 0, 416, 419, + 3, 28, 14, 0, 417, 419, 5, 233, 0, 0, 418, 415, 1, 0, 0, 0, 418, 416, 1, + 0, 0, 0, 418, 417, 1, 0, 0, 0, 419, 61, 1, 0, 0, 0, 420, 421, 5, 10, 0, + 0, 421, 63, 1, 0, 0, 0, 422, 424, 5, 1, 0, 0, 423, 425, 3, 62, 31, 0, 424, + 423, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, + 5, 255, 0, 0, 427, 429, 3, 66, 33, 0, 428, 430, 3, 68, 34, 0, 429, 428, + 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 432, 5, 1, + 0, 0, 432, 439, 1, 0, 0, 0, 433, 434, 5, 1, 0, 0, 434, 435, 3, 68, 34, + 0, 435, 436, 5, 1, 0, 0, 436, 439, 1, 0, 0, 0, 437, 439, 3, 68, 34, 0, + 438, 422, 1, 0, 0, 0, 438, 433, 1, 0, 0, 0, 438, 437, 1, 0, 0, 0, 439, + 65, 1, 0, 0, 0, 440, 441, 7, 4, 0, 0, 441, 67, 1, 0, 0, 0, 442, 473, 3, + 82, 41, 0, 443, 473, 5, 233, 0, 0, 444, 446, 5, 263, 0, 0, 445, 444, 1, + 0, 0, 0, 446, 449, 1, 0, 0, 0, 447, 445, 1, 0, 0, 0, 447, 448, 1, 0, 0, + 0, 448, 452, 1, 0, 0, 0, 449, 447, 1, 0, 0, 0, 450, 453, 5, 261, 0, 0, + 451, 453, 3, 26, 13, 0, 452, 450, 1, 0, 0, 0, 452, 451, 1, 0, 0, 0, 453, + 467, 1, 0, 0, 0, 454, 458, 5, 7, 0, 0, 455, 457, 5, 263, 0, 0, 456, 455, + 1, 0, 0, 0, 457, 460, 1, 0, 0, 0, 458, 456, 1, 0, 0, 0, 458, 459, 1, 0, + 0, 0, 459, 463, 1, 0, 0, 0, 460, 458, 1, 0, 0, 0, 461, 464, 5, 261, 0, + 0, 462, 464, 3, 26, 13, 0, 463, 461, 1, 0, 0, 0, 463, 462, 1, 0, 0, 0, + 464, 466, 1, 0, 0, 0, 465, 454, 1, 0, 0, 0, 466, 469, 1, 0, 0, 0, 467, + 465, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 473, 1, 0, 0, 0, 469, 467, + 1, 0, 0, 0, 470, 473, 5, 254, 0, 0, 471, 473, 5, 256, 0, 0, 472, 442, 1, + 0, 0, 0, 472, 443, 1, 0, 0, 0, 472, 447, 1, 0, 0, 0, 472, 470, 1, 0, 0, + 0, 472, 471, 1, 0, 0, 0, 473, 69, 1, 0, 0, 0, 474, 475, 5, 10, 0, 0, 475, + 71, 1, 0, 0, 0, 476, 477, 5, 88, 0, 0, 477, 73, 1, 0, 0, 0, 478, 480, 5, + 1, 0, 0, 479, 478, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 482, 1, 0, 0, + 0, 481, 483, 3, 70, 35, 0, 482, 481, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, + 483, 485, 1, 0, 0, 0, 484, 486, 3, 72, 36, 0, 485, 484, 1, 0, 0, 0, 485, + 486, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 489, 3, 80, 40, 0, 488, 490, + 5, 1, 0, 0, 489, 488, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 504, 1, 0, + 0, 0, 491, 493, 5, 8, 0, 0, 492, 494, 5, 1, 0, 0, 493, 492, 1, 0, 0, 0, + 493, 494, 1, 0, 0, 0, 494, 496, 1, 0, 0, 0, 495, 497, 3, 70, 35, 0, 496, + 495, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 500, + 3, 80, 40, 0, 499, 501, 5, 1, 0, 0, 500, 499, 1, 0, 0, 0, 500, 501, 1, + 0, 0, 0, 501, 503, 1, 0, 0, 0, 502, 491, 1, 0, 0, 0, 503, 506, 1, 0, 0, + 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 75, 1, 0, 0, 0, 506, + 504, 1, 0, 0, 0, 507, 509, 5, 1, 0, 0, 508, 507, 1, 0, 0, 0, 508, 509, + 1, 0, 0, 0, 509, 511, 1, 0, 0, 0, 510, 512, 3, 70, 35, 0, 511, 510, 1, + 0, 0, 0, 511, 512, 1, 0, 0, 0, 512, 514, 1, 0, 0, 0, 513, 515, 3, 72, 36, + 0, 514, 513, 1, 0, 0, 0, 514, 515, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, + 518, 3, 80, 40, 0, 517, 519, 5, 1, 0, 0, 518, 517, 1, 0, 0, 0, 518, 519, + 1, 0, 0, 0, 519, 533, 1, 0, 0, 0, 520, 522, 5, 7, 0, 0, 521, 523, 5, 1, + 0, 0, 522, 521, 1, 0, 0, 0, 522, 523, 1, 0, 0, 0, 523, 525, 1, 0, 0, 0, + 524, 526, 3, 70, 35, 0, 525, 524, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, + 527, 1, 0, 0, 0, 527, 529, 3, 80, 40, 0, 528, 530, 5, 1, 0, 0, 529, 528, + 1, 0, 0, 0, 529, 530, 1, 0, 0, 0, 530, 532, 1, 0, 0, 0, 531, 520, 1, 0, + 0, 0, 532, 535, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, + 534, 77, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 536, 537, 3, 80, 40, 0, 537, + 79, 1, 0, 0, 0, 538, 545, 3, 82, 41, 0, 539, 542, 3, 86, 43, 0, 540, 541, + 5, 4, 0, 0, 541, 543, 3, 124, 62, 0, 542, 540, 1, 0, 0, 0, 542, 543, 1, + 0, 0, 0, 543, 545, 1, 0, 0, 0, 544, 538, 1, 0, 0, 0, 544, 539, 1, 0, 0, + 0, 545, 81, 1, 0, 0, 0, 546, 547, 5, 86, 0, 0, 547, 83, 1, 0, 0, 0, 548, + 549, 5, 86, 0, 0, 549, 85, 1, 0, 0, 0, 550, 551, 7, 5, 0, 0, 551, 87, 1, + 0, 0, 0, 552, 553, 7, 5, 0, 0, 553, 89, 1, 0, 0, 0, 554, 555, 5, 1, 0, + 0, 555, 560, 3, 92, 46, 0, 556, 557, 5, 7, 0, 0, 557, 559, 3, 92, 46, 0, + 558, 556, 1, 0, 0, 0, 559, 562, 1, 0, 0, 0, 560, 558, 1, 0, 0, 0, 560, + 561, 1, 0, 0, 0, 561, 563, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 563, 564, + 5, 1, 0, 0, 564, 91, 1, 0, 0, 0, 565, 566, 3, 102, 51, 0, 566, 568, 5, + 4, 0, 0, 567, 569, 5, 10, 0, 0, 568, 567, 1, 0, 0, 0, 568, 569, 1, 0, 0, + 0, 569, 571, 1, 0, 0, 0, 570, 572, 5, 3, 0, 0, 571, 570, 1, 0, 0, 0, 571, + 572, 1, 0, 0, 0, 572, 573, 1, 0, 0, 0, 573, 574, 3, 114, 57, 0, 574, 584, + 1, 0, 0, 0, 575, 576, 3, 102, 51, 0, 576, 577, 5, 4, 0, 0, 577, 578, 3, + 114, 57, 0, 578, 584, 1, 0, 0, 0, 579, 580, 5, 83, 0, 0, 580, 581, 5, 4, + 0, 0, 581, 584, 3, 122, 61, 0, 582, 584, 3, 94, 47, 0, 583, 565, 1, 0, + 0, 0, 583, 575, 1, 0, 0, 0, 583, 579, 1, 0, 0, 0, 583, 582, 1, 0, 0, 0, + 584, 93, 1, 0, 0, 0, 585, 589, 3, 96, 48, 0, 586, 589, 3, 98, 49, 0, 587, + 589, 3, 100, 50, 0, 588, 585, 1, 0, 0, 0, 588, 586, 1, 0, 0, 0, 588, 587, + 1, 0, 0, 0, 589, 95, 1, 0, 0, 0, 590, 591, 7, 6, 0, 0, 591, 97, 1, 0, 0, + 0, 592, 593, 7, 7, 0, 0, 593, 99, 1, 0, 0, 0, 594, 595, 5, 32, 0, 0, 595, + 101, 1, 0, 0, 0, 596, 602, 3, 104, 52, 0, 597, 602, 3, 106, 53, 0, 598, + 602, 3, 108, 54, 0, 599, 602, 3, 112, 56, 0, 600, 602, 3, 110, 55, 0, 601, + 596, 1, 0, 0, 0, 601, 597, 1, 0, 0, 0, 601, 598, 1, 0, 0, 0, 601, 599, + 1, 0, 0, 0, 601, 600, 1, 0, 0, 0, 602, 103, 1, 0, 0, 0, 603, 612, 5, 60, + 0, 0, 604, 612, 5, 49, 0, 0, 605, 612, 5, 53, 0, 0, 606, 612, 5, 54, 0, + 0, 607, 612, 5, 64, 0, 0, 608, 612, 5, 75, 0, 0, 609, 612, 5, 80, 0, 0, + 610, 612, 5, 81, 0, 0, 611, 603, 1, 0, 0, 0, 611, 604, 1, 0, 0, 0, 611, + 605, 1, 0, 0, 0, 611, 606, 1, 0, 0, 0, 611, 607, 1, 0, 0, 0, 611, 608, + 1, 0, 0, 0, 611, 609, 1, 0, 0, 0, 611, 610, 1, 0, 0, 0, 612, 105, 1, 0, + 0, 0, 613, 614, 7, 8, 0, 0, 614, 107, 1, 0, 0, 0, 615, 616, 7, 9, 0, 0, + 616, 109, 1, 0, 0, 0, 617, 618, 7, 10, 0, 0, 618, 111, 1, 0, 0, 0, 619, + 620, 7, 11, 0, 0, 620, 113, 1, 0, 0, 0, 621, 631, 3, 116, 58, 0, 622, 623, + 5, 2, 0, 0, 623, 624, 3, 116, 58, 0, 624, 625, 5, 2, 0, 0, 625, 631, 1, + 0, 0, 0, 626, 627, 5, 2, 0, 0, 627, 628, 3, 118, 59, 0, 628, 629, 5, 2, + 0, 0, 629, 631, 1, 0, 0, 0, 630, 621, 1, 0, 0, 0, 630, 622, 1, 0, 0, 0, + 630, 626, 1, 0, 0, 0, 631, 115, 1, 0, 0, 0, 632, 644, 5, 227, 0, 0, 633, + 644, 3, 124, 62, 0, 634, 644, 3, 128, 64, 0, 635, 636, 3, 120, 60, 0, 636, + 637, 3, 134, 67, 0, 637, 638, 3, 56, 28, 0, 638, 644, 1, 0, 0, 0, 639, + 644, 5, 225, 0, 0, 640, 644, 5, 76, 0, 0, 641, 644, 5, 231, 0, 0, 642, + 644, 5, 241, 0, 0, 643, 632, 1, 0, 0, 0, 643, 633, 1, 0, 0, 0, 643, 634, + 1, 0, 0, 0, 643, 635, 1, 0, 0, 0, 643, 639, 1, 0, 0, 0, 643, 640, 1, 0, + 0, 0, 643, 641, 1, 0, 0, 0, 643, 642, 1, 0, 0, 0, 644, 117, 1, 0, 0, 0, + 645, 646, 5, 246, 0, 0, 646, 119, 1, 0, 0, 0, 647, 648, 7, 12, 0, 0, 648, + 121, 1, 0, 0, 0, 649, 650, 5, 84, 0, 0, 650, 123, 1, 0, 0, 0, 651, 655, + 1, 0, 0, 0, 652, 655, 5, 243, 0, 0, 653, 655, 5, 250, 0, 0, 654, 651, 1, + 0, 0, 0, 654, 652, 1, 0, 0, 0, 654, 653, 1, 0, 0, 0, 655, 125, 1, 0, 0, + 0, 656, 660, 1, 0, 0, 0, 657, 660, 5, 243, 0, 0, 658, 660, 5, 250, 0, 0, + 659, 656, 1, 0, 0, 0, 659, 657, 1, 0, 0, 0, 659, 658, 1, 0, 0, 0, 660, + 127, 1, 0, 0, 0, 661, 662, 3, 130, 65, 0, 662, 663, 5, 236, 0, 0, 663, + 664, 3, 132, 66, 0, 664, 665, 3, 134, 67, 0, 665, 666, 3, 136, 68, 0, 666, + 129, 1, 0, 0, 0, 667, 668, 5, 235, 0, 0, 668, 131, 1, 0, 0, 0, 669, 673, + 5, 237, 0, 0, 670, 671, 5, 238, 0, 0, 671, 673, 5, 234, 0, 0, 672, 669, + 1, 0, 0, 0, 672, 670, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 672, 1, 0, + 0, 0, 674, 675, 1, 0, 0, 0, 675, 133, 1, 0, 0, 0, 676, 677, 7, 13, 0, 0, + 677, 135, 1, 0, 0, 0, 678, 679, 5, 239, 0, 0, 679, 137, 1, 0, 0, 0, 680, + 681, 7, 14, 0, 0, 681, 139, 1, 0, 0, 0, 74, 143, 149, 155, 158, 163, 166, + 173, 176, 182, 185, 191, 199, 206, 215, 224, 235, 242, 246, 251, 254, 258, + 290, 296, 310, 326, 333, 347, 360, 387, 395, 405, 411, 413, 418, 424, 429, + 438, 447, 452, 458, 463, 467, 472, 479, 482, 485, 489, 493, 496, 500, 504, + 508, 511, 514, 518, 522, 525, 529, 533, 542, 544, 560, 568, 571, 583, 588, + 601, 611, 630, 643, 654, 659, 672, 674, } deserializer := antlr.NewATNDeserializer(nil) staticData.atn = deserializer.Deserialize(staticData.serializedATN) @@ -1060,8 +1058,7 @@ type IStmtContext interface { Engine_config_rule_directive() IEngine_config_rule_directiveContext Variables() IVariablesContext Operator() IOperatorContext - AllComment_block() []IComment_blockContext - Comment_block(i int) IComment_blockContext + Comment_block() IComment_blockContext Actions() IActionsContext Rule_script_directive() IRule_script_directiveContext File_path() IFile_pathContext @@ -1165,37 +1162,12 @@ func (s *StmtContext) Operator() IOperatorContext { return t.(IOperatorContext) } -func (s *StmtContext) AllComment_block() []IComment_blockContext { - children := s.GetChildren() - len := 0 - for _, ctx := range children { - if _, ok := ctx.(IComment_blockContext); ok { - len++ - } - } - - tst := make([]IComment_blockContext, len) - i := 0 - for _, ctx := range children { - if t, ok := ctx.(IComment_blockContext); ok { - tst[i] = t.(IComment_blockContext) - i++ - } - } - - return tst -} - -func (s *StmtContext) Comment_block(i int) IComment_blockContext { +func (s *StmtContext) Comment_block() IComment_blockContext { var t antlr.RuleContext - j := 0 for _, ctx := range s.GetChildren() { if _, ok := ctx.(IComment_blockContext); ok { - if j == i { - t = ctx.(antlr.RuleContext) - break - } - j++ + t = ctx.(antlr.RuleContext) + break } } @@ -1494,13 +1466,13 @@ func (p *SecLangParser) Stmt() (localctx IStmtContext) { var _alt int - p.SetState(250) + p.SetState(246) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 18, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 17, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) p.SetState(149) @@ -1969,31 +1941,9 @@ func (p *SecLangParser) Stmt() (localctx IStmtContext) { case 13: p.EnterOuterAlt(localctx, 13) - p.SetState(246) - p.GetErrorHandler().Sync(p) - if p.HasError() { - goto errorExit - } - _alt = 1 - for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber { - switch _alt { - case 1: - { - p.SetState(245) - p.Comment_block() - } - - default: - p.SetError(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil)) - goto errorExit - } - - p.SetState(248) - p.GetErrorHandler().Sync(p) - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 17, p.GetParserRuleContext()) - if p.HasError() { - goto errorExit - } + { + p.SetState(245) + p.Comment_block() } case antlr.ATNInvalidAltNumber: @@ -2139,7 +2089,7 @@ func (p *SecLangParser) Comment_block() (localctx IComment_blockContext) { var _alt int p.EnterOuterAlt(localctx, 1) - p.SetState(253) + p.SetState(249) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -2149,7 +2099,7 @@ func (p *SecLangParser) Comment_block() (localctx IComment_blockContext) { switch _alt { case 1: { - p.SetState(252) + p.SetState(248) p.Comment() } @@ -2158,19 +2108,19 @@ func (p *SecLangParser) Comment_block() (localctx IComment_blockContext) { goto errorExit } - p.SetState(255) + p.SetState(251) p.GetErrorHandler().Sync(p) - _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 19, p.GetParserRuleContext()) + _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 18, p.GetParserRuleContext()) if p.HasError() { goto errorExit } } - p.SetState(258) + p.SetState(254) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 20, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 19, p.GetParserRuleContext()) == 1 { { - p.SetState(257) + p.SetState(253) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserEOF || _la == SecLangParserBLOCK_COMMENT_END) { @@ -2280,14 +2230,14 @@ func (p *SecLangParser) Comment() (localctx ICommentContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(260) + p.SetState(256) p.Match(SecLangParserHASH) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(262) + p.SetState(258) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -2296,7 +2246,7 @@ func (p *SecLangParser) Comment() (localctx ICommentContext) { if _la == SecLangParserCOMMENT { { - p.SetState(261) + p.SetState(257) p.Match(SecLangParserCOMMENT) if p.HasError() { // Recognition error - abort rule @@ -2394,7 +2344,7 @@ func (p *SecLangParser) Engine_config_rule_directive() (localctx IEngine_config_ p.EnterRule(localctx, 8, SecLangParserRULE_engine_config_rule_directive) p.EnterOuterAlt(localctx, 1) { - p.SetState(264) + p.SetState(260) p.Match(SecLangParserCONFIG_DIR_SEC_RULE) if p.HasError() { // Recognition error - abort rule @@ -2646,32 +2596,32 @@ func (s *Engine_config_directiveContext) ExitRule(listener antlr.ParseTreeListen func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_directiveContext) { localctx = NewEngine_config_directiveContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 10, SecLangParserRULE_engine_config_directive) - p.SetState(294) + p.SetState(290) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 22, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 21, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(266) + p.SetState(262) p.Stmt_audit_log() } { - p.SetState(267) + p.SetState(263) p.Values() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(269) + p.SetState(265) p.Stmt_audit_log() } { - p.SetState(270) + p.SetState(266) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2679,11 +2629,11 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc } } { - p.SetState(271) + p.SetState(267) p.Values() } { - p.SetState(272) + p.SetState(268) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2694,22 +2644,22 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(274) + p.SetState(270) p.Engine_config_action_directive() } { - p.SetState(275) + p.SetState(271) p.Actions() } case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(277) + p.SetState(273) p.String_engine_config_directive() } { - p.SetState(278) + p.SetState(274) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2717,11 +2667,11 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc } } { - p.SetState(279) + p.SetState(275) p.Values() } { - p.SetState(280) + p.SetState(276) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2732,11 +2682,11 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc case 5: p.EnterOuterAlt(localctx, 5) { - p.SetState(282) + p.SetState(278) p.Sec_marker_directive() } { - p.SetState(283) + p.SetState(279) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2744,11 +2694,11 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc } } { - p.SetState(284) + p.SetState(280) p.Values() } { - p.SetState(285) + p.SetState(281) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -2759,26 +2709,26 @@ func (p *SecLangParser) Engine_config_directive() (localctx IEngine_config_direc case 6: p.EnterOuterAlt(localctx, 6) { - p.SetState(287) + p.SetState(283) p.Engine_config_directive_with_param() } { - p.SetState(288) + p.SetState(284) p.Values() } case 7: p.EnterOuterAlt(localctx, 7) { - p.SetState(290) + p.SetState(286) p.Engine_config_sec_cache_transformations() } { - p.SetState(291) + p.SetState(287) p.Values() } { - p.SetState(292) + p.SetState(288) p.Option_list() } @@ -2882,7 +2832,7 @@ func (s *String_engine_config_directiveContext) ExitRule(listener antlr.ParseTre func (p *SecLangParser) String_engine_config_directive() (localctx IString_engine_config_directiveContext) { localctx = NewString_engine_config_directiveContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 12, SecLangParserRULE_string_engine_config_directive) - p.SetState(300) + p.SetState(296) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -2895,7 +2845,7 @@ func (p *SecLangParser) String_engine_config_directive() (localctx IString_engin case SecLangParserCONFIG_COMPONENT_SIG: p.EnterOuterAlt(localctx, 2) { - p.SetState(297) + p.SetState(293) p.Match(SecLangParserCONFIG_COMPONENT_SIG) if p.HasError() { // Recognition error - abort rule @@ -2906,7 +2856,7 @@ func (p *SecLangParser) String_engine_config_directive() (localctx IString_engin case SecLangParserCONFIG_SEC_SERVER_SIG: p.EnterOuterAlt(localctx, 3) { - p.SetState(298) + p.SetState(294) p.Match(SecLangParserCONFIG_SEC_SERVER_SIG) if p.HasError() { // Recognition error - abort rule @@ -2917,7 +2867,7 @@ func (p *SecLangParser) String_engine_config_directive() (localctx IString_engin case SecLangParserCONFIG_SEC_WEB_APP_ID: p.EnterOuterAlt(localctx, 4) { - p.SetState(299) + p.SetState(295) p.Match(SecLangParserCONFIG_SEC_WEB_APP_ID) if p.HasError() { // Recognition error - abort rule @@ -3018,7 +2968,7 @@ func (p *SecLangParser) Sec_marker_directive() (localctx ISec_marker_directiveCo p.EnterRule(localctx, 14, SecLangParserRULE_sec_marker_directive) p.EnterOuterAlt(localctx, 1) { - p.SetState(302) + p.SetState(298) p.Match(SecLangParserCONFIG_DIR_SEC_MARKER) if p.HasError() { // Recognition error - abort rule @@ -3346,7 +3296,7 @@ func (p *SecLangParser) Engine_config_directive_with_param() (localctx IEngine_c p.EnterOuterAlt(localctx, 1) { - p.SetState(304) + p.SetState(300) _la = p.GetTokenStream().LA(1) if !(((int64((_la-131)) & ^0x3f) == 0 && ((int64(1)<<(_la-131))&25508532324925951) != 0) || ((int64((_la-209)) & ^0x3f) == 0 && ((int64(1)<<(_la-209))&255) != 0)) { @@ -3445,7 +3395,7 @@ func (p *SecLangParser) Rule_script_directive() (localctx IRule_script_directive p.EnterRule(localctx, 18, SecLangParserRULE_rule_script_directive) p.EnterOuterAlt(localctx, 1) { - p.SetState(306) + p.SetState(302) p.Match(SecLangParserDIRECTIVE_SECRULESCRIPT) if p.HasError() { // Recognition error - abort rule @@ -3541,7 +3491,7 @@ func (p *SecLangParser) File_path() (localctx IFile_pathContext) { p.EnterRule(localctx, 20, SecLangParserRULE_file_path) p.EnterOuterAlt(localctx, 1) { - p.SetState(308) + p.SetState(304) p.Match(SecLangParserCONFIG_VALUE_PATH) if p.HasError() { // Recognition error - abort rule @@ -3637,7 +3587,7 @@ func (p *SecLangParser) Remove_rule_by_id() (localctx IRemove_rule_by_idContext) p.EnterRule(localctx, 22, SecLangParserRULE_remove_rule_by_id) p.EnterOuterAlt(localctx, 1) { - p.SetState(310) + p.SetState(306) p.Match(SecLangParserCONFIG_SEC_RULE_REMOVE_BY_ID) if p.HasError() { // Recognition error - abort rule @@ -3795,18 +3745,18 @@ func (s *Remove_rule_by_id_int_rangeContext) ExitRule(listener antlr.ParseTreeLi func (p *SecLangParser) Remove_rule_by_id_values() (localctx IRemove_rule_by_id_valuesContext) { localctx = NewRemove_rule_by_id_valuesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 24, SecLangParserRULE_remove_rule_by_id_values) - p.SetState(314) + p.SetState(310) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 24, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 23, p.GetParserRuleContext()) { case 1: localctx = NewRemove_rule_by_id_intContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(312) + p.SetState(308) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -3818,7 +3768,7 @@ func (p *SecLangParser) Remove_rule_by_id_values() (localctx IRemove_rule_by_id_ localctx = NewRemove_rule_by_id_int_rangeContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(313) + p.SetState(309) p.Int_range() } @@ -3924,7 +3874,7 @@ func (p *SecLangParser) Operator_int_range() (localctx IOperator_int_rangeContex p.EnterRule(localctx, 26, SecLangParserRULE_operator_int_range) p.EnterOuterAlt(localctx, 1) { - p.SetState(316) + p.SetState(312) p.Match(SecLangParserINT_RANGE_VALUE) if p.HasError() { // Recognition error - abort rule @@ -3932,7 +3882,7 @@ func (p *SecLangParser) Operator_int_range() (localctx IOperator_int_rangeContex } } { - p.SetState(317) + p.SetState(313) p.Match(SecLangParserMINUS_INT_RANGE) if p.HasError() { // Recognition error - abort rule @@ -3940,7 +3890,7 @@ func (p *SecLangParser) Operator_int_range() (localctx IOperator_int_rangeContex } } { - p.SetState(318) + p.SetState(314) p.Match(SecLangParserINT_RANGE_VALUE) if p.HasError() { // Recognition error - abort rule @@ -4070,11 +4020,11 @@ func (p *SecLangParser) Int_range() (localctx IInt_rangeContext) { p.EnterRule(localctx, 28, SecLangParserRULE_int_range) p.EnterOuterAlt(localctx, 1) { - p.SetState(320) + p.SetState(316) p.Range_start() } { - p.SetState(321) + p.SetState(317) p.Match(SecLangParserMINUS) if p.HasError() { // Recognition error - abort rule @@ -4082,7 +4032,7 @@ func (p *SecLangParser) Int_range() (localctx IInt_rangeContext) { } } { - p.SetState(322) + p.SetState(318) p.Range_end() } @@ -4174,7 +4124,7 @@ func (p *SecLangParser) Range_start() (localctx IRange_startContext) { p.EnterRule(localctx, 30, SecLangParserRULE_range_start) p.EnterOuterAlt(localctx, 1) { - p.SetState(324) + p.SetState(320) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -4270,7 +4220,7 @@ func (p *SecLangParser) Range_end() (localctx IRange_endContext) { p.EnterRule(localctx, 32, SecLangParserRULE_range_end) p.EnterOuterAlt(localctx, 1) { - p.SetState(326) + p.SetState(322) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -4416,7 +4366,7 @@ func (s *Remove_rule_by_tagContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) String_remove_rules() (localctx IString_remove_rulesContext) { localctx = NewString_remove_rulesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 34, SecLangParserRULE_string_remove_rules) - p.SetState(330) + p.SetState(326) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -4427,7 +4377,7 @@ func (p *SecLangParser) String_remove_rules() (localctx IString_remove_rulesCont localctx = NewRemove_rule_by_msgContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(328) + p.SetState(324) p.Match(SecLangParserCONFIG_SEC_RULE_REMOVE_BY_MSG) if p.HasError() { // Recognition error - abort rule @@ -4439,7 +4389,7 @@ func (p *SecLangParser) String_remove_rules() (localctx IString_remove_rulesCont localctx = NewRemove_rule_by_tagContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(329) + p.SetState(325) p.Match(SecLangParserCONFIG_SEC_RULE_REMOVE_BY_TAG) if p.HasError() { // Recognition error - abort rule @@ -4552,7 +4502,7 @@ func (p *SecLangParser) String_remove_rules_values() (localctx IString_remove_ru p.EnterOuterAlt(localctx, 1) { - p.SetState(332) + p.SetState(328) _la = p.GetTokenStream().LA(1) if !((int64((_la-225)) & ^0x3f) == 0 && ((int64(1)<<(_la-225))&65793) != 0) { @@ -4735,7 +4685,7 @@ func (s *Update_target_by_msgContext) ExitRule(listener antlr.ParseTreeListener) func (p *SecLangParser) Update_target_rules() (localctx IUpdate_target_rulesContext) { localctx = NewUpdate_target_rulesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 38, SecLangParserRULE_update_target_rules) - p.SetState(337) + p.SetState(333) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -4746,7 +4696,7 @@ func (p *SecLangParser) Update_target_rules() (localctx IUpdate_target_rulesCont localctx = NewUpdate_target_by_idContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(334) + p.SetState(330) p.Match(SecLangParserCONFIG_SEC_RULE_UPDATE_TARGET_BY_ID) if p.HasError() { // Recognition error - abort rule @@ -4758,7 +4708,7 @@ func (p *SecLangParser) Update_target_rules() (localctx IUpdate_target_rulesCont localctx = NewUpdate_target_by_msgContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(335) + p.SetState(331) p.Match(SecLangParserCONFIG_SEC_RULE_UPDATE_TARGET_BY_MSG) if p.HasError() { // Recognition error - abort rule @@ -4770,7 +4720,7 @@ func (p *SecLangParser) Update_target_rules() (localctx IUpdate_target_rulesCont localctx = NewUpdate_target_by_tagContext(p, localctx) p.EnterOuterAlt(localctx, 3) { - p.SetState(336) + p.SetState(332) p.Match(SecLangParserCONFIG_SEC_RULE_UPDATE_TARGET_BY_TAG) if p.HasError() { // Recognition error - abort rule @@ -4871,7 +4821,7 @@ func (p *SecLangParser) Update_action_rule() (localctx IUpdate_action_ruleContex p.EnterRule(localctx, 40, SecLangParserRULE_update_action_rule) p.EnterOuterAlt(localctx, 1) { - p.SetState(339) + p.SetState(335) p.Match(SecLangParserCONFIG_SEC_RULE_UPDATE_ACTION_BY_ID) if p.HasError() { // Recognition error - abort rule @@ -4967,7 +4917,7 @@ func (p *SecLangParser) Id() (localctx IIdContext) { p.EnterRule(localctx, 42, SecLangParserRULE_id) p.EnterOuterAlt(localctx, 1) { - p.SetState(341) + p.SetState(337) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -5064,7 +5014,7 @@ func (p *SecLangParser) Engine_config_sec_cache_transformations() (localctx IEng p.EnterRule(localctx, 44, SecLangParserRULE_engine_config_sec_cache_transformations) p.EnterOuterAlt(localctx, 1) { - p.SetState(343) + p.SetState(339) p.Match(SecLangParserCONFIG_SEC_CACHE_TRANSFORMATIONS) if p.HasError() { // Recognition error - abort rule @@ -5220,7 +5170,7 @@ func (p *SecLangParser) Option_list() (localctx IOption_listContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(345) + p.SetState(341) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -5228,10 +5178,10 @@ func (p *SecLangParser) Option_list() (localctx IOption_listContext) { } } { - p.SetState(346) + p.SetState(342) p.Option() } - p.SetState(351) + p.SetState(347) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -5240,7 +5190,7 @@ func (p *SecLangParser) Option_list() (localctx IOption_listContext) { for _la == SecLangParserCOMMA { { - p.SetState(347) + p.SetState(343) p.Match(SecLangParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -5248,11 +5198,11 @@ func (p *SecLangParser) Option_list() (localctx IOption_listContext) { } } { - p.SetState(348) + p.SetState(344) p.Option() } - p.SetState(353) + p.SetState(349) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -5260,7 +5210,7 @@ func (p *SecLangParser) Option_list() (localctx IOption_listContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(354) + p.SetState(350) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -5390,11 +5340,11 @@ func (p *SecLangParser) Option() (localctx IOptionContext) { p.EnterRule(localctx, 48, SecLangParserRULE_option) p.EnterOuterAlt(localctx, 1) { - p.SetState(356) + p.SetState(352) p.Option_name() } { - p.SetState(357) + p.SetState(353) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule @@ -5402,7 +5352,7 @@ func (p *SecLangParser) Option() (localctx IOptionContext) { } } { - p.SetState(358) + p.SetState(354) p.Values() } @@ -5494,7 +5444,7 @@ func (p *SecLangParser) Option_name() (localctx IOption_nameContext) { p.EnterRule(localctx, 50, SecLangParserRULE_option_name) p.EnterOuterAlt(localctx, 1) { - p.SetState(360) + p.SetState(356) p.Match(SecLangParserOPTION_NAME) if p.HasError() { // Recognition error - abort rule @@ -5640,7 +5590,7 @@ func (s *Config_dir_sec_default_actionContext) ExitRule(listener antlr.ParseTree func (p *SecLangParser) Engine_config_action_directive() (localctx IEngine_config_action_directiveContext) { localctx = NewEngine_config_action_directiveContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 52, SecLangParserRULE_engine_config_action_directive) - p.SetState(364) + p.SetState(360) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -5651,7 +5601,7 @@ func (p *SecLangParser) Engine_config_action_directive() (localctx IEngine_confi localctx = NewConfig_dir_sec_actionContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(362) + p.SetState(358) p.Match(SecLangParserCONFIG_DIR_SEC_ACTION) if p.HasError() { // Recognition error - abort rule @@ -5663,7 +5613,7 @@ func (p *SecLangParser) Engine_config_action_directive() (localctx IEngine_confi localctx = NewConfig_dir_sec_default_actionContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(363) + p.SetState(359) p.Match(SecLangParserCONFIG_DIR_SEC_DEFAULT_ACTION) if p.HasError() { // Recognition error - abort rule @@ -5841,7 +5791,7 @@ func (p *SecLangParser) Stmt_audit_log() (localctx IStmt_audit_logContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(366) + p.SetState(362) _la = p.GetTokenStream().LA(1) if !(((int64((_la-140)) & ^0x3f) == 0 && ((int64(1)<<(_la-140))&279223176896971775) != 0) || _la == SecLangParserINT) { @@ -6062,17 +6012,17 @@ func (s *ValuesContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Values() (localctx IValuesContext) { localctx = NewValuesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 56, SecLangParserRULE_values) - p.SetState(391) + p.SetState(387) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 29, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 28, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(368) + p.SetState(364) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -6083,14 +6033,14 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(369) + p.SetState(365) p.Int_range() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(370) + p.SetState(366) p.Match(SecLangParserCONFIG_VALUE_ON) if p.HasError() { // Recognition error - abort rule @@ -6101,7 +6051,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(371) + p.SetState(367) p.Match(SecLangParserCONFIG_VALUE_OFF) if p.HasError() { // Recognition error - abort rule @@ -6112,7 +6062,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 5: p.EnterOuterAlt(localctx, 5) { - p.SetState(372) + p.SetState(368) p.Match(SecLangParserCONFIG_VALUE_SERIAL) if p.HasError() { // Recognition error - abort rule @@ -6123,7 +6073,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 6: p.EnterOuterAlt(localctx, 6) { - p.SetState(373) + p.SetState(369) p.Match(SecLangParserCONFIG_VALUE_PARALLEL) if p.HasError() { // Recognition error - abort rule @@ -6134,7 +6084,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 7: p.EnterOuterAlt(localctx, 7) { - p.SetState(374) + p.SetState(370) p.Match(SecLangParserCONFIG_VALUE_HTTPS) if p.HasError() { // Recognition error - abort rule @@ -6145,7 +6095,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 8: p.EnterOuterAlt(localctx, 8) { - p.SetState(375) + p.SetState(371) p.Match(SecLangParserCONFIG_VALUE_RELEVANT_ONLY) if p.HasError() { // Recognition error - abort rule @@ -6156,7 +6106,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 9: p.EnterOuterAlt(localctx, 9) { - p.SetState(376) + p.SetState(372) p.Match(SecLangParserNATIVE) if p.HasError() { // Recognition error - abort rule @@ -6167,7 +6117,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 10: p.EnterOuterAlt(localctx, 10) { - p.SetState(377) + p.SetState(373) p.Match(SecLangParserCONFIG_VALUE_ABORT) if p.HasError() { // Recognition error - abort rule @@ -6178,7 +6128,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 11: p.EnterOuterAlt(localctx, 11) { - p.SetState(378) + p.SetState(374) p.Match(SecLangParserCONFIG_VALUE_WARN) if p.HasError() { // Recognition error - abort rule @@ -6189,7 +6139,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 12: p.EnterOuterAlt(localctx, 12) { - p.SetState(379) + p.SetState(375) p.Match(SecLangParserCONFIG_VALUE_DETC) if p.HasError() { // Recognition error - abort rule @@ -6200,7 +6150,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 13: p.EnterOuterAlt(localctx, 13) { - p.SetState(380) + p.SetState(376) p.Match(SecLangParserCONFIG_VALUE_PROCESS_PARTIAL) if p.HasError() { // Recognition error - abort rule @@ -6211,7 +6161,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 14: p.EnterOuterAlt(localctx, 14) { - p.SetState(381) + p.SetState(377) p.Match(SecLangParserCONFIG_VALUE_REJECT) if p.HasError() { // Recognition error - abort rule @@ -6222,7 +6172,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 15: p.EnterOuterAlt(localctx, 15) { - p.SetState(382) + p.SetState(378) p.Match(SecLangParserCONFIG_VALUE_PATH) if p.HasError() { // Recognition error - abort rule @@ -6230,7 +6180,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { } } { - p.SetState(383) + p.SetState(379) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -6241,7 +6191,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 16: p.EnterOuterAlt(localctx, 16) { - p.SetState(384) + p.SetState(380) p.Match(SecLangParserCONFIG_VALUE_PATH) if p.HasError() { // Recognition error - abort rule @@ -6252,7 +6202,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 17: p.EnterOuterAlt(localctx, 17) { - p.SetState(385) + p.SetState(381) p.Match(SecLangParserSTRING) if p.HasError() { // Recognition error - abort rule @@ -6263,7 +6213,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 18: p.EnterOuterAlt(localctx, 18) { - p.SetState(386) + p.SetState(382) p.Match(SecLangParserVARIABLE_NAME) if p.HasError() { // Recognition error - abort rule @@ -6274,7 +6224,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 19: p.EnterOuterAlt(localctx, 19) { - p.SetState(387) + p.SetState(383) p.Match(SecLangParserCOMMA_SEPARATED_STRING) if p.HasError() { // Recognition error - abort rule @@ -6285,7 +6235,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 20: p.EnterOuterAlt(localctx, 20) { - p.SetState(388) + p.SetState(384) p.Match(SecLangParserACTION_CTL_BODY_PROCESSOR_TYPE) if p.HasError() { // Recognition error - abort rule @@ -6296,7 +6246,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 21: p.EnterOuterAlt(localctx, 21) { - p.SetState(389) + p.SetState(385) p.Match(SecLangParserAUDIT_PARTS) if p.HasError() { // Recognition error - abort rule @@ -6307,7 +6257,7 @@ func (p *SecLangParser) Values() (localctx IValuesContext) { case 22: p.EnterOuterAlt(localctx, 22) { - p.SetState(390) + p.SetState(386) p.Action_ctl_target_value() } @@ -6508,16 +6458,16 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v p.EnterRule(localctx, 58, SecLangParserRULE_action_ctl_target_value) var _la int - p.SetState(417) + p.SetState(413) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 33, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 32, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) - p.SetState(399) + p.SetState(395) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -6526,13 +6476,13 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v switch p.GetTokenStream().LA(1) { case SecLangParserIDENT, SecLangParserINT: { - p.SetState(393) + p.SetState(389) p.Ctl_id() } case SecLangParserSINGLE_QUOTE: { - p.SetState(394) + p.SetState(390) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -6540,11 +6490,11 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v } } { - p.SetState(395) + p.SetState(391) p.String_literal() } { - p.SetState(396) + p.SetState(392) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -6554,7 +6504,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v case SecLangParserVARIABLE_NAME: { - p.SetState(398) + p.SetState(394) p.Match(SecLangParserVARIABLE_NAME) if p.HasError() { // Recognition error - abort rule @@ -6567,7 +6517,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v goto errorExit } { - p.SetState(401) + p.SetState(397) p.Match(SecLangParserSEMI) if p.HasError() { // Recognition error - abort rule @@ -6575,13 +6525,13 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v } } { - p.SetState(402) + p.SetState(398) p.Ctl_variable_enum() } case 2: p.EnterOuterAlt(localctx, 2) - p.SetState(409) + p.SetState(405) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -6590,13 +6540,13 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v switch p.GetTokenStream().LA(1) { case SecLangParserIDENT, SecLangParserINT: { - p.SetState(403) + p.SetState(399) p.Ctl_id() } case SecLangParserSINGLE_QUOTE: { - p.SetState(404) + p.SetState(400) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -6604,11 +6554,11 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v } } { - p.SetState(405) + p.SetState(401) p.String_literal() } { - p.SetState(406) + p.SetState(402) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -6618,7 +6568,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v case SecLangParserVARIABLE_NAME: { - p.SetState(408) + p.SetState(404) p.Match(SecLangParserVARIABLE_NAME) if p.HasError() { // Recognition error - abort rule @@ -6631,7 +6581,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v goto errorExit } { - p.SetState(411) + p.SetState(407) p.Match(SecLangParserSEMI) if p.HasError() { // Recognition error - abort rule @@ -6639,10 +6589,10 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v } } { - p.SetState(412) + p.SetState(408) p.Ctl_collection_enum() } - p.SetState(415) + p.SetState(411) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -6651,7 +6601,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v if _la == SecLangParserCOLON { { - p.SetState(413) + p.SetState(409) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule @@ -6659,7 +6609,7 @@ func (p *SecLangParser) Action_ctl_target_value() (localctx IAction_ctl_target_v } } { - p.SetState(414) + p.SetState(410) p.Ctl_collection_value() } @@ -6777,17 +6727,17 @@ func (s *Update_target_rules_valuesContext) ExitRule(listener antlr.ParseTreeLis func (p *SecLangParser) Update_target_rules_values() (localctx IUpdate_target_rules_valuesContext) { localctx = NewUpdate_target_rules_valuesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 60, SecLangParserRULE_update_target_rules_values) - p.SetState(422) + p.SetState(418) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 34, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 33, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(419) + p.SetState(415) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -6798,14 +6748,14 @@ func (p *SecLangParser) Update_target_rules_values() (localctx IUpdate_target_ru case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(420) + p.SetState(416) p.Int_range() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(421) + p.SetState(417) p.Match(SecLangParserSTRING) if p.HasError() { // Recognition error - abort rule @@ -6905,7 +6855,7 @@ func (p *SecLangParser) Operator_not() (localctx IOperator_notContext) { p.EnterRule(localctx, 62, SecLangParserRULE_operator_not) p.EnterOuterAlt(localctx, 1) { - p.SetState(424) + p.SetState(420) p.Match(SecLangParserNOT) if p.HasError() { // Recognition error - abort rule @@ -7062,24 +7012,24 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { p.EnterRule(localctx, 64, SecLangParserRULE_operator) var _la int - p.SetState(442) + p.SetState(438) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 37, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 36, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(426) + p.SetState(422) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(428) + p.SetState(424) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7088,13 +7038,13 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { if _la == SecLangParserNOT { { - p.SetState(427) + p.SetState(423) p.Operator_not() } } { - p.SetState(430) + p.SetState(426) p.Match(SecLangParserAT) if p.HasError() { // Recognition error - abort rule @@ -7102,10 +7052,10 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { } } { - p.SetState(431) + p.SetState(427) p.Operator_name() } - p.SetState(433) + p.SetState(429) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7114,13 +7064,13 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { if _la == SecLangParserVARIABLE_NAME_ENUM || ((int64((_la-233)) & ^0x3f) == 0 && ((int64(1)<<(_la-233))&1352663041) != 0) { { - p.SetState(432) + p.SetState(428) p.Operator_value() } } { - p.SetState(435) + p.SetState(431) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -7131,7 +7081,7 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(437) + p.SetState(433) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -7139,11 +7089,11 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { } } { - p.SetState(438) + p.SetState(434) p.Operator_value() } { - p.SetState(439) + p.SetState(435) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -7154,7 +7104,7 @@ func (p *SecLangParser) Operator() (localctx IOperatorContext) { case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(441) + p.SetState(437) p.Operator_value() } @@ -7432,7 +7382,7 @@ func (p *SecLangParser) Operator_name() (localctx IOperator_nameContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(444) + p.SetState(440) _la = p.GetTokenStream().LA(1) if !((int64((_la-89)) & ^0x3f) == 0 && ((int64(1)<<(_la-89))&137438953471) != 0) { @@ -7631,7 +7581,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { p.EnterRule(localctx, 68, SecLangParserRULE_operator_value) var _la int - p.SetState(476) + p.SetState(472) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7641,14 +7591,14 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case SecLangParserVARIABLE_NAME_ENUM: p.EnterOuterAlt(localctx, 1) { - p.SetState(446) + p.SetState(442) p.Variable_enum() } case SecLangParserSTRING: p.EnterOuterAlt(localctx, 2) { - p.SetState(447) + p.SetState(443) p.Match(SecLangParserSTRING) if p.HasError() { // Recognition error - abort rule @@ -7658,7 +7608,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case SecLangParserINT_RANGE_VALUE, SecLangParserWS_INT_RANGE: p.EnterOuterAlt(localctx, 3) - p.SetState(451) + p.SetState(447) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7667,7 +7617,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { for _la == SecLangParserWS_INT_RANGE { { - p.SetState(448) + p.SetState(444) p.Match(SecLangParserWS_INT_RANGE) if p.HasError() { // Recognition error - abort rule @@ -7675,23 +7625,23 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { } } - p.SetState(453) + p.SetState(449) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(456) + p.SetState(452) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 39, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 38, p.GetParserRuleContext()) { case 1: { - p.SetState(454) + p.SetState(450) p.Match(SecLangParserINT_RANGE_VALUE) if p.HasError() { // Recognition error - abort rule @@ -7701,14 +7651,14 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case 2: { - p.SetState(455) + p.SetState(451) p.Operator_int_range() } case antlr.ATNInvalidAltNumber: goto errorExit } - p.SetState(471) + p.SetState(467) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7717,14 +7667,14 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { for _la == SecLangParserCOMMA { { - p.SetState(458) + p.SetState(454) p.Match(SecLangParserCOMMA) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(462) + p.SetState(458) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7733,7 +7683,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { for _la == SecLangParserWS_INT_RANGE { { - p.SetState(459) + p.SetState(455) p.Match(SecLangParserWS_INT_RANGE) if p.HasError() { // Recognition error - abort rule @@ -7741,23 +7691,23 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { } } - p.SetState(464) + p.SetState(460) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } _la = p.GetTokenStream().LA(1) } - p.SetState(467) + p.SetState(463) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 41, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 40, p.GetParserRuleContext()) { case 1: { - p.SetState(465) + p.SetState(461) p.Match(SecLangParserINT_RANGE_VALUE) if p.HasError() { // Recognition error - abort rule @@ -7767,7 +7717,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case 2: { - p.SetState(466) + p.SetState(462) p.Operator_int_range() } @@ -7775,7 +7725,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { goto errorExit } - p.SetState(473) + p.SetState(469) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -7786,7 +7736,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case SecLangParserOPERATOR_UNQUOTED_STRING: p.EnterOuterAlt(localctx, 4) { - p.SetState(474) + p.SetState(470) p.Match(SecLangParserOPERATOR_UNQUOTED_STRING) if p.HasError() { // Recognition error - abort rule @@ -7797,7 +7747,7 @@ func (p *SecLangParser) Operator_value() (localctx IOperator_valueContext) { case SecLangParserOPERATOR_QUOTED_STRING: p.EnterOuterAlt(localctx, 5) { - p.SetState(475) + p.SetState(471) p.Match(SecLangParserOPERATOR_QUOTED_STRING) if p.HasError() { // Recognition error - abort rule @@ -7898,7 +7848,7 @@ func (p *SecLangParser) Var_not() (localctx IVar_notContext) { p.EnterRule(localctx, 70, SecLangParserRULE_var_not) p.EnterOuterAlt(localctx, 1) { - p.SetState(478) + p.SetState(474) p.Match(SecLangParserNOT) if p.HasError() { // Recognition error - abort rule @@ -7994,7 +7944,7 @@ func (p *SecLangParser) Var_count() (localctx IVar_countContext) { p.EnterRule(localctx, 72, SecLangParserRULE_var_count) p.EnterOuterAlt(localctx, 1) { - p.SetState(480) + p.SetState(476) p.Match(SecLangParserVAR_COUNT) if p.HasError() { // Recognition error - abort rule @@ -8209,7 +8159,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(483) + p.SetState(479) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8218,7 +8168,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { if _la == SecLangParserQUOTE { { - p.SetState(482) + p.SetState(478) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8227,7 +8177,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { } } - p.SetState(486) + p.SetState(482) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8236,12 +8186,12 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { if _la == SecLangParserNOT { { - p.SetState(485) + p.SetState(481) p.Var_not() } } - p.SetState(489) + p.SetState(485) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8250,21 +8200,21 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { if _la == SecLangParserVAR_COUNT { { - p.SetState(488) + p.SetState(484) p.Var_count() } } { - p.SetState(491) + p.SetState(487) p.Var_stmt() } - p.SetState(493) + p.SetState(489) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 47, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 46, p.GetParserRuleContext()) == 1 { { - p.SetState(492) + p.SetState(488) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8275,7 +8225,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { } else if p.HasError() { // JIM goto errorExit } - p.SetState(508) + p.SetState(504) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8284,14 +8234,14 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { for _la == SecLangParserPIPE { { - p.SetState(495) + p.SetState(491) p.Match(SecLangParserPIPE) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(497) + p.SetState(493) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8300,7 +8250,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { if _la == SecLangParserQUOTE { { - p.SetState(496) + p.SetState(492) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8309,7 +8259,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { } } - p.SetState(500) + p.SetState(496) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8318,21 +8268,21 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { if _la == SecLangParserNOT { { - p.SetState(499) + p.SetState(495) p.Var_not() } } { - p.SetState(502) + p.SetState(498) p.Var_stmt() } - p.SetState(504) + p.SetState(500) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 50, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 49, p.GetParserRuleContext()) == 1 { { - p.SetState(503) + p.SetState(499) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8344,7 +8294,7 @@ func (p *SecLangParser) Variables() (localctx IVariablesContext) { goto errorExit } - p.SetState(510) + p.SetState(506) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8559,7 +8509,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(512) + p.SetState(508) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8568,7 +8518,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { if _la == SecLangParserQUOTE { { - p.SetState(511) + p.SetState(507) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8577,7 +8527,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { } } - p.SetState(515) + p.SetState(511) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8586,12 +8536,12 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { if _la == SecLangParserNOT { { - p.SetState(514) + p.SetState(510) p.Var_not() } } - p.SetState(518) + p.SetState(514) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8600,21 +8550,21 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { if _la == SecLangParserVAR_COUNT { { - p.SetState(517) + p.SetState(513) p.Var_count() } } { - p.SetState(520) + p.SetState(516) p.Var_stmt() } - p.SetState(522) + p.SetState(518) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 55, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 54, p.GetParserRuleContext()) == 1 { { - p.SetState(521) + p.SetState(517) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8625,7 +8575,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { } else if p.HasError() { // JIM goto errorExit } - p.SetState(537) + p.SetState(533) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8634,14 +8584,14 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { for _la == SecLangParserCOMMA { { - p.SetState(524) + p.SetState(520) p.Match(SecLangParserCOMMA) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(526) + p.SetState(522) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8650,7 +8600,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { if _la == SecLangParserQUOTE { { - p.SetState(525) + p.SetState(521) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8659,7 +8609,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { } } - p.SetState(529) + p.SetState(525) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8668,21 +8618,21 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { if _la == SecLangParserNOT { { - p.SetState(528) + p.SetState(524) p.Var_not() } } { - p.SetState(531) + p.SetState(527) p.Var_stmt() } - p.SetState(533) + p.SetState(529) p.GetErrorHandler().Sync(p) - if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 58, p.GetParserRuleContext()) == 1 { + if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 57, p.GetParserRuleContext()) == 1 { { - p.SetState(532) + p.SetState(528) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -8694,7 +8644,7 @@ func (p *SecLangParser) Update_variables() (localctx IUpdate_variablesContext) { goto errorExit } - p.SetState(539) + p.SetState(535) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8802,7 +8752,7 @@ func (p *SecLangParser) New_target() (localctx INew_targetContext) { p.EnterRule(localctx, 78, SecLangParserRULE_new_target) p.EnterOuterAlt(localctx, 1) { - p.SetState(540) + p.SetState(536) p.Var_stmt() } @@ -8945,7 +8895,7 @@ func (p *SecLangParser) Var_stmt() (localctx IVar_stmtContext) { p.EnterRule(localctx, 80, SecLangParserRULE_var_stmt) var _la int - p.SetState(548) + p.SetState(544) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8955,17 +8905,17 @@ func (p *SecLangParser) Var_stmt() (localctx IVar_stmtContext) { case SecLangParserVARIABLE_NAME_ENUM: p.EnterOuterAlt(localctx, 1) { - p.SetState(542) + p.SetState(538) p.Variable_enum() } case SecLangParserCOLLECTION_NAME_ENUM, SecLangParserRUN_TIME_VAR_XML: p.EnterOuterAlt(localctx, 2) { - p.SetState(543) + p.SetState(539) p.Collection_enum() } - p.SetState(546) + p.SetState(542) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -8974,7 +8924,7 @@ func (p *SecLangParser) Var_stmt() (localctx IVar_stmtContext) { if _la == SecLangParserCOLON { { - p.SetState(544) + p.SetState(540) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule @@ -8982,7 +8932,7 @@ func (p *SecLangParser) Var_stmt() (localctx IVar_stmtContext) { } } { - p.SetState(545) + p.SetState(541) p.Collection_value() } @@ -9081,7 +9031,7 @@ func (p *SecLangParser) Variable_enum() (localctx IVariable_enumContext) { p.EnterRule(localctx, 82, SecLangParserRULE_variable_enum) p.EnterOuterAlt(localctx, 1) { - p.SetState(550) + p.SetState(546) p.Match(SecLangParserVARIABLE_NAME_ENUM) if p.HasError() { // Recognition error - abort rule @@ -9177,7 +9127,7 @@ func (p *SecLangParser) Ctl_variable_enum() (localctx ICtl_variable_enumContext) p.EnterRule(localctx, 84, SecLangParserRULE_ctl_variable_enum) p.EnterOuterAlt(localctx, 1) { - p.SetState(552) + p.SetState(548) p.Match(SecLangParserVARIABLE_NAME_ENUM) if p.HasError() { // Recognition error - abort rule @@ -9280,7 +9230,7 @@ func (p *SecLangParser) Collection_enum() (localctx ICollection_enumContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(554) + p.SetState(550) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserCOLLECTION_NAME_ENUM || _la == SecLangParserRUN_TIME_VAR_XML) { @@ -9386,7 +9336,7 @@ func (p *SecLangParser) Ctl_collection_enum() (localctx ICtl_collection_enumCont p.EnterOuterAlt(localctx, 1) { - p.SetState(556) + p.SetState(552) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserCOLLECTION_NAME_ENUM || _la == SecLangParserRUN_TIME_VAR_XML) { @@ -9545,7 +9495,7 @@ func (p *SecLangParser) Actions() (localctx IActionsContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(558) + p.SetState(554) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -9553,10 +9503,10 @@ func (p *SecLangParser) Actions() (localctx IActionsContext) { } } { - p.SetState(559) + p.SetState(555) p.Action_() } - p.SetState(564) + p.SetState(560) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9565,7 +9515,7 @@ func (p *SecLangParser) Actions() (localctx IActionsContext) { for _la == SecLangParserCOMMA { { - p.SetState(560) + p.SetState(556) p.Match(SecLangParserCOMMA) if p.HasError() { // Recognition error - abort rule @@ -9573,11 +9523,11 @@ func (p *SecLangParser) Actions() (localctx IActionsContext) { } } { - p.SetState(561) + p.SetState(557) p.Action_() } - p.SetState(566) + p.SetState(562) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9585,7 +9535,7 @@ func (p *SecLangParser) Actions() (localctx IActionsContext) { _la = p.GetTokenStream().LA(1) } { - p.SetState(567) + p.SetState(563) p.Match(SecLangParserQUOTE) if p.HasError() { // Recognition error - abort rule @@ -9764,28 +9714,28 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { p.EnterRule(localctx, 92, SecLangParserRULE_action) var _la int - p.SetState(587) + p.SetState(583) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 65, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 64, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(569) + p.SetState(565) p.Action_with_params() } { - p.SetState(570) + p.SetState(566) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule goto errorExit } } - p.SetState(572) + p.SetState(568) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9794,7 +9744,7 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { if _la == SecLangParserNOT { { - p.SetState(571) + p.SetState(567) p.Match(SecLangParserNOT) if p.HasError() { // Recognition error - abort rule @@ -9803,7 +9753,7 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { } } - p.SetState(575) + p.SetState(571) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -9812,7 +9762,7 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { if _la == SecLangParserEQUAL { { - p.SetState(574) + p.SetState(570) p.Match(SecLangParserEQUAL) if p.HasError() { // Recognition error - abort rule @@ -9822,18 +9772,18 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { } { - p.SetState(577) + p.SetState(573) p.Action_value() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(579) + p.SetState(575) p.Action_with_params() } { - p.SetState(580) + p.SetState(576) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule @@ -9841,14 +9791,14 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { } } { - p.SetState(581) + p.SetState(577) p.Action_value() } case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(583) + p.SetState(579) p.Match(SecLangParserACTION_TRANSFORMATION) if p.HasError() { // Recognition error - abort rule @@ -9856,7 +9806,7 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { } } { - p.SetState(584) + p.SetState(580) p.Match(SecLangParserCOLON) if p.HasError() { // Recognition error - abort rule @@ -9864,14 +9814,14 @@ func (p *SecLangParser) Action_() (localctx IActionContext) { } } { - p.SetState(585) + p.SetState(581) p.Transformation_action_value() } case 4: p.EnterOuterAlt(localctx, 4) { - p.SetState(586) + p.SetState(582) p.Action_only() } @@ -10011,7 +9961,7 @@ func (s *Action_onlyContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Action_only() (localctx IAction_onlyContext) { localctx = NewAction_onlyContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 94, SecLangParserRULE_action_only) - p.SetState(592) + p.SetState(588) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10021,21 +9971,21 @@ func (p *SecLangParser) Action_only() (localctx IAction_onlyContext) { case SecLangParserACTION_ALLOW, SecLangParserACTION_BLOCK, SecLangParserACTION_DENY, SecLangParserACTION_DROP, SecLangParserACTION_PASS, SecLangParserACTION_PAUSE: p.EnterOuterAlt(localctx, 1) { - p.SetState(589) + p.SetState(585) p.Disruptive_action_only() } case SecLangParserACTION_AUDIT_LOG, SecLangParserACTION_CAPTURE, SecLangParserACTION_LOG, SecLangParserACTION_MULTI_MATCH, SecLangParserACTION_NO_AUDIT_LOG, SecLangParserACTION_NO_LOG, SecLangParserACTION_SANITISE_MATCHED: p.EnterOuterAlt(localctx, 2) { - p.SetState(590) + p.SetState(586) p.Non_disruptive_action_only() } case SecLangParserACTION_CHAIN: p.EnterOuterAlt(localctx, 3) { - p.SetState(591) + p.SetState(587) p.Flow_action_only() } @@ -10159,7 +10109,7 @@ func (p *SecLangParser) Disruptive_action_only() (localctx IDisruptive_action_on p.EnterOuterAlt(localctx, 1) { - p.SetState(594) + p.SetState(590) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&864779090593316864) != 0) { @@ -10290,7 +10240,7 @@ func (p *SecLangParser) Non_disruptive_action_only() (localctx INon_disruptive_a p.EnterOuterAlt(localctx, 1) { - p.SetState(596) + p.SetState(592) _la = p.GetTokenStream().LA(1) if !((int64((_la-29)) & ^0x3f) == 0 && ((int64(1)<<(_la-29))&275356057605) != 0) { @@ -10389,7 +10339,7 @@ func (p *SecLangParser) Flow_action_only() (localctx IFlow_action_onlyContext) { p.EnterRule(localctx, 100, SecLangParserRULE_flow_action_only) p.EnterOuterAlt(localctx, 1) { - p.SetState(598) + p.SetState(594) p.Match(SecLangParserACTION_CHAIN) if p.HasError() { // Recognition error - abort rule @@ -10563,7 +10513,7 @@ func (s *Action_with_paramsContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Action_with_params() (localctx IAction_with_paramsContext) { localctx = NewAction_with_paramsContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 102, SecLangParserRULE_action_with_params) - p.SetState(605) + p.SetState(601) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10573,35 +10523,35 @@ func (p *SecLangParser) Action_with_params() (localctx IAction_with_paramsContex case SecLangParserACTION_ID, SecLangParserACTION_MATURITY, SecLangParserACTION_MSG, SecLangParserACTION_PHASE, SecLangParserACTION_REV, SecLangParserACTION_SEVERITY, SecLangParserACTION_TAG, SecLangParserACTION_VER: p.EnterOuterAlt(localctx, 1) { - p.SetState(600) + p.SetState(596) p.Metadata_action_with_params() } case SecLangParserACTION_PROXY, SecLangParserACTION_REDIRECT: p.EnterOuterAlt(localctx, 2) { - p.SetState(601) + p.SetState(597) p.Disruptive_action_with_params() } case SecLangParserACTION_APPEND, SecLangParserACTION_CTL, SecLangParserACTION_DEPRECATE_VAR, SecLangParserACTION_EXEC, SecLangParserACTION_EXPIRE_VAR, SecLangParserACTION_INITCOL, SecLangParserACTION_LOG_DATA, SecLangParserACTION_PREPEND, SecLangParserACTION_SANITISE_ARG, SecLangParserACTION_SANITISE_MATCHED_BYTES, SecLangParserACTION_SANITISE_REQUEST_HEADER, SecLangParserACTION_SANITISE_RESPONSE_HEADER, SecLangParserACTION_SETENV, SecLangParserACTION_SETRSC, SecLangParserACTION_SETSID, SecLangParserACTION_SETUID, SecLangParserACTION_SETVAR: p.EnterOuterAlt(localctx, 3) { - p.SetState(602) + p.SetState(598) p.Non_disruptive_action_with_params() } case SecLangParserACTION_SKIP_AFTER, SecLangParserACTION_SKIP: p.EnterOuterAlt(localctx, 4) { - p.SetState(603) + p.SetState(599) p.Flow_action_with_params() } case SecLangParserACTION_STATUS, SecLangParserACTION_XMLNS: p.EnterOuterAlt(localctx, 5) { - p.SetState(604) + p.SetState(600) p.Data_action_with_params() } @@ -10952,7 +10902,7 @@ func (s *ACTION_TAGContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action_with_paramsContext) { localctx = NewMetadata_action_with_paramsContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 104, SecLangParserRULE_metadata_action_with_params) - p.SetState(615) + p.SetState(611) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -10963,7 +10913,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_PHASEContext(p, localctx) p.EnterOuterAlt(localctx, 1) { - p.SetState(607) + p.SetState(603) p.Match(SecLangParserACTION_PHASE) if p.HasError() { // Recognition error - abort rule @@ -10975,7 +10925,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_IDContext(p, localctx) p.EnterOuterAlt(localctx, 2) { - p.SetState(608) + p.SetState(604) p.Match(SecLangParserACTION_ID) if p.HasError() { // Recognition error - abort rule @@ -10987,7 +10937,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_MATURITYContext(p, localctx) p.EnterOuterAlt(localctx, 3) { - p.SetState(609) + p.SetState(605) p.Match(SecLangParserACTION_MATURITY) if p.HasError() { // Recognition error - abort rule @@ -10999,7 +10949,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_MSGContext(p, localctx) p.EnterOuterAlt(localctx, 4) { - p.SetState(610) + p.SetState(606) p.Match(SecLangParserACTION_MSG) if p.HasError() { // Recognition error - abort rule @@ -11011,7 +10961,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_REVContext(p, localctx) p.EnterOuterAlt(localctx, 5) { - p.SetState(611) + p.SetState(607) p.Match(SecLangParserACTION_REV) if p.HasError() { // Recognition error - abort rule @@ -11023,7 +10973,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_SEVERITYContext(p, localctx) p.EnterOuterAlt(localctx, 6) { - p.SetState(612) + p.SetState(608) p.Match(SecLangParserACTION_SEVERITY) if p.HasError() { // Recognition error - abort rule @@ -11035,7 +10985,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_TAGContext(p, localctx) p.EnterOuterAlt(localctx, 7) { - p.SetState(613) + p.SetState(609) p.Match(SecLangParserACTION_TAG) if p.HasError() { // Recognition error - abort rule @@ -11047,7 +10997,7 @@ func (p *SecLangParser) Metadata_action_with_params() (localctx IMetadata_action localctx = NewACTION_VERContext(p, localctx) p.EnterOuterAlt(localctx, 8) { - p.SetState(614) + p.SetState(610) p.Match(SecLangParserACTION_VER) if p.HasError() { // Recognition error - abort rule @@ -11155,7 +11105,7 @@ func (p *SecLangParser) Disruptive_action_with_params() (localctx IDisruptive_ac p.EnterOuterAlt(localctx, 1) { - p.SetState(617) + p.SetState(613) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserACTION_PROXY || _la == SecLangParserACTION_REDIRECT) { @@ -11336,7 +11286,7 @@ func (p *SecLangParser) Non_disruptive_action_with_params() (localctx INon_disru p.EnterOuterAlt(localctx, 1) { - p.SetState(619) + p.SetState(615) _la = p.GetTokenStream().LA(1) if !((int64((_la-28)) & ^0x3f) == 0 && ((int64(1)<<(_la-28))&140058897809441) != 0) { @@ -11442,7 +11392,7 @@ func (p *SecLangParser) Data_action_with_params() (localctx IData_action_with_pa p.EnterOuterAlt(localctx, 1) { - p.SetState(621) + p.SetState(617) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserACTION_STATUS || _la == SecLangParserACTION_XMLNS) { @@ -11548,7 +11498,7 @@ func (p *SecLangParser) Flow_action_with_params() (localctx IFlow_action_with_pa p.EnterOuterAlt(localctx, 1) { - p.SetState(623) + p.SetState(619) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserACTION_SKIP_AFTER || _la == SecLangParserACTION_SKIP) { @@ -11684,24 +11634,24 @@ func (s *Action_valueContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Action_value() (localctx IAction_valueContext) { localctx = NewAction_valueContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 114, SecLangParserRULE_action_value) - p.SetState(634) + p.SetState(630) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit } - switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 69, p.GetParserRuleContext()) { + switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 68, p.GetParserRuleContext()) { case 1: p.EnterOuterAlt(localctx, 1) { - p.SetState(625) + p.SetState(621) p.Action_value_types() } case 2: p.EnterOuterAlt(localctx, 2) { - p.SetState(626) + p.SetState(622) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -11709,11 +11659,11 @@ func (p *SecLangParser) Action_value() (localctx IAction_valueContext) { } } { - p.SetState(627) + p.SetState(623) p.Action_value_types() } { - p.SetState(628) + p.SetState(624) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -11724,7 +11674,7 @@ func (p *SecLangParser) Action_value() (localctx IAction_valueContext) { case 3: p.EnterOuterAlt(localctx, 3) { - p.SetState(630) + p.SetState(626) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -11732,11 +11682,11 @@ func (p *SecLangParser) Action_value() (localctx IAction_valueContext) { } } { - p.SetState(631) + p.SetState(627) p.String_literal() } { - p.SetState(632) + p.SetState(628) p.Match(SecLangParserSINGLE_QUOTE) if p.HasError() { // Recognition error - abort rule @@ -11939,7 +11889,7 @@ func (s *Action_value_typesContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContext) { localctx = NewAction_value_typesContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 116, SecLangParserRULE_action_value_types) - p.SetState(647) + p.SetState(643) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -11949,7 +11899,7 @@ func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContex case SecLangParserINT: p.EnterOuterAlt(localctx, 1) { - p.SetState(636) + p.SetState(632) p.Match(SecLangParserINT) if p.HasError() { // Recognition error - abort rule @@ -11960,36 +11910,36 @@ func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContex case SecLangParserQUOTE, SecLangParserSINGLE_QUOTE, SecLangParserCOMMA, SecLangParserXPATH_EXPRESSION, SecLangParserCOLLECTION_ELEMENT_VALUE: p.EnterOuterAlt(localctx, 2) { - p.SetState(637) + p.SetState(633) p.Collection_value() } case SecLangParserCOLLECTION_NAME_SETVAR: p.EnterOuterAlt(localctx, 3) { - p.SetState(638) + p.SetState(634) p.Setvar_action() } case SecLangParserACTION_CTL_AUDIT_ENGINE, SecLangParserACTION_CTL_AUDIT_LOG_PARTS, SecLangParserACTION_CTL_REQUEST_BODY_PROCESSOR, SecLangParserACTION_CTL_FORCE_REQ_BODY_VAR, SecLangParserACTION_CTL_REQUEST_BODY_ACCESS, SecLangParserACTION_CTL_RULE_ENGINE, SecLangParserACTION_CTL_RULE_REMOVE_BY_TAG, SecLangParserACTION_CTL_RULE_REMOVE_BY_ID, SecLangParserACTION_CTL_RULE_REMOVE_TARGET_BY_ID, SecLangParserACTION_CTL_RULE_REMOVE_TARGET_BY_TAG: p.EnterOuterAlt(localctx, 4) { - p.SetState(639) + p.SetState(635) p.Ctl_action() } { - p.SetState(640) + p.SetState(636) p.Assignment() } { - p.SetState(641) + p.SetState(637) p.Values() } case SecLangParserVARIABLE_NAME: p.EnterOuterAlt(localctx, 5) { - p.SetState(643) + p.SetState(639) p.Match(SecLangParserVARIABLE_NAME) if p.HasError() { // Recognition error - abort rule @@ -12000,7 +11950,7 @@ func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContex case SecLangParserACTION_SEVERITY_VALUE: p.EnterOuterAlt(localctx, 6) { - p.SetState(644) + p.SetState(640) p.Match(SecLangParserACTION_SEVERITY_VALUE) if p.HasError() { // Recognition error - abort rule @@ -12011,7 +11961,7 @@ func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContex case SecLangParserFREE_TEXT_QUOTE_MACRO_EXPANSION: p.EnterOuterAlt(localctx, 7) { - p.SetState(645) + p.SetState(641) p.Match(SecLangParserFREE_TEXT_QUOTE_MACRO_EXPANSION) if p.HasError() { // Recognition error - abort rule @@ -12022,7 +11972,7 @@ func (p *SecLangParser) Action_value_types() (localctx IAction_value_typesContex case SecLangParserCOMMA_SEPARATED_STRING: p.EnterOuterAlt(localctx, 8) { - p.SetState(646) + p.SetState(642) p.Match(SecLangParserCOMMA_SEPARATED_STRING) if p.HasError() { // Recognition error - abort rule @@ -12123,7 +12073,7 @@ func (p *SecLangParser) String_literal() (localctx IString_literalContext) { p.EnterRule(localctx, 118, SecLangParserRULE_string_literal) p.EnterOuterAlt(localctx, 1) { - p.SetState(649) + p.SetState(645) p.Match(SecLangParserSTRING_LITERAL) if p.HasError() { // Recognition error - abort rule @@ -12266,7 +12216,7 @@ func (p *SecLangParser) Ctl_action() (localctx ICtl_actionContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(651) + p.SetState(647) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&17575006175232) != 0) { @@ -12365,7 +12315,7 @@ func (p *SecLangParser) Transformation_action_value() (localctx ITransformation_ p.EnterRule(localctx, 122, SecLangParserRULE_transformation_action_value) p.EnterOuterAlt(localctx, 1) { - p.SetState(653) + p.SetState(649) p.Match(SecLangParserTRANSFORMATION_VALUE) if p.HasError() { // Recognition error - abort rule @@ -12464,7 +12414,7 @@ func (s *Collection_valueContext) ExitRule(listener antlr.ParseTreeListener) { func (p *SecLangParser) Collection_value() (localctx ICollection_valueContext) { localctx = NewCollection_valueContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 124, SecLangParserRULE_collection_value) - p.SetState(658) + p.SetState(654) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -12477,7 +12427,7 @@ func (p *SecLangParser) Collection_value() (localctx ICollection_valueContext) { case SecLangParserXPATH_EXPRESSION: p.EnterOuterAlt(localctx, 2) { - p.SetState(656) + p.SetState(652) p.Match(SecLangParserXPATH_EXPRESSION) if p.HasError() { // Recognition error - abort rule @@ -12488,7 +12438,7 @@ func (p *SecLangParser) Collection_value() (localctx ICollection_valueContext) { case SecLangParserCOLLECTION_ELEMENT_VALUE: p.EnterOuterAlt(localctx, 3) { - p.SetState(657) + p.SetState(653) p.Match(SecLangParserCOLLECTION_ELEMENT_VALUE) if p.HasError() { // Recognition error - abort rule @@ -12592,7 +12542,7 @@ func (s *Ctl_collection_valueContext) ExitRule(listener antlr.ParseTreeListener) func (p *SecLangParser) Ctl_collection_value() (localctx ICtl_collection_valueContext) { localctx = NewCtl_collection_valueContext(p, p.GetParserRuleContext(), p.GetState()) p.EnterRule(localctx, 126, SecLangParserRULE_ctl_collection_value) - p.SetState(663) + p.SetState(659) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -12605,7 +12555,7 @@ func (p *SecLangParser) Ctl_collection_value() (localctx ICtl_collection_valueCo case SecLangParserXPATH_EXPRESSION: p.EnterOuterAlt(localctx, 2) { - p.SetState(661) + p.SetState(657) p.Match(SecLangParserXPATH_EXPRESSION) if p.HasError() { // Recognition error - abort rule @@ -12616,7 +12566,7 @@ func (p *SecLangParser) Ctl_collection_value() (localctx ICtl_collection_valueCo case SecLangParserCOLLECTION_ELEMENT_VALUE: p.EnterOuterAlt(localctx, 3) { - p.SetState(662) + p.SetState(658) p.Match(SecLangParserCOLLECTION_ELEMENT_VALUE) if p.HasError() { // Recognition error - abort rule @@ -12785,11 +12735,11 @@ func (p *SecLangParser) Setvar_action() (localctx ISetvar_actionContext) { p.EnterRule(localctx, 128, SecLangParserRULE_setvar_action) p.EnterOuterAlt(localctx, 1) { - p.SetState(665) + p.SetState(661) p.Col_name() } { - p.SetState(666) + p.SetState(662) p.Match(SecLangParserDOT) if p.HasError() { // Recognition error - abort rule @@ -12797,15 +12747,15 @@ func (p *SecLangParser) Setvar_action() (localctx ISetvar_actionContext) { } } { - p.SetState(667) + p.SetState(663) p.Setvar_stmt() } { - p.SetState(668) + p.SetState(664) p.Assignment() } { - p.SetState(669) + p.SetState(665) p.Var_assignment() } @@ -12897,7 +12847,7 @@ func (p *SecLangParser) Col_name() (localctx ICol_nameContext) { p.EnterRule(localctx, 130, SecLangParserRULE_col_name) p.EnterOuterAlt(localctx, 1) { - p.SetState(671) + p.SetState(667) p.Match(SecLangParserCOLLECTION_NAME_SETVAR) if p.HasError() { // Recognition error - abort rule @@ -13019,7 +12969,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { var _la int p.EnterOuterAlt(localctx, 1) - p.SetState(676) + p.SetState(672) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -13027,7 +12977,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { _la = p.GetTokenStream().LA(1) for ok := true; ok; ok = _la == SecLangParserCOLLECTION_ELEMENT || _la == SecLangParserCOLLECTION_WITH_MACRO { - p.SetState(676) + p.SetState(672) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -13036,7 +12986,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { switch p.GetTokenStream().LA(1) { case SecLangParserCOLLECTION_ELEMENT: { - p.SetState(673) + p.SetState(669) p.Match(SecLangParserCOLLECTION_ELEMENT) if p.HasError() { // Recognition error - abort rule @@ -13046,7 +12996,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { case SecLangParserCOLLECTION_WITH_MACRO: { - p.SetState(674) + p.SetState(670) p.Match(SecLangParserCOLLECTION_WITH_MACRO) if p.HasError() { // Recognition error - abort rule @@ -13054,7 +13004,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { } } { - p.SetState(675) + p.SetState(671) p.Match(SecLangParserMACRO_EXPANSION) if p.HasError() { // Recognition error - abort rule @@ -13067,7 +13017,7 @@ func (p *SecLangParser) Setvar_stmt() (localctx ISetvar_stmtContext) { goto errorExit } - p.SetState(678) + p.SetState(674) p.GetErrorHandler().Sync(p) if p.HasError() { goto errorExit @@ -13175,7 +13125,7 @@ func (p *SecLangParser) Assignment() (localctx IAssignmentContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(680) + p.SetState(676) _la = p.GetTokenStream().LA(1) if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&104) != 0) { @@ -13274,7 +13224,7 @@ func (p *SecLangParser) Var_assignment() (localctx IVar_assignmentContext) { p.EnterRule(localctx, 136, SecLangParserRULE_var_assignment) p.EnterOuterAlt(localctx, 1) { - p.SetState(682) + p.SetState(678) p.Match(SecLangParserVAR_ASSIGNMENT) if p.HasError() { // Recognition error - abort rule @@ -13377,7 +13327,7 @@ func (p *SecLangParser) Ctl_id() (localctx ICtl_idContext) { p.EnterOuterAlt(localctx, 1) { - p.SetState(684) + p.SetState(680) _la = p.GetTokenStream().LA(1) if !(_la == SecLangParserIDENT || _la == SecLangParserINT) { diff --git a/src/seclang_parser/SecLangParser.py b/src/seclang_parser/SecLangParser.py index fe28fce..bed37c4 100644 --- a/src/seclang_parser/SecLangParser.py +++ b/src/seclang_parser/SecLangParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,270,687,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, + 4,1,270,683,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7, @@ -28,250 +28,249 @@ def serializedATN(): 1,1,1,1,1,1,3,1,200,8,1,1,1,1,1,1,1,1,1,1,1,3,1,207,8,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,3,1,216,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1, 225,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,236,8,1,1,1,1,1, - 1,1,1,1,1,1,3,1,243,8,1,1,1,1,1,4,1,247,8,1,11,1,12,1,248,3,1,251, - 8,1,1,2,4,2,254,8,2,11,2,12,2,255,1,2,3,2,259,8,2,1,3,1,3,3,3,263, - 8,3,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5, - 1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3,5, - 295,8,5,1,6,1,6,1,6,1,6,3,6,301,8,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10, - 1,10,1,11,1,11,1,12,1,12,3,12,315,8,12,1,13,1,13,1,13,1,13,1,14, - 1,14,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,3,17,331,8,17,1,18, - 1,18,1,19,1,19,1,19,3,19,338,8,19,1,20,1,20,1,21,1,21,1,22,1,22, - 1,23,1,23,1,23,1,23,5,23,350,8,23,10,23,12,23,353,9,23,1,23,1,23, - 1,24,1,24,1,24,1,24,1,25,1,25,1,26,1,26,3,26,365,8,26,1,27,1,27, + 1,1,1,1,1,1,3,1,243,8,1,1,1,1,1,3,1,247,8,1,1,2,4,2,250,8,2,11,2, + 12,2,251,1,2,3,2,255,8,2,1,3,1,3,3,3,259,8,3,1,4,1,4,1,5,1,5,1,5, + 1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5, + 1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3,5,291,8,5,1,6,1,6,1,6,1,6, + 3,6,297,8,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,1,12, + 3,12,311,8,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15, + 1,16,1,16,1,17,1,17,3,17,327,8,17,1,18,1,18,1,19,1,19,1,19,3,19, + 334,8,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,23,1,23,5,23, + 346,8,23,10,23,12,23,349,9,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25, + 1,25,1,26,1,26,3,26,361,8,26,1,27,1,27,1,28,1,28,1,28,1,28,1,28, 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,392,8,28, - 1,29,1,29,1,29,1,29,1,29,1,29,3,29,400,8,29,1,29,1,29,1,29,1,29, - 1,29,1,29,1,29,1,29,3,29,410,8,29,1,29,1,29,1,29,1,29,3,29,416,8, - 29,3,29,418,8,29,1,30,1,30,1,30,3,30,423,8,30,1,31,1,31,1,32,1,32, - 3,32,429,8,32,1,32,1,32,1,32,3,32,434,8,32,1,32,1,32,1,32,1,32,1, - 32,1,32,1,32,3,32,443,8,32,1,33,1,33,1,34,1,34,1,34,5,34,450,8,34, - 10,34,12,34,453,9,34,1,34,1,34,3,34,457,8,34,1,34,1,34,5,34,461, - 8,34,10,34,12,34,464,9,34,1,34,1,34,3,34,468,8,34,5,34,470,8,34, - 10,34,12,34,473,9,34,1,34,1,34,3,34,477,8,34,1,35,1,35,1,36,1,36, - 1,37,3,37,484,8,37,1,37,3,37,487,8,37,1,37,3,37,490,8,37,1,37,1, - 37,3,37,494,8,37,1,37,1,37,3,37,498,8,37,1,37,3,37,501,8,37,1,37, - 1,37,3,37,505,8,37,5,37,507,8,37,10,37,12,37,510,9,37,1,38,3,38, - 513,8,38,1,38,3,38,516,8,38,1,38,3,38,519,8,38,1,38,1,38,3,38,523, - 8,38,1,38,1,38,3,38,527,8,38,1,38,3,38,530,8,38,1,38,1,38,3,38,534, - 8,38,5,38,536,8,38,10,38,12,38,539,9,38,1,39,1,39,1,40,1,40,1,40, - 1,40,3,40,547,8,40,3,40,549,8,40,1,41,1,41,1,42,1,42,1,43,1,43,1, - 44,1,44,1,45,1,45,1,45,1,45,5,45,563,8,45,10,45,12,45,566,9,45,1, - 45,1,45,1,46,1,46,1,46,3,46,573,8,46,1,46,3,46,576,8,46,1,46,1,46, - 1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,588,8,46,1,47,1,47, - 1,47,3,47,593,8,47,1,48,1,48,1,49,1,49,1,50,1,50,1,51,1,51,1,51, - 1,51,1,51,3,51,606,8,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52, - 3,52,616,8,52,1,53,1,53,1,54,1,54,1,55,1,55,1,56,1,56,1,57,1,57, - 1,57,1,57,1,57,1,57,1,57,1,57,1,57,3,57,635,8,57,1,58,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,648,8,58,1,59,1,59, - 1,60,1,60,1,61,1,61,1,62,1,62,1,62,3,62,659,8,62,1,63,1,63,1,63, - 3,63,664,8,63,1,64,1,64,1,64,1,64,1,64,1,64,1,65,1,65,1,66,1,66, - 1,66,4,66,677,8,66,11,66,12,66,678,1,67,1,67,1,68,1,68,1,69,1,69, - 1,69,0,0,70,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,116,118, - 120,122,124,126,128,130,132,134,136,138,0,15,1,1,259,259,8,0,131, - 139,150,167,169,175,178,178,180,180,182,183,185,185,209,216,3,0, - 225,225,233,233,241,241,3,0,140,149,193,197,227,227,1,0,89,125,2, - 0,85,85,87,87,5,0,27,27,30,30,44,44,46,46,58,59,5,0,29,29,31,31, - 52,52,55,57,67,67,1,0,62,63,8,0,28,28,33,33,45,45,47,48,50,51,61, - 61,65,66,68,74,2,0,79,79,82,82,1,0,77,78,1,0,34,43,2,0,3,3,5,6,1, - 0,226,227,758,0,143,1,0,0,0,2,250,1,0,0,0,4,253,1,0,0,0,6,260,1, - 0,0,0,8,264,1,0,0,0,10,294,1,0,0,0,12,300,1,0,0,0,14,302,1,0,0,0, - 16,304,1,0,0,0,18,306,1,0,0,0,20,308,1,0,0,0,22,310,1,0,0,0,24,314, - 1,0,0,0,26,316,1,0,0,0,28,320,1,0,0,0,30,324,1,0,0,0,32,326,1,0, - 0,0,34,330,1,0,0,0,36,332,1,0,0,0,38,337,1,0,0,0,40,339,1,0,0,0, - 42,341,1,0,0,0,44,343,1,0,0,0,46,345,1,0,0,0,48,356,1,0,0,0,50,360, - 1,0,0,0,52,364,1,0,0,0,54,366,1,0,0,0,56,391,1,0,0,0,58,417,1,0, - 0,0,60,422,1,0,0,0,62,424,1,0,0,0,64,442,1,0,0,0,66,444,1,0,0,0, - 68,476,1,0,0,0,70,478,1,0,0,0,72,480,1,0,0,0,74,483,1,0,0,0,76,512, - 1,0,0,0,78,540,1,0,0,0,80,548,1,0,0,0,82,550,1,0,0,0,84,552,1,0, - 0,0,86,554,1,0,0,0,88,556,1,0,0,0,90,558,1,0,0,0,92,587,1,0,0,0, - 94,592,1,0,0,0,96,594,1,0,0,0,98,596,1,0,0,0,100,598,1,0,0,0,102, - 605,1,0,0,0,104,615,1,0,0,0,106,617,1,0,0,0,108,619,1,0,0,0,110, - 621,1,0,0,0,112,623,1,0,0,0,114,634,1,0,0,0,116,647,1,0,0,0,118, - 649,1,0,0,0,120,651,1,0,0,0,122,653,1,0,0,0,124,658,1,0,0,0,126, - 663,1,0,0,0,128,665,1,0,0,0,130,671,1,0,0,0,132,676,1,0,0,0,134, - 680,1,0,0,0,136,682,1,0,0,0,138,684,1,0,0,0,140,142,3,2,1,0,141, - 140,1,0,0,0,142,145,1,0,0,0,143,141,1,0,0,0,143,144,1,0,0,0,144, - 146,1,0,0,0,145,143,1,0,0,0,146,147,5,0,0,1,147,1,1,0,0,0,148,150, - 3,4,2,0,149,148,1,0,0,0,149,150,1,0,0,0,150,151,1,0,0,0,151,152, - 3,8,4,0,152,153,3,74,37,0,153,155,3,64,32,0,154,156,3,90,45,0,155, - 154,1,0,0,0,155,156,1,0,0,0,156,251,1,0,0,0,157,159,3,4,2,0,158, - 157,1,0,0,0,158,159,1,0,0,0,159,160,1,0,0,0,160,161,3,18,9,0,161, - 163,3,20,10,0,162,164,3,90,45,0,163,162,1,0,0,0,163,164,1,0,0,0, - 164,251,1,0,0,0,165,167,3,4,2,0,166,165,1,0,0,0,166,167,1,0,0,0, - 167,168,1,0,0,0,168,169,3,18,9,0,169,170,5,1,0,0,170,171,3,20,10, - 0,171,173,5,1,0,0,172,174,3,90,45,0,173,172,1,0,0,0,173,174,1,0, - 0,0,174,251,1,0,0,0,175,177,3,4,2,0,176,175,1,0,0,0,176,177,1,0, - 0,0,177,178,1,0,0,0,178,180,3,22,11,0,179,181,3,24,12,0,180,179, - 1,0,0,0,181,182,1,0,0,0,182,180,1,0,0,0,182,183,1,0,0,0,183,251, - 1,0,0,0,184,186,3,4,2,0,185,184,1,0,0,0,185,186,1,0,0,0,186,187, - 1,0,0,0,187,188,3,34,17,0,188,189,3,36,18,0,189,251,1,0,0,0,190, - 192,3,4,2,0,191,190,1,0,0,0,191,192,1,0,0,0,192,193,1,0,0,0,193, - 194,3,34,17,0,194,195,5,1,0,0,195,196,3,36,18,0,196,197,5,1,0,0, - 197,251,1,0,0,0,198,200,3,4,2,0,199,198,1,0,0,0,199,200,1,0,0,0, - 200,201,1,0,0,0,201,202,3,38,19,0,202,203,3,60,30,0,203,204,3,76, - 38,0,204,251,1,0,0,0,205,207,3,4,2,0,206,205,1,0,0,0,206,207,1,0, - 0,0,207,208,1,0,0,0,208,209,3,38,19,0,209,210,5,1,0,0,210,211,3, - 60,30,0,211,212,5,1,0,0,212,213,3,76,38,0,213,251,1,0,0,0,214,216, - 3,4,2,0,215,214,1,0,0,0,215,216,1,0,0,0,216,217,1,0,0,0,217,218, - 3,38,19,0,218,219,3,60,30,0,219,220,3,76,38,0,220,221,5,8,0,0,221, - 222,3,78,39,0,222,251,1,0,0,0,223,225,3,4,2,0,224,223,1,0,0,0,224, - 225,1,0,0,0,225,226,1,0,0,0,226,227,3,38,19,0,227,228,5,1,0,0,228, - 229,3,60,30,0,229,230,5,1,0,0,230,231,3,76,38,0,231,232,5,8,0,0, - 232,233,3,78,39,0,233,251,1,0,0,0,234,236,3,4,2,0,235,234,1,0,0, - 0,235,236,1,0,0,0,236,237,1,0,0,0,237,238,3,40,20,0,238,239,3,42, - 21,0,239,240,3,90,45,0,240,251,1,0,0,0,241,243,3,4,2,0,242,241,1, - 0,0,0,242,243,1,0,0,0,243,244,1,0,0,0,244,251,3,10,5,0,245,247,3, - 4,2,0,246,245,1,0,0,0,247,248,1,0,0,0,248,246,1,0,0,0,248,249,1, - 0,0,0,249,251,1,0,0,0,250,149,1,0,0,0,250,158,1,0,0,0,250,166,1, - 0,0,0,250,176,1,0,0,0,250,185,1,0,0,0,250,191,1,0,0,0,250,199,1, - 0,0,0,250,206,1,0,0,0,250,215,1,0,0,0,250,224,1,0,0,0,250,235,1, - 0,0,0,250,242,1,0,0,0,250,246,1,0,0,0,251,3,1,0,0,0,252,254,3,6, - 3,0,253,252,1,0,0,0,254,255,1,0,0,0,255,253,1,0,0,0,255,256,1,0, - 0,0,256,258,1,0,0,0,257,259,7,0,0,0,258,257,1,0,0,0,258,259,1,0, - 0,0,259,5,1,0,0,0,260,262,5,12,0,0,261,263,5,257,0,0,262,261,1,0, - 0,0,262,263,1,0,0,0,263,7,1,0,0,0,264,265,5,217,0,0,265,9,1,0,0, - 0,266,267,3,54,27,0,267,268,3,56,28,0,268,295,1,0,0,0,269,270,3, - 54,27,0,270,271,5,1,0,0,271,272,3,56,28,0,272,273,5,1,0,0,273,295, - 1,0,0,0,274,275,3,52,26,0,275,276,3,90,45,0,276,295,1,0,0,0,277, - 278,3,12,6,0,278,279,5,1,0,0,279,280,3,56,28,0,280,281,5,1,0,0,281, - 295,1,0,0,0,282,283,3,14,7,0,283,284,5,1,0,0,284,285,3,56,28,0,285, - 286,5,1,0,0,286,295,1,0,0,0,287,288,3,16,8,0,288,289,3,56,28,0,289, - 295,1,0,0,0,290,291,3,44,22,0,291,292,3,56,28,0,292,293,3,46,23, - 0,293,295,1,0,0,0,294,266,1,0,0,0,294,269,1,0,0,0,294,274,1,0,0, - 0,294,277,1,0,0,0,294,282,1,0,0,0,294,287,1,0,0,0,294,290,1,0,0, - 0,295,11,1,0,0,0,296,301,1,0,0,0,297,301,5,127,0,0,298,301,5,128, - 0,0,299,301,5,129,0,0,300,296,1,0,0,0,300,297,1,0,0,0,300,298,1, - 0,0,0,300,299,1,0,0,0,301,13,1,0,0,0,302,303,5,179,0,0,303,15,1, - 0,0,0,304,305,7,1,0,0,305,17,1,0,0,0,306,307,5,218,0,0,307,19,1, - 0,0,0,308,309,5,9,0,0,309,21,1,0,0,0,310,311,5,186,0,0,311,23,1, - 0,0,0,312,315,5,227,0,0,313,315,3,28,14,0,314,312,1,0,0,0,314,313, - 1,0,0,0,315,25,1,0,0,0,316,317,5,261,0,0,317,318,5,262,0,0,318,319, - 5,261,0,0,319,27,1,0,0,0,320,321,3,30,15,0,321,322,5,14,0,0,322, - 323,3,32,16,0,323,29,1,0,0,0,324,325,5,227,0,0,325,31,1,0,0,0,326, - 327,5,227,0,0,327,33,1,0,0,0,328,331,5,187,0,0,329,331,5,188,0,0, - 330,328,1,0,0,0,330,329,1,0,0,0,331,35,1,0,0,0,332,333,7,2,0,0,333, - 37,1,0,0,0,334,338,5,191,0,0,335,338,5,190,0,0,336,338,5,189,0,0, - 337,334,1,0,0,0,337,335,1,0,0,0,337,336,1,0,0,0,338,39,1,0,0,0,339, - 340,5,192,0,0,340,41,1,0,0,0,341,342,5,227,0,0,342,43,1,0,0,0,343, - 344,5,130,0,0,344,45,1,0,0,0,345,346,5,1,0,0,346,351,3,48,24,0,347, - 348,5,7,0,0,348,350,3,48,24,0,349,347,1,0,0,0,350,353,1,0,0,0,351, - 349,1,0,0,0,351,352,1,0,0,0,352,354,1,0,0,0,353,351,1,0,0,0,354, - 355,5,1,0,0,355,47,1,0,0,0,356,357,3,50,25,0,357,358,5,4,0,0,358, - 359,3,56,28,0,359,49,1,0,0,0,360,361,5,219,0,0,361,51,1,0,0,0,362, - 365,5,176,0,0,363,365,5,177,0,0,364,362,1,0,0,0,364,363,1,0,0,0, - 365,53,1,0,0,0,366,367,7,3,0,0,367,55,1,0,0,0,368,392,5,227,0,0, - 369,392,3,28,14,0,370,392,5,202,0,0,371,392,5,201,0,0,372,392,5, - 207,0,0,373,392,5,203,0,0,374,392,5,200,0,0,375,392,5,206,0,0,376, - 392,5,223,0,0,377,392,5,198,0,0,378,392,5,208,0,0,379,392,5,199, - 0,0,380,392,5,204,0,0,381,392,5,205,0,0,382,383,5,9,0,0,383,392, - 5,227,0,0,384,392,5,9,0,0,385,392,5,233,0,0,386,392,5,225,0,0,387, - 392,5,241,0,0,388,392,5,245,0,0,389,392,5,126,0,0,390,392,3,58,29, - 0,391,368,1,0,0,0,391,369,1,0,0,0,391,370,1,0,0,0,391,371,1,0,0, - 0,391,372,1,0,0,0,391,373,1,0,0,0,391,374,1,0,0,0,391,375,1,0,0, - 0,391,376,1,0,0,0,391,377,1,0,0,0,391,378,1,0,0,0,391,379,1,0,0, - 0,391,380,1,0,0,0,391,381,1,0,0,0,391,382,1,0,0,0,391,384,1,0,0, - 0,391,385,1,0,0,0,391,386,1,0,0,0,391,387,1,0,0,0,391,388,1,0,0, - 0,391,389,1,0,0,0,391,390,1,0,0,0,392,57,1,0,0,0,393,400,3,138,69, - 0,394,395,5,2,0,0,395,396,3,118,59,0,396,397,5,2,0,0,397,400,1,0, - 0,0,398,400,5,225,0,0,399,393,1,0,0,0,399,394,1,0,0,0,399,398,1, - 0,0,0,400,401,1,0,0,0,401,402,5,18,0,0,402,418,3,84,42,0,403,410, - 3,138,69,0,404,405,5,2,0,0,405,406,3,118,59,0,406,407,5,2,0,0,407, - 410,1,0,0,0,408,410,5,225,0,0,409,403,1,0,0,0,409,404,1,0,0,0,409, - 408,1,0,0,0,410,411,1,0,0,0,411,412,5,18,0,0,412,415,3,88,44,0,413, - 414,5,4,0,0,414,416,3,126,63,0,415,413,1,0,0,0,415,416,1,0,0,0,416, - 418,1,0,0,0,417,399,1,0,0,0,417,409,1,0,0,0,418,59,1,0,0,0,419,423, - 5,227,0,0,420,423,3,28,14,0,421,423,5,233,0,0,422,419,1,0,0,0,422, - 420,1,0,0,0,422,421,1,0,0,0,423,61,1,0,0,0,424,425,5,10,0,0,425, - 63,1,0,0,0,426,428,5,1,0,0,427,429,3,62,31,0,428,427,1,0,0,0,428, - 429,1,0,0,0,429,430,1,0,0,0,430,431,5,255,0,0,431,433,3,66,33,0, - 432,434,3,68,34,0,433,432,1,0,0,0,433,434,1,0,0,0,434,435,1,0,0, - 0,435,436,5,1,0,0,436,443,1,0,0,0,437,438,5,1,0,0,438,439,3,68,34, - 0,439,440,5,1,0,0,440,443,1,0,0,0,441,443,3,68,34,0,442,426,1,0, - 0,0,442,437,1,0,0,0,442,441,1,0,0,0,443,65,1,0,0,0,444,445,7,4,0, - 0,445,67,1,0,0,0,446,477,3,82,41,0,447,477,5,233,0,0,448,450,5,263, - 0,0,449,448,1,0,0,0,450,453,1,0,0,0,451,449,1,0,0,0,451,452,1,0, - 0,0,452,456,1,0,0,0,453,451,1,0,0,0,454,457,5,261,0,0,455,457,3, - 26,13,0,456,454,1,0,0,0,456,455,1,0,0,0,457,471,1,0,0,0,458,462, - 5,7,0,0,459,461,5,263,0,0,460,459,1,0,0,0,461,464,1,0,0,0,462,460, - 1,0,0,0,462,463,1,0,0,0,463,467,1,0,0,0,464,462,1,0,0,0,465,468, - 5,261,0,0,466,468,3,26,13,0,467,465,1,0,0,0,467,466,1,0,0,0,468, - 470,1,0,0,0,469,458,1,0,0,0,470,473,1,0,0,0,471,469,1,0,0,0,471, - 472,1,0,0,0,472,477,1,0,0,0,473,471,1,0,0,0,474,477,5,254,0,0,475, - 477,5,256,0,0,476,446,1,0,0,0,476,447,1,0,0,0,476,451,1,0,0,0,476, - 474,1,0,0,0,476,475,1,0,0,0,477,69,1,0,0,0,478,479,5,10,0,0,479, - 71,1,0,0,0,480,481,5,88,0,0,481,73,1,0,0,0,482,484,5,1,0,0,483,482, - 1,0,0,0,483,484,1,0,0,0,484,486,1,0,0,0,485,487,3,70,35,0,486,485, - 1,0,0,0,486,487,1,0,0,0,487,489,1,0,0,0,488,490,3,72,36,0,489,488, - 1,0,0,0,489,490,1,0,0,0,490,491,1,0,0,0,491,493,3,80,40,0,492,494, - 5,1,0,0,493,492,1,0,0,0,493,494,1,0,0,0,494,508,1,0,0,0,495,497, - 5,8,0,0,496,498,5,1,0,0,497,496,1,0,0,0,497,498,1,0,0,0,498,500, - 1,0,0,0,499,501,3,70,35,0,500,499,1,0,0,0,500,501,1,0,0,0,501,502, - 1,0,0,0,502,504,3,80,40,0,503,505,5,1,0,0,504,503,1,0,0,0,504,505, - 1,0,0,0,505,507,1,0,0,0,506,495,1,0,0,0,507,510,1,0,0,0,508,506, - 1,0,0,0,508,509,1,0,0,0,509,75,1,0,0,0,510,508,1,0,0,0,511,513,5, - 1,0,0,512,511,1,0,0,0,512,513,1,0,0,0,513,515,1,0,0,0,514,516,3, - 70,35,0,515,514,1,0,0,0,515,516,1,0,0,0,516,518,1,0,0,0,517,519, - 3,72,36,0,518,517,1,0,0,0,518,519,1,0,0,0,519,520,1,0,0,0,520,522, - 3,80,40,0,521,523,5,1,0,0,522,521,1,0,0,0,522,523,1,0,0,0,523,537, - 1,0,0,0,524,526,5,7,0,0,525,527,5,1,0,0,526,525,1,0,0,0,526,527, - 1,0,0,0,527,529,1,0,0,0,528,530,3,70,35,0,529,528,1,0,0,0,529,530, - 1,0,0,0,530,531,1,0,0,0,531,533,3,80,40,0,532,534,5,1,0,0,533,532, - 1,0,0,0,533,534,1,0,0,0,534,536,1,0,0,0,535,524,1,0,0,0,536,539, - 1,0,0,0,537,535,1,0,0,0,537,538,1,0,0,0,538,77,1,0,0,0,539,537,1, - 0,0,0,540,541,3,80,40,0,541,79,1,0,0,0,542,549,3,82,41,0,543,546, - 3,86,43,0,544,545,5,4,0,0,545,547,3,124,62,0,546,544,1,0,0,0,546, - 547,1,0,0,0,547,549,1,0,0,0,548,542,1,0,0,0,548,543,1,0,0,0,549, - 81,1,0,0,0,550,551,5,86,0,0,551,83,1,0,0,0,552,553,5,86,0,0,553, - 85,1,0,0,0,554,555,7,5,0,0,555,87,1,0,0,0,556,557,7,5,0,0,557,89, - 1,0,0,0,558,559,5,1,0,0,559,564,3,92,46,0,560,561,5,7,0,0,561,563, - 3,92,46,0,562,560,1,0,0,0,563,566,1,0,0,0,564,562,1,0,0,0,564,565, - 1,0,0,0,565,567,1,0,0,0,566,564,1,0,0,0,567,568,5,1,0,0,568,91,1, - 0,0,0,569,570,3,102,51,0,570,572,5,4,0,0,571,573,5,10,0,0,572,571, - 1,0,0,0,572,573,1,0,0,0,573,575,1,0,0,0,574,576,5,3,0,0,575,574, - 1,0,0,0,575,576,1,0,0,0,576,577,1,0,0,0,577,578,3,114,57,0,578,588, - 1,0,0,0,579,580,3,102,51,0,580,581,5,4,0,0,581,582,3,114,57,0,582, - 588,1,0,0,0,583,584,5,83,0,0,584,585,5,4,0,0,585,588,3,122,61,0, - 586,588,3,94,47,0,587,569,1,0,0,0,587,579,1,0,0,0,587,583,1,0,0, - 0,587,586,1,0,0,0,588,93,1,0,0,0,589,593,3,96,48,0,590,593,3,98, - 49,0,591,593,3,100,50,0,592,589,1,0,0,0,592,590,1,0,0,0,592,591, - 1,0,0,0,593,95,1,0,0,0,594,595,7,6,0,0,595,97,1,0,0,0,596,597,7, - 7,0,0,597,99,1,0,0,0,598,599,5,32,0,0,599,101,1,0,0,0,600,606,3, - 104,52,0,601,606,3,106,53,0,602,606,3,108,54,0,603,606,3,112,56, - 0,604,606,3,110,55,0,605,600,1,0,0,0,605,601,1,0,0,0,605,602,1,0, - 0,0,605,603,1,0,0,0,605,604,1,0,0,0,606,103,1,0,0,0,607,616,5,60, - 0,0,608,616,5,49,0,0,609,616,5,53,0,0,610,616,5,54,0,0,611,616,5, - 64,0,0,612,616,5,75,0,0,613,616,5,80,0,0,614,616,5,81,0,0,615,607, - 1,0,0,0,615,608,1,0,0,0,615,609,1,0,0,0,615,610,1,0,0,0,615,611, - 1,0,0,0,615,612,1,0,0,0,615,613,1,0,0,0,615,614,1,0,0,0,616,105, - 1,0,0,0,617,618,7,8,0,0,618,107,1,0,0,0,619,620,7,9,0,0,620,109, - 1,0,0,0,621,622,7,10,0,0,622,111,1,0,0,0,623,624,7,11,0,0,624,113, - 1,0,0,0,625,635,3,116,58,0,626,627,5,2,0,0,627,628,3,116,58,0,628, - 629,5,2,0,0,629,635,1,0,0,0,630,631,5,2,0,0,631,632,3,118,59,0,632, - 633,5,2,0,0,633,635,1,0,0,0,634,625,1,0,0,0,634,626,1,0,0,0,634, - 630,1,0,0,0,635,115,1,0,0,0,636,648,5,227,0,0,637,648,3,124,62,0, - 638,648,3,128,64,0,639,640,3,120,60,0,640,641,3,134,67,0,641,642, - 3,56,28,0,642,648,1,0,0,0,643,648,5,225,0,0,644,648,5,76,0,0,645, - 648,5,231,0,0,646,648,5,241,0,0,647,636,1,0,0,0,647,637,1,0,0,0, - 647,638,1,0,0,0,647,639,1,0,0,0,647,643,1,0,0,0,647,644,1,0,0,0, - 647,645,1,0,0,0,647,646,1,0,0,0,648,117,1,0,0,0,649,650,5,246,0, - 0,650,119,1,0,0,0,651,652,7,12,0,0,652,121,1,0,0,0,653,654,5,84, - 0,0,654,123,1,0,0,0,655,659,1,0,0,0,656,659,5,243,0,0,657,659,5, - 250,0,0,658,655,1,0,0,0,658,656,1,0,0,0,658,657,1,0,0,0,659,125, - 1,0,0,0,660,664,1,0,0,0,661,664,5,243,0,0,662,664,5,250,0,0,663, - 660,1,0,0,0,663,661,1,0,0,0,663,662,1,0,0,0,664,127,1,0,0,0,665, - 666,3,130,65,0,666,667,5,236,0,0,667,668,3,132,66,0,668,669,3,134, - 67,0,669,670,3,136,68,0,670,129,1,0,0,0,671,672,5,235,0,0,672,131, - 1,0,0,0,673,677,5,237,0,0,674,675,5,238,0,0,675,677,5,234,0,0,676, - 673,1,0,0,0,676,674,1,0,0,0,677,678,1,0,0,0,678,676,1,0,0,0,678, - 679,1,0,0,0,679,133,1,0,0,0,680,681,7,13,0,0,681,135,1,0,0,0,682, - 683,5,239,0,0,683,137,1,0,0,0,684,685,7,14,0,0,685,139,1,0,0,0,75, - 143,149,155,158,163,166,173,176,182,185,191,199,206,215,224,235, - 242,248,250,255,258,262,294,300,314,330,337,351,364,391,399,409, - 415,417,422,428,433,442,451,456,462,467,471,476,483,486,489,493, - 497,500,504,508,512,515,518,522,526,529,533,537,546,548,564,572, - 575,587,592,605,615,634,647,658,663,676,678 + 1,28,1,28,1,28,1,28,1,28,3,28,388,8,28,1,29,1,29,1,29,1,29,1,29, + 1,29,3,29,396,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29, + 406,8,29,1,29,1,29,1,29,1,29,3,29,412,8,29,3,29,414,8,29,1,30,1, + 30,1,30,3,30,419,8,30,1,31,1,31,1,32,1,32,3,32,425,8,32,1,32,1,32, + 1,32,3,32,430,8,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,3,32,439,8, + 32,1,33,1,33,1,34,1,34,1,34,5,34,446,8,34,10,34,12,34,449,9,34,1, + 34,1,34,3,34,453,8,34,1,34,1,34,5,34,457,8,34,10,34,12,34,460,9, + 34,1,34,1,34,3,34,464,8,34,5,34,466,8,34,10,34,12,34,469,9,34,1, + 34,1,34,3,34,473,8,34,1,35,1,35,1,36,1,36,1,37,3,37,480,8,37,1,37, + 3,37,483,8,37,1,37,3,37,486,8,37,1,37,1,37,3,37,490,8,37,1,37,1, + 37,3,37,494,8,37,1,37,3,37,497,8,37,1,37,1,37,3,37,501,8,37,5,37, + 503,8,37,10,37,12,37,506,9,37,1,38,3,38,509,8,38,1,38,3,38,512,8, + 38,1,38,3,38,515,8,38,1,38,1,38,3,38,519,8,38,1,38,1,38,3,38,523, + 8,38,1,38,3,38,526,8,38,1,38,1,38,3,38,530,8,38,5,38,532,8,38,10, + 38,12,38,535,9,38,1,39,1,39,1,40,1,40,1,40,1,40,3,40,543,8,40,3, + 40,545,8,40,1,41,1,41,1,42,1,42,1,43,1,43,1,44,1,44,1,45,1,45,1, + 45,1,45,5,45,559,8,45,10,45,12,45,562,9,45,1,45,1,45,1,46,1,46,1, + 46,3,46,569,8,46,1,46,3,46,572,8,46,1,46,1,46,1,46,1,46,1,46,1,46, + 1,46,1,46,1,46,1,46,3,46,584,8,46,1,47,1,47,1,47,3,47,589,8,47,1, + 48,1,48,1,49,1,49,1,50,1,50,1,51,1,51,1,51,1,51,1,51,3,51,602,8, + 51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,612,8,52,1,53,1, + 53,1,54,1,54,1,55,1,55,1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1, + 57,1,57,1,57,3,57,631,8,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1, + 58,1,58,1,58,1,58,3,58,644,8,58,1,59,1,59,1,60,1,60,1,61,1,61,1, + 62,1,62,1,62,3,62,655,8,62,1,63,1,63,1,63,3,63,660,8,63,1,64,1,64, + 1,64,1,64,1,64,1,64,1,65,1,65,1,66,1,66,1,66,4,66,673,8,66,11,66, + 12,66,674,1,67,1,67,1,68,1,68,1,69,1,69,1,69,0,0,70,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,116,118,120,122,124,126,128,130, + 132,134,136,138,0,15,1,1,259,259,8,0,131,139,150,167,169,175,178, + 178,180,180,182,183,185,185,209,216,3,0,225,225,233,233,241,241, + 3,0,140,149,193,197,227,227,1,0,89,125,2,0,85,85,87,87,5,0,27,27, + 30,30,44,44,46,46,58,59,5,0,29,29,31,31,52,52,55,57,67,67,1,0,62, + 63,8,0,28,28,33,33,45,45,47,48,50,51,61,61,65,66,68,74,2,0,79,79, + 82,82,1,0,77,78,1,0,34,43,2,0,3,3,5,6,1,0,226,227,753,0,143,1,0, + 0,0,2,246,1,0,0,0,4,249,1,0,0,0,6,256,1,0,0,0,8,260,1,0,0,0,10,290, + 1,0,0,0,12,296,1,0,0,0,14,298,1,0,0,0,16,300,1,0,0,0,18,302,1,0, + 0,0,20,304,1,0,0,0,22,306,1,0,0,0,24,310,1,0,0,0,26,312,1,0,0,0, + 28,316,1,0,0,0,30,320,1,0,0,0,32,322,1,0,0,0,34,326,1,0,0,0,36,328, + 1,0,0,0,38,333,1,0,0,0,40,335,1,0,0,0,42,337,1,0,0,0,44,339,1,0, + 0,0,46,341,1,0,0,0,48,352,1,0,0,0,50,356,1,0,0,0,52,360,1,0,0,0, + 54,362,1,0,0,0,56,387,1,0,0,0,58,413,1,0,0,0,60,418,1,0,0,0,62,420, + 1,0,0,0,64,438,1,0,0,0,66,440,1,0,0,0,68,472,1,0,0,0,70,474,1,0, + 0,0,72,476,1,0,0,0,74,479,1,0,0,0,76,508,1,0,0,0,78,536,1,0,0,0, + 80,544,1,0,0,0,82,546,1,0,0,0,84,548,1,0,0,0,86,550,1,0,0,0,88,552, + 1,0,0,0,90,554,1,0,0,0,92,583,1,0,0,0,94,588,1,0,0,0,96,590,1,0, + 0,0,98,592,1,0,0,0,100,594,1,0,0,0,102,601,1,0,0,0,104,611,1,0,0, + 0,106,613,1,0,0,0,108,615,1,0,0,0,110,617,1,0,0,0,112,619,1,0,0, + 0,114,630,1,0,0,0,116,643,1,0,0,0,118,645,1,0,0,0,120,647,1,0,0, + 0,122,649,1,0,0,0,124,654,1,0,0,0,126,659,1,0,0,0,128,661,1,0,0, + 0,130,667,1,0,0,0,132,672,1,0,0,0,134,676,1,0,0,0,136,678,1,0,0, + 0,138,680,1,0,0,0,140,142,3,2,1,0,141,140,1,0,0,0,142,145,1,0,0, + 0,143,141,1,0,0,0,143,144,1,0,0,0,144,146,1,0,0,0,145,143,1,0,0, + 0,146,147,5,0,0,1,147,1,1,0,0,0,148,150,3,4,2,0,149,148,1,0,0,0, + 149,150,1,0,0,0,150,151,1,0,0,0,151,152,3,8,4,0,152,153,3,74,37, + 0,153,155,3,64,32,0,154,156,3,90,45,0,155,154,1,0,0,0,155,156,1, + 0,0,0,156,247,1,0,0,0,157,159,3,4,2,0,158,157,1,0,0,0,158,159,1, + 0,0,0,159,160,1,0,0,0,160,161,3,18,9,0,161,163,3,20,10,0,162,164, + 3,90,45,0,163,162,1,0,0,0,163,164,1,0,0,0,164,247,1,0,0,0,165,167, + 3,4,2,0,166,165,1,0,0,0,166,167,1,0,0,0,167,168,1,0,0,0,168,169, + 3,18,9,0,169,170,5,1,0,0,170,171,3,20,10,0,171,173,5,1,0,0,172,174, + 3,90,45,0,173,172,1,0,0,0,173,174,1,0,0,0,174,247,1,0,0,0,175,177, + 3,4,2,0,176,175,1,0,0,0,176,177,1,0,0,0,177,178,1,0,0,0,178,180, + 3,22,11,0,179,181,3,24,12,0,180,179,1,0,0,0,181,182,1,0,0,0,182, + 180,1,0,0,0,182,183,1,0,0,0,183,247,1,0,0,0,184,186,3,4,2,0,185, + 184,1,0,0,0,185,186,1,0,0,0,186,187,1,0,0,0,187,188,3,34,17,0,188, + 189,3,36,18,0,189,247,1,0,0,0,190,192,3,4,2,0,191,190,1,0,0,0,191, + 192,1,0,0,0,192,193,1,0,0,0,193,194,3,34,17,0,194,195,5,1,0,0,195, + 196,3,36,18,0,196,197,5,1,0,0,197,247,1,0,0,0,198,200,3,4,2,0,199, + 198,1,0,0,0,199,200,1,0,0,0,200,201,1,0,0,0,201,202,3,38,19,0,202, + 203,3,60,30,0,203,204,3,76,38,0,204,247,1,0,0,0,205,207,3,4,2,0, + 206,205,1,0,0,0,206,207,1,0,0,0,207,208,1,0,0,0,208,209,3,38,19, + 0,209,210,5,1,0,0,210,211,3,60,30,0,211,212,5,1,0,0,212,213,3,76, + 38,0,213,247,1,0,0,0,214,216,3,4,2,0,215,214,1,0,0,0,215,216,1,0, + 0,0,216,217,1,0,0,0,217,218,3,38,19,0,218,219,3,60,30,0,219,220, + 3,76,38,0,220,221,5,8,0,0,221,222,3,78,39,0,222,247,1,0,0,0,223, + 225,3,4,2,0,224,223,1,0,0,0,224,225,1,0,0,0,225,226,1,0,0,0,226, + 227,3,38,19,0,227,228,5,1,0,0,228,229,3,60,30,0,229,230,5,1,0,0, + 230,231,3,76,38,0,231,232,5,8,0,0,232,233,3,78,39,0,233,247,1,0, + 0,0,234,236,3,4,2,0,235,234,1,0,0,0,235,236,1,0,0,0,236,237,1,0, + 0,0,237,238,3,40,20,0,238,239,3,42,21,0,239,240,3,90,45,0,240,247, + 1,0,0,0,241,243,3,4,2,0,242,241,1,0,0,0,242,243,1,0,0,0,243,244, + 1,0,0,0,244,247,3,10,5,0,245,247,3,4,2,0,246,149,1,0,0,0,246,158, + 1,0,0,0,246,166,1,0,0,0,246,176,1,0,0,0,246,185,1,0,0,0,246,191, + 1,0,0,0,246,199,1,0,0,0,246,206,1,0,0,0,246,215,1,0,0,0,246,224, + 1,0,0,0,246,235,1,0,0,0,246,242,1,0,0,0,246,245,1,0,0,0,247,3,1, + 0,0,0,248,250,3,6,3,0,249,248,1,0,0,0,250,251,1,0,0,0,251,249,1, + 0,0,0,251,252,1,0,0,0,252,254,1,0,0,0,253,255,7,0,0,0,254,253,1, + 0,0,0,254,255,1,0,0,0,255,5,1,0,0,0,256,258,5,12,0,0,257,259,5,257, + 0,0,258,257,1,0,0,0,258,259,1,0,0,0,259,7,1,0,0,0,260,261,5,217, + 0,0,261,9,1,0,0,0,262,263,3,54,27,0,263,264,3,56,28,0,264,291,1, + 0,0,0,265,266,3,54,27,0,266,267,5,1,0,0,267,268,3,56,28,0,268,269, + 5,1,0,0,269,291,1,0,0,0,270,271,3,52,26,0,271,272,3,90,45,0,272, + 291,1,0,0,0,273,274,3,12,6,0,274,275,5,1,0,0,275,276,3,56,28,0,276, + 277,5,1,0,0,277,291,1,0,0,0,278,279,3,14,7,0,279,280,5,1,0,0,280, + 281,3,56,28,0,281,282,5,1,0,0,282,291,1,0,0,0,283,284,3,16,8,0,284, + 285,3,56,28,0,285,291,1,0,0,0,286,287,3,44,22,0,287,288,3,56,28, + 0,288,289,3,46,23,0,289,291,1,0,0,0,290,262,1,0,0,0,290,265,1,0, + 0,0,290,270,1,0,0,0,290,273,1,0,0,0,290,278,1,0,0,0,290,283,1,0, + 0,0,290,286,1,0,0,0,291,11,1,0,0,0,292,297,1,0,0,0,293,297,5,127, + 0,0,294,297,5,128,0,0,295,297,5,129,0,0,296,292,1,0,0,0,296,293, + 1,0,0,0,296,294,1,0,0,0,296,295,1,0,0,0,297,13,1,0,0,0,298,299,5, + 179,0,0,299,15,1,0,0,0,300,301,7,1,0,0,301,17,1,0,0,0,302,303,5, + 218,0,0,303,19,1,0,0,0,304,305,5,9,0,0,305,21,1,0,0,0,306,307,5, + 186,0,0,307,23,1,0,0,0,308,311,5,227,0,0,309,311,3,28,14,0,310,308, + 1,0,0,0,310,309,1,0,0,0,311,25,1,0,0,0,312,313,5,261,0,0,313,314, + 5,262,0,0,314,315,5,261,0,0,315,27,1,0,0,0,316,317,3,30,15,0,317, + 318,5,14,0,0,318,319,3,32,16,0,319,29,1,0,0,0,320,321,5,227,0,0, + 321,31,1,0,0,0,322,323,5,227,0,0,323,33,1,0,0,0,324,327,5,187,0, + 0,325,327,5,188,0,0,326,324,1,0,0,0,326,325,1,0,0,0,327,35,1,0,0, + 0,328,329,7,2,0,0,329,37,1,0,0,0,330,334,5,191,0,0,331,334,5,190, + 0,0,332,334,5,189,0,0,333,330,1,0,0,0,333,331,1,0,0,0,333,332,1, + 0,0,0,334,39,1,0,0,0,335,336,5,192,0,0,336,41,1,0,0,0,337,338,5, + 227,0,0,338,43,1,0,0,0,339,340,5,130,0,0,340,45,1,0,0,0,341,342, + 5,1,0,0,342,347,3,48,24,0,343,344,5,7,0,0,344,346,3,48,24,0,345, + 343,1,0,0,0,346,349,1,0,0,0,347,345,1,0,0,0,347,348,1,0,0,0,348, + 350,1,0,0,0,349,347,1,0,0,0,350,351,5,1,0,0,351,47,1,0,0,0,352,353, + 3,50,25,0,353,354,5,4,0,0,354,355,3,56,28,0,355,49,1,0,0,0,356,357, + 5,219,0,0,357,51,1,0,0,0,358,361,5,176,0,0,359,361,5,177,0,0,360, + 358,1,0,0,0,360,359,1,0,0,0,361,53,1,0,0,0,362,363,7,3,0,0,363,55, + 1,0,0,0,364,388,5,227,0,0,365,388,3,28,14,0,366,388,5,202,0,0,367, + 388,5,201,0,0,368,388,5,207,0,0,369,388,5,203,0,0,370,388,5,200, + 0,0,371,388,5,206,0,0,372,388,5,223,0,0,373,388,5,198,0,0,374,388, + 5,208,0,0,375,388,5,199,0,0,376,388,5,204,0,0,377,388,5,205,0,0, + 378,379,5,9,0,0,379,388,5,227,0,0,380,388,5,9,0,0,381,388,5,233, + 0,0,382,388,5,225,0,0,383,388,5,241,0,0,384,388,5,245,0,0,385,388, + 5,126,0,0,386,388,3,58,29,0,387,364,1,0,0,0,387,365,1,0,0,0,387, + 366,1,0,0,0,387,367,1,0,0,0,387,368,1,0,0,0,387,369,1,0,0,0,387, + 370,1,0,0,0,387,371,1,0,0,0,387,372,1,0,0,0,387,373,1,0,0,0,387, + 374,1,0,0,0,387,375,1,0,0,0,387,376,1,0,0,0,387,377,1,0,0,0,387, + 378,1,0,0,0,387,380,1,0,0,0,387,381,1,0,0,0,387,382,1,0,0,0,387, + 383,1,0,0,0,387,384,1,0,0,0,387,385,1,0,0,0,387,386,1,0,0,0,388, + 57,1,0,0,0,389,396,3,138,69,0,390,391,5,2,0,0,391,392,3,118,59,0, + 392,393,5,2,0,0,393,396,1,0,0,0,394,396,5,225,0,0,395,389,1,0,0, + 0,395,390,1,0,0,0,395,394,1,0,0,0,396,397,1,0,0,0,397,398,5,18,0, + 0,398,414,3,84,42,0,399,406,3,138,69,0,400,401,5,2,0,0,401,402,3, + 118,59,0,402,403,5,2,0,0,403,406,1,0,0,0,404,406,5,225,0,0,405,399, + 1,0,0,0,405,400,1,0,0,0,405,404,1,0,0,0,406,407,1,0,0,0,407,408, + 5,18,0,0,408,411,3,88,44,0,409,410,5,4,0,0,410,412,3,126,63,0,411, + 409,1,0,0,0,411,412,1,0,0,0,412,414,1,0,0,0,413,395,1,0,0,0,413, + 405,1,0,0,0,414,59,1,0,0,0,415,419,5,227,0,0,416,419,3,28,14,0,417, + 419,5,233,0,0,418,415,1,0,0,0,418,416,1,0,0,0,418,417,1,0,0,0,419, + 61,1,0,0,0,420,421,5,10,0,0,421,63,1,0,0,0,422,424,5,1,0,0,423,425, + 3,62,31,0,424,423,1,0,0,0,424,425,1,0,0,0,425,426,1,0,0,0,426,427, + 5,255,0,0,427,429,3,66,33,0,428,430,3,68,34,0,429,428,1,0,0,0,429, + 430,1,0,0,0,430,431,1,0,0,0,431,432,5,1,0,0,432,439,1,0,0,0,433, + 434,5,1,0,0,434,435,3,68,34,0,435,436,5,1,0,0,436,439,1,0,0,0,437, + 439,3,68,34,0,438,422,1,0,0,0,438,433,1,0,0,0,438,437,1,0,0,0,439, + 65,1,0,0,0,440,441,7,4,0,0,441,67,1,0,0,0,442,473,3,82,41,0,443, + 473,5,233,0,0,444,446,5,263,0,0,445,444,1,0,0,0,446,449,1,0,0,0, + 447,445,1,0,0,0,447,448,1,0,0,0,448,452,1,0,0,0,449,447,1,0,0,0, + 450,453,5,261,0,0,451,453,3,26,13,0,452,450,1,0,0,0,452,451,1,0, + 0,0,453,467,1,0,0,0,454,458,5,7,0,0,455,457,5,263,0,0,456,455,1, + 0,0,0,457,460,1,0,0,0,458,456,1,0,0,0,458,459,1,0,0,0,459,463,1, + 0,0,0,460,458,1,0,0,0,461,464,5,261,0,0,462,464,3,26,13,0,463,461, + 1,0,0,0,463,462,1,0,0,0,464,466,1,0,0,0,465,454,1,0,0,0,466,469, + 1,0,0,0,467,465,1,0,0,0,467,468,1,0,0,0,468,473,1,0,0,0,469,467, + 1,0,0,0,470,473,5,254,0,0,471,473,5,256,0,0,472,442,1,0,0,0,472, + 443,1,0,0,0,472,447,1,0,0,0,472,470,1,0,0,0,472,471,1,0,0,0,473, + 69,1,0,0,0,474,475,5,10,0,0,475,71,1,0,0,0,476,477,5,88,0,0,477, + 73,1,0,0,0,478,480,5,1,0,0,479,478,1,0,0,0,479,480,1,0,0,0,480,482, + 1,0,0,0,481,483,3,70,35,0,482,481,1,0,0,0,482,483,1,0,0,0,483,485, + 1,0,0,0,484,486,3,72,36,0,485,484,1,0,0,0,485,486,1,0,0,0,486,487, + 1,0,0,0,487,489,3,80,40,0,488,490,5,1,0,0,489,488,1,0,0,0,489,490, + 1,0,0,0,490,504,1,0,0,0,491,493,5,8,0,0,492,494,5,1,0,0,493,492, + 1,0,0,0,493,494,1,0,0,0,494,496,1,0,0,0,495,497,3,70,35,0,496,495, + 1,0,0,0,496,497,1,0,0,0,497,498,1,0,0,0,498,500,3,80,40,0,499,501, + 5,1,0,0,500,499,1,0,0,0,500,501,1,0,0,0,501,503,1,0,0,0,502,491, + 1,0,0,0,503,506,1,0,0,0,504,502,1,0,0,0,504,505,1,0,0,0,505,75,1, + 0,0,0,506,504,1,0,0,0,507,509,5,1,0,0,508,507,1,0,0,0,508,509,1, + 0,0,0,509,511,1,0,0,0,510,512,3,70,35,0,511,510,1,0,0,0,511,512, + 1,0,0,0,512,514,1,0,0,0,513,515,3,72,36,0,514,513,1,0,0,0,514,515, + 1,0,0,0,515,516,1,0,0,0,516,518,3,80,40,0,517,519,5,1,0,0,518,517, + 1,0,0,0,518,519,1,0,0,0,519,533,1,0,0,0,520,522,5,7,0,0,521,523, + 5,1,0,0,522,521,1,0,0,0,522,523,1,0,0,0,523,525,1,0,0,0,524,526, + 3,70,35,0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,529, + 3,80,40,0,528,530,5,1,0,0,529,528,1,0,0,0,529,530,1,0,0,0,530,532, + 1,0,0,0,531,520,1,0,0,0,532,535,1,0,0,0,533,531,1,0,0,0,533,534, + 1,0,0,0,534,77,1,0,0,0,535,533,1,0,0,0,536,537,3,80,40,0,537,79, + 1,0,0,0,538,545,3,82,41,0,539,542,3,86,43,0,540,541,5,4,0,0,541, + 543,3,124,62,0,542,540,1,0,0,0,542,543,1,0,0,0,543,545,1,0,0,0,544, + 538,1,0,0,0,544,539,1,0,0,0,545,81,1,0,0,0,546,547,5,86,0,0,547, + 83,1,0,0,0,548,549,5,86,0,0,549,85,1,0,0,0,550,551,7,5,0,0,551,87, + 1,0,0,0,552,553,7,5,0,0,553,89,1,0,0,0,554,555,5,1,0,0,555,560,3, + 92,46,0,556,557,5,7,0,0,557,559,3,92,46,0,558,556,1,0,0,0,559,562, + 1,0,0,0,560,558,1,0,0,0,560,561,1,0,0,0,561,563,1,0,0,0,562,560, + 1,0,0,0,563,564,5,1,0,0,564,91,1,0,0,0,565,566,3,102,51,0,566,568, + 5,4,0,0,567,569,5,10,0,0,568,567,1,0,0,0,568,569,1,0,0,0,569,571, + 1,0,0,0,570,572,5,3,0,0,571,570,1,0,0,0,571,572,1,0,0,0,572,573, + 1,0,0,0,573,574,3,114,57,0,574,584,1,0,0,0,575,576,3,102,51,0,576, + 577,5,4,0,0,577,578,3,114,57,0,578,584,1,0,0,0,579,580,5,83,0,0, + 580,581,5,4,0,0,581,584,3,122,61,0,582,584,3,94,47,0,583,565,1,0, + 0,0,583,575,1,0,0,0,583,579,1,0,0,0,583,582,1,0,0,0,584,93,1,0,0, + 0,585,589,3,96,48,0,586,589,3,98,49,0,587,589,3,100,50,0,588,585, + 1,0,0,0,588,586,1,0,0,0,588,587,1,0,0,0,589,95,1,0,0,0,590,591,7, + 6,0,0,591,97,1,0,0,0,592,593,7,7,0,0,593,99,1,0,0,0,594,595,5,32, + 0,0,595,101,1,0,0,0,596,602,3,104,52,0,597,602,3,106,53,0,598,602, + 3,108,54,0,599,602,3,112,56,0,600,602,3,110,55,0,601,596,1,0,0,0, + 601,597,1,0,0,0,601,598,1,0,0,0,601,599,1,0,0,0,601,600,1,0,0,0, + 602,103,1,0,0,0,603,612,5,60,0,0,604,612,5,49,0,0,605,612,5,53,0, + 0,606,612,5,54,0,0,607,612,5,64,0,0,608,612,5,75,0,0,609,612,5,80, + 0,0,610,612,5,81,0,0,611,603,1,0,0,0,611,604,1,0,0,0,611,605,1,0, + 0,0,611,606,1,0,0,0,611,607,1,0,0,0,611,608,1,0,0,0,611,609,1,0, + 0,0,611,610,1,0,0,0,612,105,1,0,0,0,613,614,7,8,0,0,614,107,1,0, + 0,0,615,616,7,9,0,0,616,109,1,0,0,0,617,618,7,10,0,0,618,111,1,0, + 0,0,619,620,7,11,0,0,620,113,1,0,0,0,621,631,3,116,58,0,622,623, + 5,2,0,0,623,624,3,116,58,0,624,625,5,2,0,0,625,631,1,0,0,0,626,627, + 5,2,0,0,627,628,3,118,59,0,628,629,5,2,0,0,629,631,1,0,0,0,630,621, + 1,0,0,0,630,622,1,0,0,0,630,626,1,0,0,0,631,115,1,0,0,0,632,644, + 5,227,0,0,633,644,3,124,62,0,634,644,3,128,64,0,635,636,3,120,60, + 0,636,637,3,134,67,0,637,638,3,56,28,0,638,644,1,0,0,0,639,644,5, + 225,0,0,640,644,5,76,0,0,641,644,5,231,0,0,642,644,5,241,0,0,643, + 632,1,0,0,0,643,633,1,0,0,0,643,634,1,0,0,0,643,635,1,0,0,0,643, + 639,1,0,0,0,643,640,1,0,0,0,643,641,1,0,0,0,643,642,1,0,0,0,644, + 117,1,0,0,0,645,646,5,246,0,0,646,119,1,0,0,0,647,648,7,12,0,0,648, + 121,1,0,0,0,649,650,5,84,0,0,650,123,1,0,0,0,651,655,1,0,0,0,652, + 655,5,243,0,0,653,655,5,250,0,0,654,651,1,0,0,0,654,652,1,0,0,0, + 654,653,1,0,0,0,655,125,1,0,0,0,656,660,1,0,0,0,657,660,5,243,0, + 0,658,660,5,250,0,0,659,656,1,0,0,0,659,657,1,0,0,0,659,658,1,0, + 0,0,660,127,1,0,0,0,661,662,3,130,65,0,662,663,5,236,0,0,663,664, + 3,132,66,0,664,665,3,134,67,0,665,666,3,136,68,0,666,129,1,0,0,0, + 667,668,5,235,0,0,668,131,1,0,0,0,669,673,5,237,0,0,670,671,5,238, + 0,0,671,673,5,234,0,0,672,669,1,0,0,0,672,670,1,0,0,0,673,674,1, + 0,0,0,674,672,1,0,0,0,674,675,1,0,0,0,675,133,1,0,0,0,676,677,7, + 13,0,0,677,135,1,0,0,0,678,679,5,239,0,0,679,137,1,0,0,0,680,681, + 7,14,0,0,681,139,1,0,0,0,74,143,149,155,158,163,166,173,176,182, + 185,191,199,206,215,224,235,242,246,251,254,258,290,296,310,326, + 333,347,360,387,395,405,411,413,418,424,429,438,447,452,458,463, + 467,472,479,482,485,489,493,496,500,504,508,511,514,518,522,525, + 529,533,542,544,560,568,571,583,588,601,611,630,643,654,659,672, + 674 ] class SecLangParser ( Parser ): @@ -911,11 +910,8 @@ def operator(self): return self.getTypedRuleContext(SecLangParser.OperatorContext,0) - def comment_block(self, i:int=None): - if i is None: - return self.getTypedRuleContexts(SecLangParser.Comment_blockContext) - else: - return self.getTypedRuleContext(SecLangParser.Comment_blockContext,i) + def comment_block(self): + return self.getTypedRuleContext(SecLangParser.Comment_blockContext,0) def actions(self): @@ -1006,9 +1002,9 @@ def stmt(self): self.enterRule(localctx, 2, self.RULE_stmt) self._la = 0 # Token type try: - self.state = 250 + self.state = 246 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,18,self._ctx) + la_ = self._interp.adaptivePredict(self._input,17,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) self.state = 149 @@ -1273,20 +1269,8 @@ def stmt(self): elif la_ == 13: self.enterOuterAlt(localctx, 13) - self.state = 246 - self._errHandler.sync(self) - _alt = 1 - while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: - if _alt == 1: - self.state = 245 - self.comment_block() - - else: - raise NoViableAltException(self) - self.state = 248 - self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,17,self._ctx) - + self.state = 245 + self.comment_block() pass @@ -1340,25 +1324,25 @@ def comment_block(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 253 + self.state = 249 self._errHandler.sync(self) _alt = 1 while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt == 1: - self.state = 252 + self.state = 248 self.comment() else: raise NoViableAltException(self) - self.state = 255 + self.state = 251 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,19,self._ctx) + _alt = self._interp.adaptivePredict(self._input,18,self._ctx) - self.state = 258 + self.state = 254 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,20,self._ctx) + la_ = self._interp.adaptivePredict(self._input,19,self._ctx) if la_ == 1: - self.state = 257 + self.state = 253 _la = self._input.LA(1) if not(_la==-1 or _la==259): self._errHandler.recoverInline(self) @@ -1410,13 +1394,13 @@ def comment(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 260 + self.state = 256 self.match(SecLangParser.HASH) - self.state = 262 + self.state = 258 self._errHandler.sync(self) _la = self._input.LA(1) if _la==257: - self.state = 261 + self.state = 257 self.match(SecLangParser.COMMENT) @@ -1459,7 +1443,7 @@ def engine_config_rule_directive(self): self.enterRule(localctx, 8, self.RULE_engine_config_rule_directive) try: self.enterOuterAlt(localctx, 1) - self.state = 264 + self.state = 260 self.match(SecLangParser.CONFIG_DIR_SEC_RULE) except RecognitionException as re: localctx.exception = re @@ -1538,76 +1522,76 @@ def engine_config_directive(self): localctx = SecLangParser.Engine_config_directiveContext(self, self._ctx, self.state) self.enterRule(localctx, 10, self.RULE_engine_config_directive) try: - self.state = 294 + self.state = 290 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,22,self._ctx) + la_ = self._interp.adaptivePredict(self._input,21,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 266 + self.state = 262 self.stmt_audit_log() - self.state = 267 + self.state = 263 self.values() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 269 + self.state = 265 self.stmt_audit_log() - self.state = 270 + self.state = 266 self.match(SecLangParser.QUOTE) - self.state = 271 + self.state = 267 self.values() - self.state = 272 + self.state = 268 self.match(SecLangParser.QUOTE) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 274 + self.state = 270 self.engine_config_action_directive() - self.state = 275 + self.state = 271 self.actions() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 277 + self.state = 273 self.string_engine_config_directive() - self.state = 278 + self.state = 274 self.match(SecLangParser.QUOTE) - self.state = 279 + self.state = 275 self.values() - self.state = 280 + self.state = 276 self.match(SecLangParser.QUOTE) pass elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 282 + self.state = 278 self.sec_marker_directive() - self.state = 283 + self.state = 279 self.match(SecLangParser.QUOTE) - self.state = 284 + self.state = 280 self.values() - self.state = 285 + self.state = 281 self.match(SecLangParser.QUOTE) pass elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 287 + self.state = 283 self.engine_config_directive_with_param() - self.state = 288 + self.state = 284 self.values() pass elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 290 + self.state = 286 self.engine_config_sec_cache_transformations() - self.state = 291 + self.state = 287 self.values() - self.state = 292 + self.state = 288 self.option_list() pass @@ -1656,7 +1640,7 @@ def string_engine_config_directive(self): localctx = SecLangParser.String_engine_config_directiveContext(self, self._ctx, self.state) self.enterRule(localctx, 12, self.RULE_string_engine_config_directive) try: - self.state = 300 + self.state = 296 self._errHandler.sync(self) token = self._input.LA(1) if token in [1]: @@ -1665,17 +1649,17 @@ def string_engine_config_directive(self): pass elif token in [127]: self.enterOuterAlt(localctx, 2) - self.state = 297 + self.state = 293 self.match(SecLangParser.CONFIG_COMPONENT_SIG) pass elif token in [128]: self.enterOuterAlt(localctx, 3) - self.state = 298 + self.state = 294 self.match(SecLangParser.CONFIG_SEC_SERVER_SIG) pass elif token in [129]: self.enterOuterAlt(localctx, 4) - self.state = 299 + self.state = 295 self.match(SecLangParser.CONFIG_SEC_WEB_APP_ID) pass else: @@ -1720,7 +1704,7 @@ def sec_marker_directive(self): self.enterRule(localctx, 14, self.RULE_sec_marker_directive) try: self.enterOuterAlt(localctx, 1) - self.state = 302 + self.state = 298 self.match(SecLangParser.CONFIG_DIR_SEC_MARKER) except RecognitionException as re: localctx.exception = re @@ -1900,7 +1884,7 @@ def engine_config_directive_with_param(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 304 + self.state = 300 _la = self._input.LA(1) if not(((((_la - 131)) & ~0x3f) == 0 and ((1 << (_la - 131)) & 25508532324925951) != 0) or ((((_la - 209)) & ~0x3f) == 0 and ((1 << (_la - 209)) & 255) != 0)): self._errHandler.recoverInline(self) @@ -1946,7 +1930,7 @@ def rule_script_directive(self): self.enterRule(localctx, 18, self.RULE_rule_script_directive) try: self.enterOuterAlt(localctx, 1) - self.state = 306 + self.state = 302 self.match(SecLangParser.DIRECTIVE_SECRULESCRIPT) except RecognitionException as re: localctx.exception = re @@ -1987,7 +1971,7 @@ def file_path(self): self.enterRule(localctx, 20, self.RULE_file_path) try: self.enterOuterAlt(localctx, 1) - self.state = 308 + self.state = 304 self.match(SecLangParser.CONFIG_VALUE_PATH) except RecognitionException as re: localctx.exception = re @@ -2028,7 +2012,7 @@ def remove_rule_by_id(self): self.enterRule(localctx, 22, self.RULE_remove_rule_by_id) try: self.enterOuterAlt(localctx, 1) - self.state = 310 + self.state = 306 self.match(SecLangParser.CONFIG_SEC_RULE_REMOVE_BY_ID) except RecognitionException as re: localctx.exception = re @@ -2099,20 +2083,20 @@ def remove_rule_by_id_values(self): localctx = SecLangParser.Remove_rule_by_id_valuesContext(self, self._ctx, self.state) self.enterRule(localctx, 24, self.RULE_remove_rule_by_id_values) try: - self.state = 314 + self.state = 310 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,24,self._ctx) + la_ = self._interp.adaptivePredict(self._input,23,self._ctx) if la_ == 1: localctx = SecLangParser.Remove_rule_by_id_intContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 312 + self.state = 308 self.match(SecLangParser.INT) pass elif la_ == 2: localctx = SecLangParser.Remove_rule_by_id_int_rangeContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 313 + self.state = 309 self.int_range() pass @@ -2162,11 +2146,11 @@ def operator_int_range(self): self.enterRule(localctx, 26, self.RULE_operator_int_range) try: self.enterOuterAlt(localctx, 1) - self.state = 316 + self.state = 312 self.match(SecLangParser.INT_RANGE_VALUE) - self.state = 317 + self.state = 313 self.match(SecLangParser.MINUS_INT_RANGE) - self.state = 318 + self.state = 314 self.match(SecLangParser.INT_RANGE_VALUE) except RecognitionException as re: localctx.exception = re @@ -2215,11 +2199,11 @@ def int_range(self): self.enterRule(localctx, 28, self.RULE_int_range) try: self.enterOuterAlt(localctx, 1) - self.state = 320 + self.state = 316 self.range_start() - self.state = 321 + self.state = 317 self.match(SecLangParser.MINUS) - self.state = 322 + self.state = 318 self.range_end() except RecognitionException as re: localctx.exception = re @@ -2260,7 +2244,7 @@ def range_start(self): self.enterRule(localctx, 30, self.RULE_range_start) try: self.enterOuterAlt(localctx, 1) - self.state = 324 + self.state = 320 self.match(SecLangParser.INT) except RecognitionException as re: localctx.exception = re @@ -2301,7 +2285,7 @@ def range_end(self): self.enterRule(localctx, 32, self.RULE_range_end) try: self.enterOuterAlt(localctx, 1) - self.state = 326 + self.state = 322 self.match(SecLangParser.INT) except RecognitionException as re: localctx.exception = re @@ -2371,19 +2355,19 @@ def string_remove_rules(self): localctx = SecLangParser.String_remove_rulesContext(self, self._ctx, self.state) self.enterRule(localctx, 34, self.RULE_string_remove_rules) try: - self.state = 330 + self.state = 326 self._errHandler.sync(self) token = self._input.LA(1) if token in [187]: localctx = SecLangParser.Remove_rule_by_msgContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 328 + self.state = 324 self.match(SecLangParser.CONFIG_SEC_RULE_REMOVE_BY_MSG) pass elif token in [188]: localctx = SecLangParser.Remove_rule_by_tagContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 329 + self.state = 325 self.match(SecLangParser.CONFIG_SEC_RULE_REMOVE_BY_TAG) pass else: @@ -2435,7 +2419,7 @@ def string_remove_rules_values(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 332 + self.state = 328 _la = self._input.LA(1) if not(((((_la - 225)) & ~0x3f) == 0 and ((1 << (_la - 225)) & 65793) != 0)): self._errHandler.recoverInline(self) @@ -2528,25 +2512,25 @@ def update_target_rules(self): localctx = SecLangParser.Update_target_rulesContext(self, self._ctx, self.state) self.enterRule(localctx, 38, self.RULE_update_target_rules) try: - self.state = 337 + self.state = 333 self._errHandler.sync(self) token = self._input.LA(1) if token in [191]: localctx = SecLangParser.Update_target_by_idContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 334 + self.state = 330 self.match(SecLangParser.CONFIG_SEC_RULE_UPDATE_TARGET_BY_ID) pass elif token in [190]: localctx = SecLangParser.Update_target_by_msgContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 335 + self.state = 331 self.match(SecLangParser.CONFIG_SEC_RULE_UPDATE_TARGET_BY_MSG) pass elif token in [189]: localctx = SecLangParser.Update_target_by_tagContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 336 + self.state = 332 self.match(SecLangParser.CONFIG_SEC_RULE_UPDATE_TARGET_BY_TAG) pass else: @@ -2591,7 +2575,7 @@ def update_action_rule(self): self.enterRule(localctx, 40, self.RULE_update_action_rule) try: self.enterOuterAlt(localctx, 1) - self.state = 339 + self.state = 335 self.match(SecLangParser.CONFIG_SEC_RULE_UPDATE_ACTION_BY_ID) except RecognitionException as re: localctx.exception = re @@ -2632,7 +2616,7 @@ def id_(self): self.enterRule(localctx, 42, self.RULE_id) try: self.enterOuterAlt(localctx, 1) - self.state = 341 + self.state = 337 self.match(SecLangParser.INT) except RecognitionException as re: localctx.exception = re @@ -2673,7 +2657,7 @@ def engine_config_sec_cache_transformations(self): self.enterRule(localctx, 44, self.RULE_engine_config_sec_cache_transformations) try: self.enterOuterAlt(localctx, 1) - self.state = 343 + self.state = 339 self.match(SecLangParser.CONFIG_SEC_CACHE_TRANSFORMATIONS) except RecognitionException as re: localctx.exception = re @@ -2731,23 +2715,23 @@ def option_list(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 345 + self.state = 341 self.match(SecLangParser.QUOTE) - self.state = 346 + self.state = 342 self.option() - self.state = 351 + self.state = 347 self._errHandler.sync(self) _la = self._input.LA(1) while _la==7: - self.state = 347 + self.state = 343 self.match(SecLangParser.COMMA) - self.state = 348 + self.state = 344 self.option() - self.state = 353 + self.state = 349 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 354 + self.state = 350 self.match(SecLangParser.QUOTE) except RecognitionException as re: localctx.exception = re @@ -2796,11 +2780,11 @@ def option(self): self.enterRule(localctx, 48, self.RULE_option) try: self.enterOuterAlt(localctx, 1) - self.state = 356 + self.state = 352 self.option_name() - self.state = 357 + self.state = 353 self.match(SecLangParser.COLON) - self.state = 358 + self.state = 354 self.values() except RecognitionException as re: localctx.exception = re @@ -2841,7 +2825,7 @@ def option_name(self): self.enterRule(localctx, 50, self.RULE_option_name) try: self.enterOuterAlt(localctx, 1) - self.state = 360 + self.state = 356 self.match(SecLangParser.OPTION_NAME) except RecognitionException as re: localctx.exception = re @@ -2911,19 +2895,19 @@ def engine_config_action_directive(self): localctx = SecLangParser.Engine_config_action_directiveContext(self, self._ctx, self.state) self.enterRule(localctx, 52, self.RULE_engine_config_action_directive) try: - self.state = 364 + self.state = 360 self._errHandler.sync(self) token = self._input.LA(1) if token in [176]: localctx = SecLangParser.Config_dir_sec_actionContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 362 + self.state = 358 self.match(SecLangParser.CONFIG_DIR_SEC_ACTION) pass elif token in [177]: localctx = SecLangParser.Config_dir_sec_default_actionContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 363 + self.state = 359 self.match(SecLangParser.CONFIG_DIR_SEC_DEFAULT_ACTION) pass else: @@ -3014,7 +2998,7 @@ def stmt_audit_log(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 366 + self.state = 362 _la = self._input.LA(1) if not(((((_la - 140)) & ~0x3f) == 0 and ((1 << (_la - 140)) & 279223176896971775) != 0) or _la==227): self._errHandler.recoverInline(self) @@ -3121,140 +3105,140 @@ def values(self): localctx = SecLangParser.ValuesContext(self, self._ctx, self.state) self.enterRule(localctx, 56, self.RULE_values) try: - self.state = 391 + self.state = 387 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,29,self._ctx) + la_ = self._interp.adaptivePredict(self._input,28,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 368 + self.state = 364 self.match(SecLangParser.INT) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 369 + self.state = 365 self.int_range() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 370 + self.state = 366 self.match(SecLangParser.CONFIG_VALUE_ON) pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 371 + self.state = 367 self.match(SecLangParser.CONFIG_VALUE_OFF) pass elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 372 + self.state = 368 self.match(SecLangParser.CONFIG_VALUE_SERIAL) pass elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 373 + self.state = 369 self.match(SecLangParser.CONFIG_VALUE_PARALLEL) pass elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 374 + self.state = 370 self.match(SecLangParser.CONFIG_VALUE_HTTPS) pass elif la_ == 8: self.enterOuterAlt(localctx, 8) - self.state = 375 + self.state = 371 self.match(SecLangParser.CONFIG_VALUE_RELEVANT_ONLY) pass elif la_ == 9: self.enterOuterAlt(localctx, 9) - self.state = 376 + self.state = 372 self.match(SecLangParser.NATIVE) pass elif la_ == 10: self.enterOuterAlt(localctx, 10) - self.state = 377 + self.state = 373 self.match(SecLangParser.CONFIG_VALUE_ABORT) pass elif la_ == 11: self.enterOuterAlt(localctx, 11) - self.state = 378 + self.state = 374 self.match(SecLangParser.CONFIG_VALUE_WARN) pass elif la_ == 12: self.enterOuterAlt(localctx, 12) - self.state = 379 + self.state = 375 self.match(SecLangParser.CONFIG_VALUE_DETC) pass elif la_ == 13: self.enterOuterAlt(localctx, 13) - self.state = 380 + self.state = 376 self.match(SecLangParser.CONFIG_VALUE_PROCESS_PARTIAL) pass elif la_ == 14: self.enterOuterAlt(localctx, 14) - self.state = 381 + self.state = 377 self.match(SecLangParser.CONFIG_VALUE_REJECT) pass elif la_ == 15: self.enterOuterAlt(localctx, 15) - self.state = 382 + self.state = 378 self.match(SecLangParser.CONFIG_VALUE_PATH) - self.state = 383 + self.state = 379 self.match(SecLangParser.INT) pass elif la_ == 16: self.enterOuterAlt(localctx, 16) - self.state = 384 + self.state = 380 self.match(SecLangParser.CONFIG_VALUE_PATH) pass elif la_ == 17: self.enterOuterAlt(localctx, 17) - self.state = 385 + self.state = 381 self.match(SecLangParser.STRING) pass elif la_ == 18: self.enterOuterAlt(localctx, 18) - self.state = 386 + self.state = 382 self.match(SecLangParser.VARIABLE_NAME) pass elif la_ == 19: self.enterOuterAlt(localctx, 19) - self.state = 387 + self.state = 383 self.match(SecLangParser.COMMA_SEPARATED_STRING) pass elif la_ == 20: self.enterOuterAlt(localctx, 20) - self.state = 388 + self.state = 384 self.match(SecLangParser.ACTION_CTL_BODY_PROCESSOR_TYPE) pass elif la_ == 21: self.enterOuterAlt(localctx, 21) - self.state = 389 + self.state = 385 self.match(SecLangParser.AUDIT_PARTS) pass elif la_ == 22: self.enterOuterAlt(localctx, 22) - self.state = 390 + self.state = 386 self.action_ctl_target_value() pass @@ -3330,74 +3314,74 @@ def action_ctl_target_value(self): self.enterRule(localctx, 58, self.RULE_action_ctl_target_value) self._la = 0 # Token type try: - self.state = 417 + self.state = 413 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,33,self._ctx) + la_ = self._interp.adaptivePredict(self._input,32,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 399 + self.state = 395 self._errHandler.sync(self) token = self._input.LA(1) if token in [226, 227]: - self.state = 393 + self.state = 389 self.ctl_id() pass elif token in [2]: - self.state = 394 + self.state = 390 self.match(SecLangParser.SINGLE_QUOTE) - self.state = 395 + self.state = 391 self.string_literal() - self.state = 396 + self.state = 392 self.match(SecLangParser.SINGLE_QUOTE) pass elif token in [225]: - self.state = 398 + self.state = 394 self.match(SecLangParser.VARIABLE_NAME) pass else: raise NoViableAltException(self) - self.state = 401 + self.state = 397 self.match(SecLangParser.SEMI) - self.state = 402 + self.state = 398 self.ctl_variable_enum() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 409 + self.state = 405 self._errHandler.sync(self) token = self._input.LA(1) if token in [226, 227]: - self.state = 403 + self.state = 399 self.ctl_id() pass elif token in [2]: - self.state = 404 + self.state = 400 self.match(SecLangParser.SINGLE_QUOTE) - self.state = 405 + self.state = 401 self.string_literal() - self.state = 406 + self.state = 402 self.match(SecLangParser.SINGLE_QUOTE) pass elif token in [225]: - self.state = 408 + self.state = 404 self.match(SecLangParser.VARIABLE_NAME) pass else: raise NoViableAltException(self) - self.state = 411 + self.state = 407 self.match(SecLangParser.SEMI) - self.state = 412 + self.state = 408 self.ctl_collection_enum() - self.state = 415 + self.state = 411 self._errHandler.sync(self) _la = self._input.LA(1) if _la==4: - self.state = 413 + self.state = 409 self.match(SecLangParser.COLON) - self.state = 414 + self.state = 410 self.ctl_collection_value() @@ -3449,24 +3433,24 @@ def update_target_rules_values(self): localctx = SecLangParser.Update_target_rules_valuesContext(self, self._ctx, self.state) self.enterRule(localctx, 60, self.RULE_update_target_rules_values) try: - self.state = 422 + self.state = 418 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,34,self._ctx) + la_ = self._interp.adaptivePredict(self._input,33,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 419 + self.state = 415 self.match(SecLangParser.INT) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 420 + self.state = 416 self.int_range() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 421 + self.state = 417 self.match(SecLangParser.STRING) pass @@ -3510,7 +3494,7 @@ def operator_not(self): self.enterRule(localctx, 62, self.RULE_operator_not) try: self.enterOuterAlt(localctx, 1) - self.state = 424 + self.state = 420 self.match(SecLangParser.NOT) except RecognitionException as re: localctx.exception = re @@ -3569,50 +3553,50 @@ def operator(self): self.enterRule(localctx, 64, self.RULE_operator) self._la = 0 # Token type try: - self.state = 442 + self.state = 438 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,37,self._ctx) + la_ = self._interp.adaptivePredict(self._input,36,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 426 + self.state = 422 self.match(SecLangParser.QUOTE) - self.state = 428 + self.state = 424 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 427 + self.state = 423 self.operator_not() - self.state = 430 + self.state = 426 self.match(SecLangParser.AT) - self.state = 431 + self.state = 427 self.operator_name() - self.state = 433 + self.state = 429 self._errHandler.sync(self) _la = self._input.LA(1) if _la==86 or ((((_la - 233)) & ~0x3f) == 0 and ((1 << (_la - 233)) & 1352663041) != 0): - self.state = 432 + self.state = 428 self.operator_value() - self.state = 435 + self.state = 431 self.match(SecLangParser.QUOTE) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 437 + self.state = 433 self.match(SecLangParser.QUOTE) - self.state = 438 + self.state = 434 self.operator_value() - self.state = 439 + self.state = 435 self.match(SecLangParser.QUOTE) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 441 + self.state = 437 self.operator_value() pass @@ -3765,7 +3749,7 @@ def operator_name(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 444 + self.state = 440 _la = self._input.LA(1) if not(((((_la - 89)) & ~0x3f) == 0 and ((1 << (_la - 89)) & 137438953471) != 0)): self._errHandler.recoverInline(self) @@ -3846,88 +3830,88 @@ def operator_value(self): self.enterRule(localctx, 68, self.RULE_operator_value) self._la = 0 # Token type try: - self.state = 476 + self.state = 472 self._errHandler.sync(self) token = self._input.LA(1) if token in [86]: self.enterOuterAlt(localctx, 1) - self.state = 446 + self.state = 442 self.variable_enum() pass elif token in [233]: self.enterOuterAlt(localctx, 2) - self.state = 447 + self.state = 443 self.match(SecLangParser.STRING) pass elif token in [261, 263]: self.enterOuterAlt(localctx, 3) - self.state = 451 + self.state = 447 self._errHandler.sync(self) _la = self._input.LA(1) while _la==263: - self.state = 448 + self.state = 444 self.match(SecLangParser.WS_INT_RANGE) - self.state = 453 + self.state = 449 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 456 + self.state = 452 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,39,self._ctx) + la_ = self._interp.adaptivePredict(self._input,38,self._ctx) if la_ == 1: - self.state = 454 + self.state = 450 self.match(SecLangParser.INT_RANGE_VALUE) pass elif la_ == 2: - self.state = 455 + self.state = 451 self.operator_int_range() pass - self.state = 471 + self.state = 467 self._errHandler.sync(self) _la = self._input.LA(1) while _la==7: - self.state = 458 + self.state = 454 self.match(SecLangParser.COMMA) - self.state = 462 + self.state = 458 self._errHandler.sync(self) _la = self._input.LA(1) while _la==263: - self.state = 459 + self.state = 455 self.match(SecLangParser.WS_INT_RANGE) - self.state = 464 + self.state = 460 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 467 + self.state = 463 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,41,self._ctx) + la_ = self._interp.adaptivePredict(self._input,40,self._ctx) if la_ == 1: - self.state = 465 + self.state = 461 self.match(SecLangParser.INT_RANGE_VALUE) pass elif la_ == 2: - self.state = 466 + self.state = 462 self.operator_int_range() pass - self.state = 473 + self.state = 469 self._errHandler.sync(self) _la = self._input.LA(1) pass elif token in [254]: self.enterOuterAlt(localctx, 4) - self.state = 474 + self.state = 470 self.match(SecLangParser.OPERATOR_UNQUOTED_STRING) pass elif token in [256]: self.enterOuterAlt(localctx, 5) - self.state = 475 + self.state = 471 self.match(SecLangParser.OPERATOR_QUOTED_STRING) pass else: @@ -3972,7 +3956,7 @@ def var_not(self): self.enterRule(localctx, 70, self.RULE_var_not) try: self.enterOuterAlt(localctx, 1) - self.state = 478 + self.state = 474 self.match(SecLangParser.NOT) except RecognitionException as re: localctx.exception = re @@ -4013,7 +3997,7 @@ def var_count(self): self.enterRule(localctx, 72, self.RULE_var_count) try: self.enterOuterAlt(localctx, 1) - self.state = 480 + self.state = 476 self.match(SecLangParser.VAR_COUNT) except RecognitionException as re: localctx.exception = re @@ -4082,73 +4066,73 @@ def variables(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 483 + self.state = 479 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1: - self.state = 482 + self.state = 478 self.match(SecLangParser.QUOTE) - self.state = 486 + self.state = 482 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 485 + self.state = 481 self.var_not() - self.state = 489 + self.state = 485 self._errHandler.sync(self) _la = self._input.LA(1) if _la==88: - self.state = 488 + self.state = 484 self.var_count() - self.state = 491 + self.state = 487 self.var_stmt() - self.state = 493 + self.state = 489 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,47,self._ctx) + la_ = self._interp.adaptivePredict(self._input,46,self._ctx) if la_ == 1: - self.state = 492 + self.state = 488 self.match(SecLangParser.QUOTE) - self.state = 508 + self.state = 504 self._errHandler.sync(self) _la = self._input.LA(1) while _la==8: - self.state = 495 + self.state = 491 self.match(SecLangParser.PIPE) - self.state = 497 + self.state = 493 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1: - self.state = 496 + self.state = 492 self.match(SecLangParser.QUOTE) - self.state = 500 + self.state = 496 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 499 + self.state = 495 self.var_not() - self.state = 502 + self.state = 498 self.var_stmt() - self.state = 504 + self.state = 500 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,50,self._ctx) + la_ = self._interp.adaptivePredict(self._input,49,self._ctx) if la_ == 1: - self.state = 503 + self.state = 499 self.match(SecLangParser.QUOTE) - self.state = 510 + self.state = 506 self._errHandler.sync(self) _la = self._input.LA(1) @@ -4219,73 +4203,73 @@ def update_variables(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 512 + self.state = 508 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1: - self.state = 511 + self.state = 507 self.match(SecLangParser.QUOTE) - self.state = 515 + self.state = 511 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 514 + self.state = 510 self.var_not() - self.state = 518 + self.state = 514 self._errHandler.sync(self) _la = self._input.LA(1) if _la==88: - self.state = 517 + self.state = 513 self.var_count() - self.state = 520 + self.state = 516 self.var_stmt() - self.state = 522 + self.state = 518 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,55,self._ctx) + la_ = self._interp.adaptivePredict(self._input,54,self._ctx) if la_ == 1: - self.state = 521 + self.state = 517 self.match(SecLangParser.QUOTE) - self.state = 537 + self.state = 533 self._errHandler.sync(self) _la = self._input.LA(1) while _la==7: - self.state = 524 + self.state = 520 self.match(SecLangParser.COMMA) - self.state = 526 + self.state = 522 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1: - self.state = 525 + self.state = 521 self.match(SecLangParser.QUOTE) - self.state = 529 + self.state = 525 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 528 + self.state = 524 self.var_not() - self.state = 531 + self.state = 527 self.var_stmt() - self.state = 533 + self.state = 529 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,58,self._ctx) + la_ = self._interp.adaptivePredict(self._input,57,self._ctx) if la_ == 1: - self.state = 532 + self.state = 528 self.match(SecLangParser.QUOTE) - self.state = 539 + self.state = 535 self._errHandler.sync(self) _la = self._input.LA(1) @@ -4329,7 +4313,7 @@ def new_target(self): self.enterRule(localctx, 78, self.RULE_new_target) try: self.enterOuterAlt(localctx, 1) - self.state = 540 + self.state = 536 self.var_stmt() except RecognitionException as re: localctx.exception = re @@ -4382,25 +4366,25 @@ def var_stmt(self): self.enterRule(localctx, 80, self.RULE_var_stmt) self._la = 0 # Token type try: - self.state = 548 + self.state = 544 self._errHandler.sync(self) token = self._input.LA(1) if token in [86]: self.enterOuterAlt(localctx, 1) - self.state = 542 + self.state = 538 self.variable_enum() pass elif token in [85, 87]: self.enterOuterAlt(localctx, 2) - self.state = 543 + self.state = 539 self.collection_enum() - self.state = 546 + self.state = 542 self._errHandler.sync(self) _la = self._input.LA(1) if _la==4: - self.state = 544 + self.state = 540 self.match(SecLangParser.COLON) - self.state = 545 + self.state = 541 self.collection_value() @@ -4447,7 +4431,7 @@ def variable_enum(self): self.enterRule(localctx, 82, self.RULE_variable_enum) try: self.enterOuterAlt(localctx, 1) - self.state = 550 + self.state = 546 self.match(SecLangParser.VARIABLE_NAME_ENUM) except RecognitionException as re: localctx.exception = re @@ -4488,7 +4472,7 @@ def ctl_variable_enum(self): self.enterRule(localctx, 84, self.RULE_ctl_variable_enum) try: self.enterOuterAlt(localctx, 1) - self.state = 552 + self.state = 548 self.match(SecLangParser.VARIABLE_NAME_ENUM) except RecognitionException as re: localctx.exception = re @@ -4533,7 +4517,7 @@ def collection_enum(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 554 + self.state = 550 _la = self._input.LA(1) if not(_la==85 or _la==87): self._errHandler.recoverInline(self) @@ -4583,7 +4567,7 @@ def ctl_collection_enum(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 556 + self.state = 552 _la = self._input.LA(1) if not(_la==85 or _la==87): self._errHandler.recoverInline(self) @@ -4646,23 +4630,23 @@ def actions(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 558 + self.state = 554 self.match(SecLangParser.QUOTE) - self.state = 559 + self.state = 555 self.action() - self.state = 564 + self.state = 560 self._errHandler.sync(self) _la = self._input.LA(1) while _la==7: - self.state = 560 + self.state = 556 self.match(SecLangParser.COMMA) - self.state = 561 + self.state = 557 self.action() - self.state = 566 + self.state = 562 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 567 + self.state = 563 self.match(SecLangParser.QUOTE) except RecognitionException as re: localctx.exception = re @@ -4728,58 +4712,58 @@ def action(self): self.enterRule(localctx, 92, self.RULE_action) self._la = 0 # Token type try: - self.state = 587 + self.state = 583 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,65,self._ctx) + la_ = self._interp.adaptivePredict(self._input,64,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 569 + self.state = 565 self.action_with_params() - self.state = 570 + self.state = 566 self.match(SecLangParser.COLON) - self.state = 572 + self.state = 568 self._errHandler.sync(self) _la = self._input.LA(1) if _la==10: - self.state = 571 + self.state = 567 self.match(SecLangParser.NOT) - self.state = 575 + self.state = 571 self._errHandler.sync(self) _la = self._input.LA(1) if _la==3: - self.state = 574 + self.state = 570 self.match(SecLangParser.EQUAL) - self.state = 577 + self.state = 573 self.action_value() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 579 + self.state = 575 self.action_with_params() - self.state = 580 + self.state = 576 self.match(SecLangParser.COLON) - self.state = 581 + self.state = 577 self.action_value() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 583 + self.state = 579 self.match(SecLangParser.ACTION_TRANSFORMATION) - self.state = 584 + self.state = 580 self.match(SecLangParser.COLON) - self.state = 585 + self.state = 581 self.transformation_action_value() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 586 + self.state = 582 self.action_only() pass @@ -4831,22 +4815,22 @@ def action_only(self): localctx = SecLangParser.Action_onlyContext(self, self._ctx, self.state) self.enterRule(localctx, 94, self.RULE_action_only) try: - self.state = 592 + self.state = 588 self._errHandler.sync(self) token = self._input.LA(1) if token in [27, 30, 44, 46, 58, 59]: self.enterOuterAlt(localctx, 1) - self.state = 589 + self.state = 585 self.disruptive_action_only() pass elif token in [29, 31, 52, 55, 56, 57, 67]: self.enterOuterAlt(localctx, 2) - self.state = 590 + self.state = 586 self.non_disruptive_action_only() pass elif token in [32]: self.enterOuterAlt(localctx, 3) - self.state = 591 + self.state = 587 self.flow_action_only() pass else: @@ -4907,7 +4891,7 @@ def disruptive_action_only(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 594 + self.state = 590 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 864779090593316864) != 0)): self._errHandler.recoverInline(self) @@ -4972,7 +4956,7 @@ def non_disruptive_action_only(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 596 + self.state = 592 _la = self._input.LA(1) if not(((((_la - 29)) & ~0x3f) == 0 and ((1 << (_la - 29)) & 275356057605) != 0)): self._errHandler.recoverInline(self) @@ -5018,7 +5002,7 @@ def flow_action_only(self): self.enterRule(localctx, 100, self.RULE_flow_action_only) try: self.enterOuterAlt(localctx, 1) - self.state = 598 + self.state = 594 self.match(SecLangParser.ACTION_CHAIN) except RecognitionException as re: localctx.exception = re @@ -5075,32 +5059,32 @@ def action_with_params(self): localctx = SecLangParser.Action_with_paramsContext(self, self._ctx, self.state) self.enterRule(localctx, 102, self.RULE_action_with_params) try: - self.state = 605 + self.state = 601 self._errHandler.sync(self) token = self._input.LA(1) if token in [49, 53, 54, 60, 64, 75, 80, 81]: self.enterOuterAlt(localctx, 1) - self.state = 600 + self.state = 596 self.metadata_action_with_params() pass elif token in [62, 63]: self.enterOuterAlt(localctx, 2) - self.state = 601 + self.state = 597 self.disruptive_action_with_params() pass elif token in [28, 33, 45, 47, 48, 50, 51, 61, 65, 66, 68, 69, 70, 71, 72, 73, 74]: self.enterOuterAlt(localctx, 3) - self.state = 602 + self.state = 598 self.non_disruptive_action_with_params() pass elif token in [77, 78]: self.enterOuterAlt(localctx, 4) - self.state = 603 + self.state = 599 self.flow_action_with_params() pass elif token in [79, 82]: self.enterOuterAlt(localctx, 5) - self.state = 604 + self.state = 600 self.data_action_with_params() pass else: @@ -5282,55 +5266,55 @@ def metadata_action_with_params(self): localctx = SecLangParser.Metadata_action_with_paramsContext(self, self._ctx, self.state) self.enterRule(localctx, 104, self.RULE_metadata_action_with_params) try: - self.state = 615 + self.state = 611 self._errHandler.sync(self) token = self._input.LA(1) if token in [60]: localctx = SecLangParser.ACTION_PHASEContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 607 + self.state = 603 self.match(SecLangParser.ACTION_PHASE) pass elif token in [49]: localctx = SecLangParser.ACTION_IDContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 608 + self.state = 604 self.match(SecLangParser.ACTION_ID) pass elif token in [53]: localctx = SecLangParser.ACTION_MATURITYContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 609 + self.state = 605 self.match(SecLangParser.ACTION_MATURITY) pass elif token in [54]: localctx = SecLangParser.ACTION_MSGContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 610 + self.state = 606 self.match(SecLangParser.ACTION_MSG) pass elif token in [64]: localctx = SecLangParser.ACTION_REVContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 611 + self.state = 607 self.match(SecLangParser.ACTION_REV) pass elif token in [75]: localctx = SecLangParser.ACTION_SEVERITYContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 612 + self.state = 608 self.match(SecLangParser.ACTION_SEVERITY) pass elif token in [80]: localctx = SecLangParser.ACTION_TAGContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 613 + self.state = 609 self.match(SecLangParser.ACTION_TAG) pass elif token in [81]: localctx = SecLangParser.ACTION_VERContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 614 + self.state = 610 self.match(SecLangParser.ACTION_VER) pass else: @@ -5379,7 +5363,7 @@ def disruptive_action_with_params(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 617 + self.state = 613 _la = self._input.LA(1) if not(_la==62 or _la==63): self._errHandler.recoverInline(self) @@ -5474,7 +5458,7 @@ def non_disruptive_action_with_params(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 619 + self.state = 615 _la = self._input.LA(1) if not(((((_la - 28)) & ~0x3f) == 0 and ((1 << (_la - 28)) & 140058897809441) != 0)): self._errHandler.recoverInline(self) @@ -5524,7 +5508,7 @@ def data_action_with_params(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 621 + self.state = 617 _la = self._input.LA(1) if not(_la==79 or _la==82): self._errHandler.recoverInline(self) @@ -5574,7 +5558,7 @@ def flow_action_with_params(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 623 + self.state = 619 _la = self._input.LA(1) if not(_la==77 or _la==78): self._errHandler.recoverInline(self) @@ -5630,32 +5614,32 @@ def action_value(self): localctx = SecLangParser.Action_valueContext(self, self._ctx, self.state) self.enterRule(localctx, 114, self.RULE_action_value) try: - self.state = 634 + self.state = 630 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,69,self._ctx) + la_ = self._interp.adaptivePredict(self._input,68,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 625 + self.state = 621 self.action_value_types() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 626 + self.state = 622 self.match(SecLangParser.SINGLE_QUOTE) - self.state = 627 + self.state = 623 self.action_value_types() - self.state = 628 + self.state = 624 self.match(SecLangParser.SINGLE_QUOTE) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 630 + self.state = 626 self.match(SecLangParser.SINGLE_QUOTE) - self.state = 631 + self.state = 627 self.string_literal() - self.state = 632 + self.state = 628 self.match(SecLangParser.SINGLE_QUOTE) pass @@ -5730,51 +5714,51 @@ def action_value_types(self): localctx = SecLangParser.Action_value_typesContext(self, self._ctx, self.state) self.enterRule(localctx, 116, self.RULE_action_value_types) try: - self.state = 647 + self.state = 643 self._errHandler.sync(self) token = self._input.LA(1) if token in [227]: self.enterOuterAlt(localctx, 1) - self.state = 636 + self.state = 632 self.match(SecLangParser.INT) pass elif token in [1, 2, 7, 243, 250]: self.enterOuterAlt(localctx, 2) - self.state = 637 + self.state = 633 self.collection_value() pass elif token in [235]: self.enterOuterAlt(localctx, 3) - self.state = 638 + self.state = 634 self.setvar_action() pass elif token in [34, 35, 36, 37, 38, 39, 40, 41, 42, 43]: self.enterOuterAlt(localctx, 4) - self.state = 639 + self.state = 635 self.ctl_action() - self.state = 640 + self.state = 636 self.assignment() - self.state = 641 + self.state = 637 self.values() pass elif token in [225]: self.enterOuterAlt(localctx, 5) - self.state = 643 + self.state = 639 self.match(SecLangParser.VARIABLE_NAME) pass elif token in [76]: self.enterOuterAlt(localctx, 6) - self.state = 644 + self.state = 640 self.match(SecLangParser.ACTION_SEVERITY_VALUE) pass elif token in [231]: self.enterOuterAlt(localctx, 7) - self.state = 645 + self.state = 641 self.match(SecLangParser.FREE_TEXT_QUOTE_MACRO_EXPANSION) pass elif token in [241]: self.enterOuterAlt(localctx, 8) - self.state = 646 + self.state = 642 self.match(SecLangParser.COMMA_SEPARATED_STRING) pass else: @@ -5819,7 +5803,7 @@ def string_literal(self): self.enterRule(localctx, 118, self.RULE_string_literal) try: self.enterOuterAlt(localctx, 1) - self.state = 649 + self.state = 645 self.match(SecLangParser.STRING_LITERAL) except RecognitionException as re: localctx.exception = re @@ -5888,7 +5872,7 @@ def ctl_action(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 651 + self.state = 647 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 17575006175232) != 0)): self._errHandler.recoverInline(self) @@ -5934,7 +5918,7 @@ def transformation_action_value(self): self.enterRule(localctx, 122, self.RULE_transformation_action_value) try: self.enterOuterAlt(localctx, 1) - self.state = 653 + self.state = 649 self.match(SecLangParser.TRANSFORMATION_VALUE) except RecognitionException as re: localctx.exception = re @@ -5977,7 +5961,7 @@ def collection_value(self): localctx = SecLangParser.Collection_valueContext(self, self._ctx, self.state) self.enterRule(localctx, 124, self.RULE_collection_value) try: - self.state = 658 + self.state = 654 self._errHandler.sync(self) token = self._input.LA(1) if token in [-1, 1, 2, 7, 8, 12, 86, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 182, 183, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 227, 233, 254, 256, 261, 263]: @@ -5986,12 +5970,12 @@ def collection_value(self): pass elif token in [243]: self.enterOuterAlt(localctx, 2) - self.state = 656 + self.state = 652 self.match(SecLangParser.XPATH_EXPRESSION) pass elif token in [250]: self.enterOuterAlt(localctx, 3) - self.state = 657 + self.state = 653 self.match(SecLangParser.COLLECTION_ELEMENT_VALUE) pass else: @@ -6038,7 +6022,7 @@ def ctl_collection_value(self): localctx = SecLangParser.Ctl_collection_valueContext(self, self._ctx, self.state) self.enterRule(localctx, 126, self.RULE_ctl_collection_value) try: - self.state = 663 + self.state = 659 self._errHandler.sync(self) token = self._input.LA(1) if token in [-1, 1, 2, 7, 12, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 182, 183, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 227]: @@ -6047,12 +6031,12 @@ def ctl_collection_value(self): pass elif token in [243]: self.enterOuterAlt(localctx, 2) - self.state = 661 + self.state = 657 self.match(SecLangParser.XPATH_EXPRESSION) pass elif token in [250]: self.enterOuterAlt(localctx, 3) - self.state = 662 + self.state = 658 self.match(SecLangParser.COLLECTION_ELEMENT_VALUE) pass else: @@ -6113,15 +6097,15 @@ def setvar_action(self): self.enterRule(localctx, 128, self.RULE_setvar_action) try: self.enterOuterAlt(localctx, 1) - self.state = 665 + self.state = 661 self.col_name() - self.state = 666 + self.state = 662 self.match(SecLangParser.DOT) - self.state = 667 + self.state = 663 self.setvar_stmt() - self.state = 668 + self.state = 664 self.assignment() - self.state = 669 + self.state = 665 self.var_assignment() except RecognitionException as re: localctx.exception = re @@ -6162,7 +6146,7 @@ def col_name(self): self.enterRule(localctx, 130, self.RULE_col_name) try: self.enterOuterAlt(localctx, 1) - self.state = 671 + self.state = 667 self.match(SecLangParser.COLLECTION_NAME_SETVAR) except RecognitionException as re: localctx.exception = re @@ -6219,27 +6203,27 @@ def setvar_stmt(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 676 + self.state = 672 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 676 + self.state = 672 self._errHandler.sync(self) token = self._input.LA(1) if token in [237]: - self.state = 673 + self.state = 669 self.match(SecLangParser.COLLECTION_ELEMENT) pass elif token in [238]: - self.state = 674 + self.state = 670 self.match(SecLangParser.COLLECTION_WITH_MACRO) - self.state = 675 + self.state = 671 self.match(SecLangParser.MACRO_EXPANSION) pass else: raise NoViableAltException(self) - self.state = 678 + self.state = 674 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==237 or _la==238): @@ -6291,7 +6275,7 @@ def assignment(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 680 + self.state = 676 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 104) != 0)): self._errHandler.recoverInline(self) @@ -6337,7 +6321,7 @@ def var_assignment(self): self.enterRule(localctx, 136, self.RULE_var_assignment) try: self.enterOuterAlt(localctx, 1) - self.state = 682 + self.state = 678 self.match(SecLangParser.VAR_ASSIGNMENT) except RecognitionException as re: localctx.exception = re @@ -6382,7 +6366,7 @@ def ctl_id(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 684 + self.state = 680 _la = self._input.LA(1) if not(_la==226 or _la==227): self._errHandler.recoverInline(self) diff --git a/testdata/test_44_comments.conf b/testdata/test_44_comments.conf index 2c4732f..5f1c4b7 100644 --- a/testdata/test_44_comments.conf +++ b/testdata/test_44_comments.conf @@ -1,3 +1,11 @@ +# +# This is a comment +# +# This is a multiline \ +# comment +# +# This is a multiline \ + # # This is a comment # diff --git a/testdata/tests.yaml b/testdata/tests.yaml index 0a8c2a7..d0aec2c 100644 --- a/testdata/tests.yaml +++ b/testdata/tests.yaml @@ -447,7 +447,14 @@ check_output_tests: - " comment" - "" - " This is a multiline \\" - comment_blocks: 1 + - "" + - " This is a comment" + - "" + - " This is a multiline \\" + - " comment" + - "" + - " This is a multiline \\" + comment_blocks: 2 testdata/test_45_backslash.conf: error_count: 0 comment: ""