Include trailing semicolon in GroupUse

Fixes https://github.com/nikic/PHP-Parser/issues/1026.

(cherry-picked from aedfcc23cd9ad6b89da179ad95220aec2994b69c)
This commit is contained in:
Nikita Popov 2024-09-21 15:55:21 +02:00
parent 20412455fc
commit 6de6ede1cb
7 changed files with 3425 additions and 624 deletions

View File

@ -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]; }
;

View File

@ -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]; }
;

View File

@ -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 @@ class Php5 extends \PhpParser\ParserAbstract
$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 @@ class Php5 extends \PhpParser\ParserAbstract
$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)];

View File

@ -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,
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,
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,
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, 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,
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, 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,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 @@ class Php7 extends \PhpParser\ParserAbstract
$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 @@ class Php7 extends \PhpParser\ParserAbstract
$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)];

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
Group use should include trailing semicolon
-----
<?php
use A\{B, C};
-----
$stmts[0] = new Stmt\Use_([new Stmt\UseUse(new Node\Name('A\B'))]);
-----
<?php
use A\B;

View File

@ -5,7 +5,7 @@ use Foo\Bar\{Baz};
-----
!!positions
array(
0: Stmt_GroupUse[2:1 - 2:17](
0: Stmt_GroupUse[2:1 - 2:18](
type: TYPE_UNKNOWN (0)
prefix: Name[2:5 - 2:11](
parts: array(