diff --git a/grammar/php5.y b/grammar/php5.y index d7d6288782..7f85a4a9f0 100644 --- a/grammar/php5.y +++ b/grammar/php5.y @@ -88,7 +88,7 @@ top_statement: $this->checkNamespace($$); } | T_USE use_declarations ';' { $$ = Stmt\Use_[$2, Stmt\Use_::TYPE_NORMAL]; } | T_USE use_type use_declarations ';' { $$ = Stmt\Use_[$3, $2]; } - | group_use_declaration ';' { $$ = $1; } + | group_use_declaration { $$ = $1; } | T_CONST constant_declaration_list ';' { $$ = Stmt\Const_[$2]; } ; @@ -98,9 +98,9 @@ use_type: ; group_use_declaration: - T_USE use_type legacy_namespace_name T_NS_SEPARATOR '{' unprefixed_use_declarations '}' + T_USE use_type legacy_namespace_name T_NS_SEPARATOR '{' unprefixed_use_declarations '}' ';' { $$ = Stmt\GroupUse[$3, $6, $2]; } - | T_USE legacy_namespace_name T_NS_SEPARATOR '{' inline_use_declarations '}' + | T_USE legacy_namespace_name T_NS_SEPARATOR '{' inline_use_declarations '}' ';' { $$ = Stmt\GroupUse[$2, $5, Stmt\Use_::TYPE_UNKNOWN]; } ; diff --git a/grammar/php7.y b/grammar/php7.y index 53d619477e..79d67d0b20 100644 --- a/grammar/php7.y +++ b/grammar/php7.y @@ -133,7 +133,7 @@ top_statement: $this->checkNamespace($$); } | T_USE use_declarations semi { $$ = Stmt\Use_[$2, Stmt\Use_::TYPE_NORMAL]; } | T_USE use_type use_declarations semi { $$ = Stmt\Use_[$3, $2]; } - | group_use_declaration semi { $$ = $1; } + | group_use_declaration { $$ = $1; } | T_CONST constant_declaration_list semi { $$ = Stmt\Const_[$2]; } ; @@ -143,9 +143,9 @@ use_type: ; group_use_declaration: - T_USE use_type legacy_namespace_name T_NS_SEPARATOR '{' unprefixed_use_declarations '}' + T_USE use_type legacy_namespace_name T_NS_SEPARATOR '{' unprefixed_use_declarations '}' semi { $$ = Stmt\GroupUse[$3, $6, $2]; } - | T_USE legacy_namespace_name T_NS_SEPARATOR '{' inline_use_declarations '}' + | T_USE legacy_namespace_name T_NS_SEPARATOR '{' inline_use_declarations '}' semi { $$ = Stmt\GroupUse[$2, $5, Stmt\Use_::TYPE_UNKNOWN]; } ; diff --git a/lib/PhpParser/Parser/Php5.php b/lib/PhpParser/Parser/Php5.php index 59bd1e8cf5..80ebdfb37c 100644 --- a/lib/PhpParser/Parser/Php5.php +++ b/lib/PhpParser/Parser/Php5.php @@ -27,7 +27,7 @@ class Php5 extends \PhpParser\ParserAbstract protected $unexpectedTokenRule = 32767; protected $YY2TBLSTATE = 415; - protected $numNonLeafStates = 663; + protected $numNonLeafStates = 664; protected $symbolToName = array( "EOF", @@ -244,116 +244,116 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $action = array( - 700, 670, 671, 672, 673, 674, 286, 675, 676, 677, - 713, 714, 223, 224, 225, 226, 227, 228, 229, 230, + 701, 671, 672, 673, 674, 675, 286, 676, 677, 678, + 714, 715, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 0, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,-32766,-32766,-32766,-32766,-32766, -32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767, 245, 246, - 242, 243, 244,-32766,-32766, 678,-32766,-32766,-32766,-32766, - -32766,-32766,-32766,-32766,-32766, 1229, 245, 246, 1230, 679, - 680, 681, 682, 683, 684, 685, 899, 900, 747,-32766, - -32766,-32766,-32766,-32766,-32766, 686, 687, 688, 689, 690, - 691, 692, 693, 694, 695, 696, 716, 739, 717, 718, - 719, 720, 708, 709, 710, 738, 711, 712, 697, 698, - 699, 701, 702, 703, 741, 742, 743, 744, 745, 746, - 875, 704, 705, 706, 707, 737, 728, 726, 727, 723, - 724, 1046, 715, 721, 722, 729, 730, 732, 731, 733, - 734, 55, 56, 425, 57, 58, 725, 736, 735, 755, + 242, 243, 244,-32766,-32766, 679,-32766,-32766,-32766,-32766, + -32766,-32766,-32766,-32766,-32766, 1230, 245, 246, 1231, 680, + 681, 682, 683, 684, 685, 686, 900, 901, 748,-32766, + -32766,-32766,-32766,-32766,-32766, 687, 688, 689, 690, 691, + 692, 693, 694, 695, 696, 697, 717, 740, 718, 719, + 720, 721, 709, 710, 711, 739, 712, 713, 698, 699, + 700, 702, 703, 704, 742, 743, 744, 745, 746, 747, + 876, 705, 706, 707, 708, 738, 729, 727, 728, 724, + 725, 1047, 716, 722, 723, 730, 731, 733, 732, 734, + 735, 55, 56, 425, 57, 58, 726, 737, 736, 756, 59, 60, -226, 61,-32766,-32766,-32766,-32766,-32766,-32766, -32766,-32766,-32766,-32766, 337,-32767,-32767,-32767,-32767, 29, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 620,-32766,-32766,-32766,-32766, 62, 63, - 1046,-32766,-32766,-32766, 64, 419, 65, 294, 295, 66, - 67, 68, 69, 70, 71, 72, 73, 823, 25, 302, - 74, 418, 984, 986, 669, 668, 1100, 1101, 1078, 755, - 755, 767, 1220, 768, 470,-32766,-32766,-32766, 341, 749, - 824, 54,-32767,-32767,-32767,-32767, 98, 99, 100, 101, - 102, 220, 221, 222, 362, 876,-32766, 27,-32766,-32766, - -32766,-32766,-32766, 1046, 493, 126, 1080, 1079, 1081, 370, - 1068, 930, 207, 478, 479, 952, 953, 954, 951, 950, - 949, 128, 480, 481, 803, 1106, 1107, 1108, 1109, 1103, - 1104, 319, 32, 297, 10, 211, -515, 1110, 1105, 669, - 668, 1080, 1079, 1081, 220, 221, 222, 41, 364, 341, - 334, 421, 336, 426, -128, -128, -128, 313, 1046, 469, - -4, 824, 54, 812, 770, 207, 40, 21, 427, -128, - 471, -128, 472, -128, 473, -128, 1046, 428, 220, 221, + 117, 118, 119, 621,-32766,-32766,-32766,-32766, 62, 63, + 1047,-32766,-32766,-32766, 64, 419, 65, 294, 295, 66, + 67, 68, 69, 70, 71, 72, 73, 824, 25, 302, + 74, 418, 985, 987, 670, 669, 1101, 1102, 1079, 756, + 756, 768, 1221, 769, 470,-32766,-32766,-32766, 341, 750, + 825, 54,-32767,-32767,-32767,-32767, 98, 99, 100, 101, + 102, 220, 221, 222, 362, 877,-32766, 27,-32766,-32766, + -32766,-32766,-32766, 1047, 492, 126, 1081, 1080, 1082, 370, + 1069, 931, 207, 478, 479, 953, 954, 955, 952, 951, + 950, 128, 480, 481, 804, 1107, 1108, 1109, 1110, 1104, + 1105, 319, 32, 297, 10, 211, -515, 1111, 1106, 670, + 669, 1081, 1080, 1082, 220, 221, 222, 41, 364, 341, + 334, 421, 336, 426, -128, -128, -128, 313, 1047, 469, + -4, 825, 54, 813, 597, 207, 40, 21, 427, -128, + 471, -128, 472, -128, 473, -128, 1047, 428, 220, 221, 222,-32766, 33, 34, 429, 361, 327, 52, 35, 474, -32766,-32766,-32766, 342, 357, 358, 475, 476, 48, 207, - 249, 669, 668, 477, 443, 300, 795, 846, 430, 431, - 28,-32766, 814,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - -32767,-32767,-32767,-32767,-32767, 952, 953, 954, 951, 950, - 949, 422, 755, 424, 426, 826, 634, -128,-32766,-32766, - 469, 824, 54, 288, 812, 1151, 755, 40, 21, 427, - 317, 471, 345, 472, 129, 473, 9, 1186, 428, 769, - 360, 324, 905, 33, 34, 429, 361, 1046, 415, 35, - 474, 944, 1068, 315, 125, 357, 358, 475, 476,-32766, - -32766,-32766, 926, 302, 477, 121, 1068, 759, 846, 430, - 431, 669, 668, 423, 755, 1152, 809, 1046, 480, 766, - -32766, 805,-32766,-32766,-32766,-32766, -261, 127, 347, 436, - 841, 341, 1078, 1200, 426, 446, 826, 634, -4, 807, - 469, 824, 54, 436, 812, 341, 755, 40, 21, 427, - 444, 471, 130, 472, 1068, 473, 346, 767, 428, 768, - -211, -211, -211, 33, 34, 429, 361, 308, 1076, 35, - 474,-32766,-32766,-32766, 1046, 357, 358, 475, 476,-32766, - -32766,-32766, 906, 120, 477, 539, 1068, 795, 846, 430, - 431, 436,-32766, 341,-32766,-32766,-32766, 1046, 480, 810, - -32766, 925,-32766,-32766, 754, 1080, 1079, 1081, 49,-32766, - -32766,-32766, 749, 751, 426, 1201, 826, 634, -211, 30, - 469, 669, 668, 436, 812, 341, 75, 40, 21, 427, - -32766, 471, 1064, 472, 124, 473, 669, 668, 428, 212, - -210, -210, -210, 33, 34, 429, 361, 51, 1186, 35, - 474, 755,-32766,-32766,-32766, 357, 358, 475, 476, 213, - 824, 54, 221, 222, 477, 20, 581, 795, 846, 430, - 431, 220, 221, 222, 755, 222, 247, 78, 79, 80, - 81, 341, 207, 517, 103, 104, 105, 752, 307, 131, - 637, 1068, 207, 341, 207, 122, 826, 634, -210, 36, + 249, 670, 669, 477, 443, 300, 796, 847, 430, 431, + 28,-32766, 815,-32766,-32766,-32766,-32766,-32766,-32766,-32766, + -32767,-32767,-32767,-32767,-32767, 953, 954, 955, 952, 951, + 950, 422, 756, 424, 426, 827, 635, -128,-32766,-32766, + 469, 825, 54, 288, 813, 1152, 756, 40, 21, 427, + 317, 471, 345, 472, 129, 473, 9, 1187, 428, 612, + 360, 324, 906, 33, 34, 429, 361, 1047, 415, 35, + 474, 945, 1069, 315, 125, 357, 358, 475, 476,-32766, + -32766,-32766, 927, 302, 477, 121, 1069, 760, 847, 430, + 431, 670, 669, 423, 756, 1153, 810, 1047, 480, 767, + -32766, 806,-32766,-32766,-32766,-32766, -261, 127, 347, 436, + 842, 341, 1079, 1201, 426, 446, 827, 635, -4, 808, + 469, 825, 54, 436, 813, 341, 756, 40, 21, 427, + 444, 471, 130, 472, 1069, 473, 346, 768, 428, 769, + -211, -211, -211, 33, 34, 429, 361, 308, 1077, 35, + 474,-32766,-32766,-32766, 1047, 357, 358, 475, 476,-32766, + -32766,-32766, 907, 120, 477, 538, 1069, 796, 847, 430, + 431, 436,-32766, 341,-32766,-32766,-32766, 1047, 480, 811, + -32766, 926,-32766,-32766, 755, 1081, 1080, 1082, 49,-32766, + -32766,-32766, 750, 752, 426, 1202, 827, 635, -211, 30, + 469, 670, 669, 436, 813, 341, 75, 40, 21, 427, + -32766, 471, 1065, 472, 124, 473, 670, 669, 428, 212, + -210, -210, -210, 33, 34, 429, 361, 51, 1187, 35, + 474, 756,-32766,-32766,-32766, 357, 358, 475, 476, 213, + 825, 54, 221, 222, 477, 20, 580, 796, 847, 430, + 431, 220, 221, 222, 756, 222, 247, 78, 79, 80, + 81, 341, 207, 516, 103, 104, 105, 753, 307, 131, + 638, 1069, 207, 341, 207, 122, 827, 635, -210, 36, 106, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 103, 104, 105, 1112, 307, 346, 436, 214, - 341, 824, 54, 426, 123, 250, 129, 134, 106, 469, - -32766, 572, 1112, 812, 245, 246, 40, 21, 427, 251, - 471, 252, 472, 341, 473, 453, 22, 428, 207, 899, - 900, 638, 33, 34, 429, 824, 54, -86, 35, 474, + 101, 102, 103, 104, 105, 1113, 307, 346, 436, 214, + 341, 825, 54, 426, 123, 250, 129, 134, 106, 469, + -32766, 571, 1113, 813, 245, 246, 40, 21, 427, 251, + 471, 252, 472, 341, 473, 453, 22, 428, 207, 900, + 901, 639, 33, 34, 429, 825, 54, -86, 35, 474, 220, 221, 222, 314, 357, 358, 100, 101, 102, 239, - 240, 241, 645, 477, -230, 458, 589, 135, 374, 596, - 597, 207, 760, 640, 648, 642, 941, 654, 929, 662, - 822, 133, 307, 837, 426,-32766, 106, 749, 43, 44, - 469, 45, 442, 46, 812, 826, 634, 40, 21, 427, + 240, 241, 646, 477, -230, 458, 588, 135, 374, 595, + 596, 207, 761, 641, 649, 643, 942, 655, 930, 663, + 823, 133, 307, 838, 426,-32766, 106, 750, 43, 44, + 469, 45, 442, 46, 813, 827, 635, 40, 21, 427, 47, 471, 50, 472, 53, 473, 132, 608, 428, 302, - 604, -280,-32766, 33, 34, 429, 824, 54, 426, 35, - 474, 755, 957, -84, 469, 357, 358, 521, 812, 628, - 363, 40, 21, 427, 477, 471, 575, 472, -515, 473, - 847, 616, 428, -423,-32766, 11, 646, 33, 34, 429, - 824, 54, 445, 35, 474, 462, 285, 578, 1111, 357, - 358, 593, 369, 848, 594, 290, 826, 634, 477, 0, - 0, 532, 0, 0, 325, 0, 0, 0, 0, 0, - 651, 0, 0, 0, 322, 326, 0, 0, 0, 426, - 0, 0, 0, 0, 323, 469, 316, 318, -516, 812, - 862, 634, 40, 21, 427, 0, 471, 0, 472, 0, - 473, 1158, 0, 428, 0, -414, 6, 7, 33, 34, - 429, 824, 54, 426, 35, 474, 12, 14, 373, 469, - 357, 358, -424, 812, 563, 754, 40, 21, 427, 477, - 471, 248, 472, 839, 473, 38, 39, 428, 657, 658, - 765, 813, 33, 34, 429, 821, 800, 815, 35, 474, - 215, 216, 878, 869, 357, 358, 217, 870, 218, 798, - 863, 826, 634, 477, 860, 858, 936, 937, 934, 820, - 209, 804, 806, 808, 811, 933, 763, 764, 1100, 1101, - 935, 659, 78, 335, 426, 359, 1102, 635, 639, 641, - 469, 643, 644, 647, 812, 826, 634, 40, 21, 427, - 649, 471, 650, 472, 652, 473, 653, 636, 428, 796, - 1226, 1228, 762, 33, 34, 429, 215, 216, 845, 35, - 474, 761, 217, 844, 218, 357, 358, 1227, 843, 1060, - 831, 1048, 842, 1049, 477, 559, 209, 1106, 1107, 1108, - 1109, 1103, 1104, 398, 1100, 1101, 829, 942, 867, 1110, - 1105, 868, 1102, 457, 1225, 1194, 1192, 1177, 1157, 219, - 1190, 1091, 917, 1198, 1188, 0, 826, 634, 24, -433, - 26, 31, 37, 42, 76, 77, 210, 287, 292, 293, + 604, -280,-32766, 33, 34, 429, 825, 54, 426, 35, + 474, 756, 958, -84, 469, 357, 358, 520, 813, 629, + 363, 40, 21, 427, 477, 471, 574, 472, -515, 473, + 848, 617, 428, -423,-32766, 11, 647, 33, 34, 429, + 825, 54, 445, 35, 474, 462, 285, 577, 1112, 357, + 358, 592, 369, 849, 593, 290, 827, 635, 477, 0, + 0, 531, 0, 0, 325, 0, 0, 0, 0, 0, + 652, 0, 0, 0, 322, 326, 0, 0, 0, 426, + 0, 0, 0, 0, 323, 469, 316, 318, -516, 813, + 863, 635, 40, 21, 427, 0, 471, 0, 472, 0, + 473, 1159, 0, 428, 0, -414, 6, 7, 33, 34, + 429, 825, 54, 426, 35, 474, 12, 14, 373, 469, + 357, 358, -424, 813, 562, 755, 40, 21, 427, 477, + 471, 248, 472, 840, 473, 38, 39, 428, 658, 659, + 814, 822, 33, 34, 429, 801, 816, 879, 35, 474, + 215, 216, 870, 871, 357, 358, 217, 771, 218, 799, + 864, 827, 635, 477, 770, 861, 859, 937, 938, 935, + 209, 821, 805, 807, 809, 812, 934, 764, 1101, 1102, + 765, 936, 24, 78, 426, 335, 1103, 359, 636, 640, + 469, 642, 644, 645, 813, 827, 635, 40, 21, 427, + 648, 471, 650, 472, 651, 473, 653, 654, 428, 637, + 26, 660, 797, 33, 34, 429, 215, 216, 1227, 35, + 474, 1229, 217, 763, 218, 357, 358, 846, 762, 845, + 1228, 844, 1061, 832, 477, 558, 209, 1107, 1108, 1109, + 1110, 1104, 1105, 398, 1101, 1102, 1049, 843, 1050, 1111, + 1106, 830, 1103, 943, 868, 869, 457, 1226, 1158, 219, + 1195, 1193, 1178, 1191, 1092, 918, 827, 635, 31, 1199, + 1189, 1056, 37, 42, 76, 77, 210, 287, 292, 293, 308, 309, 310, 311, 339, 356, 416, 0, -227, -226, - 16, 17, 18, 393, 454, 461, 463, 467, 553, 625, - 1051, 559, 1054, 1106, 1107, 1108, 1109, 1103, 1104, 398, - 907, 1116, 1050, 1026, 564, 1110, 1105, 1025, 1093, 1055, - 0, 1044, 0, 1057, 1056, 219, 1059, 1058, 1075, 0, - 1191, 1176, 1172, 1189, 1090, 1223, 1117, 1171, 600 + 16, 17, 18, 393, 454, 461, 463, 467, 552, 626, + 1052, 558, 1055, 1107, 1108, 1109, 1110, 1104, 1105, 398, + 908, 1117, 1051, 1027, 563, 1111, 1106, 1026, 1094, 1058, + 0, -433, 1045, 0, 1057, 219, 1060, 1059, 1076, 0, + 1192, 1177, 1173, 1190, 1091, 1224, 1118, 1172, 600 ); protected $actionCheck = array( @@ -451,26 +451,26 @@ class Php5 extends \PhpParser\ParserAbstract 50, 51, 156, 156, 115, 116, 56, 156, 58, 156, 156, 156, 157, 124, 156, 156, 156, 156, 156, 156, 70, 156, 156, 156, 156, 156, 156, 156, 78, 79, - 156, 158, 157, 157, 74, 157, 86, 157, 157, 157, + 156, 156, 159, 157, 74, 157, 86, 157, 157, 157, 80, 157, 157, 157, 84, 156, 157, 87, 88, 89, - 157, 91, 157, 93, 157, 95, 157, 157, 98, 158, - 158, 158, 158, 103, 104, 105, 50, 51, 158, 109, + 157, 91, 157, 93, 157, 95, 157, 157, 98, 157, + 159, 158, 158, 103, 104, 105, 50, 51, 158, 109, 110, 158, 56, 158, 58, 115, 116, 158, 158, 158, 158, 158, 158, 158, 124, 135, 70, 137, 138, 139, 140, 141, 142, 143, 78, 79, 158, 158, 158, 149, 150, 158, 86, 158, 158, 158, 158, 158, 164, 159, - 158, 158, 158, 158, 158, -1, 156, 157, 159, 162, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 158, 158, 158, 158, 158, 158, 156, 157, 159, 158, + 158, 163, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, -1, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 135, 160, 137, 138, 139, 140, 141, 142, 143, 160, 160, 160, 160, 160, 149, 150, 160, 160, 163, - -1, 162, -1, 163, 163, 159, 163, 163, 163, -1, + -1, 162, 162, -1, 163, 159, 163, 163, 163, -1, 163, 163, 163, 163, 163, 163, 163, 163, 163 ); protected $actionBase = array( - 0, 229, 310, 390, 470, 103, 325, 325, 784, -2, + 0, 229, 310, 390, 470, 103, 325, 325, 785, -2, -2, 149, -2, -2, -2, 660, 765, 799, 765, 589, 694, 870, 870, 870, 252, 404, 404, 404, 514, 177, 177, 918, 434, 118, 295, 313, 240, 491, 491, 491, @@ -483,9 +483,9 @@ class Php5 extends \PhpParser\ParserAbstract 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, - 491, 491, 491, 491, 491, 491, 89, 206, 773, 550, - 535, 775, 776, 777, 912, 709, 913, 856, 857, 700, - 858, 859, 862, 863, 864, 855, 865, 935, 866, 599, + 491, 491, 491, 491, 491, 491, 89, 206, 775, 550, + 535, 776, 777, 778, 912, 709, 913, 859, 862, 700, + 863, 864, 865, 866, 867, 858, 871, 935, 872, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 322, 592, 285, 319, 232, 44, 691, 691, 691, 691, 691, 691, 691, 182, 182, 182, 182, 182, 182, @@ -504,43 +504,44 @@ class Php5 extends \PhpParser\ParserAbstract 554, 554, 679, -59, -59, 381, 462, 462, 462, 528, 717, 854, 382, 382, 382, 382, 382, 382, 561, 561, 561, -3, -3, -3, 692, 115, 137, 115, 137, 678, - 732, 450, 732, 338, 677, -15, 510, 810, 468, 707, - 850, 711, 853, 572, 735, 267, 529, 654, 674, 463, + 732, 450, 732, 338, 677, -15, 510, 812, 468, 707, + 856, 711, 857, 572, 735, 267, 529, 654, 674, 463, 529, 529, 529, 529, 654, 610, 640, 608, 463, 529, - 463, 718, 323, 496, 89, 570, 507, 675, 778, 293, - 670, 780, 290, 373, 332, 566, 278, 435, 733, 781, + 463, 718, 323, 496, 89, 570, 507, 675, 779, 293, + 670, 781, 290, 373, 332, 566, 278, 435, 733, 784, 914, 917, 385, 715, 675, 675, 675, 352, 511, 278, -8, 605, 605, 605, 605, 156, 605, 605, 605, 605, - 251, 276, 375, 402, 779, 657, 657, 690, 872, 869, - 869, 657, 689, 657, 690, 874, 874, 874, 874, 657, - 657, 657, 657, 869, 869, 869, 688, 869, 239, 703, - 704, 704, 874, 742, 743, 657, 657, 712, 869, 869, - 869, 712, 695, 874, 701, 741, 277, 869, 874, 672, + 251, 276, 375, 402, 780, 657, 657, 690, 869, 783, + 783, 657, 689, 657, 690, 874, 874, 874, 874, 657, + 657, 657, 657, 783, 783, 783, 688, 783, 239, 703, + 704, 704, 874, 742, 743, 657, 657, 712, 783, 783, + 783, 712, 695, 874, 701, 741, 277, 783, 874, 672, 689, 672, 657, 701, 672, 689, 689, 672, 22, 666, - 668, 873, 875, 887, 790, 662, 685, 879, 880, 876, - 878, 871, 699, 744, 745, 497, 669, 671, 673, 680, - 719, 682, 713, 674, 667, 667, 667, 655, 720, 655, - 667, 667, 667, 667, 667, 667, 667, 667, 916, 646, - 731, 714, 653, 749, 553, 573, 791, 664, 811, 900, - 893, 867, 919, 881, 898, 655, 920, 739, 247, 643, - 882, 783, 786, 655, 883, 655, 792, 655, 902, 812, - 686, 813, 814, 667, 910, 921, 923, 924, 925, 927, - 928, 929, 930, 684, 931, 750, 696, 894, 299, 877, - 718, 729, 705, 788, 751, 820, 328, 932, 823, 655, - 655, 794, 785, 655, 795, 756, 740, 890, 757, 895, - 933, 664, 708, 896, 655, 706, 825, 934, 328, 681, - 683, 888, 661, 761, 886, 911, 885, 796, 649, 663, - 829, 830, 831, 693, 763, 891, 892, 889, 764, 803, - 665, 805, 697, 832, 807, 884, 768, 833, 834, 899, - 676, 730, 710, 698, 687, 809, 835, 897, 769, 770, - 771, 848, 772, 849, 0, 0, 0, 0, 0, 0, + 668, 873, 875, 887, 791, 662, 685, 879, 880, 876, + 878, 811, 699, 744, 497, 669, 671, 673, 680, 719, + 682, 713, 674, 667, 667, 667, 655, 720, 655, 667, + 667, 667, 667, 667, 667, 667, 667, 868, 646, 731, + 714, 653, 745, 553, 573, 792, 664, 814, 900, 893, + 919, 920, 881, 898, 655, 916, 739, 247, 643, 882, + 813, 788, 655, 883, 655, 794, 655, 902, 820, 686, + 823, 825, 667, 910, 921, 923, 924, 925, 927, 928, + 929, 930, 684, 931, 749, 696, 894, 299, 877, 718, + 729, 705, 790, 750, 829, 328, 932, 830, 655, 655, + 795, 786, 655, 796, 751, 740, 890, 756, 895, 933, + 664, 708, 896, 655, 706, 831, 934, 328, 681, 683, + 888, 661, 757, 886, 911, 885, 803, 761, 649, 663, + 832, 833, 834, 693, 763, 891, 892, 889, 764, 805, + 665, 807, 768, 697, 835, 809, 884, 769, 848, 849, + 899, 676, 730, 710, 698, 687, 810, 850, 897, 770, + 771, 772, 853, 773, 855, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 138, 138, 138, 138, -2, -2, - -2, -2, 0, 0, -2, 0, 0, 0, 138, 138, + 0, 0, 0, 0, 0, 138, 138, 138, 138, -2, + -2, -2, -2, 0, 0, -2, 0, 0, 0, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, - 138, 138, 138, 138, 0, 0, 138, 138, 138, 138, + 138, 138, 138, 138, 138, 0, 0, 138, 138, 138, + 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, @@ -549,35 +550,34 @@ class Php5 extends \PhpParser\ParserAbstract 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, - 138, 138, 138, 138, 138, 138, 138, 138, 138, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, - 599, 599, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 599, -21, -21, -21, -21, 599, - -21, -21, -21, -21, -21, -21, -21, 599, 599, 599, + 599, 599, 599, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 599, -21, -21, -21, -21, + 599, -21, -21, -21, -21, -21, -21, -21, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, - 599, 599, 599, 599, 599, -21, 599, 599, 599, -21, - 382, -21, 382, 382, 382, 382, 382, 382, 382, 382, + 599, 599, 599, 599, 599, 599, -21, 599, 599, 599, + -21, 382, -21, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, 382, - 382, 382, 382, 382, 382, 382, 599, 0, 0, 599, - -21, 599, -21, 599, -21, -21, 599, 599, 599, 599, - 599, 599, 599, -21, -21, -21, -21, -21, -21, 0, - 561, 561, 561, 561, -21, -21, -21, -21, 382, 382, - 382, 382, 382, 382, 259, 382, 382, 382, 382, 382, - 382, 382, 382, 382, 382, 382, 561, 561, -3, -3, - 382, 382, 382, 382, 382, 259, 382, 382, 463, 689, - 689, 689, 137, 137, 137, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 137, 463, 0, - 463, 0, 382, 463, 689, 463, 657, 137, 689, 689, - 463, 869, 616, 616, 616, 616, 328, 278, 0, 0, - 689, 689, 0, 0, 0, 0, 0, 689, 0, 0, - 0, 0, 0, 0, 869, 0, 0, 0, 0, 0, - 667, 247, 0, 705, 335, 0, 0, 0, 0, 0, - 0, 705, 335, 347, 347, 0, 684, 667, 667, 667, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 328 + 382, 382, 382, 382, 382, 382, 382, 599, 0, 0, + 599, -21, 599, -21, 599, -21, -21, 599, 599, 599, + 599, 599, 599, 599, -21, -21, -21, -21, -21, -21, + 0, 561, 561, 561, 561, -21, -21, -21, -21, 382, + 382, 382, 382, 382, 382, 259, 382, 382, 382, 382, + 382, 382, 382, 382, 382, 382, 382, 561, 561, -3, + -3, 382, 382, 382, 382, 382, 259, 382, 382, 463, + 689, 689, 689, 137, 137, 137, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 137, 463, + 0, 463, 0, 382, 463, 689, 463, 657, 137, 689, + 689, 463, 783, 616, 616, 616, 616, 328, 278, 0, + 0, 689, 689, 0, 0, 0, 0, 0, 689, 0, + 0, 0, 0, 0, 0, 783, 0, 0, 0, 0, + 0, 667, 247, 0, 705, 335, 0, 0, 0, 0, + 0, 0, 705, 335, 347, 347, 0, 684, 667, 667, + 667, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 328 ); protected $actionDefault = array( @@ -629,90 +629,90 @@ class Php5 extends \PhpParser\ParserAbstract 32767, 190, 173,32767, 400, 175, 498,32767,32767, 240, 32767, 240,32767, 400, 240,32767,32767, 240,32767, 415, 439,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767, 379, 380, 493, 506, - 32767, 507,32767, 413, 343, 344, 346, 322,32767, 324, - 369, 370, 371, 372, 373, 374, 375, 377,32767, 419, - 32767, 422,32767,32767,32767, 257,32767, 557,32767,32767, - 306, 557,32767,32767,32767, 551,32767,32767, 300,32767, - 32767,32767,32767, 253,32767, 169,32767, 541,32767, 558, - 32767, 515,32767, 342,32767,32767,32767,32767,32767,32767, - 32767,32767,32767, 516,32767,32767,32767,32767, 229,32767, - 452,32767, 116,32767,32767,32767, 189,32767,32767, 304, - 248,32767,32767, 550,32767,32767,32767,32767,32767,32767, - 32767,32767, 114,32767, 170,32767,32767,32767, 191,32767, - 32767, 515,32767,32767,32767,32767,32767,32767,32767, 295, + 32767,32767,32767,32767,32767, 379, 380, 493, 506,32767, + 507,32767, 413, 343, 344, 346, 322,32767, 324, 369, + 370, 371, 372, 373, 374, 375, 377,32767, 419,32767, + 422,32767,32767,32767, 257,32767, 557,32767,32767, 306, + 557,32767,32767,32767, 551,32767,32767, 300,32767,32767, + 32767,32767, 253,32767, 169,32767, 541,32767, 558,32767, + 515,32767, 342,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 516,32767,32767,32767,32767, 229,32767, 452, + 32767, 116,32767,32767,32767, 189,32767,32767, 304, 248, + 32767,32767, 550,32767,32767,32767,32767,32767,32767,32767, + 32767, 114,32767, 170,32767,32767,32767, 191,32767,32767, + 515,32767,32767,32767,32767,32767,32767,32767,32767, 295, 32767,32767,32767,32767,32767,32767,32767, 515,32767,32767, 233,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 415,32767, 276,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 127, 127, 3, 127, 127, 260, - 3, 260, 127, 260, 260, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 216, 219, 208, 208, 164, - 127, 127, 268 + 32767, 415,32767, 276,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767, 127, 127, 3, 127, 127, + 260, 3, 260, 127, 260, 260, 127, 127, 127, 127, + 127, 127, 127, 127, 127, 127, 216, 219, 208, 208, + 164, 127, 127, 268 ); protected $goto = array( 166, 140, 140, 140, 166, 187, 168, 144, 147, 141, 142, 143, 149, 163, 163, 163, 163, 144, 144, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, - 138, 159, 160, 161, 162, 184, 139, 185, 494, 495, - 377, 496, 500, 501, 502, 503, 504, 505, 506, 507, - 970, 164, 145, 146, 148, 171, 176, 186, 203, 253, + 138, 159, 160, 161, 162, 184, 139, 185, 493, 494, + 377, 495, 499, 500, 501, 502, 503, 504, 505, 506, + 971, 164, 145, 146, 148, 171, 176, 186, 203, 253, 256, 258, 260, 263, 264, 265, 266, 267, 268, 269, 277, 278, 279, 280, 303, 304, 328, 329, 330, 394, - 395, 396, 543, 188, 189, 190, 191, 192, 193, 194, + 395, 396, 542, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 150, 151, 152, 167, 153, 169, 154, 204, 170, 155, 156, 157, 205, - 158, 136, 621, 561, 757, 561, 561, 561, 561, 561, - 561, 561, 561, 561, 561, 561, 561, 561, 561, 561, - 561, 561, 561, 561, 561, 561, 561, 561, 561, 561, - 561, 561, 561, 561, 561, 561, 561, 561, 561, 561, - 561, 561, 561, 561, 561, 561, 561, 561, 561, 1113, - 629, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, - 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, - 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, - 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, - 1113, 1113, 1113, 1113, 1113, 758, 520, 531, 509, 656, - 556, 1183, 750, 509, 592, 786, 1183, 888, 612, 613, - 884, 617, 618, 624, 626, 631, 633, 817, 855, 855, - 855, 855, 850, 856, 174, 891, 891, 1205, 1205, 177, + 158, 136, 622, 560, 758, 560, 560, 560, 560, 560, + 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, + 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, + 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, + 560, 560, 560, 560, 560, 560, 560, 560, 560, 1114, + 630, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 759, 519, 530, 508, 657, + 555, 1184, 350, 508, 591, 787, 1184, 889, 613, 614, + 885, 618, 619, 625, 627, 632, 634, 751, 856, 856, + 856, 856, 851, 857, 174, 892, 892, 1206, 1206, 177, 178, 179, 401, 402, 403, 404, 173, 202, 206, 208, 257, 259, 261, 262, 270, 271, 272, 273, 274, 275, 281, 282, 283, 284, 305, 306, 331, 332, 333, 406, 407, 408, 409, 175, 180, 254, 255, 181, 182, 183, - 498, 498, 498, 498, 498, 498, 861, 498, 498, 498, - 498, 498, 498, 498, 498, 498, 498, 510, 586, 538, - 601, 602, 510, 545, 546, 547, 548, 549, 550, 551, - 552, 554, 587, 1209, 560, 350, 560, 560, 560, 560, - 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, - 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, - 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, - 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, - 400, 607, 537, 537, 569, 533, 909, 535, 535, 497, - 499, 525, 541, 570, 573, 584, 591, 298, 296, 296, - 296, 298, 289, 299, 611, 378, 511, 614, 595, 947, - 375, 511, 437, 437, 437, 437, 437, 437, 1163, 437, - 437, 437, 437, 437, 437, 437, 437, 437, 437, 1077, - 948, 338, 1175, 321, 1077, 898, 898, 898, 898, 606, - 898, 898, 1217, 1217, 1202, 753, 576, 605, 756, 1077, - 1077, 1077, 1077, 1077, 1077, 1069, 384, 384, 384, 391, - 1217, 877, 859, 857, 859, 655, 466, 512, 886, 881, - 753, 384, 753, 384, 968, 384, 895, 385, 588, 353, - 414, 384, 1231, 1019, 542, 1197, 1197, 1197, 568, 1094, - 386, 386, 386, 904, 915, 515, 1029, 19, 15, 372, - 389, 915, 940, 448, 450, 632, 340, 1216, 1216, 1114, - 615, 938, 840, 555, 775, 386, 913, 1070, 1073, 1074, - 399, 1069, 1182, 660, 23, 1216, 773, 1182, 544, 603, - 1066, 1219, 1071, 1174, 1071, 519, 1199, 1199, 1199, 1089, - 1088, 1072, 343, 523, 534, 519, 519, 772, 351, 352, - 13, 579, 583, 627, 1061, 388, 782, 562, 771, 515, - 783, 1181, 3, 4, 918, 956, 865, 451, 574, 1160, + 497, 497, 497, 497, 497, 497, 818, 497, 497, 497, + 497, 497, 497, 497, 497, 497, 497, 509, 585, 862, + 601, 602, 509, 544, 545, 546, 547, 548, 549, 550, + 551, 553, 586, 338, 559, 321, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 559, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 559, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 559, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 559, 559, 559, 559, 559, + 400, 607, 536, 536, 568, 532, 537, 534, 534, 496, + 498, 524, 540, 569, 572, 583, 590, 298, 296, 296, + 296, 298, 289, 299, 611, 1210, 510, 615, 910, 948, + 375, 510, 437, 437, 437, 437, 437, 437, 594, 437, + 437, 437, 437, 437, 437, 437, 437, 437, 437, 1078, + 949, 388, 1176, 561, 1078, 899, 899, 899, 899, 378, + 899, 899, 1218, 1218, 1164, 754, 351, 352, 757, 1078, + 1078, 1078, 1078, 1078, 1078, 1070, 384, 384, 384, 606, + 1218, 878, 860, 858, 860, 656, 466, 511, 887, 882, + 754, 384, 754, 384, 969, 384, 391, 385, 587, 353, + 414, 384, 1232, 1203, 541, 1198, 1198, 1198, 567, 1095, + 386, 386, 386, 1020, 916, 514, 1030, 19, 15, 372, + 776, 916, 941, 448, 450, 633, 896, 1217, 1217, 1115, + 616, 939, 841, 554, 905, 386, 340, 1071, 1074, 1075, + 399, 1070, 1183, 914, 23, 1217, 774, 1183, 543, 603, + 389, 1220, 1072, 1175, 1072, 518, 1200, 1200, 1200, 575, + 605, 1073, 343, 522, 533, 518, 518, 773, 1090, 1089, + 13, 578, 582, 628, 3, 4, 783, 1067, 772, 514, + 1062, 1182, 784, 661, 919, 451, 866, 573, 957, 1161, 464, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 514, 529, 0, 0, 0, 0, - 514, 0, 529, 0, 0, 0, 0, 610, 513, 516, - 439, 440, 1067, 619, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 780, 1224, 0, 0, 0, 0, - 0, 524, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 778, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 513, 528, 0, 0, 0, 0, + 513, 0, 528, 0, 0, 0, 0, 610, 512, 515, + 439, 440, 1068, 620, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 781, 1225, 0, 0, 0, 0, + 0, 523, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 779, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 301, 301 ); @@ -739,40 +739,40 @@ class Php5 extends \PhpParser\ParserAbstract 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 16, 102, 32, 69, 32, - 32, 120, 6, 69, 32, 29, 120, 32, 32, 32, - 32, 32, 32, 32, 32, 32, 32, 50, 69, 69, + 32, 120, 72, 69, 32, 29, 120, 32, 32, 32, + 32, 32, 32, 32, 32, 32, 32, 6, 69, 69, 69, 69, 69, 69, 27, 77, 77, 77, 77, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 119, 119, 119, 119, 119, 119, 33, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 67, 110, + 119, 119, 119, 119, 119, 119, 50, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 67, 33, 67, 67, 119, 111, 111, 111, 111, 111, 111, 111, - 111, 111, 111, 142, 57, 72, 57, 57, 57, 57, + 111, 111, 111, 127, 57, 127, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 51, 51, 51, 51, 51, 51, 84, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 110, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 5, 5, 5, - 5, 5, 5, 5, 63, 46, 124, 63, 129, 98, - 63, 124, 57, 57, 57, 57, 57, 57, 133, 57, + 5, 5, 5, 5, 63, 142, 124, 63, 84, 98, + 63, 124, 57, 57, 57, 57, 57, 57, 129, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 98, 127, 82, 127, 57, 57, 57, 57, 57, 49, - 57, 57, 144, 144, 140, 11, 40, 40, 14, 57, - 57, 57, 57, 57, 57, 82, 13, 13, 13, 48, + 98, 12, 82, 12, 57, 57, 57, 57, 57, 46, + 57, 57, 144, 144, 133, 11, 72, 72, 14, 57, + 57, 57, 57, 57, 57, 82, 13, 13, 13, 49, 144, 14, 14, 14, 14, 14, 57, 14, 14, 14, - 11, 13, 11, 13, 102, 13, 79, 11, 70, 70, - 70, 13, 13, 103, 2, 9, 9, 9, 2, 34, - 125, 125, 125, 81, 13, 13, 34, 34, 34, 34, - 17, 13, 8, 8, 8, 8, 18, 143, 143, 8, - 8, 8, 9, 34, 25, 125, 85, 82, 82, 82, - 125, 82, 121, 74, 34, 143, 24, 121, 47, 34, - 116, 143, 82, 82, 82, 47, 121, 121, 121, 126, - 126, 82, 58, 58, 58, 47, 47, 23, 72, 72, - 58, 62, 62, 62, 114, 12, 23, 12, 23, 13, - 26, 121, 30, 30, 86, 100, 71, 65, 66, 132, + 11, 13, 11, 13, 102, 13, 48, 11, 70, 70, + 70, 13, 13, 140, 2, 9, 9, 9, 2, 34, + 125, 125, 125, 103, 13, 13, 34, 34, 34, 34, + 25, 13, 8, 8, 8, 8, 79, 143, 143, 8, + 8, 8, 9, 34, 81, 125, 18, 82, 82, 82, + 125, 82, 121, 85, 34, 143, 24, 121, 47, 34, + 17, 143, 82, 82, 82, 47, 121, 121, 121, 40, + 40, 82, 58, 58, 58, 47, 47, 23, 126, 126, + 58, 62, 62, 62, 30, 30, 23, 116, 23, 13, + 114, 121, 26, 74, 86, 65, 71, 66, 100, 132, 109, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 9, 9, -1, -1, -1, -1, 9, -1, 9, -1, -1, -1, -1, 13, 9, 9, @@ -785,39 +785,39 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $gotoBase = array( - 0, 0, -172, 0, 0, 353, 201, 0, 477, 149, - 0, 110, 195, 117, 426, 112, 203, 140, 171, 0, - 0, 0, 0, 168, 164, 157, 119, 27, 0, 205, - -118, 0, -428, 266, 51, 0, 0, 0, 0, 0, - 388, 0, 0, -24, 0, 0, 345, 484, 146, 133, - 209, 75, 0, 0, 0, 0, 0, 107, 161, 0, - 0, 0, 222, -77, 0, 106, 97, -343, 0, -94, - 135, 123, -129, 0, 129, 0, 0, -50, 0, 143, - 0, 159, 64, 0, 338, 132, 122, 0, 0, 0, + 0, 0, -173, 0, 0, 353, 216, 0, 477, 149, + 0, 110, 71, 117, 426, 112, 203, 170, 181, 0, + 0, 0, 0, 168, 164, 143, 121, 27, 0, 205, + -127, 0, -429, 279, 51, 0, 0, 0, 0, 0, + 481, 0, 0, -24, 0, 0, 379, 484, 163, 153, + 268, 75, 0, 0, 0, 0, 0, 107, 161, 0, + 0, 0, 222, -77, 0, 104, 96, -344, 0, -94, + 135, 123, -232, 0, 169, 0, 0, -50, 0, 173, + 0, 180, 64, 0, 360, 139, 122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 0, - 121, 0, 165, 156, 0, 0, 0, 0, 0, 87, - 273, 259, 0, 0, 114, 0, 150, 0, 0, -5, - -91, 200, 0, 0, 84, 154, 202, 77, -48, 178, - 0, 0, 93, 187, 0, 0, 0, 0, 0, 0, - 136, 0, 286, 167, 102, 0, 0 + 124, 0, 165, 166, 0, 0, 0, 0, 0, 87, + 340, 259, 0, 0, 120, 0, 177, 0, 0, -5, + -91, 200, 0, 0, 84, 154, 211, -21, -48, 188, + 0, 0, 93, 213, 0, 0, 0, 0, 0, 0, + 175, 0, 358, 167, 102, 0, 0 ); protected $gotoDefault = array( - -32768, 468, 664, 2, 665, 835, 740, 748, 598, 482, - 630, 582, 380, 1193, 792, 793, 794, 381, 368, 483, - 379, 410, 405, 781, 774, 776, 784, 172, 411, 787, - 1, 789, 518, 825, 1020, 365, 797, 366, 590, 799, - 527, 801, 802, 137, 382, 383, 528, 484, 390, 577, - 816, 276, 387, 818, 367, 819, 828, 371, 465, 455, - 460, 530, 557, 609, 432, 447, 571, 565, 536, 1086, - 566, 864, 349, 872, 661, 880, 883, 485, 558, 894, - 452, 902, 1099, 397, 908, 914, 919, 291, 922, 417, - 412, 585, 927, 928, 5, 932, 622, 623, 8, 312, - 955, 599, 969, 420, 1039, 1041, 486, 487, 522, 459, - 508, 526, 488, 1062, 441, 413, 1065, 433, 489, 490, - 434, 435, 1083, 355, 1168, 354, 449, 320, 1155, 580, - 1118, 456, 1208, 1164, 348, 491, 492, 376, 1187, 392, - 1203, 438, 1210, 1218, 344, 540, 567 + -32768, 468, 665, 2, 666, 836, 741, 749, 598, 482, + 631, 581, 380, 1194, 793, 794, 795, 381, 368, 766, + 379, 410, 405, 782, 775, 777, 785, 172, 411, 788, + 1, 790, 517, 826, 1021, 365, 798, 366, 589, 800, + 526, 802, 803, 137, 382, 383, 527, 483, 390, 576, + 817, 276, 387, 819, 367, 820, 829, 371, 465, 455, + 460, 529, 556, 609, 432, 447, 570, 564, 535, 1087, + 565, 865, 349, 873, 662, 881, 884, 484, 557, 895, + 452, 903, 1100, 397, 909, 915, 920, 291, 923, 417, + 412, 584, 928, 929, 5, 933, 623, 624, 8, 312, + 956, 599, 970, 420, 1040, 1042, 485, 486, 521, 459, + 507, 525, 487, 1063, 441, 413, 1066, 433, 488, 489, + 434, 435, 1084, 355, 1169, 354, 449, 320, 1156, 579, + 1119, 456, 1209, 1165, 348, 490, 491, 376, 1188, 392, + 1204, 438, 1211, 1219, 344, 539, 566 ); protected $ruleToNonTerminal = array( @@ -891,7 +891,7 @@ class Php5 extends \PhpParser\ParserAbstract 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 5, 4, - 3, 4, 2, 3, 1, 1, 7, 6, 3, 1, + 3, 4, 1, 3, 1, 1, 8, 7, 3, 1, 3, 1, 3, 1, 1, 3, 1, 3, 1, 2, 3, 1, 3, 3, 1, 3, 2, 0, 1, 1, 1, 1, 1, 3, 5, 8, 3, 5, 9, 3, @@ -1256,7 +1256,7 @@ protected function initReduceCallbacks() { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 102 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 103 => function ($stackPos) { $this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); @@ -1268,10 +1268,10 @@ protected function initReduceCallbacks() { $this->semValue = Stmt\Use_::TYPE_CONSTANT; }, 106 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-6)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, 107 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(7-2)], $this->semStack[$stackPos-(7-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, 108 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; diff --git a/lib/PhpParser/Parser/Php7.php b/lib/PhpParser/Parser/Php7.php index 6d2b4b0f9c..d41bb83695 100644 --- a/lib/PhpParser/Parser/Php7.php +++ b/lib/PhpParser/Parser/Php7.php @@ -26,8 +26,8 @@ class Php7 extends \PhpParser\ParserAbstract protected $defaultAction = -32766; protected $unexpectedTokenRule = 32767; - protected $YY2TBLSTATE = 434; - protected $numNonLeafStates = 736; + protected $YY2TBLSTATE = 435; + protected $numNonLeafStates = 737; protected $symbolToName = array( "EOF", @@ -244,130 +244,130 @@ class Php7 extends \PhpParser\ParserAbstract ); protected $action = array( - 133, 134, 135, 579, 136, 137, 0, 748, 749, 750, + 133, 134, 135, 580, 136, 137, 0, 749, 750, 751, 138, 38, 327,-32766,-32766,-32766,-32766,-32766,-32766,-32767, - -32767,-32767,-32767, 102, 103, 104, 105, 106, 1109, 1110, - 1111, 1108, 1107, 1106, 1112, 742, 741,-32766, 1232,-32766, + -32767,-32767,-32767, 102, 103, 104, 105, 106, 1110, 1111, + 1112, 1109, 1108, 1107, 1113, 743, 742,-32766, 1233,-32766, -32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767, - -32767, 2, 107, 108, 109, 751, 274, 381, 380,-32766, - -32766,-32766,-32766, 104, 105, 106, 1024, 422, 110, 265, - 139, 403, 755, 756, 757, 758, 466, 467, 428, 938, - 291,-32766, 287,-32766,-32766, 759, 760, 761, 762, 763, - 764, 765, 766, 767, 768, 769, 789, 580, 790, 791, - 792, 793, 781, 782, 344, 345, 784, 785, 770, 771, - 772, 774, 775, 776, 355, 816, 817, 818, 819, 820, - 581, 777, 778, 582, 583, 810, 801, 799, 800, 813, - 796, 797, 687, -545, 584, 585, 795, 586, 587, 588, - 589, 590, 591, -328, -593, -367, 1234, -367, 798, 592, - 593, -593, 140,-32766,-32766,-32766, 133, 134, 135, 579, - 136, 137, 1057, 748, 749, 750, 138, 38, 688, 1020, - 1019, 1018, 1021, 390,-32766, 7,-32766,-32766,-32766,-32766, - -32766,-32766,-32766,-32766,-32766,-32766, 379, 380, 1033, 689, - 690, 742, 741,-32766,-32766,-32766, 422, -545, -545, -590, - -32766,-32766,-32766, 1032,-32766, 127, -590, 1236, 1235, 1237, - 1318, 751, -545, 290,-32766, 283,-32766,-32766,-32766,-32766, - -32766, 1236, 1235, 1237, -545, 265, 139, 403, 755, 756, - 757, 758, 16, 481, 428, 458, 459, 460, 298, 722, - 35, 759, 760, 761, 762, 763, 764, 765, 766, 767, - 768, 769, 789, 580, 790, 791, 792, 793, 781, 782, - 344, 345, 784, 785, 770, 771, 772, 774, 775, 776, - 355, 816, 817, 818, 819, 820, 581, 777, 778, 582, - 583, 810, 801, 799, 800, 813, 796, 797, 129, 824, - 584, 585, 795, 586, 587, 588, 589, 590, 591, -328, - 83, 84, 85, -593, 798, 592, 593, -593, 149, 773, - 743, 744, 745, 746, 747, 824, 748, 749, 750, 786, - 787, 37, 145, 86, 87, 88, 89, 90, 91, 92, + -32767, 2, 107, 108, 109, 752, 274, 381, 380,-32766, + -32766,-32766,-32766, 104, 105, 106, 1025, 423, 110, 265, + 139, 402, 756, 757, 758, 759, 467, 468, 429, 939, + 291,-32766, 287,-32766,-32766, 760, 761, 762, 763, 764, + 765, 766, 767, 768, 769, 770, 790, 581, 791, 792, + 793, 794, 782, 783, 344, 345, 785, 786, 771, 772, + 773, 775, 776, 777, 355, 817, 818, 819, 820, 821, + 582, 778, 779, 583, 584, 811, 802, 800, 801, 814, + 797, 798, 688, -545, 585, 586, 796, 587, 588, 589, + 590, 591, 592, -328, -593, -367, 1235, -367, 799, 593, + 594, -593, 140,-32766,-32766,-32766, 133, 134, 135, 580, + 136, 137, 1058, 749, 750, 751, 138, 38, 689, 1021, + 1020, 1019, 1022, 390,-32766, 7,-32766,-32766,-32766,-32766, + -32766,-32766,-32766,-32766,-32766,-32766, 379, 380, 1034, 690, + 691, 743, 742,-32766,-32766,-32766, 423, -545, -545, -590, + -32766,-32766,-32766, 1033,-32766, 127, -590, 1237, 1236, 1238, + 1319, 752, -545, 290,-32766, 283,-32766,-32766,-32766,-32766, + -32766, 1237, 1236, 1238, -545, 265, 139, 402, 756, 757, + 758, 759, 16, 482, 429, 459, 460, 461, 298, 723, + 35, 760, 761, 762, 763, 764, 765, 766, 767, 768, + 769, 770, 790, 581, 791, 792, 793, 794, 782, 783, + 344, 345, 785, 786, 771, 772, 773, 775, 776, 777, + 355, 817, 818, 819, 820, 821, 582, 778, 779, 583, + 584, 811, 802, 800, 801, 814, 797, 798, 129, 825, + 585, 586, 796, 587, 588, 589, 590, 591, 592, -328, + 83, 84, 85, -593, 799, 593, 594, -593, 149, 774, + 744, 745, 746, 747, 748, 825, 749, 750, 751, 787, + 788, 37, 145, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 291, 274, 835, - 254, 1109, 1110, 1111, 1108, 1107, 1106, 1112, -590, 860, - 110, 861, -590, 482, 751,-32766,-32766,-32766,-32766,-32766, - 142, 603, 1085, 742, 741, 1262, 326, 987, 752, 753, - 754, 755, 756, 757, 758, 309,-32766, 822,-32766,-32766, - -32766,-32766, 242, 553, 759, 760, 761, 762, 763, 764, - 765, 766, 767, 768, 769, 789, 812, 790, 791, 792, - 793, 781, 782, 783, 811, 784, 785, 770, 771, 772, - 774, 775, 776, 815, 816, 817, 818, 819, 820, 821, - 777, 778, 779, 780, 810, 801, 799, 800, 813, 796, - 797, 311, 940, 788, 794, 795, 802, 803, 805, 804, - 806, 807, 323, 609, 1274, 1033, 833, 798, 809, 808, - 50, 51, 52, 512, 53, 54, 860, 241, 861, 918, - 55, 56, -111, 57,-32766,-32766,-32766, -111, 826, -111, - 290, 1302, 1347, 356, 305, 1348, 339, -111, -111, -111, + 103, 104, 105, 106, 107, 108, 109, 291, 274, 836, + 254, 1110, 1111, 1112, 1109, 1108, 1107, 1113, -590, 861, + 110, 862, -590, 483, 752,-32766,-32766,-32766,-32766,-32766, + 142, 604, 1086, 743, 742, 1263, 326, 988, 753, 754, + 755, 756, 757, 758, 759, 309,-32766, 823,-32766,-32766, + -32766,-32766, 242, 554, 760, 761, 762, 763, 764, 765, + 766, 767, 768, 769, 770, 790, 813, 791, 792, 793, + 794, 782, 783, 784, 812, 785, 786, 771, 772, 773, + 775, 776, 777, 816, 817, 818, 819, 820, 821, 822, + 778, 779, 780, 781, 811, 802, 800, 801, 814, 797, + 798, 311, 941, 789, 795, 796, 803, 804, 806, 805, + 807, 808, 323, 610, 1275, 1034, 834, 799, 810, 809, + 50, 51, 52, 513, 53, 54, 861, 241, 862, 919, + 55, 56, -111, 57,-32766,-32766,-32766, -111, 827, -111, + 290, 1303, 1348, 356, 305, 1349, 339, -111, -111, -111, -111, -111, -111, -111, -111,-32766, -194,-32766,-32766,-32766, - -193, 956, 957, 829, -86, 988, 958, 834, 58, 59, - 340, 428, 952, -544, 60, 832, 61, 247, 248, 62, - 63, 64, 65, 66, 67, 68, 69, 1241, 28, 267, - 70, 444, 513, -342,-32766, 141, 1268, 1269, 514, 918, - 833, 326, -272, 918, 1266, 42, 25, 515, 940, 516, - 14, 517, 908, 518, 828, 369, 519, 520, 373, 709, - 1033, 44, 45, 445, 376, 375, 388, 46, 521, 712, - -86, 440, 1101, 367, 338, -543, 441, -544, -544, 830, - 1227, 442, 523, 524, 525, 290, 1236, 1235, 1237, 361, - 1030, 443, -544, 1087, 526, 527, 839, 1255, 1256, 1257, - 1258, 1252, 1253, 297, -544, 151, -550, -584, 833, 1259, - 1254, -584, 1033, 1236, 1235, 1237, 298, -154, -154, -154, - 152, 71, 908, 321, 322, 326, 908, 920, 1030, 707, - 833, 154, -154, 1337, -154, 155, -154, 283, -154, -543, - -543, 82, 1232, 1086, 1322, 734, 156, 326, 374, 158, - 1033, 1321, -194, -79, -543, -88, -193, 742, 741, 956, - 957, 653, 26,-32766, 522, -51, -543, 33, -549, 894, - 952, -111, -111, -111, 32, 111, 112, 113, 114, 115, + -193, 957, 958, 830, -86, 989, 959, 835, 58, 59, + 340, 429, 953, -544, 60, 833, 61, 247, 248, 62, + 63, 64, 65, 66, 67, 68, 69, 1242, 28, 267, + 70, 445, 514, -342,-32766, 141, 1269, 1270, 515, 919, + 834, 326, -272, 919, 1267, 42, 25, 516, 941, 517, + 14, 518, 909, 519, 829, 369, 520, 521, 373, 710, + 1034, 44, 45, 446, 376, 375, 388, 46, 522, 713, + -86, 441, 1102, 367, 338, -543, 442, -544, -544, 831, + 1228, 443, 524, 525, 526, 290, 1237, 1236, 1238, 361, + 1031, 444, -544, 1088, 527, 528, 840, 1256, 1257, 1258, + 1259, 1253, 1254, 297, -544, 151, -550, -584, 834, 1260, + 1255, -584, 1034, 1237, 1236, 1238, 298, -154, -154, -154, + 152, 71, 909, 321, 322, 326, 909, 921, 1031, 708, + 834, 154, -154, 1338, -154, 155, -154, 283, -154, -543, + -543, 82, 1233, 1087, 1323, 735, 156, 326, 374, 158, + 1034, 1322, -194, -79, -543, -88, -193, 743, 742, 957, + 958, 654, 26,-32766, 523, -51, -543, 33, -549, 895, + 953, -111, -111, -111, 32, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, -59, 75, - 28, 672, 673, 326, -58, 36, 250, 920, 124, 707, - 125, 920, 833, 707, -154, 130, 1266, 131,-32766, -547, - 144, -542, 150, 406, 1234, 377, 378, 1146, 1148, 382, - 383,-32766,-32766,-32766, -85,-32766, 1056,-32766, -542,-32766, - 644, 645,-32766, 159, 160, 161, 1232,-32766,-32766,-32766, - 162, -79, 1227,-32766,-32766, 742, 741, 163, -302,-32766, - 419, -75, -4, 918, -73, 287, 526, 527,-32766, 1255, - 1256, 1257, 1258, 1252, 1253, -72, -71, -70, -69, -68, - -67, 1259, 1254, -547, -547, -542, -542, 742, 741, -66, - -47, -18,-32766, 73, 148, 918, 322, 326, 1234, 273, - -542, 284, -542, -542, 723,-32766,-32766,-32766, 726,-32766, - -547,-32766, -542,-32766, 917, 147,-32766, -542, 288, 289, - -298,-32766,-32766,-32766,-32766, 713, 279,-32766,-32766, -542, - 1234, 280, 285,-32766, 419, 48, 286,-32766,-32766,-32766, - 332,-32766,-32766,-32766, 292,-32766, 908, 293,-32766, 934, - 274, 1030, 918,-32766,-32766,-32766, 110, 682, 132,-32766, - -32766, 833, 146,-32766, 559,-32766, 419, 659, 374, 824, - 435, 1349, 74, 1033,-32766, 296, 654, 1116, 908, 956, - 957, 306, 714, 698, 522, 555, 303, 13, 310, 852, - 952, -111, -111, -111, 700, 463, 492, 953, 283, 299, - 300,-32766, 49, 675, 918, 304, 660, 1234, 676, 936, - 1273,-32766, 10, 1263,-32766,-32766,-32766, 642,-32766, 918, - -32766, 920,-32766, 707, -4,-32766, 126, 34, 918, 565, - -32766,-32766,-32766,-32766, 0, 908,-32766,-32766, 0, 1234, - 918, 0,-32766, 419, 0, 0,-32766,-32766,-32766, 717, - -32766,-32766,-32766, 920,-32766, 707, 1033,-32766, 724, 1275, - 0, 487,-32766,-32766,-32766,-32766, 301, 302,-32766,-32766, - -507, 1234, 571, -497,-32766, 419, 607, 8,-32766,-32766, - -32766, 372,-32766,-32766,-32766, 17,-32766, 908, 371,-32766, - 832, 298, 320, 128,-32766,-32766,-32766, 40, 370, 41, - -32766,-32766, 908, -250, -250, -250,-32766, 419, 731, 374, - 973, 908, 707, 732, 899,-32766, 997, 974, 728, 981, - 956, 957, 971, 908, 982, 522, 897, 969, 1090, 1093, - 894, 952, -111, -111, -111, 28, 1094, 1091, 1092, -249, - -249, -249, 1241, 1098, 708, 374, 844, 833, 1288, 1306, - 1340, 1266, 647, 1267, 711, 715, 956, 957, 716, 1241, - 718, 522, 920, 719, 707, -250, 894, 952, -111, -111, - -111, 720, -16, 721, 725, 710, -511, 920, 895, 707, - -578, 1232, 1344, 1346, 855, 854, 920, 1227, 707, -577, - 863, 946, 989, 862, 1345, 945, 943, 944, 920, 947, - 707, -249, 527, 1218, 1255, 1256, 1257, 1258, 1252, 1253, - 927, 937, 925, 979, 980, 631, 1259, 1254, 1343, 1300, - -32766, 1289, 1307, 833, 1316, -275, 1234, -576, 73, -550, + 28, 673, 674, 326, -58, 36, 250, 921, 124, 708, + 125, 921, 834, 708, -154, 130, 1267, 131,-32766, -547, + 144, -542, 150, 406, 1235, 377, 378, 1147, 1149, 382, + 383,-32766,-32766,-32766, -85,-32766, 1057,-32766, -542,-32766, + 645, 646,-32766, 159, 160, 161, 1233,-32766,-32766,-32766, + 162, -79, 1228,-32766,-32766, 743, 742, 163, -302,-32766, + 420, -75, -4, 919, -73, 287, 527, 528,-32766, 1256, + 1257, 1258, 1259, 1253, 1254, -72, -71, -70, -69, -68, + -67, 1260, 1255, -547, -547, -542, -542, 743, 742, -66, + -47, -18,-32766, 73, 148, 919, 322, 326, 1235, 273, + -542, 284, -542, -542, 724,-32766,-32766,-32766, 727,-32766, + -547,-32766, -542,-32766, 918, 147,-32766, -542, 288, 289, + -298,-32766,-32766,-32766,-32766, 714, 279,-32766,-32766, -542, + 1235, 280, 285,-32766, 420, 48, 286,-32766,-32766,-32766, + 332,-32766,-32766,-32766, 292,-32766, 909, 293,-32766, 935, + 274, 1031, 919,-32766,-32766,-32766, 110, 683, 132,-32766, + -32766, 834, 146,-32766, 560,-32766, 420, 660, 374, 825, + 436, 1350, 74, 1034,-32766, 296, 655, 1117, 909, 957, + 958, 306, 715, 699, 523, 556, 303, 13, 310, 853, + 953, -111, -111, -111, 701, 464, 493, 954, 283, 299, + 300,-32766, 49, 676, 919, 304, 661, 1235, 677, 937, + 1274,-32766, 10, 1264,-32766,-32766,-32766, 643,-32766, 919, + -32766, 921,-32766, 708, -4,-32766, 126, 34, 919, 566, + -32766,-32766,-32766,-32766, 0, 909,-32766,-32766, 0, 1235, + 919, 0,-32766, 420, 0, 0,-32766,-32766,-32766, 718, + -32766,-32766,-32766, 921,-32766, 708, 1034,-32766, 725, 1276, + 0, 488,-32766,-32766,-32766,-32766, 301, 302,-32766,-32766, + -507, 1235, 572, -497,-32766, 420, 608, 8,-32766,-32766, + -32766, 372,-32766,-32766,-32766, 17,-32766, 909, 371,-32766, + 833, 298, 320, 128,-32766,-32766,-32766, 40, 370, 41, + -32766,-32766, 909, -250, -250, -250,-32766, 420, 732, 374, + 974, 909, 708, 733, 900,-32766, 998, 975, 405, 982, + 957, 958, 972, 909, 983, 523, 898, 970, 1091, 1094, + 895, 953, -111, -111, -111, 28, 1095, 1092, 1093, -249, + -249, -249, 1242, 1099, 709, 374, 845, 834, 1289, 1307, + 1341, 1267, 648, 1268, 712, 716, 957, 958, 717, 1242, + 719, 523, 921, 720, 708, -250, 895, 953, -111, -111, + -111, 721, -16, 722, 726, 711, -511, 921, 409, 708, + -578, 1233, 729, 896, 1345, 1347, 921, 1228, 708, -577, + 856, 855, 947, 990, 1346, 946, 944, 945, 921, 948, + 708, -249, 528, 1219, 1256, 1257, 1258, 1259, 1253, 1254, + 928, 938, 926, 980, 981, 632, 1260, 1255, 1344, 1301, + -32766, 1290, 1308, 834, 1317, -275, 1235, -576, 73, -550, -549, 322, 326,-32766,-32766,-32766, -548,-32766, -491,-32766, - 833,-32766, 1, 29,-32766, 30, 39, 43, 47,-32766, - -32766,-32766, 72, 76, 77,-32766,-32766, 1232, -111, -111, - 78,-32766, 419, -111, 79, 80, 81, 143, 153, -111, - -32766, 157, 246, 328, 1232, -111, -111, 356,-32766, 357, + 834,-32766, 1, 29,-32766, 30, 39, 43, 47,-32766, + -32766,-32766, 72, 76, 77,-32766,-32766, 1233, -111, -111, + 78,-32766, 420, -111, 79, 80, 81, 143, 153, -111, + -32766, 157, 246, 328, 1233, -111, -111, 356,-32766, 357, -111, 358, 359, 360, 361, 362, -111, 363, 364, 365, - 366, 368, 436, 0, -273,-32766, -272, 19, 20, 298, - 21, 22, 24, 405, 75, 1203, 483, 484, 326, 491, - 0, 494, 495, 496, 497, 501, 298, 502, 503, 510, - 693, 75, 0, 1245, 1186, 326, 1264, 1059, 1058, 1039, - 1222, 1035, -277, -103, 18, 23, 27, 295, 404, 600, - 604, 633, 699, 1190, 1240, 1187, 1319, 0, 0, 0, + 366, 368, 437, 0, -273,-32766, -272, 19, 20, 298, + 21, 22, 24, 404, 75, 1204, 484, 485, 326, 492, + 0, 495, 496, 497, 498, 502, 298, 503, 504, 511, + 694, 75, 0, 1246, 1187, 326, 1265, 1060, 1059, 1040, + 1223, 1036, -277, -103, 18, 23, 27, 295, 403, 601, + 605, 634, 700, 1191, 1241, 1188, 1320, 0, 0, 0, 326 ); @@ -539,43 +539,43 @@ class Php7 extends \PhpParser\ParserAbstract 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1073, 336, 1059, 423, 1073, 1073, 1073, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 619, 423, 586, 616, 423, 795, - 336, 348, 814, 348, 348, 348, 348, 348, 348, 348, - 348, 348, 348, 750, 202, 348, 346, 78, 78, 484, - 65, 78, 78, 78, 78, 348, 348, 348, 348, 609, - 783, 766, 613, 813, 492, 783, 783, 783, 473, 135, - 378, 488, 713, 775, 67, 779, 779, 785, 969, 969, - 779, 769, 779, 785, 975, 779, 779, 969, 969, 823, - 280, 563, 478, 550, 568, 969, 377, 779, 779, 779, - 779, 746, 573, 779, 342, 314, 779, 779, 746, 744, - 760, 43, 762, 969, 969, 969, 746, 547, 762, 762, - 762, 839, 844, 794, 758, 444, 433, 588, 232, 801, - 758, 758, 779, 558, 794, 758, 794, 758, 745, 758, - 758, 758, 794, 758, 769, 502, 758, 717, 583, 224, - 758, 6, 979, 980, 624, 981, 973, 987, 1019, 991, - 992, 873, 965, 999, 974, 993, 972, 970, 773, 682, - 684, 818, 811, 963, 777, 777, 777, 956, 777, 777, - 777, 777, 777, 777, 777, 777, 682, 743, 829, 765, - 1006, 689, 691, 754, 906, 901, 1030, 1004, 1049, 994, - 828, 694, 1028, 1008, 846, 821, 1009, 1010, 1029, 1050, - 1052, 910, 782, 911, 912, 876, 1012, 883, 777, 979, - 992, 693, 974, 993, 972, 970, 748, 739, 737, 738, - 736, 735, 723, 734, 753, 1053, 954, 907, 878, 1011, - 957, 682, 879, 1023, 756, 1032, 1033, 827, 788, 778, - 880, 913, 1014, 1015, 1016, 884, 1054, 887, 830, 1024, - 951, 1035, 789, 918, 1037, 1038, 1039, 1040, 889, 919, - 892, 916, 900, 845, 776, 1020, 761, 920, 591, 787, - 791, 800, 1018, 606, 1000, 902, 921, 922, 1041, 1043, - 1044, 923, 924, 995, 847, 1026, 799, 1027, 1022, 848, - 850, 617, 797, 1055, 781, 786, 772, 621, 632, 925, - 927, 931, 998, 763, 770, 853, 855, 1056, 771, 1057, - 938, 635, 857, 718, 939, 1046, 719, 724, 637, 678, - 672, 731, 792, 903, 826, 757, 780, 1017, 724, 767, - 858, 940, 859, 860, 867, 1045, 868, 0, 0, 0, + 336, 814, 348, 348, 348, 348, 348, 348, 348, 348, + 348, 348, 750, 202, 348, 348, 346, 78, 78, 348, + 484, 65, 78, 78, 78, 78, 348, 348, 348, 348, + 609, 783, 766, 613, 813, 492, 783, 783, 783, 473, + 135, 378, 488, 713, 775, 67, 779, 779, 785, 969, + 969, 779, 769, 779, 785, 975, 779, 779, 969, 969, + 823, 280, 563, 478, 550, 568, 969, 377, 779, 779, + 779, 779, 746, 573, 779, 342, 314, 779, 779, 746, + 744, 760, 43, 762, 969, 969, 969, 746, 547, 762, + 762, 762, 839, 844, 794, 758, 444, 433, 588, 232, + 801, 758, 758, 779, 558, 794, 758, 794, 758, 745, + 758, 758, 758, 794, 758, 769, 502, 758, 717, 583, + 224, 758, 6, 979, 980, 624, 981, 973, 987, 1019, + 991, 992, 873, 965, 999, 974, 993, 972, 970, 773, + 682, 684, 818, 811, 963, 777, 777, 777, 956, 777, + 777, 777, 777, 777, 777, 777, 777, 682, 743, 829, + 765, 1006, 689, 691, 754, 911, 901, 1030, 1004, 1049, + 994, 828, 694, 1028, 1008, 910, 821, 1009, 1010, 1029, + 1050, 1052, 912, 782, 913, 918, 876, 1012, 883, 777, + 979, 992, 693, 974, 993, 972, 970, 748, 739, 737, + 738, 736, 735, 723, 734, 753, 1053, 954, 907, 878, + 1011, 957, 682, 879, 1023, 756, 1032, 1033, 827, 788, + 778, 880, 919, 1014, 1015, 1016, 884, 1054, 887, 830, + 1024, 951, 1035, 789, 846, 1037, 1038, 1039, 1040, 889, + 920, 892, 916, 900, 845, 776, 1020, 761, 921, 591, + 787, 791, 800, 1018, 606, 1000, 902, 906, 922, 1041, + 1043, 1044, 923, 924, 995, 847, 1026, 799, 1027, 1022, + 848, 850, 617, 797, 1055, 781, 786, 772, 621, 632, + 925, 927, 931, 998, 763, 770, 853, 855, 1056, 771, + 1057, 938, 635, 857, 718, 939, 1046, 719, 724, 637, + 678, 672, 731, 792, 903, 826, 757, 780, 1017, 724, + 767, 858, 940, 859, 860, 867, 1045, 868, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 458, 458, 458, - 458, 458, 458, 307, 307, 307, 307, 307, 307, 307, - 0, 0, 307, 0, 458, 458, 458, 458, 458, 458, + 0, 0, 0, 0, 0, 0, 0, 0, 458, 458, + 458, 458, 458, 458, 307, 307, 307, 307, 307, 307, + 307, 0, 0, 307, 0, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, @@ -590,33 +590,34 @@ class Php7 extends \PhpParser\ParserAbstract 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, + 458, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, - 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, - 291, 291, 291, 291, 0, 0, 0, 0, 0, 0, + 291, 291, 291, 291, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 0, 0, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, - 291, 291, 291, 291, 291, 291, 291, 66, 66, 291, - 291, 291, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 0, 291, 291, 291, 291, 291, 291, 291, - 291, 66, 823, 66, -1, -1, -1, -1, 66, 66, - 66, -88, -88, 66, 384, 66, 66, -1, -1, 66, + 291, 291, 291, 291, 291, 291, 291, 291, 66, 66, + 291, 291, 291, 66, 66, 66, 66, 66, 66, 66, + 66, 66, 66, 0, 291, 291, 291, 291, 291, 291, + 291, 291, 66, 823, 66, -1, -1, -1, -1, 66, + 66, 66, -88, -88, 66, 384, 66, 66, -1, -1, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 0, 0, 423, 548, 66, 769, 769, 769, 769, 66, - 66, 66, 66, 548, 548, 66, 66, 66, 0, 0, - 0, 0, 0, 0, 0, 0, 423, 548, 0, 423, - 0, 0, 769, 769, 66, 384, 823, 643, 66, 0, - 0, 0, 0, 423, 769, 423, 336, 779, 548, 779, - 336, 336, 78, 348, 643, 611, 611, 611, 611, 0, - 0, 609, 823, 823, 823, 823, 823, 823, 823, 823, - 823, 823, 823, 769, 0, 823, 0, 769, 769, 769, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 769, 0, 0, 969, 0, + 66, 0, 0, 423, 548, 66, 769, 769, 769, 769, + 66, 66, 66, 66, 548, 548, 66, 66, 66, 0, + 0, 0, 0, 0, 0, 0, 0, 423, 548, 0, + 423, 0, 0, 769, 769, 66, 384, 823, 643, 66, + 0, 0, 0, 0, 423, 769, 423, 336, 779, 548, + 779, 336, 336, 78, 348, 643, 611, 611, 611, 611, + 0, 0, 609, 823, 823, 823, 823, 823, 823, 823, + 823, 823, 823, 823, 769, 0, 823, 0, 769, 769, + 769, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 769, 0, 969, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 975, - 0, 0, 0, 0, 0, 0, 769, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 777, 788, 0, 788, - 0, 777, 777, 777, 0, 0, 0, 0, 797, 771 + 0, 0, 0, 0, 0, 0, 0, 0, 769, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 777, 788, + 0, 788, 0, 777, 777, 777, 0, 0, 0, 0, + 797, 771 ); protected $actionDefault = array( @@ -659,102 +660,102 @@ class Php7 extends \PhpParser\ParserAbstract 111, 111, 111, 111, 111, 111, 111,32767, 195, 111, 32767,32767,32767, 101, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 190,32767, 268, 270, 103, 557, - 195,32767, 515,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767, 508,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767,32767, 496, - 434, 139,32767, 139, 542, 426, 427, 428, 498, 542, - 542, 542, 312, 289,32767,32767,32767,32767, 513, 513, - 101, 101, 101, 101, 508,32767,32767,32767,32767, 112, - 100, 100, 100, 100, 100, 104, 102,32767,32767,32767, - 32767, 223, 100,32767, 102, 102,32767,32767, 223, 225, - 212, 102, 227,32767, 561, 562, 223, 102, 227, 227, - 227, 247, 247, 485, 318, 102, 100, 102, 102, 197, - 318, 318,32767, 102, 485, 318, 485, 318, 199, 318, - 318, 318, 485, 318,32767, 102, 318, 214, 100, 100, - 318,32767,32767,32767, 498,32767,32767,32767,32767,32767, - 32767,32767, 222,32767,32767,32767,32767,32767,32767,32767, - 529,32767, 546, 559, 432, 433, 435, 544, 457, 458, - 459, 460, 461, 462, 463, 465, 591,32767, 502,32767, - 32767,32767, 338, 601,32767, 601,32767,32767,32767,32767, + 195, 515,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 508,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 496, 434, 139,32767, 139, 542, 426, 427, 428, 498, + 542, 542, 542, 312, 289,32767,32767,32767,32767, 513, + 513, 101, 101, 101, 101, 508,32767,32767,32767,32767, + 112, 100, 100, 100, 100, 100, 104, 102,32767,32767, + 32767,32767, 223, 100,32767, 102, 102,32767,32767, 223, + 225, 212, 102, 227,32767, 561, 562, 223, 102, 227, + 227, 227, 247, 247, 485, 318, 102, 100, 102, 102, + 197, 318, 318,32767, 102, 485, 318, 485, 318, 199, + 318, 318, 318, 485, 318,32767, 102, 318, 214, 100, + 100, 318,32767,32767,32767, 498,32767,32767,32767,32767, + 32767,32767,32767, 222,32767,32767,32767,32767,32767,32767, + 32767, 529,32767, 546, 559, 432, 433, 435, 544, 457, + 458, 459, 460, 461, 462, 463, 465, 591,32767, 502, + 32767,32767,32767, 338, 601,32767, 601,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 602,32767, 542,32767,32767,32767,32767, 431, 9, - 76, 491, 43, 44, 52, 58, 519, 520, 521, 522, - 516, 517, 523, 518,32767,32767, 524, 567,32767,32767, - 543, 594,32767,32767,32767,32767,32767,32767, 139,32767, + 32767,32767, 602,32767, 542,32767,32767,32767,32767, 431, + 9, 76, 491, 43, 44, 52, 58, 519, 520, 521, + 522, 516, 517, 523, 518,32767,32767, 524, 567,32767, + 32767, 543, 594,32767,32767,32767,32767,32767,32767, 139, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 529,32767, 137,32767,32767,32767,32767,32767,32767,32767, - 32767, 525,32767,32767,32767, 542,32767,32767,32767,32767, - 314, 311,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 542,32767, - 32767,32767,32767,32767, 291,32767, 308,32767,32767,32767, + 32767, 529,32767, 137,32767,32767,32767,32767,32767,32767, + 32767,32767, 525,32767,32767,32767, 542,32767,32767,32767, + 32767, 314, 311,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767, 542, + 32767,32767,32767,32767,32767, 291,32767, 308,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767, 286,32767,32767, 381, 498, 294, 296, - 297,32767,32767,32767,32767, 360,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 153, 153, 3, - 3, 341, 153, 153, 153, 341, 341, 153, 341, 341, - 341, 153, 153, 153, 153, 153, 153, 280, 185, 262, - 265, 247, 247, 153, 352, 153 + 32767,32767,32767,32767, 286,32767,32767, 381, 498, 294, + 296, 297,32767,32767,32767,32767, 360,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 153, 153, + 3, 3, 341, 153, 153, 153, 341, 341, 153, 341, + 341, 341, 153, 153, 153, 153, 153, 153, 280, 185, + 262, 265, 247, 247, 153, 352, 153 ); protected $goto = array( - 196, 196, 1031, 703, 694, 430, 658, 1062, 1334, 1334, - 424, 313, 314, 335, 573, 319, 429, 336, 431, 635, - 651, 652, 850, 669, 670, 671, 1334, 167, 167, 167, + 196, 196, 1032, 704, 695, 431, 659, 1063, 1335, 1335, + 425, 313, 314, 335, 574, 319, 430, 336, 432, 636, + 652, 653, 851, 670, 671, 672, 1335, 167, 167, 167, 167, 221, 197, 193, 193, 177, 179, 216, 193, 193, 193, 193, 193, 194, 194, 194, 194, 194, 194, 188, - 189, 190, 191, 192, 218, 216, 219, 534, 535, 420, - 536, 538, 539, 540, 541, 542, 543, 544, 545, 1132, + 189, 190, 191, 192, 218, 216, 219, 535, 536, 421, + 537, 539, 540, 541, 542, 543, 544, 545, 546, 1133, 168, 169, 170, 195, 171, 172, 173, 166, 174, 175, 176, 178, 215, 217, 220, 238, 243, 244, 245, 257, 258, 259, 260, 261, 262, 263, 264, 268, 269, 270, - 271, 281, 282, 316, 317, 318, 425, 426, 427, 578, + 271, 281, 282, 316, 317, 318, 426, 427, 428, 579, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 180, 237, 181, 198, 199, - 200, 239, 188, 189, 190, 191, 192, 218, 1132, 201, + 200, 239, 188, 189, 190, 191, 192, 218, 1133, 201, 182, 183, 184, 202, 198, 185, 240, 203, 201, 165, 204, 205, 186, 206, 207, 208, 187, 209, 210, 211, - 212, 213, 214, 853, 851, 278, 278, 278, 278, 418, - 620, 620, 350, 570, 597, 1265, 1265, 1265, 1265, 1265, - 1265, 1265, 1265, 1265, 1265, 1283, 1283, 831, 618, 655, - 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1283, - 353, 353, 353, 353, 866, 557, 550, 858, 825, 907, - 902, 903, 916, 859, 904, 856, 905, 906, 857, 878, - 457, 910, 865, 884, 546, 546, 546, 546, 831, 601, - 831, 1084, 1079, 1080, 1081, 341, 550, 557, 566, 567, - 343, 576, 599, 613, 614, 407, 408, 972, 465, 465, - 667, 15, 668, 1323, 411, 412, 413, 465, 681, 348, - 1233, 414, 1233, 478, 569, 346, 439, 1031, 1031, 1233, - 993, 480, 1031, 393, 1031, 1031, 1104, 1105, 1031, 1031, - 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1315, - 1315, 1315, 1315, 1233, 657, 1333, 1333, 1055, 1233, 1233, - 1233, 1233, 1037, 1036, 1233, 1233, 1233, 1034, 1034, 1181, - 354, 678, 949, 1333, 437, 1026, 1042, 1043, 337, 691, - 354, 354, 827, 923, 691, 1040, 1041, 924, 691, 663, - 1336, 939, 871, 939, 354, 354, 1281, 1281, 354, 679, - 1350, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, 1281, - 1281, 552, 537, 537, 911, 354, 912, 537, 537, 537, - 537, 537, 537, 537, 537, 537, 537, 548, 564, 548, - 574, 611, 730, 634, 636, 849, 548, 656, 475, 1308, - 1309, 680, 684, 1007, 692, 701, 1003, 252, 252, 996, - 970, 970, 968, 970, 729, 843, 549, 1005, 1000, 423, - 455, 608, 1294, 846, 955, 966, 966, 966, 966, 325, - 308, 455, 960, 967, 249, 249, 249, 249, 251, 253, - 402, 351, 352, 683, 868, 551, 561, 449, 449, 449, - 551, 1305, 561, 1305, 612, 396, 461, 1010, 1010, 1224, - 1305, 395, 398, 558, 598, 602, 1015, 468, 577, 469, - 470, 1310, 1311, 876, 552, 846, 1341, 1342, 964, 409, - 702, 733, 324, 275, 324, 1317, 1317, 1317, 1317, 606, - 621, 624, 625, 626, 627, 648, 649, 650, 705, 1068, - 596, 1097, 874, 706, 476, 1228, 507, 697, 880, 1095, - 1115, 432, 1301, 628, 630, 632, 432, 879, 867, 1067, - 1071, 5, 1072, 6, 1038, 1038, 977, 0, 975, 662, - 1049, 1045, 1046, 0, 0, 0, 0, 1226, 449, 449, - 449, 449, 449, 449, 449, 449, 449, 449, 449, 928, - 1120, 449, 965, 1070, 0, 0, 616, 1303, 1303, 1070, - 1229, 1230, 1012, 499, 0, 500, 0, 0, 841, 0, - 870, 506, 661, 991, 1113, 883, 1212, 941, 864, 0, - 1213, 1216, 942, 1217, 0, 0, 1231, 1291, 1292, 0, - 1223, 0, 0, 0, 846, 0, 0, 0, 0, 0, + 212, 213, 214, 854, 619, 656, 278, 278, 278, 278, + 852, 621, 621, 350, 419, 598, 1266, 1266, 1266, 1266, + 1266, 1266, 1266, 1266, 1266, 1266, 1284, 1284, 832, 1105, + 1106, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, + 1284, 353, 353, 353, 353, 826, 558, 551, 908, 903, + 904, 917, 860, 905, 857, 906, 907, 858, 1035, 1035, + 911, 864, 679, 950, 458, 863, 1027, 1043, 1044, 832, + 885, 832, 1085, 1080, 1081, 1082, 341, 551, 558, 567, + 568, 343, 577, 600, 614, 615, 547, 547, 547, 547, + 973, 602, 15, 394, 397, 559, 599, 603, 1213, 942, + 1234, 571, 1234, 1214, 1217, 943, 1218, 1032, 1032, 1234, + 440, 912, 1032, 913, 1032, 1032, 1038, 1037, 1032, 1032, + 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1316, + 1316, 1316, 1316, 1234, 476, 1309, 1310, 348, 1234, 1234, + 1234, 1234, 407, 408, 1234, 1234, 1234, 668, 1324, 669, + 354, 412, 413, 414, 867, 682, 466, 466, 415, 994, + 354, 354, 346, 924, 424, 466, 609, 925, 5, 879, + 6, 940, 866, 940, 354, 354, 1282, 1282, 354, 392, + 1351, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, + 1282, 553, 538, 538, 570, 354, 658, 538, 538, 538, + 538, 538, 538, 538, 538, 538, 538, 549, 565, 549, + 1041, 1042, 731, 635, 637, 850, 549, 657, 965, 410, + 703, 681, 685, 1008, 693, 702, 1004, 252, 252, 997, + 971, 971, 969, 971, 730, 1056, 550, 1006, 1001, 1182, + 456, 847, 1295, 1334, 1334, 967, 967, 967, 967, 325, + 308, 456, 961, 968, 249, 249, 249, 249, 251, 253, + 438, 1334, 351, 352, 684, 680, 552, 562, 450, 450, + 450, 552, 1306, 562, 1306, 479, 395, 462, 1337, 1311, + 1312, 1306, 664, 481, 500, 337, 501, 844, 469, 578, + 470, 471, 507, 847, 877, 553, 872, 1342, 1343, 1011, + 1011, 575, 612, 324, 275, 324, 1318, 1318, 1318, 1318, + 607, 622, 625, 626, 627, 628, 649, 650, 651, 706, + 956, 401, 692, 875, 1229, 828, 869, 692, 629, 631, + 633, 692, 433, 1302, 1225, 734, 613, 433, 880, 868, + 1068, 1072, 1069, 1016, 477, 1039, 1039, 881, 0, 976, + 663, 1050, 1046, 1047, 1073, 1116, 978, 0, 1227, 450, + 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, + 929, 1121, 450, 966, 1071, 0, 0, 617, 1304, 1304, + 1071, 1230, 1231, 1013, 0, 0, 0, 0, 0, 842, + 0, 871, 0, 662, 992, 1114, 884, 597, 1098, 865, + 707, 0, 0, 508, 698, 0, 1096, 1232, 1292, 1293, + 0, 1224, 0, 847, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -779,48 +780,48 @@ class Php7 extends \PhpParser\ParserAbstract 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 15, 27, 23, 23, 23, 23, 43, - 107, 107, 96, 170, 129, 107, 107, 107, 107, 107, - 107, 107, 107, 107, 107, 168, 168, 12, 55, 55, - 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, - 24, 24, 24, 24, 35, 75, 75, 15, 6, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 35, - 82, 15, 35, 45, 106, 106, 106, 106, 12, 106, - 12, 15, 15, 15, 15, 75, 75, 75, 75, 75, - 75, 75, 75, 75, 75, 81, 81, 49, 148, 148, - 81, 75, 81, 179, 81, 81, 81, 148, 81, 177, - 72, 81, 72, 83, 103, 81, 82, 72, 72, 72, - 102, 83, 72, 61, 72, 72, 143, 143, 72, 72, + 42, 42, 42, 15, 55, 55, 23, 23, 23, 23, + 27, 107, 107, 96, 43, 129, 107, 107, 107, 107, + 107, 107, 107, 107, 107, 107, 168, 168, 12, 143, + 143, 168, 168, 168, 168, 168, 168, 168, 168, 168, + 168, 24, 24, 24, 24, 6, 75, 75, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 88, 88, + 15, 15, 88, 88, 82, 15, 88, 88, 88, 12, + 45, 12, 15, 15, 15, 15, 75, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 106, 106, 106, 106, + 49, 106, 75, 58, 58, 58, 58, 58, 78, 78, + 72, 170, 72, 78, 78, 78, 78, 72, 72, 72, + 82, 64, 72, 64, 72, 72, 117, 117, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 9, - 9, 9, 9, 72, 63, 180, 180, 113, 72, 72, - 72, 72, 117, 117, 72, 72, 72, 88, 88, 150, - 14, 88, 88, 180, 112, 88, 88, 88, 29, 7, - 14, 14, 7, 72, 7, 118, 118, 72, 7, 119, - 180, 9, 39, 9, 14, 14, 169, 169, 14, 115, + 9, 9, 9, 72, 174, 174, 174, 177, 72, 72, + 72, 72, 81, 81, 72, 72, 72, 81, 179, 81, + 14, 81, 81, 81, 35, 81, 148, 148, 81, 102, + 14, 14, 81, 72, 13, 148, 13, 72, 46, 35, + 46, 9, 35, 9, 14, 14, 169, 169, 14, 61, 14, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 14, 171, 171, 64, 14, 64, 171, 171, 171, + 169, 14, 171, 171, 103, 14, 63, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 19, 48, 19, - 2, 2, 48, 48, 48, 25, 19, 48, 174, 174, - 174, 48, 48, 48, 48, 48, 48, 5, 5, 25, - 25, 25, 25, 25, 25, 18, 25, 25, 25, 13, - 19, 13, 14, 22, 91, 19, 19, 19, 19, 167, + 118, 118, 48, 48, 48, 25, 19, 48, 92, 92, + 92, 48, 48, 48, 48, 48, 48, 5, 5, 25, + 25, 25, 25, 25, 25, 113, 25, 25, 25, 150, + 19, 22, 14, 180, 180, 19, 19, 19, 19, 167, 167, 19, 19, 19, 5, 5, 5, 5, 5, 5, - 28, 96, 96, 14, 37, 9, 9, 23, 23, 23, - 9, 129, 9, 129, 79, 9, 9, 106, 106, 159, - 129, 58, 58, 58, 58, 58, 109, 9, 9, 9, - 9, 176, 176, 9, 14, 22, 9, 9, 92, 92, - 92, 98, 24, 24, 24, 129, 129, 129, 129, 80, - 80, 80, 80, 80, 80, 80, 80, 80, 80, 128, - 8, 8, 9, 8, 156, 20, 8, 8, 41, 8, - 146, 116, 129, 84, 84, 84, 116, 16, 16, 16, - 16, 46, 131, 46, 116, 116, 95, -1, 16, 116, - 116, 116, 116, -1, -1, -1, -1, 14, 23, 23, - 23, 23, 23, 23, 23, 23, 23, 23, 23, 17, - 17, 23, 16, 129, -1, -1, 17, 129, 129, 129, - 20, 20, 17, 154, -1, 154, -1, -1, 20, -1, - 17, 154, 17, 17, 16, 16, 78, 78, 17, -1, - 78, 78, 78, 78, -1, -1, 20, 20, 20, -1, - 17, -1, -1, -1, 22, -1, -1, -1, -1, -1, + 112, 180, 96, 96, 14, 115, 9, 9, 23, 23, + 23, 9, 129, 9, 129, 83, 9, 9, 180, 176, + 176, 129, 119, 83, 154, 29, 154, 18, 9, 9, + 9, 9, 154, 22, 9, 14, 39, 9, 9, 106, + 106, 2, 2, 24, 24, 24, 129, 129, 129, 129, + 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, + 91, 28, 7, 9, 20, 7, 37, 7, 84, 84, + 84, 7, 116, 129, 159, 98, 79, 116, 16, 16, + 16, 16, 128, 109, 156, 116, 116, 41, -1, 16, + 116, 116, 116, 116, 131, 146, 95, -1, 14, 23, + 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 17, 17, 23, 16, 129, -1, -1, 17, 129, 129, + 129, 20, 20, 17, -1, -1, -1, -1, -1, 20, + -1, 17, -1, 17, 17, 16, 16, 8, 8, 17, + 8, -1, -1, 8, 8, -1, 8, 20, 20, 20, + -1, 17, -1, 22, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -829,47 +830,47 @@ class Php7 extends \PhpParser\ParserAbstract ); protected $gotoBase = array( - 0, 0, -339, 0, 0, 386, 195, 312, 472, -10, - 0, 0, -109, 62, 13, -184, 46, 65, 86, 102, - 93, 0, 125, 162, 197, 371, 18, 160, 83, 22, - 0, 0, 0, 0, 0, -166, 0, 85, 0, 9, - 0, 48, -1, 157, 0, 207, -232, 0, -340, 223, - 0, 0, 0, 0, 0, 148, 0, 0, 396, 0, - 0, 231, 0, 52, 334, -236, 0, 0, 0, 0, - 0, 0, -5, 0, 0, -139, 0, 0, 149, 91, - 112, -245, -58, -205, 15, -695, 0, 0, 28, 0, - 0, 75, 154, 0, 0, 64, -310, 0, 55, 0, - 0, 0, 235, 221, 0, 0, 196, -71, 0, 77, - 0, 0, 37, 24, 0, 56, 219, 23, 40, 39, - 0, 0, 0, 0, 0, 0, 5, 0, 106, 166, - 0, 61, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1, 0, 0, 47, 0, 214, 0, - 35, 0, 0, 0, 49, 0, 45, 0, 0, 71, - 0, 0, 0, 0, 0, 0, 0, 88, -56, 95, - 144, 111, 0, 0, 78, 0, 80, 229, 0, 222, - -12, -299, 0, 0 + 0, 0, -249, 0, 0, 386, 192, 475, 549, -10, + 0, 0, -108, -13, 13, -184, 46, 65, 138, 102, + 93, 0, 123, 163, 198, 371, 18, 166, 144, 149, + 0, 0, 0, 0, 0, -56, 0, 147, 0, 133, + 0, 66, -1, 162, 0, 214, -406, 0, -341, 226, + 0, 0, 0, 0, 0, 124, 0, 0, 208, 0, + 0, 297, 0, 114, 251, -236, 0, 0, 0, 0, + 0, 0, -5, 0, 0, -138, 0, 0, -149, 153, + 113, -189, -54, -34, 9, -696, 0, 0, -61, 0, + 0, 151, 74, 0, 0, 73, -310, 0, 89, 0, + 0, 0, 284, 311, 0, 0, 218, -70, 0, 134, + 0, 0, 143, 122, 0, 142, 220, -3, 85, 152, + 0, 0, 0, 0, 0, 0, 5, 0, 129, 167, + 0, 72, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, -86, 0, 0, 71, 0, 282, 0, + 125, 0, 0, 0, -51, 0, 64, 0, 0, 126, + 0, 0, 0, 0, 0, 0, 0, 88, -55, 95, + 232, 111, 0, 0, -6, 0, 68, 267, 0, 277, + 96, -299, 0, 0 ); protected $gotoDefault = array( - -32768, 511, 737, 4, 738, 932, 814, 823, 594, 528, - 704, 347, 622, 421, 1299, 909, 1119, 575, 842, 1242, - 1250, 456, 845, 330, 727, 891, 892, 893, 399, 385, - 391, 397, 646, 623, 493, 877, 452, 869, 485, 872, - 451, 881, 164, 417, 509, 885, 3, 888, 554, 919, - 386, 896, 387, 674, 898, 560, 900, 901, 394, 400, - 401, 1124, 568, 619, 913, 256, 562, 914, 384, 915, - 922, 389, 392, 685, 464, 504, 498, 410, 1099, 563, - 605, 643, 446, 472, 617, 629, 615, 479, 433, 415, - 329, 954, 962, 486, 462, 976, 349, 984, 735, 1131, - 637, 488, 992, 638, 999, 1002, 529, 530, 477, 1014, - 272, 1017, 489, 12, 664, 1028, 1029, 665, 639, 1051, - 640, 666, 641, 1053, 471, 595, 1061, 453, 1069, 1287, - 454, 1073, 266, 1076, 277, 416, 434, 1082, 1083, 9, - 1089, 695, 696, 11, 276, 508, 1114, 686, 450, 1130, - 438, 1200, 1202, 556, 490, 1220, 1219, 677, 505, 1225, - 447, 1290, 448, 531, 473, 315, 532, 307, 333, 312, - 547, 294, 334, 533, 474, 1296, 1304, 331, 31, 1324, - 1335, 342, 572, 610 + -32768, 512, 738, 4, 739, 933, 815, 824, 595, 529, + 705, 347, 623, 422, 1300, 910, 1120, 576, 843, 1243, + 1251, 457, 846, 330, 728, 892, 893, 894, 398, 385, + 859, 396, 647, 624, 494, 878, 453, 870, 486, 873, + 452, 882, 164, 418, 510, 886, 3, 889, 555, 920, + 386, 897, 387, 675, 899, 561, 901, 902, 393, 399, + 400, 1125, 569, 620, 914, 256, 563, 915, 384, 916, + 923, 389, 391, 686, 465, 505, 499, 411, 1100, 564, + 606, 644, 447, 473, 618, 630, 616, 480, 434, 416, + 329, 955, 963, 487, 463, 977, 349, 985, 736, 1132, + 638, 489, 993, 639, 1000, 1003, 530, 531, 478, 1015, + 272, 1018, 490, 12, 665, 1029, 1030, 666, 640, 1052, + 641, 667, 642, 1054, 472, 596, 1062, 454, 1070, 1288, + 455, 1074, 266, 1077, 277, 417, 435, 1083, 1084, 9, + 1090, 696, 697, 11, 276, 509, 1115, 687, 451, 1131, + 439, 1201, 1203, 557, 491, 1221, 1220, 678, 506, 1226, + 448, 1291, 449, 532, 474, 315, 533, 307, 333, 312, + 548, 294, 334, 534, 475, 1297, 1305, 331, 31, 1325, + 1336, 342, 573, 611 ); protected $ruleToNonTerminal = array( @@ -950,7 +951,7 @@ class Php7 extends \PhpParser\ParserAbstract 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 2, 1, 3, 4, 1, 2, 0, 1, 1, 1, 1, 1, 3, 5, 4, - 3, 4, 2, 3, 1, 1, 7, 6, 2, 3, + 3, 4, 1, 3, 1, 1, 8, 7, 2, 3, 1, 2, 3, 1, 2, 3, 1, 1, 3, 1, 3, 1, 2, 2, 3, 1, 3, 2, 3, 1, 3, 3, 2, 0, 1, 1, 1, 1, 1, 3, @@ -1378,7 +1379,7 @@ protected function initReduceCallbacks() { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 122 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 123 => function ($stackPos) { $this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); @@ -1390,10 +1391,10 @@ protected function initReduceCallbacks() { $this->semValue = Stmt\Use_::TYPE_CONSTANT; }, 126 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-6)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, 127 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(7-2)], $this->semStack[$stackPos-(7-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, 128 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-1)]; diff --git a/lib/PhpParser/Parser/Php8.php b/lib/PhpParser/Parser/Php8.php new file mode 100644 index 0000000000..628beb5f34 --- /dev/null +++ b/lib/PhpParser/Parser/Php8.php @@ -0,0 +1,2791 @@ +'", + "T_IS_GREATER_OR_EQUAL", + "'.'", + "T_SL", + "T_SR", + "'+'", + "'-'", + "'*'", + "'/'", + "'%'", + "'!'", + "T_INSTANCEOF", + "'~'", + "T_INC", + "T_DEC", + "T_INT_CAST", + "T_DOUBLE_CAST", + "T_STRING_CAST", + "T_ARRAY_CAST", + "T_OBJECT_CAST", + "T_BOOL_CAST", + "T_UNSET_CAST", + "'@'", + "T_POW", + "'['", + "T_NEW", + "T_CLONE", + "T_EXIT", + "T_IF", + "T_ELSEIF", + "T_ELSE", + "T_ENDIF", + "T_LNUMBER", + "T_DNUMBER", + "T_STRING", + "T_STRING_VARNAME", + "T_VARIABLE", + "T_NUM_STRING", + "T_INLINE_HTML", + "T_ENCAPSED_AND_WHITESPACE", + "T_CONSTANT_ENCAPSED_STRING", + "T_ECHO", + "T_DO", + "T_WHILE", + "T_ENDWHILE", + "T_FOR", + "T_ENDFOR", + "T_FOREACH", + "T_ENDFOREACH", + "T_DECLARE", + "T_ENDDECLARE", + "T_AS", + "T_SWITCH", + "T_MATCH", + "T_ENDSWITCH", + "T_CASE", + "T_DEFAULT", + "T_BREAK", + "T_CONTINUE", + "T_GOTO", + "T_FUNCTION", + "T_FN", + "T_CONST", + "T_RETURN", + "T_TRY", + "T_CATCH", + "T_FINALLY", + "T_USE", + "T_INSTEADOF", + "T_GLOBAL", + "T_STATIC", + "T_ABSTRACT", + "T_FINAL", + "T_PRIVATE", + "T_PROTECTED", + "T_PUBLIC", + "T_READONLY", + "T_PUBLIC_SET", + "T_PROTECTED_SET", + "T_PRIVATE_SET", + "T_VAR", + "T_UNSET", + "T_ISSET", + "T_EMPTY", + "T_HALT_COMPILER", + "T_CLASS", + "T_TRAIT", + "T_INTERFACE", + "T_ENUM", + "T_EXTENDS", + "T_IMPLEMENTS", + "T_OBJECT_OPERATOR", + "T_NULLSAFE_OBJECT_OPERATOR", + "T_LIST", + "T_ARRAY", + "T_CALLABLE", + "T_CLASS_C", + "T_TRAIT_C", + "T_METHOD_C", + "T_FUNC_C", + "T_PROPERTY_C", + "T_LINE", + "T_FILE", + "T_START_HEREDOC", + "T_END_HEREDOC", + "T_DOLLAR_OPEN_CURLY_BRACES", + "T_CURLY_OPEN", + "T_PAAMAYIM_NEKUDOTAYIM", + "T_NAMESPACE", + "T_NS_C", + "T_DIR", + "T_NS_SEPARATOR", + "T_ELLIPSIS", + "T_NAME_FULLY_QUALIFIED", + "T_NAME_QUALIFIED", + "T_NAME_RELATIVE", + "T_ATTRIBUTE", + "';'", + "']'", + "'('", + "')'", + "'{'", + "'}'", + "'`'", + "'\"'", + "'$'" + ); + + protected array $tokenToSymbol = array( + 0, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 56, 170, 172, 171, 55, 172, 172, + 165, 166, 53, 51, 8, 52, 48, 54, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 31, 163, + 44, 16, 46, 30, 68, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 70, 172, 164, 36, 172, 169, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 167, 35, 168, 58, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 1, 2, 3, 4, + 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 32, 33, 34, 37, 38, 39, 40, + 41, 42, 43, 45, 47, 49, 50, 57, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 69, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, + 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 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 + ); + + protected array $action = array( + 126, 127, 128, 570, 129, 130, 955, 765, 766, 767, + 131, 38, 849, -85,-32766, 1375,-32766,-32766,-32766, 0, + 840, 1133, 1134, 1135, 1129, 1128, 1127, 1136, 1130, 1131, + 1132,-32766,-32766,-32766, 851, 759, 758,-32766,-32766,-32766, + -32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767, + -32767, 1004,-32766, 1044, -569, 768, 1133, 1134, 1135, 1129, + 1128, 1127, 1136, 1130, 1131, 1132, 388, 387, 842, 263, + 132, 389, 772, 773, 774, 775, 430,-32766, 431, -85, + 957, 36, 246, 47, 291, 829, 776, 777, 778, 779, + 780, 781, 782, 783, 784, 785, 805, 571, 806, 807, + 808, 809, 797, 798, 343, 344, 800, 801, 786, 787, + 788, 790, 791, 792, 359, 832, 833, 834, 835, 836, + 572, -569, -569, 360, 793, 794, 573, 574, -331, 817, + 815, 816, 828, 812, 813, 2, -194, 575, 576, 811, + 577, 578, 579, 580, 322, 581, 582, 876, 844, 877, + 297, 298, 814, 583, 584, 722, 133, 236, 126, 127, + 128, 570, 129, 130, 1077, 765, 766, 767, 131, 38, + -32766, 26, 735, 1037, 1036, 1035, 1041, 1038, 1039, 1040, + -32766,-32766,-32766, 1005, 104, 105, 106, 107, 108, 35, + 275, 957,-32766, 759, 758, 1053, 850,-32766,-32766,-32766, + 848,-32766, 109,-32766,-32766,-32766,-32766,-32766,-32766,-32766, + 148, 476, 477, 768,-32766,-32766,-32766, 1053,-32766, 290, + -32766,-32766,-32766,-32766,-32766, 616, 134, 263, 132, 389, + 772, 773, 774, 775, 365,-32766, 431,-32766,-32766,-32766, + -32766, 290, 143, 829, 776, 777, 778, 779, 780, 781, + 782, 783, 784, 785, 805, 571, 806, 807, 808, 809, + 797, 798, 343, 344, 800, 801, 786, 787, 788, 790, + 791, 792, 359, 832, 833, 834, 835, 836, 572,-32766, + -32766,-32766, 793, 794, 573, 574, -331, 817, 815, 816, + 828, 812, 813, 1300, -194, 575, 576, 811, 577, 578, + 579, 580, 845, 581, 582, 149, 82, 83, 84, -272, + 814, 583, 584, 249, 146, 789, 760, 761, 762, 763, + 764, 235, 765, 766, 767, 802, 803, 37, 307, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 106, 107, 108, 157, 275,-32766,-32766,-32766,-32767,-32767, + -32767,-32767, 101, 102, 103, 1107, 109, 309, 622, 748, + 768,-32766,-32766,-32766, 849, 318,-32766, 1106,-32766,-32766, + -32766, 338, 846, 1356, 769, 770, 771, 772, 773, 774, + 775, 339,-32766, 838,-32766,-32766, 1385, 374, 1280, 1386, + 829, 776, 777, 778, 779, 780, 781, 782, 783, 784, + 785, 805, 827, 806, 807, 808, 809, 797, 798, 799, + 826, 800, 801, 786, 787, 788, 790, 791, 792, 831, + 832, 833, 834, 835, 836, 837, 1076, 431, -566, 793, + 794, 795, 796, 1360, 817, 815, 816, 828, 812, 813, + 1359, -193, 804, 810, 811, 818, 819, 821, 820, 138, + 822, 823, 840, 321, 380, 285, 24, 814, 825, 824, + 49, 50, 51, 522, 52, 53, -371, -110, -371, 849, + 54, 55, -110, 56, -110,-32766,-32766,-32766, 1341, 303, + 125, 1122, -110, -110, -110, -110, -110, -110, -110, -110, + -110, -110, -110, 161, 750, -566, -566, 291, 973, 974, + 466, 467, 468, 975, 396, 285, 1275, 1274, 1276, 57, + 58, -566, 566, 448, 59, 1108, 60, 243, 244, 61, + 62, 63, 64, 65, 66, 67, 68,-32766, 28, 265, + 69, 446, 523, 490, -345, 449, 1306, 1307, 524, 139, + 849, 1050, 450, 321, 1304, 42, 20, 525, 934, 526, + 934, 527, 74, 528, -567, 698, 529, 530, 321, 386, + 387, 44, 45, 452, 383, 382, 1053, 46, 531, 430, + 973, 974, 451, 372, 337, 975, 1280, 1312, 725, 934, + 1266,-32766,-32766,-32766, 969, 533, 534, 535, 855, 934, + 281, 699, -78, -565, 1273, 759, 758, 537, 538, -193, + 1292, 1293, 1294, 1295, 1297, 1289, 1290, 295, 1053, 726, + 398, 151, 7, 1296, 1291, 700, 701, 1275, 1274, 1276, + 296, -567, -567, 70, -153, -153, -153, 316, 317, 321, + 1271, 924, 290, 924, 1275, 1274, 1276, -567, 1050, -153, + 281, -153, 1149, -153, 81, -153, 740, 152, 321, -573, + 153, 759, 758,-32766, 1052, 381, 876, 849, 877, 155, + -565, -565, 924, 1053, 1050, 33, 973, 974, -58, 491, + -57, 532, 924, 1275, 1274, 1276, -565, 123, 1053, 910, + 969, -110, -110, -110, 28, 266, 124, 281, -572, 1053, + 102, 103, -110, -110,-32766,-32766, 849, -110, 135, -563, + 1304, 136, -605, 142, -605, 156, -110, 665, 21, 158, + 936, 159, 936, 160, 720,-32766, 720, -153, -305, 48, + 32, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, 122, 684, 685, 1266, 296, 759, 758, + 74, 936, -87, 934, -84, 720, 321, -4, 934, -78, + 934, 936, -73, 537, 538, 720, 1292, 1293, 1294, 1295, + 1297, 1289, 1290, 1182, 1184, 934, -563, -563, -564, 1296, + 1291, 759, 758, 727, -563,-32766, 147, 413, -301, 72, + 730, 1273, -563, -72, 317, 321, 299, 300,-32766,-32766, + -32766, -71,-32766, -70,-32766, 737,-32766, 384, 385,-32766, + 390, 391, 379, -69,-32766,-32766,-32766, -68,-32766, -67, + -32766,-32766, -66, -65, 1273, -46,-32766, 427, 28, 265, + -18,-32766,-32766,-32766, 140,-32766, 924,-32766,-32766,-32766, + 849, 924,-32766, 924, 1304, -564, -564,-32766,-32766,-32766, + 274, -563, -563,-32766,-32766, 282, 656, 657, 924,-32766, + 427, -564, 736, 381, 739, 443, 933, -563, 145, 73, + 294,-32766, 951, -571, 973, 974, 279, 280, 283, 532, + 1266, 28, 266, 284, 327, 275, 109, 536, 969, -110, + -110, -110, 286, 849, 287, 292, 293, 1304, 538, 144, + 1292, 1293, 1294, 1295, 1297, 1289, 1290, 694, 849, 1140, + -32766, 11, 840, 1296, 1291, 990, 709, 687, 671, 720, + 936, 1387, 936, 72, 720, -4, 720, 654, 317, 321, + -50, 711, 304, 1266, 587, 969, 666, 936, 970, 1311, + 672, 720, 302, 301, 10, 308, 1313, 473, 501,-32766, + -529, 538, 688, 1292, 1293, 1294, 1295, 1297, 1289, 1290, + 953, 40, 593, 137, 41, -519, 1296, 1291, 8, 27, + 620, 321, 0,-32766, 378, 0, 72, 0, 0, 1273, + 0, 317, 321, 745, 0, 0,-32766,-32766,-32766, 0, + -32766, 0,-32766, 0,-32766, 0, 0,-32766, 0, 0, + 0, 0,-32766,-32766,-32766, 934,-32766, 746,-32766,-32766, + 0, 0, 1273, 848,-32766, 427, 868, 0, 296,-32766, + -32766,-32766, 0,-32766, 915,-32766,-32766,-32766, 934, 1014, + -32766, 991, 998, 988, 999,-32766,-32766,-32766, 913,-32766, + 986,-32766,-32766, 1111, 1114, 1273, 1115,-32766, 427, 1112, + 1151, 1113,-32766,-32766,-32766, 1119,-32766, 1301,-32766,-32766, + -32766, 860, 1328,-32766, 1345, 1378, 659, 496,-32766,-32766, + -32766, -599,-32766, -598,-32766,-32766, -597, -573, 1273, 600, + -32766, 427, -572, -571, -570,-32766,-32766,-32766, 924,-32766, + -513,-32766,-32766,-32766, 1, 29,-32766, -275, 30, 39, + 43,-32766,-32766,-32766, -250, -250, -250,-32766,-32766, 71, + 381, 924, 75,-32766, 427, 76, 77, 78, 1280, 79, + 80, 973, 974, 141, 150,-32766, 532, -249, -249, -249, + -273, 154, 241, 381, 910, 969, -110, -110, -110, 323, + 360, 361, 362, 363, 973, 974, 364, 365, -16, 532, + 366, 367, 368, 369, 370, 373, 444, 910, 969, -110, + -110, -110,-32766, -272, 565, 371, 1305, 936, 1273, 13, + 412, 720, -250, 14, 15,-32766,-32766,-32766, 16,-32766, + 18,-32766, 354,-32766, 411, 492,-32766, 493, 500, 503, + 936,-32766,-32766,-32766, 720, -249, 504,-32766,-32766, 849, + 505, 506, 510,-32766, 427, 511, 512, 519, 598, 704, + 1079, 1222, 1302, 1078, 1059,-32766, 1261, 1055, -277, -102, + 12, 17, 22, 312, 410, 612, 617, 645, 710, 1226, + 1279, 1223, 1357, 0, -110, -110, 34, 315, 375, -110, + 721, 724, 728, 729, 731, 732, 733, 734, -110, 738, + 750, 723, 751, 0, 416, 742, 0,-32766, 911, 1382, + 1384, 871, 870, 963, 1006, 1383, 962, 960, 961, 964, + 1254, 944, 954, 942, 1150, 1146, 1100, 996, 997, 296, + 643, 1381, 74, 1339, 1354, 0, 0, 1239, 321 + ); + + protected array $actionCheck = array( + 2, 3, 4, 5, 6, 7, 1, 9, 10, 11, + 12, 13, 82, 31, 116, 85, 9, 10, 11, 0, + 80, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, 9, 10, 11, 1, 37, 38, 30, 140, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 31, 30, 1, 70, 57, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 106, 107, 80, 71, + 72, 73, 74, 75, 76, 77, 116, 9, 80, 97, + 122, 151, 152, 70, 30, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 137, 138, 165, 126, 127, 128, 129, 8, 131, + 132, 133, 134, 135, 136, 8, 8, 139, 140, 141, + 142, 143, 144, 145, 70, 147, 148, 106, 160, 108, + 137, 138, 154, 155, 156, 167, 158, 14, 2, 3, + 4, 5, 6, 7, 166, 9, 10, 11, 12, 13, + 116, 8, 167, 119, 120, 121, 122, 123, 124, 125, + 9, 10, 11, 163, 51, 52, 53, 54, 55, 8, + 57, 122, 116, 37, 38, 141, 163, 9, 10, 11, + 159, 30, 69, 32, 33, 34, 35, 36, 37, 38, + 14, 137, 138, 57, 9, 10, 11, 141, 30, 165, + 32, 33, 34, 35, 36, 1, 8, 71, 72, 73, + 74, 75, 76, 77, 165, 30, 80, 32, 33, 34, + 35, 165, 8, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, + 114, 115, 116, 117, 118, 119, 120, 121, 122, 9, + 10, 11, 126, 127, 128, 129, 166, 131, 132, 133, + 134, 135, 136, 1, 166, 139, 140, 141, 142, 143, + 144, 145, 80, 147, 148, 14, 9, 10, 11, 166, + 154, 155, 156, 8, 158, 2, 3, 4, 5, 6, + 7, 97, 9, 10, 11, 12, 13, 30, 8, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, 16, 57, 9, 10, 11, 44, 45, + 46, 47, 48, 49, 50, 163, 69, 8, 52, 167, + 57, 9, 10, 11, 82, 8, 30, 1, 32, 33, + 34, 8, 160, 1, 71, 72, 73, 74, 75, 76, + 77, 8, 30, 80, 32, 33, 80, 8, 1, 83, + 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, + 117, 118, 119, 120, 121, 122, 1, 80, 70, 126, + 127, 128, 129, 1, 131, 132, 133, 134, 135, 136, + 8, 8, 139, 140, 141, 142, 143, 144, 145, 167, + 147, 148, 80, 171, 8, 30, 101, 154, 155, 156, + 2, 3, 4, 5, 6, 7, 106, 101, 108, 82, + 12, 13, 106, 15, 108, 9, 10, 11, 1, 113, + 14, 126, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 14, 167, 137, 138, 30, 117, 118, + 132, 133, 134, 122, 8, 30, 159, 160, 161, 51, + 52, 153, 85, 8, 56, 168, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 140, 70, 71, + 72, 73, 74, 31, 168, 8, 78, 79, 80, 167, + 82, 116, 8, 171, 86, 87, 88, 89, 1, 91, + 1, 93, 165, 95, 70, 80, 98, 99, 171, 106, + 107, 103, 104, 105, 106, 107, 141, 109, 110, 116, + 117, 118, 8, 115, 116, 122, 1, 150, 31, 1, + 122, 9, 10, 116, 131, 127, 128, 129, 8, 1, + 165, 116, 16, 70, 80, 37, 38, 139, 140, 166, + 142, 143, 144, 145, 146, 147, 148, 149, 141, 31, + 106, 14, 108, 155, 156, 140, 141, 159, 160, 161, + 162, 137, 138, 165, 75, 76, 77, 169, 170, 171, + 116, 84, 165, 84, 159, 160, 161, 153, 116, 90, + 165, 92, 163, 94, 167, 96, 167, 14, 171, 165, + 14, 37, 38, 116, 140, 106, 106, 82, 108, 14, + 137, 138, 84, 141, 116, 14, 117, 118, 16, 167, + 16, 122, 84, 159, 160, 161, 153, 16, 141, 130, + 131, 132, 133, 134, 70, 71, 16, 165, 165, 141, + 49, 50, 117, 118, 51, 52, 82, 122, 16, 70, + 86, 16, 164, 16, 166, 16, 131, 75, 76, 16, + 163, 16, 163, 16, 167, 140, 167, 168, 35, 70, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 75, 76, 122, 162, 37, 38, + 165, 163, 31, 1, 31, 167, 171, 0, 1, 31, + 1, 163, 31, 139, 140, 167, 142, 143, 144, 145, + 146, 147, 148, 59, 60, 1, 137, 138, 70, 155, + 156, 37, 38, 31, 70, 74, 101, 102, 35, 165, + 31, 80, 153, 31, 170, 171, 137, 138, 87, 88, + 89, 31, 91, 31, 93, 31, 95, 106, 107, 98, + 106, 107, 153, 31, 103, 104, 105, 31, 74, 31, + 109, 110, 31, 31, 80, 31, 115, 116, 70, 71, + 31, 87, 88, 89, 31, 91, 84, 93, 127, 95, + 82, 84, 98, 84, 86, 137, 138, 103, 104, 105, + 31, 137, 138, 109, 110, 31, 111, 112, 84, 115, + 116, 153, 31, 106, 31, 108, 31, 153, 31, 158, + 113, 127, 38, 165, 117, 118, 35, 35, 35, 122, + 122, 70, 71, 35, 35, 57, 69, 130, 131, 132, + 133, 134, 37, 82, 37, 37, 37, 86, 140, 70, + 142, 143, 144, 145, 146, 147, 148, 77, 82, 82, + 85, 154, 80, 155, 156, 163, 80, 94, 96, 167, + 163, 83, 163, 165, 167, 168, 167, 113, 170, 171, + 31, 92, 114, 122, 89, 131, 90, 163, 131, 150, + 100, 167, 136, 135, 97, 135, 150, 97, 97, 140, + 153, 140, 100, 142, 143, 144, 145, 146, 147, 148, + 158, 163, 157, 31, 163, 153, 155, 156, 153, 153, + 157, 171, -1, 74, 153, -1, 165, -1, -1, 80, + -1, 170, 171, 163, -1, -1, 87, 88, 89, -1, + 91, -1, 93, -1, 95, -1, -1, 98, -1, -1, + -1, -1, 103, 104, 105, 1, 74, 163, 109, 110, + -1, -1, 80, 159, 115, 116, 163, -1, 162, 87, + 88, 89, -1, 91, 163, 93, 127, 95, 1, 163, + 98, 163, 163, 163, 163, 103, 104, 105, 163, 74, + 163, 109, 110, 163, 163, 80, 163, 115, 116, 163, + 163, 163, 87, 88, 89, 163, 91, 164, 93, 127, + 95, 164, 164, 98, 164, 164, 164, 102, 103, 104, + 105, 165, 74, 165, 109, 110, 165, 165, 80, 81, + 115, 116, 165, 165, 165, 87, 88, 89, 84, 91, + 165, 93, 127, 95, 165, 165, 98, 166, 165, 165, + 165, 103, 104, 105, 100, 101, 102, 109, 110, 165, + 106, 84, 165, 115, 116, 165, 165, 165, 1, 165, + 165, 117, 118, 165, 165, 127, 122, 100, 101, 102, + 166, 165, 165, 106, 130, 131, 132, 133, 134, 165, + 165, 165, 165, 165, 117, 118, 165, 165, 31, 122, + 165, 165, 165, 165, 165, 165, 165, 130, 131, 132, + 133, 134, 74, 166, 165, 165, 170, 163, 80, 166, + 168, 167, 168, 166, 166, 87, 88, 89, 166, 91, + 166, 93, 166, 95, 166, 166, 98, 166, 166, 166, + 163, 103, 104, 105, 167, 168, 166, 109, 110, 82, + 166, 166, 166, 115, 116, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 127, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, -1, 117, 118, 167, 167, 167, 122, + 167, 167, 167, 167, 167, 167, 167, 167, 131, 167, + 167, 167, 167, -1, 168, 168, -1, 140, 168, 168, + 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, + 168, 168, 168, 168, 168, 168, 168, 168, 168, 162, + 168, 168, 165, 168, 168, -1, -1, 169, 171 + ); + + protected array $actionBase = array( + 0, -2, 156, 559, 757, 1004, 1027, 485, 292, 357, + -60, -12, 588, 759, 759, 774, 759, 557, 752, 888, + 598, 598, 598, 836, 313, 313, 836, 313, 711, 711, + 711, 711, 744, 744, 965, 965, 998, 932, 899, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, + 1088, 1088, 33, 20, 224, 1083, 661, 1057, 1063, 1059, + 1064, 1055, 1054, 1058, 1060, 1065, 1113, 1115, 837, 1112, + 1116, 1061, 902, 1056, 1062, 887, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 68, 476, 582, 270, 270, 270, 270, 270, + 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, + 270, 270, 270, 270, 270, 624, 624, 22, 22, 22, + 362, 811, 758, 811, 811, 811, 811, 811, 811, 811, + 811, 346, 205, 188, 714, 171, 171, 7, 7, 7, + 7, 7, 376, 1117, 54, 585, 585, 314, 314, 314, + 314, 365, 568, 370, 435, 397, 651, 477, 463, 532, + 532, 558, 558, 76, 76, 558, 558, 558, 133, 133, + 547, 547, 547, 547, 41, 437, 809, 382, 382, 382, + 382, 809, 809, 809, 809, 796, 996, 809, 809, 809, + 494, 533, 708, 653, 653, 560, -70, -70, 560, 804, + -70, 487, 316, -102, 807, -40, 548, -102, 1000, 368, + 639, 639, 659, 639, 639, 639, 854, 701, 854, 1053, + -42, 825, 825, 794, 731, 69, 892, 1084, 1066, 840, + 1109, 852, 1110, 1085, 489, 378, -16, 13, 74, 728, + 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, + 1052, 1052, 800, 568, 1053, 222, 1107, 1108, 800, 800, + 800, 568, 568, 568, 568, 568, 568, 568, 568, 799, + 568, 568, 745, 222, 642, 669, 222, 849, 568, 812, + 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, + 512, 33, 33, 20, 5, 5, 33, 202, 52, 5, + 5, 5, 337, 5, 33, 33, 33, 701, 828, 805, + 704, -18, 813, 443, 828, 828, 828, 120, 143, 128, + 693, 753, 514, 832, 832, 827, 929, 929, 832, 826, + 832, 827, 832, 832, 929, 929, 856, 929, 218, 515, + 373, 456, 537, 929, 320, 832, 832, 832, 832, 810, + 929, 127, 544, 832, 305, 234, 832, 832, 810, 808, + 824, 806, 929, 929, 929, 810, 389, 806, 806, 806, + 820, 844, 814, 819, 367, 359, 590, 181, 834, 819, + 819, 832, 506, 814, 819, 814, 819, 802, 819, 819, + 819, 814, 819, 826, 383, 819, 699, 574, 163, 819, + 832, 19, 944, 947, 721, 950, 934, 951, 991, 952, + 954, 1073, 925, 967, 935, 955, 999, 933, 930, 835, + 671, 680, 815, 797, 919, 817, 817, 817, 912, 917, + 817, 817, 817, 817, 817, 817, 817, 817, 671, 893, + 821, 845, 976, 692, 695, 1042, 789, 1090, 1118, 975, + 944, 954, 723, 935, 955, 933, 930, 792, 791, 786, + 788, 782, 772, 762, 770, 803, 1044, 958, 798, 697, + 1014, 977, 1087, 1070, 978, 981, 1018, 1045, 853, 1046, + 1091, 829, 1092, 1093, 897, 985, 1074, 817, 911, 906, + 898, 982, 918, 671, 900, 1047, 1003, 1069, 1019, 1021, + 1071, 850, 838, 901, 1094, 986, 987, 988, 1075, 1076, + 801, 1007, 931, 1022, 851, 1002, 1023, 1030, 1034, 1035, + 1077, 1095, 1078, 908, 1079, 861, 846, 964, 822, 1096, + 196, 843, 848, 859, 990, 291, 974, 1080, 1086, 1097, + 1036, 1039, 1040, 1098, 1099, 959, 866, 1008, 823, 1012, + 997, 868, 869, 607, 858, 1048, 841, 842, 857, 643, + 646, 1100, 1101, 1102, 966, 831, 830, 870, 871, 1050, + 855, 1051, 1103, 655, 875, 1104, 1043, 703, 705, 586, + 664, 662, 707, 839, 1082, 816, 818, 847, 989, 705, + 833, 877, 1105, 880, 881, 883, 1041, 886, 1016, 1106, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 468, 468, 468, 468, 468, 468, + 313, 313, 313, 313, 313, 468, 468, 468, 468, 468, + 468, 468, 313, 468, 468, 468, 313, 0, 0, 313, + 0, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 468, 468, 468, 468, 468, + 468, 468, 468, 468, 468, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 524, 524, + 297, 297, 297, 297, 524, 524, 524, 524, 524, 524, + 524, 524, 524, 524, 297, 297, 297, 0, 297, 297, + 297, 297, 297, 297, 297, 856, 524, 524, 524, 524, + 133, 133, 133, 133, -95, -95, -95, 524, 524, 133, + 524, 856, 524, 524, 524, 524, 524, 524, 524, 524, + 524, 0, 0, 524, 524, 524, 524, 222, -70, 524, + 826, 826, 826, 826, 524, 524, 524, 524, -70, -70, + 524, 524, 524, 0, 0, 0, 133, 133, 222, 0, + 0, 222, 391, 0, 826, 826, 524, 391, 856, 442, + 524, 489, 0, 0, 0, 0, 0, 0, 0, 222, + 826, 222, 568, 832, -70, -70, 568, 568, 832, 5, + 33, 442, 685, 685, 685, 685, 33, 0, 0, 0, + 0, 0, 701, 856, 856, 856, 856, 856, 856, 856, + 856, 856, 856, 856, 856, 826, 0, 856, 0, 856, + 856, 826, 826, 826, 0, 0, 0, 0, 0, 0, + 0, 0, 929, 0, 0, 0, 0, 0, 0, 0, + 826, 0, 929, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 826, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 817, 850, 0, 0, 850, 0, 817, 817, 817, + 0, 0, 0, 858, 855 + ); + + protected array $actionDefault = array( + 3,32767, 102,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 100,32767, 617, 617, + 617, 617,32767,32767, 254, 102,32767,32767, 488, 405, + 405, 405,32767,32767, 561, 561, 561, 561, 561,32767, + 32767,32767,32767,32767,32767, 488,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 36, 7, 8, 10, + 11, 49, 17, 327, 100,32767,32767,32767,32767,32767, + 32767,32767,32767, 102,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767, 392, 610,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 492, 471, 472, 474, + 475, 404, 562, 616, 330, 613, 332, 403, 145, 342, + 333, 242, 258, 493, 259, 494, 497, 498, 215, 389, + 149, 150, 435, 489, 437, 487, 491, 436, 410, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 408, 409, 490,32767,32767, 468, 467, 466, + 433,32767,32767,32767,32767,32767,32767,32767,32767, 102, + 32767, 434, 438, 441, 407, 439, 440, 457, 458, 455, + 456, 459,32767,32767, 319,32767,32767, 460, 461, 462, + 463, 370, 195, 368,32767,32767, 442, 319, 111,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 448, 449, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 102,32767, 100, + 505, 555, 465, 443, 444,32767, 530,32767, 102,32767, + 532,32767,32767,32767,32767,32767,32767,32767,32767, 557, + 430, 432, 525, 611, 411, 614,32767, 518, 100, 195, + 32767,32767, 531, 195, 195,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 556,32767, 624, 518, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110,32767, 195, 110,32767, 110, 110,32767,32767, + 100, 195, 195, 195, 195, 195, 195, 195, 195, 533, + 195, 195, 190,32767, 268, 270, 102, 579, 195, 535, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 392,32767,32767,32767,32767, 518, 453, 138, + 32767, 520, 138, 563, 445, 446, 447, 563, 563, 563, + 315, 292,32767,32767,32767,32767, 533, 533, 100, 100, + 100, 100,32767,32767,32767,32767, 111, 504, 99, 99, + 99, 99, 99, 103, 101,32767,32767,32767,32767, 223, + 32767, 101, 99,32767, 101, 101,32767,32767, 223, 225, + 212, 227,32767, 583, 584, 223, 101, 227, 227, 227, + 247, 247, 507, 321, 101, 99, 101, 101, 197, 321, + 321,32767, 101, 507, 321, 507, 321, 199, 321, 321, + 321, 507, 321,32767, 101, 321, 214, 99, 99, 321, + 32767,32767,32767,32767, 520,32767,32767,32767,32767,32767, + 32767,32767, 222,32767,32767,32767,32767,32767,32767,32767, + 32767, 550,32767, 568, 581, 451, 452, 454, 567, 565, + 476, 477, 478, 479, 480, 481, 482, 484, 612,32767, + 524,32767,32767,32767, 341,32767, 622,32767,32767,32767, + 9, 74, 513, 42, 43, 51, 57, 539, 540, 541, + 542, 536, 537, 543, 538,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 623,32767, 563,32767,32767,32767,32767, 450, 545, 589, + 32767,32767, 564, 615,32767,32767,32767,32767,32767,32767, + 32767, 138,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 550,32767, 136,32767,32767,32767,32767,32767, + 32767,32767,32767, 546,32767,32767,32767, 563,32767,32767, + 32767,32767, 317, 314,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 563,32767,32767,32767,32767,32767, 294,32767, 311,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 388, 520, 297, + 299, 300,32767,32767,32767,32767, 364,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 152, 152, 3, 3, 344, 152, 152, 152, 344, 344, + 152, 344, 344, 344, 152, 152, 152, 152, 152, 152, + 152, 280, 185, 262, 265, 247, 247, 152, 356, 152, + 390, 390, 399 + ); + + protected array $goto = array( + 194, 194, 1051, 487, 705, 278, 278, 278, 278, 1082, + 489, 548, 548, 907, 865, 907, 907, 548, 714, 548, + 548, 548, 548, 548, 548, 548, 548, 166, 166, 166, + 166, 218, 195, 191, 191, 176, 178, 213, 191, 191, + 191, 191, 191, 192, 192, 192, 192, 192, 186, 187, + 188, 189, 190, 215, 213, 216, 545, 546, 428, 547, + 550, 551, 552, 553, 554, 555, 556, 557, 1168, 167, + 168, 169, 193, 170, 171, 172, 164, 173, 174, 175, + 177, 212, 214, 217, 237, 240, 251, 252, 253, 255, + 256, 257, 258, 259, 260, 261, 267, 268, 269, 270, + 276, 288, 289, 313, 314, 434, 435, 436, 607, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + 230, 231, 232, 233, 234, 186, 187, 188, 189, 190, + 215, 1168, 196, 197, 198, 199, 238, 179, 180, 200, + 181, 201, 197, 182, 239, 196, 163, 202, 203, 183, + 204, 205, 206, 184, 207, 208, 165, 209, 210, 211, + 185, 869, 560, 841, 560, 560, 592, 1099, 866, 847, + 744, 646, 648, 609, 560, 668, 1125, 1153, 1126, 692, + 695, 1024, 703, 712, 1020, 719, 355, 355, 355, 355, + 1054, 1054, 690, 966, 867, 463, 1046, 1062, 1063, 989, + 983, 983, 983, 983, 247, 247, 463, 977, 984, 1371, + 1371, 847, 426, 847, 923, 918, 919, 932, 875, 920, + 872, 921, 922, 873, 1371, 926, 879, 900, 475, 475, + 878, 245, 245, 245, 245, 242, 248, 475, 1105, 1101, + 1102, 438, 670, 1057, 1056, 1374, 1374, 433, 334, 330, + 331, 333, 602, 437, 335, 439, 647, 470, 1272, 1051, + 1272, 1272, 341, 599, 456, 456, 1217, 456, 456, 1051, + 1272, 350, 1051, 520, 1051, 1051, 1051, 1051, 1051, 1051, + 1051, 1051, 1051, 342, 341, 1051, 1051, 1051, 1051, 663, + 664, 1272, 681, 682, 683, 465, 1272, 1272, 1272, 1272, + 862, 440, 1272, 1272, 1272, 1353, 1353, 1353, 1353, 348, + 1248, 958, 1361, 358, 440, 1249, 1252, 959, 940, 1253, + 1058, 1058, 941, 358, 358, 882, 400, 674, 1069, 1065, + 1066, 630, 667, 702, 358, 358, 447, 843, 358, 927, + 1388, 928, 1010, 894, 569, 562, 881, 862, 956, 702, + 1060, 1061, 702, 956, 597, 564, 981, 417, 713, 358, + 358, 669, 456, 456, 456, 456, 456, 456, 456, 456, + 456, 456, 456, 456, 1165, 432, 456, 621, 456, 456, + 320, 306, 340, 562, 569, 594, 595, 345, 605, 611, + 1075, 626, 627, 675, 632, 632, 484, 1346, 1347, 25, + 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, 1303, + 1322, 1322, 640, 642, 644, 1333, 1322, 1322, 1322, 1322, + 1322, 1322, 1322, 1322, 1322, 1322, 445, 5, 1344, 6, + 1344, 1344, 558, 558, 558, 558, 422, 613, 250, 250, + 1344, 895, 883, 1087, 1091, 271, 319, 691, 319, 319, + 336, 563, 589, 859, 992, 887, 563, 972, 589, 409, + 403, 469, 1355, 1355, 1355, 1355, 884, 564, 402, 405, + 610, 614, 625, 478, 606, 479, 480, 982, 862, 1348, + 1349, 892, 1319, 1319, 1379, 1380, 1340, 1263, 1319, 1319, + 1319, 1319, 1319, 1319, 1319, 1319, 1319, 1319, 1013, 1137, + 899, 985, 1148, 743, 549, 549, 561, 1022, 1017, 890, + 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 1267, 1032, 608, 1118, 1088, 351, 352, 508, 328, 509, + 747, 1265, 1042, 717, 485, 515, 896, 1090, 516, 708, + 1092, 1116, 994, 1342, 1342, 1090, 619, 633, 636, 637, + 638, 639, 660, 661, 662, 716, 718, 414, 415, 752, + 752, 377, 679, 0, 680, 0, 419, 420, 421, 1139, + 693, 603, 624, 423, 0, 1268, 1269, 346, 1255, 0, + 0, 0, 0, 615, 857, 0, 945, 1155, 0, 0, + 0, 1255, 0, 0, 0, 0, 0, 0, 1029, 0, + 0, 0, 0, 1270, 1330, 1331, 886, 0, 673, 1008, + 0, 0, 0, 0, 880, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1262, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1027, + 1027 + ); + + protected array $gotoCheck = array( + 42, 42, 73, 84, 73, 23, 23, 23, 23, 128, + 84, 162, 162, 25, 25, 25, 25, 162, 9, 162, + 162, 162, 162, 162, 162, 162, 162, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 15, 19, 6, 19, 19, 48, 15, 26, 12, + 48, 48, 48, 131, 19, 48, 146, 146, 146, 48, + 48, 48, 48, 48, 48, 48, 24, 24, 24, 24, + 89, 89, 89, 89, 27, 19, 89, 89, 89, 49, + 19, 19, 19, 19, 5, 5, 19, 19, 19, 188, + 188, 12, 43, 12, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 188, 15, 15, 45, 154, 154, + 15, 5, 5, 5, 5, 5, 5, 154, 15, 15, + 15, 66, 66, 119, 119, 188, 188, 66, 66, 66, + 66, 66, 66, 66, 66, 66, 66, 156, 73, 73, + 73, 73, 174, 178, 23, 23, 156, 23, 23, 73, + 73, 97, 73, 76, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 174, 174, 73, 73, 73, 73, 86, + 86, 73, 86, 86, 86, 83, 73, 73, 73, 73, + 22, 118, 73, 73, 73, 9, 9, 9, 9, 185, + 79, 79, 187, 14, 118, 79, 79, 79, 73, 79, + 118, 118, 73, 14, 14, 35, 62, 118, 118, 118, + 118, 56, 56, 7, 14, 14, 83, 7, 14, 65, + 14, 65, 103, 35, 76, 76, 35, 22, 9, 7, + 120, 120, 7, 9, 104, 14, 93, 93, 93, 14, + 14, 64, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 23, 23, 23, 155, 13, 23, 13, 23, 23, + 175, 175, 76, 76, 76, 76, 76, 76, 76, 76, + 115, 76, 76, 121, 108, 108, 182, 182, 182, 76, + 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, + 176, 176, 85, 85, 85, 14, 176, 176, 176, 176, + 176, 176, 176, 176, 176, 176, 113, 46, 131, 46, + 131, 131, 107, 107, 107, 107, 14, 107, 5, 5, + 131, 16, 16, 16, 16, 24, 24, 117, 24, 24, + 29, 9, 9, 18, 16, 39, 9, 92, 9, 28, + 9, 9, 131, 131, 131, 131, 37, 14, 59, 59, + 59, 59, 80, 9, 9, 9, 9, 16, 22, 184, + 184, 9, 177, 177, 9, 9, 131, 166, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 50, 16, + 16, 50, 153, 50, 179, 179, 50, 50, 50, 9, + 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, + 20, 110, 8, 8, 130, 97, 97, 160, 9, 160, + 99, 14, 114, 8, 157, 160, 41, 131, 8, 8, + 133, 8, 96, 131, 131, 131, 81, 81, 81, 81, + 81, 81, 81, 81, 81, 81, 81, 82, 82, 24, + 24, 138, 82, -1, 82, -1, 82, 82, 82, 149, + 82, 2, 2, 82, -1, 20, 20, 82, 20, -1, + -1, -1, -1, 17, 20, -1, 17, 17, -1, -1, + -1, 20, -1, -1, -1, -1, -1, -1, 17, -1, + -1, -1, -1, 20, 20, 20, 17, -1, 17, 17, + -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 107, + 107 + ); + + protected array $gotoBase = array( + 0, 0, -151, 0, 0, 203, 153, 326, 514, 8, + 0, 0, -125, 39, 18, -186, -18, 112, 146, -101, + 121, 0, 22, 2, 183, 10, 164, 190, 123, 156, + 0, 0, 0, 0, 0, -50, 0, 128, 0, 137, + 0, 88, -1, 189, 0, 201, -320, 0, -555, 181, + 486, 0, 0, 0, 0, 0, 291, 0, 0, 423, + 0, 0, 284, 0, 125, 325, 6, 0, 0, 0, + 0, 0, 0, -5, 0, 0, 1, 0, 0, -104, + 127, 185, 58, 17, -475, -75, -439, 0, 0, -89, + 0, 0, 133, 54, 0, 0, 92, -220, 0, 117, + 0, 0, 0, 307, 311, 0, 0, 404, 159, 0, + 147, 0, 0, 149, 110, 116, 0, 166, 37, -36, + 67, 103, 0, 0, 0, 0, 0, 0, 7, 0, + 144, 165, 0, 91, 0, 0, 0, 0, -190, 0, + 0, 0, 0, 0, 0, 0, -95, 0, 0, 118, + 0, 0, 0, 148, 194, 132, -9, 87, 0, 0, + 24, 0, -224, 0, 0, 0, 114, 0, 0, 0, + 0, 0, 0, 0, -33, 64, 175, 247, 234, 269, + 0, 0, 98, 0, 101, 279, 0, 281, -96, 0, + 0 + ); + + protected array $gotoDefault = array( + -32768, 521, 754, 4, 755, 949, 830, 839, 585, 539, + 715, 347, 634, 429, 1338, 925, 1154, 604, 858, 1281, + 1287, 464, 861, 325, 741, 937, 908, 909, 406, 393, + 874, 404, 658, 635, 502, 893, 460, 885, 494, 888, + 459, 897, 162, 425, 518, 901, 3, 904, 567, 935, + 987, 394, 912, 395, 686, 914, 588, 916, 917, 401, + 407, 408, 1159, 596, 631, 929, 254, 590, 930, 392, + 931, 939, 397, 399, 696, 474, 513, 507, 418, 1120, + 591, 618, 655, 453, 481, 629, 641, 628, 488, 441, + 424, 324, 971, 979, 495, 472, 993, 349, 1001, 749, + 1167, 649, 497, 1009, 650, 1016, 1019, 540, 541, 486, + 1031, 264, 1034, 498, 1043, 23, 676, 1048, 1049, 677, + 651, 1071, 652, 678, 653, 1073, 471, 586, 1081, 461, + 1089, 1327, 462, 1093, 262, 1096, 277, 353, 376, 442, + 1103, 1104, 9, 1110, 706, 707, 19, 273, 517, 1138, + 697, 1144, 272, 1147, 458, 1166, 457, 1236, 1238, 568, + 499, 1256, 310, 1259, 689, 514, 1264, 454, 1329, 455, + 542, 482, 332, 543, 1372, 305, 356, 329, 559, 311, + 357, 544, 483, 1335, 1343, 326, 31, 1362, 1373, 601, + 623 + ); + + protected array $ruleToNonTerminal = array( + 0, 1, 3, 3, 2, 5, 5, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, + 7, 7, 7, 7, 7, 8, 8, 9, 10, 11, + 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, + 16, 17, 17, 18, 18, 21, 21, 22, 23, 23, + 24, 24, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 29, 29, 30, 30, 32, 34, 34, + 28, 36, 36, 33, 38, 38, 35, 35, 37, 37, + 39, 39, 31, 40, 40, 41, 43, 44, 44, 45, + 45, 46, 46, 48, 47, 47, 47, 47, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 25, 25, 50, 69, 69, 72, 72, 71, + 70, 70, 63, 75, 75, 76, 76, 77, 77, 78, + 78, 79, 79, 80, 80, 26, 26, 27, 27, 27, + 27, 27, 88, 88, 90, 90, 83, 83, 91, 91, + 92, 92, 92, 84, 84, 87, 87, 85, 85, 93, + 94, 94, 57, 57, 65, 65, 68, 68, 68, 67, + 95, 95, 96, 58, 58, 58, 58, 97, 97, 98, + 98, 99, 99, 100, 101, 101, 102, 102, 103, 103, + 55, 55, 51, 51, 105, 53, 53, 106, 52, 52, + 54, 54, 64, 64, 64, 64, 81, 81, 109, 109, + 111, 111, 112, 112, 112, 112, 112, 112, 112, 110, + 110, 110, 115, 115, 115, 115, 89, 89, 118, 118, + 118, 119, 119, 116, 116, 120, 120, 122, 122, 123, + 123, 117, 124, 124, 121, 125, 125, 125, 125, 113, + 113, 82, 82, 82, 20, 20, 20, 127, 126, 126, + 128, 128, 128, 128, 60, 129, 129, 130, 61, 132, + 132, 133, 133, 134, 134, 86, 135, 135, 135, 135, + 135, 135, 135, 135, 141, 141, 142, 142, 143, 143, + 143, 143, 143, 144, 145, 145, 140, 140, 136, 136, + 139, 139, 147, 147, 146, 146, 146, 146, 146, 146, + 146, 146, 146, 146, 137, 148, 148, 150, 149, 149, + 138, 138, 114, 114, 151, 151, 153, 153, 153, 152, + 152, 62, 104, 154, 154, 56, 56, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 161, 162, 162, 163, 155, 155, 160, 160, 164, + 165, 165, 166, 167, 168, 168, 168, 168, 19, 19, + 73, 73, 73, 73, 156, 156, 156, 156, 170, 170, + 159, 159, 159, 157, 157, 176, 176, 176, 176, 176, + 176, 176, 176, 176, 176, 177, 177, 177, 108, 179, + 179, 179, 179, 158, 158, 158, 158, 158, 158, 158, + 158, 59, 59, 173, 173, 173, 173, 173, 180, 180, + 169, 169, 169, 169, 181, 181, 181, 181, 181, 74, + 74, 66, 66, 66, 66, 131, 131, 131, 131, 184, + 183, 172, 172, 172, 172, 172, 172, 171, 171, 171, + 182, 182, 182, 182, 107, 178, 186, 186, 185, 185, + 187, 187, 187, 187, 187, 187, 187, 187, 175, 175, + 175, 175, 174, 189, 188, 188, 188, 188, 188, 188, + 188, 188, 190, 190, 190, 190 + ); + + protected array $ruleToLength = array( + 1, 1, 2, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 1, 1, 2, 1, 3, 4, 1, 2, + 0, 1, 1, 1, 1, 4, 3, 5, 4, 3, + 4, 1, 3, 1, 1, 8, 7, 2, 3, 1, + 2, 3, 1, 2, 3, 1, 1, 3, 1, 3, + 1, 2, 2, 3, 1, 3, 2, 3, 1, 3, + 3, 2, 0, 1, 1, 1, 1, 1, 3, 7, + 10, 5, 7, 9, 5, 3, 3, 3, 3, 3, + 3, 1, 2, 5, 7, 9, 6, 5, 6, 3, + 2, 1, 1, 1, 1, 0, 2, 1, 3, 8, + 0, 4, 2, 1, 3, 0, 1, 0, 1, 0, + 1, 3, 1, 1, 1, 8, 9, 7, 8, 7, + 6, 8, 0, 2, 0, 2, 1, 2, 1, 2, + 1, 1, 1, 0, 2, 0, 2, 0, 2, 2, + 1, 3, 1, 4, 1, 4, 1, 1, 4, 2, + 1, 3, 3, 3, 4, 4, 5, 0, 2, 4, + 3, 1, 1, 7, 0, 2, 1, 3, 3, 4, + 1, 4, 0, 2, 5, 0, 2, 6, 0, 2, + 0, 3, 1, 2, 1, 1, 2, 0, 1, 3, + 0, 2, 1, 1, 1, 1, 1, 1, 1, 7, + 9, 6, 1, 2, 1, 1, 1, 1, 1, 1, + 1, 1, 3, 3, 3, 1, 3, 3, 3, 3, + 3, 1, 3, 3, 1, 1, 2, 1, 1, 0, + 1, 0, 2, 2, 2, 4, 3, 1, 1, 3, + 1, 2, 2, 3, 2, 3, 1, 1, 2, 3, + 1, 1, 3, 2, 0, 1, 5, 7, 5, 6, + 10, 3, 5, 1, 1, 3, 0, 2, 4, 5, + 4, 4, 4, 3, 1, 1, 1, 1, 1, 1, + 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 2, 1, 3, 1, 1, 3, + 0, 2, 0, 3, 5, 8, 1, 3, 3, 0, + 2, 2, 2, 3, 1, 0, 1, 1, 3, 3, + 3, 4, 4, 1, 1, 2, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, + 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 4, 3, 4, + 4, 2, 2, 4, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 1, 3, 2, 1, 2, + 4, 2, 2, 8, 9, 8, 9, 9, 10, 9, + 10, 8, 3, 2, 2, 1, 1, 0, 4, 2, + 1, 3, 2, 1, 2, 2, 2, 4, 1, 1, + 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, + 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 3, 5, 3, 3, 4, + 1, 1, 3, 1, 1, 1, 1, 1, 3, 2, + 3, 0, 1, 1, 3, 1, 1, 1, 1, 1, + 1, 3, 1, 1, 1, 4, 1, 4, 4, 0, + 1, 1, 1, 3, 3, 1, 4, 2, 2, 1, + 3, 1, 4, 3, 3, 3, 3, 1, 3, 1, + 1, 3, 1, 1, 4, 1, 1, 1, 3, 1, + 1, 2, 1, 3, 4, 3, 2, 0, 2, 2, + 1, 2, 1, 1, 1, 4, 3, 3, 3, 3, + 6, 3, 1, 1, 2, 1 + ); + + protected function initReduceCallbacks(): void { + $this->reduceCallbacks = [ + 0 => null, + 1 => static function ($self, $stackPos) { + $self->semValue = $self->handleNamespaces($self->semStack[$stackPos-(1-1)]); + }, + 2 => static function ($self, $stackPos) { + if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; } $self->semValue = $self->semStack[$stackPos-(2-1)];; + }, + 3 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 4 => static function ($self, $stackPos) { + $nop = $self->maybeCreateZeroLengthNop($self->tokenPos);; + if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)]; + }, + 5 => null, + 6 => null, + 7 => null, + 8 => null, + 9 => null, + 10 => null, + 11 => null, + 12 => null, + 13 => null, + 14 => null, + 15 => null, + 16 => null, + 17 => null, + 18 => null, + 19 => null, + 20 => null, + 21 => null, + 22 => null, + 23 => null, + 24 => null, + 25 => null, + 26 => null, + 27 => null, + 28 => null, + 29 => null, + 30 => null, + 31 => null, + 32 => null, + 33 => null, + 34 => null, + 35 => null, + 36 => null, + 37 => null, + 38 => null, + 39 => null, + 40 => null, + 41 => null, + 42 => null, + 43 => null, + 44 => null, + 45 => null, + 46 => null, + 47 => null, + 48 => null, + 49 => null, + 50 => null, + 51 => null, + 52 => null, + 53 => null, + 54 => null, + 55 => null, + 56 => null, + 57 => null, + 58 => null, + 59 => null, + 60 => null, + 61 => null, + 62 => null, + 63 => null, + 64 => null, + 65 => null, + 66 => null, + 67 => null, + 68 => null, + 69 => null, + 70 => null, + 71 => null, + 72 => null, + 73 => null, + 74 => null, + 75 => null, + 76 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(1-1)]; if ($self->semValue === "emitError(new Error('Cannot use "getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]))); + }, + 77 => null, + 78 => null, + 79 => null, + 80 => null, + 81 => null, + 82 => null, + 83 => null, + 84 => null, + 85 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 86 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 87 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 88 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 89 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 90 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 91 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 92 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 93 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 94 => null, + 95 => static function ($self, $stackPos) { + $self->semValue = new Name(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 96 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 97 => static function ($self, $stackPos) { + /* nothing */ + }, + 98 => static function ($self, $stackPos) { + /* nothing */ + }, + 99 => static function ($self, $stackPos) { + /* nothing */ + }, + 100 => static function ($self, $stackPos) { + $self->emitError(new Error('A trailing comma is not allowed here', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]))); + }, + 101 => null, + 102 => null, + 103 => static function ($self, $stackPos) { + $self->semValue = new Node\Attribute($self->semStack[$stackPos-(1-1)], [], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 104 => static function ($self, $stackPos) { + $self->semValue = new Node\Attribute($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 105 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 106 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 107 => static function ($self, $stackPos) { + $self->semValue = new Node\AttributeGroup($self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 108 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 109 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 110 => static function ($self, $stackPos) { + $self->semValue = []; + }, + 111 => null, + 112 => null, + 113 => null, + 114 => null, + 115 => static function ($self, $stackPos) { + $self->semValue = new Stmt\HaltCompiler($self->handleHaltCompiler(), $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 116 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Namespace_($self->semStack[$stackPos-(3-2)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + $self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON); + $self->checkNamespace($self->semValue); + }, + 117 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Namespace_($self->semStack[$stackPos-(5-2)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + $self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); + $self->checkNamespace($self->semValue); + }, + 118 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Namespace_(null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + $self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); + $self->checkNamespace($self->semValue); + }, + 119 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Use_($self->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 120 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Use_($self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 121 => null, + 122 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Const_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 123 => static function ($self, $stackPos) { + $self->semValue = Stmt\Use_::TYPE_FUNCTION; + }, + 124 => static function ($self, $stackPos) { + $self->semValue = Stmt\Use_::TYPE_CONSTANT; + }, + 125 => static function ($self, $stackPos) { + $self->semValue = new Stmt\GroupUse($self->semStack[$stackPos-(8-3)], $self->semStack[$stackPos-(8-6)], $self->semStack[$stackPos-(8-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + }, + 126 => static function ($self, $stackPos) { + $self->semValue = new Stmt\GroupUse($self->semStack[$stackPos-(7-2)], $self->semStack[$stackPos-(7-5)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + }, + 127 => null, + 128 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 129 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 130 => null, + 131 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 132 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 133 => null, + 134 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 135 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 136 => static function ($self, $stackPos) { + $self->semValue = new Node\UseItem($self->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(1-1)); + }, + 137 => static function ($self, $stackPos) { + $self->semValue = new Node\UseItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(3-3)); + }, + 138 => static function ($self, $stackPos) { + $self->semValue = new Node\UseItem($self->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(1-1)); + }, + 139 => static function ($self, $stackPos) { + $self->semValue = new Node\UseItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(3-3)); + }, + 140 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(1-1)]; $self->semValue->type = Stmt\Use_::TYPE_NORMAL; + }, + 141 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; $self->semValue->type = $self->semStack[$stackPos-(2-1)]; + }, + 142 => null, + 143 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 144 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 145 => static function ($self, $stackPos) { + $self->semValue = new Node\Const_($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 146 => null, + 147 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 148 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 149 => static function ($self, $stackPos) { + $self->semValue = new Node\Const_(new Node\Identifier($self->semStack[$stackPos-(3-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 150 => static function ($self, $stackPos) { + $self->semValue = new Node\Const_(new Node\Identifier($self->semStack[$stackPos-(3-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 151 => static function ($self, $stackPos) { + if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; } $self->semValue = $self->semStack[$stackPos-(2-1)];; + }, + 152 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 153 => static function ($self, $stackPos) { + $nop = $self->maybeCreateZeroLengthNop($self->tokenPos);; + if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)]; + }, + 154 => null, + 155 => null, + 156 => null, + 157 => static function ($self, $stackPos) { + throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 158 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 159 => static function ($self, $stackPos) { + $self->semValue = new Stmt\If_($self->semStack[$stackPos-(7-3)], ['stmts' => $self->semStack[$stackPos-(7-5)], 'elseifs' => $self->semStack[$stackPos-(7-6)], 'else' => $self->semStack[$stackPos-(7-7)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + }, + 160 => static function ($self, $stackPos) { + $self->semValue = new Stmt\If_($self->semStack[$stackPos-(10-3)], ['stmts' => $self->semStack[$stackPos-(10-6)], 'elseifs' => $self->semStack[$stackPos-(10-7)], 'else' => $self->semStack[$stackPos-(10-8)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos])); + }, + 161 => static function ($self, $stackPos) { + $self->semValue = new Stmt\While_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 162 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Do_($self->semStack[$stackPos-(7-5)], $self->semStack[$stackPos-(7-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + }, + 163 => static function ($self, $stackPos) { + $self->semValue = new Stmt\For_(['init' => $self->semStack[$stackPos-(9-3)], 'cond' => $self->semStack[$stackPos-(9-5)], 'loop' => $self->semStack[$stackPos-(9-7)], 'stmts' => $self->semStack[$stackPos-(9-9)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 164 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Switch_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 165 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Break_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 166 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Continue_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 167 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 168 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Global_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 169 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Static_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 170 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Echo_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 171 => static function ($self, $stackPos) { + + $self->semValue = new Stmt\InlineHTML($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + $self->semValue->setAttribute('hasLeadingNewline', $self->inlineHtmlHasLeadingNewline($stackPos-(1-1))); + + }, + 172 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Expression($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 173 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Unset_($self->semStack[$stackPos-(5-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 174 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $self->semStack[$stackPos-(7-5)][1], 'stmts' => $self->semStack[$stackPos-(7-7)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + }, + 175 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(9-3)], $self->semStack[$stackPos-(9-7)][0], ['keyVar' => $self->semStack[$stackPos-(9-5)], 'byRef' => $self->semStack[$stackPos-(9-7)][1], 'stmts' => $self->semStack[$stackPos-(9-9)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 176 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(6-3)], new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(6-4)], $self->tokenEndStack[$stackPos-(6-4)])), ['stmts' => $self->semStack[$stackPos-(6-6)]], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); + }, + 177 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Declare_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 178 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TryCatch($self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-5)], $self->semStack[$stackPos-(6-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); $self->checkTryCatch($self->semValue); + }, + 179 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Goto_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 180 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Label($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 181 => static function ($self, $stackPos) { + $self->semValue = null; /* means: no statement */ + }, + 182 => null, + 183 => static function ($self, $stackPos) { + $self->semValue = $self->maybeCreateNop($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]); + }, + 184 => static function ($self, $stackPos) { + if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$stackPos-(1-1)]->stmts; } else if ($self->semStack[$stackPos-(1-1)] === null) { $self->semValue = []; } else { $self->semValue = [$self->semStack[$stackPos-(1-1)]]; }; + }, + 185 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 186 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 187 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 188 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 189 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Catch_($self->semStack[$stackPos-(8-3)], $self->semStack[$stackPos-(8-4)], $self->semStack[$stackPos-(8-7)], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + }, + 190 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 191 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Finally_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 192 => null, + 193 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 194 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 195 => static function ($self, $stackPos) { + $self->semValue = false; + }, + 196 => static function ($self, $stackPos) { + $self->semValue = true; + }, + 197 => static function ($self, $stackPos) { + $self->semValue = false; + }, + 198 => static function ($self, $stackPos) { + $self->semValue = true; + }, + 199 => static function ($self, $stackPos) { + $self->semValue = false; + }, + 200 => static function ($self, $stackPos) { + $self->semValue = true; + }, + 201 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 202 => static function ($self, $stackPos) { + $self->semValue = []; + }, + 203 => null, + 204 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 205 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Function_($self->semStack[$stackPos-(8-3)], ['byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-5)], 'returnType' => $self->semStack[$stackPos-(8-7)], 'stmts' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + }, + 206 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Function_($self->semStack[$stackPos-(9-4)], ['byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-6)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 207 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Class_($self->semStack[$stackPos-(7-2)], ['type' => $self->semStack[$stackPos-(7-1)], 'extends' => $self->semStack[$stackPos-(7-3)], 'implements' => $self->semStack[$stackPos-(7-4)], 'stmts' => $self->semStack[$stackPos-(7-6)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + $self->checkClass($self->semValue, $stackPos-(7-2)); + }, + 208 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Class_($self->semStack[$stackPos-(8-3)], ['type' => $self->semStack[$stackPos-(8-2)], 'extends' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + $self->checkClass($self->semValue, $stackPos-(8-3)); + }, + 209 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Interface_($self->semStack[$stackPos-(7-3)], ['extends' => $self->semStack[$stackPos-(7-4)], 'stmts' => $self->semStack[$stackPos-(7-6)], 'attrGroups' => $self->semStack[$stackPos-(7-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + $self->checkInterface($self->semValue, $stackPos-(7-3)); + }, + 210 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Trait_($self->semStack[$stackPos-(6-3)], ['stmts' => $self->semStack[$stackPos-(6-5)], 'attrGroups' => $self->semStack[$stackPos-(6-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); + }, + 211 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + $self->checkEnum($self->semValue, $stackPos-(8-3)); + }, + 212 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 213 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 214 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 215 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 216 => static function ($self, $stackPos) { + $self->semValue = 0; + }, + 217 => null, + 218 => null, + 219 => static function ($self, $stackPos) { + $self->checkClassModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)]; + }, + 220 => static function ($self, $stackPos) { + $self->semValue = Modifiers::ABSTRACT; + }, + 221 => static function ($self, $stackPos) { + $self->semValue = Modifiers::FINAL; + }, + 222 => static function ($self, $stackPos) { + $self->semValue = Modifiers::READONLY; + }, + 223 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 224 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 225 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 226 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 227 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 228 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 229 => null, + 230 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 231 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 232 => null, + 233 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 234 => null, + 235 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 236 => static function ($self, $stackPos) { + if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$stackPos-(1-1)]->stmts; } else if ($self->semStack[$stackPos-(1-1)] === null) { $self->semValue = []; } else { $self->semValue = [$self->semStack[$stackPos-(1-1)]]; }; + }, + 237 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 238 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 239 => null, + 240 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 241 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 242 => static function ($self, $stackPos) { + $self->semValue = new Node\DeclareItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 243 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 244 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-3)]; + }, + 245 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 246 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(5-3)]; + }, + 247 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 248 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 249 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Case_($self->semStack[$stackPos-(4-2)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 250 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Case_(null, $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 251 => null, + 252 => null, + 253 => static function ($self, $stackPos) { + $self->semValue = new Expr\Match_($self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos])); + }, + 254 => static function ($self, $stackPos) { + $self->semValue = []; + }, + 255 => null, + 256 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 257 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 258 => static function ($self, $stackPos) { + $self->semValue = new Node\MatchArm($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 259 => static function ($self, $stackPos) { + $self->semValue = new Node\MatchArm(null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 260 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(1-1)]; + }, + 261 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 262 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 263 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 264 => static function ($self, $stackPos) { + $self->semValue = new Stmt\ElseIf_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 265 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 266 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 267 => static function ($self, $stackPos) { + $self->semValue = new Stmt\ElseIf_($self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); $self->fixupAlternativeElse($self->semValue); + }, + 268 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 269 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 270 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 271 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->fixupAlternativeElse($self->semValue); + }, + 272 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)], false); + }, + 273 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(2-2)], true); + }, + 274 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)], false); + }, + 275 => static function ($self, $stackPos) { + $self->semValue = array($self->fixupArrayDestructuring($self->semStack[$stackPos-(1-1)]), false); + }, + 276 => null, + 277 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 278 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 279 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 280 => static function ($self, $stackPos) { + $self->semValue = 0; + }, + 281 => static function ($self, $stackPos) { + $self->checkModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)]; + }, + 282 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PUBLIC; + }, + 283 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PROTECTED; + }, + 284 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PRIVATE; + }, + 285 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PUBLIC_SET; + }, + 286 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PROTECTED_SET; + }, + 287 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PRIVATE_SET; + }, + 288 => static function ($self, $stackPos) { + $self->semValue = Modifiers::READONLY; + }, + 289 => static function ($self, $stackPos) { + $self->semValue = new Node\Param($self->semStack[$stackPos-(7-6)], null, $self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-4)], $self->semStack[$stackPos-(7-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(7-2)], $self->semStack[$stackPos-(7-1)], $self->semStack[$stackPos-(7-7)]); + $self->checkParam($self->semValue); + }, + 290 => static function ($self, $stackPos) { + $self->semValue = new Node\Param($self->semStack[$stackPos-(9-6)], $self->semStack[$stackPos-(9-8)], $self->semStack[$stackPos-(9-3)], $self->semStack[$stackPos-(9-4)], $self->semStack[$stackPos-(9-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(9-2)], $self->semStack[$stackPos-(9-1)], $self->semStack[$stackPos-(9-9)]); + $self->checkParam($self->semValue); + }, + 291 => static function ($self, $stackPos) { + $self->semValue = new Node\Param(new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])), null, $self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-4)], $self->semStack[$stackPos-(6-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(6-2)], $self->semStack[$stackPos-(6-1)]); + }, + 292 => null, + 293 => static function ($self, $stackPos) { + $self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 294 => static function ($self, $stackPos) { + $self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 295 => null, + 296 => null, + 297 => static function ($self, $stackPos) { + $self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 298 => static function ($self, $stackPos) { + $self->semValue = $self->handleBuiltinTypes($self->semStack[$stackPos-(1-1)]); + }, + 299 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier('array', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 300 => static function ($self, $stackPos) { + $self->semValue = new Node\Identifier('callable', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 301 => null, + 302 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 303 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]); + }, + 304 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 305 => null, + 306 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 307 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]); + }, + 308 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 309 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]); + }, + 310 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 311 => static function ($self, $stackPos) { + $self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 312 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]); + }, + 313 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 314 => static function ($self, $stackPos) { + $self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 315 => null, + 316 => static function ($self, $stackPos) { + $self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 317 => static function ($self, $stackPos) { + $self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 318 => null, + 319 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 320 => null, + 321 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 322 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(2-2)]; + }, + 323 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 324 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 325 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-2)]; + }, + 326 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-2)]); + }, + 327 => static function ($self, $stackPos) { + $self->semValue = new Node\VariadicPlaceholder($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 328 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 329 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 330 => static function ($self, $stackPos) { + $self->semValue = new Node\Arg($self->semStack[$stackPos-(1-1)], false, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 331 => static function ($self, $stackPos) { + $self->semValue = new Node\Arg($self->semStack[$stackPos-(2-2)], true, false, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 332 => static function ($self, $stackPos) { + $self->semValue = new Node\Arg($self->semStack[$stackPos-(2-2)], false, true, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 333 => static function ($self, $stackPos) { + $self->semValue = new Node\Arg($self->semStack[$stackPos-(3-3)], false, false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(3-1)]); + }, + 334 => null, + 335 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 336 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 337 => null, + 338 => null, + 339 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 340 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 341 => static function ($self, $stackPos) { + $self->semValue = new Node\StaticVar($self->semStack[$stackPos-(1-1)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 342 => static function ($self, $stackPos) { + $self->semValue = new Node\StaticVar($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 343 => static function ($self, $stackPos) { + if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; } else { $self->semValue = $self->semStack[$stackPos-(2-1)]; } + }, + 344 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 345 => static function ($self, $stackPos) { + $nop = $self->maybeCreateZeroLengthNop($self->tokenPos);; + if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)]; + }, + 346 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Property($self->semStack[$stackPos-(5-2)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-1)]); + }, + 347 => static function ($self, $stackPos) { + $self->semValue = new Stmt\Property($self->semStack[$stackPos-(7-2)], $self->semStack[$stackPos-(7-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-1)], $self->semStack[$stackPos-(7-6)]); + $self->checkPropertyHookList($self->semStack[$stackPos-(7-6)], $stackPos-(7-5)); + }, + 348 => static function ($self, $stackPos) { + $self->semValue = new Stmt\ClassConst($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(5-1)]); + $self->checkClassConst($self->semValue, $stackPos-(5-2)); + }, + 349 => static function ($self, $stackPos) { + $self->semValue = new Stmt\ClassConst($self->semStack[$stackPos-(6-5)], $self->semStack[$stackPos-(6-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(6-1)], $self->semStack[$stackPos-(6-4)]); + $self->checkClassConst($self->semValue, $stackPos-(6-2)); + }, + 350 => static function ($self, $stackPos) { + $self->semValue = new Stmt\ClassMethod($self->semStack[$stackPos-(10-5)], ['type' => $self->semStack[$stackPos-(10-2)], 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-7)], 'returnType' => $self->semStack[$stackPos-(10-9)], 'stmts' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos])); + $self->checkClassMethod($self->semValue, $stackPos-(10-2)); + }, + 351 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 352 => static function ($self, $stackPos) { + $self->semValue = new Stmt\EnumCase($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 353 => static function ($self, $stackPos) { + $self->semValue = null; /* will be skipped */ + }, + 354 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 355 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 356 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 357 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 358 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUseAdaptation\Precedence($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 359 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(5-1)][0], $self->semStack[$stackPos-(5-1)][1], $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 360 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], $self->semStack[$stackPos-(4-3)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 361 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 362 => static function ($self, $stackPos) { + $self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 363 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]); + }, + 364 => null, + 365 => static function ($self, $stackPos) { + $self->semValue = array(null, $self->semStack[$stackPos-(1-1)]); + }, + 366 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 367 => null, + 368 => null, + 369 => static function ($self, $stackPos) { + $self->semValue = 0; + }, + 370 => static function ($self, $stackPos) { + $self->semValue = 0; + }, + 371 => null, + 372 => null, + 373 => static function ($self, $stackPos) { + $self->checkModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)]; + }, + 374 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PUBLIC; + }, + 375 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PROTECTED; + }, + 376 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PRIVATE; + }, + 377 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PUBLIC_SET; + }, + 378 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PROTECTED_SET; + }, + 379 => static function ($self, $stackPos) { + $self->semValue = Modifiers::PRIVATE_SET; + }, + 380 => static function ($self, $stackPos) { + $self->semValue = Modifiers::STATIC; + }, + 381 => static function ($self, $stackPos) { + $self->semValue = Modifiers::ABSTRACT; + }, + 382 => static function ($self, $stackPos) { + $self->semValue = Modifiers::FINAL; + }, + 383 => static function ($self, $stackPos) { + $self->semValue = Modifiers::READONLY; + }, + 384 => null, + 385 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 386 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 387 => static function ($self, $stackPos) { + $self->semValue = new Node\VarLikeIdentifier(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 388 => static function ($self, $stackPos) { + $self->semValue = new Node\PropertyItem($self->semStack[$stackPos-(1-1)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 389 => static function ($self, $stackPos) { + $self->semValue = new Node\PropertyItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 390 => static function ($self, $stackPos) { + $self->semValue = []; + }, + 391 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 392 => static function ($self, $stackPos) { + $self->semValue = []; + }, + 393 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; $self->checkPropertyHookList($self->semStack[$stackPos-(3-2)], $stackPos-(3-1)); + }, + 394 => static function ($self, $stackPos) { + $self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-5)], ['flags' => $self->semStack[$stackPos-(5-2)], 'byRef' => $self->semStack[$stackPos-(5-3)], 'params' => [], 'attrGroups' => $self->semStack[$stackPos-(5-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + $self->checkPropertyHook($self->semValue, null); + }, + 395 => static function ($self, $stackPos) { + $self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(8-4)], $self->semStack[$stackPos-(8-8)], ['flags' => $self->semStack[$stackPos-(8-2)], 'byRef' => $self->semStack[$stackPos-(8-3)], 'params' => $self->semStack[$stackPos-(8-6)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + $self->checkPropertyHook($self->semValue, $stackPos-(8-5)); + }, + 396 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 397 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 398 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 399 => static function ($self, $stackPos) { + $self->semValue = 0; + }, + 400 => static function ($self, $stackPos) { + $self->checkPropertyHookModifiers($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)]; + }, + 401 => null, + 402 => null, + 403 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 404 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 405 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 406 => null, + 407 => null, + 408 => static function ($self, $stackPos) { + $self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 409 => static function ($self, $stackPos) { + $self->semValue = new Expr\Assign($self->fixupArrayDestructuring($self->semStack[$stackPos-(3-1)]), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 410 => static function ($self, $stackPos) { + $self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 411 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignRef($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 412 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignRef($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + if (!$self->phpVersion->allowsAssignNewByReference()) { + $self->emitError(new Error('Cannot assign new by reference', $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]))); + } + + }, + 413 => null, + 414 => null, + 415 => static function ($self, $stackPos) { + $self->semValue = new Expr\Clone_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 416 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 417 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Minus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 418 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Mul($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 419 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 420 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 421 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 422 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 423 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\BitwiseOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 424 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\BitwiseXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 425 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\ShiftLeft($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 426 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\ShiftRight($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 427 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Pow($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 428 => static function ($self, $stackPos) { + $self->semValue = new Expr\AssignOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 429 => static function ($self, $stackPos) { + $self->semValue = new Expr\PostInc($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 430 => static function ($self, $stackPos) { + $self->semValue = new Expr\PreInc($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 431 => static function ($self, $stackPos) { + $self->semValue = new Expr\PostDec($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 432 => static function ($self, $stackPos) { + $self->semValue = new Expr\PreDec($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 433 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BooleanOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 434 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BooleanAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 435 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\LogicalOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 436 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\LogicalAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 437 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\LogicalXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 438 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BitwiseOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 439 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 440 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 441 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\BitwiseXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 442 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 443 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 444 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Minus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 445 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Mul($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 446 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 447 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 448 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\ShiftLeft($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 449 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\ShiftRight($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 450 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Pow($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 451 => static function ($self, $stackPos) { + $self->semValue = new Expr\UnaryPlus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 452 => static function ($self, $stackPos) { + $self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 453 => static function ($self, $stackPos) { + $self->semValue = new Expr\BooleanNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 454 => static function ($self, $stackPos) { + $self->semValue = new Expr\BitwiseNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 455 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Identical($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 456 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\NotIdentical($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 457 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Equal($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 458 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\NotEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 459 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Spaceship($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 460 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Smaller($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 461 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\SmallerOrEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 462 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Greater($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 463 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\GreaterOrEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 464 => static function ($self, $stackPos) { + $self->semValue = new Expr\Instanceof_($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 465 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 466 => static function ($self, $stackPos) { + $self->semValue = new Expr\Ternary($self->semStack[$stackPos-(5-1)], $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 467 => static function ($self, $stackPos) { + $self->semValue = new Expr\Ternary($self->semStack[$stackPos-(4-1)], null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 468 => static function ($self, $stackPos) { + $self->semValue = new Expr\BinaryOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 469 => static function ($self, $stackPos) { + $self->semValue = new Expr\Isset_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 470 => static function ($self, $stackPos) { + $self->semValue = new Expr\Empty_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 471 => static function ($self, $stackPos) { + $self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 472 => static function ($self, $stackPos) { + $self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 473 => static function ($self, $stackPos) { + $self->semValue = new Expr\Eval_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 474 => static function ($self, $stackPos) { + $self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 475 => static function ($self, $stackPos) { + $self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 476 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\Int_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 477 => static function ($self, $stackPos) { + $attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]); + $attrs['kind'] = $self->getFloatCastKind($self->semStack[$stackPos-(2-1)]); + $self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs); + }, + 478 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\String_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 479 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\Array_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 480 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\Object_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 481 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\Bool_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 482 => static function ($self, $stackPos) { + $self->semValue = new Expr\Cast\Unset_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 483 => static function ($self, $stackPos) { + $self->semValue = $self->createExitExpr($self->semStack[$stackPos-(2-1)], $stackPos-(2-1), $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 484 => static function ($self, $stackPos) { + $self->semValue = new Expr\ErrorSuppress($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 485 => null, + 486 => static function ($self, $stackPos) { + $self->semValue = new Expr\ShellExec($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 487 => static function ($self, $stackPos) { + $self->semValue = new Expr\Print_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 488 => static function ($self, $stackPos) { + $self->semValue = new Expr\Yield_(null, null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 489 => static function ($self, $stackPos) { + $self->semValue = new Expr\Yield_($self->semStack[$stackPos-(2-2)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 490 => static function ($self, $stackPos) { + $self->semValue = new Expr\Yield_($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 491 => static function ($self, $stackPos) { + $self->semValue = new Expr\YieldFrom($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 492 => static function ($self, $stackPos) { + $self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 493 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-4)], 'returnType' => $self->semStack[$stackPos-(8-6)], 'expr' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + }, + 494 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'returnType' => $self->semStack[$stackPos-(9-7)], 'expr' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 495 => static function ($self, $stackPos) { + $self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-4)], 'uses' => $self->semStack[$stackPos-(8-6)], 'returnType' => $self->semStack[$stackPos-(8-7)], 'stmts' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])); + }, + 496 => static function ($self, $stackPos) { + $self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'uses' => $self->semStack[$stackPos-(9-7)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 497 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'returnType' => $self->semStack[$stackPos-(9-7)], 'expr' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 498 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-6)], 'returnType' => $self->semStack[$stackPos-(10-8)], 'expr' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos])); + }, + 499 => static function ($self, $stackPos) { + $self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'uses' => $self->semStack[$stackPos-(9-7)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos])); + }, + 500 => static function ($self, $stackPos) { + $self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-6)], 'uses' => $self->semStack[$stackPos-(10-8)], 'returnType' => $self->semStack[$stackPos-(10-9)], 'stmts' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos])); + }, + 501 => static function ($self, $stackPos) { + $self->semValue = array(new Stmt\Class_(null, ['type' => $self->semStack[$stackPos-(8-2)], 'extends' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])), $self->semStack[$stackPos-(8-3)]); + $self->checkClass($self->semValue[0], -1); + }, + 502 => static function ($self, $stackPos) { + $self->semValue = new Expr\New_($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 503 => static function ($self, $stackPos) { + list($class, $ctorArgs) = $self->semStack[$stackPos-(2-2)]; $self->semValue = new Expr\New_($class, $ctorArgs, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 504 => static function ($self, $stackPos) { + $self->semValue = new Expr\New_($self->semStack[$stackPos-(2-2)], [], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 505 => null, + 506 => null, + 507 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 508 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(4-3)]; + }, + 509 => null, + 510 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 511 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 512 => static function ($self, $stackPos) { + $self->semValue = new Node\ClosureUse($self->semStack[$stackPos-(2-2)], $self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 513 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 514 => static function ($self, $stackPos) { + $self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 515 => static function ($self, $stackPos) { + $self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 516 => static function ($self, $stackPos) { + $self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 517 => static function ($self, $stackPos) { + $self->semValue = new Expr\StaticCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 518 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 519 => null, + 520 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 521 => static function ($self, $stackPos) { + $self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 522 => static function ($self, $stackPos) { + $self->semValue = new Name\FullyQualified(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 523 => static function ($self, $stackPos) { + $self->semValue = new Name\Relative(substr($self->semStack[$stackPos-(1-1)], 10), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 524 => null, + 525 => null, + 526 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 527 => static function ($self, $stackPos) { + $self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2; + }, + 528 => null, + 529 => null, + 530 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 531 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); foreach ($self->semValue as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', $self->phpVersion->supportsUnicodeEscapes()); } }; + }, + 532 => static function ($self, $stackPos) { + foreach ($self->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', $self->phpVersion->supportsUnicodeEscapes()); } }; $self->semValue = $self->semStack[$stackPos-(1-1)]; + }, + 533 => static function ($self, $stackPos) { + $self->semValue = array(); + }, + 534 => null, + 535 => static function ($self, $stackPos) { + $self->semValue = new Expr\ConstFetch($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 536 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 537 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 538 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 539 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Class_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 540 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 541 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Method($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 542 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Function_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 543 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Namespace_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 544 => static function ($self, $stackPos) { + $self->semValue = new Scalar\MagicConst\Property($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 545 => static function ($self, $stackPos) { + $self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 546 => static function ($self, $stackPos) { + $self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(5-1)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos])); + }, + 547 => static function ($self, $stackPos) { + $self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(3-1)], new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)])), $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2; + }, + 548 => static function ($self, $stackPos) { + $attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Expr\Array_::KIND_SHORT; + $self->semValue = new Expr\Array_($self->semStack[$stackPos-(3-2)], $attrs); + }, + 549 => static function ($self, $stackPos) { + $attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Expr\Array_::KIND_LONG; + $self->semValue = new Expr\Array_($self->semStack[$stackPos-(4-3)], $attrs); + $self->createdArrays->attach($self->semValue); + }, + 550 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(1-1)]; $self->createdArrays->attach($self->semValue); + }, + 551 => static function ($self, $stackPos) { + $self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]), $self->phpVersion->supportsUnicodeEscapes()); + }, + 552 => static function ($self, $stackPos) { + $attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED; + foreach ($self->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', $self->phpVersion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semStack[$stackPos-(3-2)], $attrs); + }, + 553 => static function ($self, $stackPos) { + $self->semValue = $self->parseLNumber($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]), $self->phpVersion->allowsInvalidOctals()); + }, + 554 => static function ($self, $stackPos) { + $self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 555 => null, + 556 => null, + 557 => null, + 558 => static function ($self, $stackPos) { + $self->semValue = $self->parseDocString($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)]), true); + }, + 559 => static function ($self, $stackPos) { + $self->semValue = $self->parseDocString($self->semStack[$stackPos-(2-1)], '', $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(2-2)], $self->tokenEndStack[$stackPos-(2-2)]), true); + }, + 560 => static function ($self, $stackPos) { + $self->semValue = $self->parseDocString($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)]), true); + }, + 561 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 562 => null, + 563 => null, + 564 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 565 => null, + 566 => null, + 567 => null, + 568 => null, + 569 => null, + 570 => null, + 571 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 572 => null, + 573 => null, + 574 => null, + 575 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 576 => null, + 577 => static function ($self, $stackPos) { + $self->semValue = new Expr\MethodCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 578 => static function ($self, $stackPos) { + $self->semValue = new Expr\NullsafeMethodCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 579 => static function ($self, $stackPos) { + $self->semValue = null; + }, + 580 => null, + 581 => null, + 582 => null, + 583 => static function ($self, $stackPos) { + $self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 584 => static function ($self, $stackPos) { + $self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 585 => null, + 586 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 587 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 588 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable(new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])), $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2; + }, + 589 => static function ($self, $stackPos) { + $var = $self->semStack[$stackPos-(1-1)]->name; $self->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])) : $var; + }, + 590 => static function ($self, $stackPos) { + $self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 591 => null, + 592 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 593 => static function ($self, $stackPos) { + $self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 594 => static function ($self, $stackPos) { + $self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 595 => static function ($self, $stackPos) { + $self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 596 => static function ($self, $stackPos) { + $self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 597 => null, + 598 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 599 => null, + 600 => null, + 601 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 602 => null, + 603 => static function ($self, $stackPos) { + $self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2; + }, + 604 => static function ($self, $stackPos) { + $self->semValue = new Expr\List_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); $self->semValue->setAttribute('kind', Expr\List_::KIND_LIST); + $self->postprocessList($self->semValue); + }, + 605 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(1-1)]; $end = count($self->semValue)-1; if ($self->semValue[$end]->value instanceof Expr\Error) array_pop($self->semValue); + }, + 606 => null, + 607 => static function ($self, $stackPos) { + /* do nothing -- prevent default action of $$=$self->semStack[$1]. See $551. */ + }, + 608 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)]; + }, + 609 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 610 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(1-1)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 611 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(2-2)], null, true, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 612 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(1-1)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 613 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(3-3)], $self->semStack[$stackPos-(3-1)], false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 614 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-1)], true, $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 615 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(3-3)], $self->semStack[$stackPos-(3-1)], false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 616 => static function ($self, $stackPos) { + $self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(2-2)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]), true); + }, + 617 => static function ($self, $stackPos) { + /* Create an Error node now to remember the position. We'll later either report an error, + or convert this into a null element, depending on whether this is a creation or destructuring context. */ + $attrs = $self->createEmptyElemAttributes($self->tokenPos); + $self->semValue = new Node\ArrayItem(new Expr\Error($attrs), null, false, $attrs); + }, + 618 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 619 => static function ($self, $stackPos) { + $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; + }, + 620 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(1-1)]); + }, + 621 => static function ($self, $stackPos) { + $self->semValue = array($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)]); + }, + 622 => static function ($self, $stackPos) { + $attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]); $attrs['rawValue'] = $self->semStack[$stackPos-(1-1)]; $self->semValue = new Node\InterpolatedStringPart($self->semStack[$stackPos-(1-1)], $attrs); + }, + 623 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 624 => null, + 625 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); + }, + 626 => static function ($self, $stackPos) { + $self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 627 => static function ($self, $stackPos) { + $self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 628 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 629 => static function ($self, $stackPos) { + $self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); + }, + 630 => static function ($self, $stackPos) { + $self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(6-2)], $self->semStack[$stackPos-(6-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); + }, + 631 => static function ($self, $stackPos) { + $self->semValue = $self->semStack[$stackPos-(3-2)]; + }, + 632 => static function ($self, $stackPos) { + $self->semValue = new Scalar\String_($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 633 => static function ($self, $stackPos) { + $self->semValue = $self->parseNumString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); + }, + 634 => static function ($self, $stackPos) { + $self->semValue = $self->parseNumString('-' . $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); + }, + 635 => null, + ]; + } +} diff --git a/test/code/formatPreservation/group_use.test b/test/code/formatPreservation/group_use.test new file mode 100644 index 0000000000..3cb5914861 --- /dev/null +++ b/test/code/formatPreservation/group_use.test @@ -0,0 +1,9 @@ +Group use should include trailing semicolon +----- +