Merge branch '3.x'

Conflicts:
	lib/PhpParser/Parser/Php5.php
	lib/PhpParser/Parser/Php7.php
This commit is contained in:
Nikita Popov 2018-01-30 23:07:11 +01:00
commit ad9c42b66a
7 changed files with 897 additions and 866 deletions

View File

@ -111,7 +111,9 @@ Version 4.0.0-alpha1 (2017-10-18)
Version 3.1.5-dev
-----------------
Nothing yet.
### Fixed
* Fixed duplicate comment assignment in switch statements. (#469)
Version 3.1.4 (2018-01-25)
--------------------------

View File

@ -335,8 +335,8 @@ case_list:
;
case:
T_CASE expr case_separator inner_statement_list { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list { $$ = Stmt\Case_[null, $3]; }
T_CASE expr case_separator inner_statement_list_ex { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list_ex { $$ = Stmt\Case_[null, $3]; }
;
case_separator:

View File

@ -383,8 +383,8 @@ case_list:
;
case:
T_CASE expr case_separator inner_statement_list { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list { $$ = Stmt\Case_[null, $3]; }
T_CASE expr case_separator inner_statement_list_ex { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list_ex { $$ = Stmt\Case_[null, $3]; }
;
case_separator:

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ use PhpParser\Node\Stmt;
class Php7 extends \PhpParser\ParserAbstract
{
protected $tokenToSymbolMapSize = 392;
protected $actionTableSize = 885;
protected $actionTableSize = 903;
protected $gotoTableSize = 479;
protected $invalidSymbol = 157;
@ -26,8 +26,8 @@ class Php7 extends \PhpParser\ParserAbstract
protected $defaultAction = -32766;
protected $unexpectedTokenRule = 32767;
protected $YY2TBLSTATE = 328;
protected $numNonLeafStates = 578;
protected $YY2TBLSTATE = 330;
protected $numNonLeafStates = 580;
protected $symbolToName = array(
"EOF",
@ -233,393 +233,397 @@ class Php7 extends \PhpParser\ParserAbstract
);
protected $action = array(
583, 584, 585, 586, 587, 0, 588, 589, 590, 626,
627, 1041, 27, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
97, 272, 239, 667, -285,-32766,-32766,-32766,-32766,-32766,
-32766, 660, 291, 114, 98,-32766,-32766,-32766,-32766,-32766,
-32766,-32766, 591, 905, 907,-32766, 28,-32766,-32766,-32766,
-32766,-32766,-32766, 341,-32766, 344, 592, 593, 594, 595,
596, 597, 598,-32766, 224, 658, 872, 873, 874, 871,
870, 869, 599, 600, 601, 602, 603, 604, 605, 606,
607, 608, 609, 629, 630, 631, 632, 633, 621, 622,
623, 624, 625, 610, 611, 612, 613, 614, 615, 616,
652, 653, 654, 655, 656, 657, 617, 618, 619, 620,
650, 641, 639, 640, 636, 637, 215, 628, 634, 635,
642, 643, 645, 644, 646, 647, 42, 43, 397, 44,
45, 638, 649, 648, 224, 46, 47, 988, 48,-32767,
-32767,-32767,-32767, 90, 91, 92, 93, 94, 258, 71,
22, 872, 873, 874, 871, 870, 869, 864,-32766,-32766,
-32766, 665, 1038, 1038, 1077, 1056, 1004, 347, -447, 248,
666, 49, 50,-32766,-32766,-32766, 120, 51,-32766, 52,
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
444, 22, 232, 61, 348, 981,-32766,-32766,-32766, 1005,
1006, 662, 264, 1038, 216, -482, 481, 1004,-32766,-32766,
-32766, 742, 411, 412, 248, 1038,-32766, 248,-32766,-32766,
-32766,-32766, 24, 222, 379, 263, 356, 131,-32766, -447,
-32766,-32766,-32766, 41, 65, 1086, 420, 295, 1087, 265,
265, 660, 240, -447, 409, 410, 120, 1018, 981, 794,
-447, 827, -450, 411, 412, -230, 1010, 1011, 1012, 1013,
1007, 1008, 243, 370, -446, -445, -484, 421, 1014, 1009,
353, 821, 822, 364, 1000, 63, 551, 255, 346, 260,
265, 398, -136, -136, -136, -4, 742, 399, 662, 345,
-445, 732, 265, -235, 32, 17, 400, -136, 401, -136,
402, -136, 403, -136, 226, 404, -136, -136, -136, 34,
35, 349, 350, 122, 36, 405, 821, 822, 62, 821,
822, 286, 287, 406, 407, -446, -445, 116, -176, 408,
38, 40, 718, 763, 351, 352, -254, 22, -91, -446,
-445,-32766,-32766,-32766, 380, -175, -446, -445, -449, 1038,
-482, -445, 1038, 1004, 421, 7, 398, 353, 744, 549,
-136,-32766, 399,-32766,-32766, -445, 732, -492, 795, 32,
17, 400, -445, 401, -493, 402, 741, 403, 1057, 21,
404, 111, 981, 25, 34, 35, 349, 350, 333, 36,
405, 246, 247, 62, 254, 742, 286, 287, 406, 407,
412,-32766,-32766, 532, 408, 988, 290, 675, 763, 351,
352, -484, 113, 115, 505, 18, 72, 73, 74, 683,
684, 65, 121, 562, 518, 519, 265, 288, 274, 265,
92, 93, 94, 744, 549, -4, 26, 118, 75, 76,
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 117, 239, 337, 742, 398, 127, 312, 112, 533,
124, 399, 353, -176, 98, 732, 850, 130, 32, 17,
400, -254, 401, 1038, 402, 128, 403, 683, 684, 404,
-175, 276, 554, 34, 35, 349, 742, 566, 36, 405,
390, 6, 62, 498, 499, 286, 287, 821, 822, 849,
577, 119, -492, 408, -492, 561, 981, 126, 242, -493,
-82, -493, 861, 567, 556, 756, 239, 342, 225, 221,
98, 223, 125, 39, 398, 527, 660, 663, 448,-32766,
399, 506, 744, 549, 732, 467, 662, 32, 17, 400,
878, 401, 665, 402, 1088, 403, 497, 981, 404, 259,
265, 453, 34, 35, 349, 742, 398, 36, 405, 542,
528, 62, 399, 511, 286, 287, 732, 510, 361, 32,
17, 400, 408, 401, 3, 402, 368, 403, 758, 1020,
404, 8, -80, 555, 34, 35, 349, 742, 214, 36,
405, 522, 762, 62, 764, 257, 286, 287, 765, 262,
0, 744, 549, 256, 408, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 553, 0, 0, 0, 0,
0, 0, 0, 0, 0, 398, 0, 0, 1017, 0,
0, 399, 10, 744, 549, 732, 227, 364, 32, 17,
400, 289, 401, -404, 402, 30, 403, 557, 338, 404,
339, 317, 450, 34, 35, 349, 742, 398, 36, 405,
324, 327, 62, 399, 323, 286, 287, 732, 22, 778,
32, 17, 400, 408, 401, 575, 402, 855, 403, 576,
1038, 404, 723, 845, 1004, 34, 35, 349, 797, 781,
36, 405, 788, 31, 62, 854, 857, 286, 287, 856,
853, 776, 780, 549, 846, 408, 721, 789, 20, 550,
552, 332, 559, 981, 560, 564, 565, 270, 271, 331,
573, 572, 570, 568, 0, 761, 398, 760, 969, 569,
411, 412, 399, 787, 744, 549, 732, 862, 749, 32,
17, 400, 968, 401, 759, 402, 967, 403, 751, 686,
404, -474, 65, 1084, 34, 35, 349, 265, 685, 36,
405, 688, 687, 62, 677, 678, 286, 287,-32766,-32766,
-32766, 719, 1083, 1085, 408, 786, 1054, 1051, 1046, 1032,
1039, 1082, 0, -472, -450, -449, -448, 23,-32766, 29,
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
-32767, 33, 37, 744, 549, 64, 961, 66, 336, 334,
273, 238, 237, 236, 235, 218, 217, 132, 129, 123,
70, 69, 68, 67, 0, -233, 11, 15, 19, 250,
945, 309, 477, 493, 541, 948, 973, 828, 1002, 944,
992, 538, 395, -91, 388, 386, 381, 310, 16, 14,
13, 12, -230, -231, 0, -416, 0, 1001, 504, 1080,
1045, 1031, 1030, 0, 1019
585, 586, 587, 588, 589, 1043, 590, 591, 592, 628,
629, 0, 29, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112,-32766,-32766,-32766, 97, 98,
99, 381, 241, 349, -285,-32766,-32766,-32766,-32766,-32766,
-32766, 662, -493, 116, 100,-32766, 669,-32766,-32766,-32766,
-32766,-32766, 593, 907, 909,-32766,-32766,-32766,-32766,-32766,
-32766,-32766,-32766, 1040,-32766, 265, 594, 595, 596, 597,
598, 599, 600,-32766, 242, 660, 874, 875, 876, 873,
872, 871, 601, 602, 603, 604, 605, 606, 607, 608,
609, 610, 611, 631, 632, 633, 634, 635, 623, 624,
625, 626, 627, 612, 613, 614, 615, 616, 617, 618,
654, 655, 656, 657, 658, 659, 619, 620, 621, 622,
652, 643, 641, 642, 638, 639, 664, 630, 636, 637,
644, 645, 647, 646, 648, 649, 74, 75, 76, 563,
267, 640, 651, 650, 744, 44, 45, 399, 46, 47,
218, 382, 483, 73, 48, 49, 28, 50, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
99, 1088, 241, 1002, 1089, -447, 274, -493, 290, -493,
51, 52, 423, 668, 100, 355, 53, 228, 54, 221,
222, 55, 56, 57, 58, 59, 60, 61, 62, -254,
24, 234, 63, 350, 400,-32766,-32766,-32766, 1007, 1008,
401, 118, 1040, 297, 734,-32766, 1006, 34, 19, 402,
1058, 403, 266, 404, 343, 405, -446, 24, 406, 990,
43, 346, 36, 37, 351, 358, -447, 38, 407, 1040,
250, 64, 293, 1006, 288, 289, 250,-32766, 746, 226,
-447, 1040, 410, 411, 412, 446, 23, -447, 366, -450,
9, 553, 413, 414, 348, 1012, 1013, 1014, 1015, 1009,
1010, 245, 983,-32766,-32766,-32766, 423, 1016, 1011, 355,
-492, 226, 551, 372, 65,-32766, 257, -446, 262, 267,
414, 664, 217,-32766, 667,-32766, 662, 1079,-32766,-32766,
-32766, -446,-32766,-32766,-32766, 347,-32766, 1040, -446,-32766,
-449, 67, 1020,-32766,-32766,-32766, 267,-32766,-32766,-32766,
27, 123,-32766, 664, -484,-32766, 422,-32766, 267, 30,
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 223,-32766, 562,
983,-32766, 823, 824, -254,-32766,-32766,-32766, 823, 824,
-32766,-32766, -176, 796,-32766, 26, 224,-32766, 422, 130,
-175, 122, -445,-32766, -235,-32766, 829, 40, 124, 227,
-91, 555, 133,-32766, 990, 1059,-32766,-32766,-32766, 664,
94, 95, 96,-32766, 267, 120,-32766,-32766,-32766, 42,
-32766, 556,-32766, 122,-32766,-32766,-32766,-32766,-32766,-32766,
-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 119, 534,
-32766, 664, 557,-32766, 422,-32766, -482, 743,-32766,-32766,
-32766,-32766,-32766, -445,-32766, -492,-32766, -492, 248,-32766,
250, -230, 121,-32766,-32766,-32766,-32766, -445,-32766,-32766,
114, 558,-32766, 113, -445,-32766, 422,-32766,-32766, 115,
249,-32766, 1040,-32766,-32767,-32767,-32767,-32767, 92, 93,
94, 95, 96, 126, 292, 685, 686, 507, 20, -484,
225, 117, 797, 132,-32766, 535, -445, 241, 355,-32766,
664, 244, 852,-32766,-32766, 983, -82,-32766,-32766,-32766,
746,-32766, 128,-32766, 278,-32766, 344, -176,-32766, 520,
521, 566,-32766,-32766,-32766, -175,-32766,-32766,-32766, 339,
746,-32766, 664, 127,-32766, 422,-32766, 758,-32766,-32766,
-32766,-32766,-32766,-32766, 529,-32766, 100,-32766, 665, 267,
-32766, 782, 823, 824,-32766,-32766,-32766, -445, 41,-32766,
-32766, 129, 314,-32766, 392, 8,-32766, 422, 1090,-32766,
662, -445,-32766, 664,-32766, 664, 469,-32766, -445,-32766,
746, -482,-32766,-32766,-32766, 880,-32766, 667,-32766, 450,
-32766, 685, 686,-32766, 544, 24, 455,-32766,-32766,-32766,
500, 501,-32766,-32766,-32766, 508,-32766, 1040,-32766,-32766,
422, 1006, 823, 824, 664, 851, 577,-32766,-32766, 512,
-4,-32766,-32766,-32766, 530,-32766, -80,-32766, 216,-32766,
370, 524,-32766, 863, 567, 10,-32766,-32766,-32766, 513,
983,-32766,-32766, 983, 363,-32766, 767,-32766,-32766, 422,
-136, -136, -136,-32766,-32766,-32766,-32766, 413, 414, 499,
1022, 261, 766, 1019, 264, -136, 258, -136, 452, -136,
763, -136, 259,-32766, 760,-32766,-32766,-32766,-32766, 67,
352, -448, 963, 0, 267, 0,-32766,-32766,-32766,-32766,
260, 408, 409, 874, 875, 876, 873, 872, 871, 866,
720, 765, 353, 354, 5, 12, 291,-32766, -404,-32766,
-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,
366, 229, 352, 335, 790, 341, 746, 764, -136, 256,
-215, -215, -215, 408, 409, 326, 352, 340, 319, 329,
325, -474, 677, 765, 353, 354, 783, 408, 409, -214,
-214, -214, 847, 24, 746, 352, 720, 765, 353, 354,
725, 576, 575, 276, 33, 1040, 408, 409, 746, 1006,
-4,-32766,-32766,-32766, 857, 720, 765, 353, 354, 32,
799, 856, 746, 859, -215, 858, 855, 778, 780, 723,
791,-32766, 848,-32766,-32766, 552, 334, 333, 983, 273,
272, 746, 762, -214, 560, 561, 564, 565, 554, 573,
572, 570, 568, 559, 0, 413, 414, 971, 789, 864,
751, 970, 761, 969, 753, 688, 1086, 687, 690, 0,
689, 569, 721, 1085, 1087, 680, 0, 67, 679, 788,
1056, 1053, 267, 1048, 1034, 1084, 1041, 1021, -472, -450,
-449, 22, 25, 31, 35, 39, 66, 338, 336, 275,
240, 239, 238, 237, 220, 219, 134, 131, 125, 72,
71, 70, 69, 68, 0, 13, 17, 21, 252, 311,
947, 479, 495, 543, 950, 975, 830, 1004, 946, 994,
-91, -233, 540, 397, 390, 388, 383, 312, 18, 16,
15, 14, -230, -231, 0, -416, 0, 506, 1047, 1082,
1032, 1033, 1003
);
protected $actionCheck = array(
2, 3, 4, 5, 6, 0, 8, 9, 10, 11,
12, 1, 15, 16, 17, 18, 19, 20, 21, 22,
2, 3, 4, 5, 6, 1, 8, 9, 10, 11,
12, 0, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
52, 7, 54, 1, 79, 8, 9, 10, 8, 9,
10, 77, 7, 13, 66, 28, 8, 30, 31, 32,
33, 34, 54, 56, 57, 28, 13, 30, 31, 32,
33, 34, 35, 7, 109, 7, 68, 69, 70, 71,
72, 73, 74, 118, 35, 77, 112, 113, 114, 115,
52, 29, 54, 7, 79, 8, 9, 10, 8, 9,
10, 77, 7, 13, 66, 28, 1, 30, 31, 32,
33, 34, 54, 56, 57, 28, 8, 30, 31, 32,
33, 34, 35, 79, 109, 7, 68, 69, 70, 71,
72, 73, 74, 118, 7, 77, 112, 113, 114, 115,
116, 117, 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, 13, 129, 130, 131,
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
6, 143, 144, 145, 35, 11, 12, 1, 14, 41,
42, 43, 44, 45, 46, 47, 48, 49, 109, 149,
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
10, 79, 79, 79, 82, 1, 83, 7, 67, 28,
148, 47, 48, 8, 9, 10, 147, 53, 28, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
82, 67, 68, 69, 70, 112, 8, 9, 10, 75,
76, 77, 67, 79, 13, 7, 48, 83, 8, 9,
10, 1, 129, 130, 28, 79, 28, 28, 30, 31,
32, 33, 140, 141, 29, 7, 102, 15, 28, 128,
30, 31, 32, 7, 151, 77, 112, 7, 80, 156,
156, 77, 7, 142, 120, 121, 147, 139, 112, 29,
149, 152, 151, 129, 130, 152, 132, 133, 134, 135,
136, 137, 138, 128, 67, 67, 7, 143, 144, 145,
146, 130, 131, 146, 1, 151, 149, 153, 7, 155,
156, 71, 72, 73, 74, 0, 1, 77, 77, 7,
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93, 7, 95, 96, 97, 98, 99,
100, 101, 102, 149, 104, 105, 130, 131, 108, 130,
131, 111, 112, 113, 114, 128, 128, 7, 7, 119,
67, 67, 122, 123, 124, 125, 7, 67, 152, 142,
142, 8, 9, 10, 149, 7, 149, 149, 151, 79,
152, 128, 79, 83, 143, 7, 71, 146, 148, 149,
150, 28, 77, 30, 31, 142, 81, 7, 148, 84,
85, 86, 149, 88, 7, 90, 29, 92, 152, 7,
95, 15, 112, 7, 99, 100, 101, 102, 103, 104,
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
130, 8, 9, 77, 119, 1, 142, 122, 123, 124,
125, 152, 149, 149, 72, 73, 8, 9, 10, 102,
103, 151, 149, 29, 72, 73, 156, 7, 143, 156,
47, 48, 49, 148, 149, 150, 28, 15, 30, 31,
122, 123, 124, 125, 126, 127, 77, 129, 130, 131,
132, 133, 134, 135, 136, 137, 8, 9, 10, 29,
156, 143, 144, 145, 1, 2, 3, 4, 5, 6,
13, 149, 48, 149, 11, 12, 28, 14, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 15, 54, 146, 1, 71, 97, 98, 15, 143,
15, 77, 146, 152, 66, 81, 150, 15, 84, 85,
86, 152, 88, 79, 90, 15, 92, 102, 103, 95,
152, 33, 29, 99, 100, 101, 1, 29, 104, 105,
102, 103, 108, 106, 107, 111, 112, 130, 131, 148,
149, 29, 152, 119, 154, 29, 112, 29, 29, 152,
29, 154, 148, 149, 29, 35, 54, 123, 35, 35,
66, 35, 67, 67, 71, 74, 77, 77, 82, 82,
77, 87, 148, 149, 81, 78, 77, 84, 85, 86,
79, 88, 79, 90, 80, 92, 109, 112, 95, 110,
156, 86, 99, 100, 101, 1, 71, 104, 105, 89,
91, 108, 77, 96, 111, 112, 81, 93, 102, 84,
85, 86, 119, 88, 142, 90, 94, 92, 147, 139,
95, 94, 94, 29, 99, 100, 101, 1, 94, 104,
105, 96, 150, 108, 123, 127, 111, 112, 123, 126,
-1, 148, 149, 126, 119, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 29, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 71, -1, -1, 139, -1,
-1, 77, 142, 148, 149, 81, 35, 146, 84, 85,
86, 142, 88, 142, 90, 148, 92, 149, 146, 95,
146, 146, 146, 99, 100, 101, 1, 71, 104, 105,
146, 146, 108, 77, 146, 111, 112, 81, 67, 148,
84, 85, 86, 119, 88, 148, 90, 148, 92, 148,
79, 95, 148, 148, 83, 99, 100, 101, 148, 148,
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
148, 148, 148, 149, 148, 119, 148, 148, 151, 149,
149, 149, 149, 112, 149, 149, 149, 149, 149, 149,
149, 149, 149, 149, -1, 150, 71, 150, 150, 150,
129, 130, 77, 150, 148, 149, 81, 150, 150, 84,
85, 86, 150, 88, 150, 90, 150, 92, 150, 150,
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
10, 150, 150, 150, 119, 150, 150, 150, 150, 150,
150, 150, -1, 151, 151, 151, 151, 151, 28, 151,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
40, 151, 151, 148, 149, 151, 153, 151, 151, 151,
52, 77, 54, 1, 80, 67, 7, 152, 7, 154,
47, 48, 143, 148, 66, 146, 53, 7, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, 7,
67, 68, 69, 70, 71, 8, 9, 10, 75, 76,
77, 7, 79, 7, 81, 1, 83, 84, 85, 86,
1, 88, 67, 90, 7, 92, 67, 67, 95, 1,
7, 7, 99, 100, 101, 102, 128, 104, 105, 79,
28, 108, 7, 83, 111, 112, 28, 1, 148, 35,
142, 79, 119, 120, 121, 82, 7, 149, 146, 151,
7, 149, 129, 130, 7, 132, 133, 134, 135, 136,
137, 138, 112, 8, 9, 10, 143, 144, 145, 146,
7, 35, 149, 128, 151, 71, 153, 128, 155, 156,
130, 77, 13, 28, 79, 81, 77, 82, 84, 85,
86, 142, 88, 1, 90, 7, 92, 79, 149, 95,
151, 151, 139, 99, 100, 101, 156, 71, 104, 105,
7, 149, 108, 77, 7, 111, 112, 81, 156, 13,
84, 85, 86, 119, 88, 1, 90, 35, 92, 29,
112, 95, 130, 131, 152, 99, 100, 101, 130, 131,
104, 105, 7, 29, 108, 140, 141, 111, 112, 15,
7, 147, 67, 149, 152, 119, 152, 67, 149, 35,
152, 29, 15, 71, 1, 152, 8, 9, 10, 77,
47, 48, 49, 81, 156, 15, 84, 85, 86, 67,
88, 29, 90, 147, 92, 149, 28, 95, 30, 31,
32, 99, 100, 101, 1, 71, 104, 105, 15, 77,
108, 77, 29, 111, 112, 81, 7, 29, 84, 85,
86, 119, 88, 128, 90, 152, 92, 154, 128, 95,
28, 152, 29, 99, 100, 101, 1, 142, 104, 105,
15, 29, 108, 15, 149, 111, 112, 8, 9, 149,
128, 149, 79, 119, 41, 42, 43, 44, 45, 46,
47, 48, 49, 15, 142, 102, 103, 72, 73, 152,
35, 149, 148, 15, 71, 143, 67, 54, 146, 1,
77, 29, 150, 149, 81, 112, 29, 84, 85, 86,
148, 88, 29, 90, 33, 92, 123, 152, 95, 72,
73, 29, 99, 100, 101, 152, 71, 104, 105, 146,
148, 108, 77, 67, 111, 112, 81, 35, 1, 84,
85, 86, 119, 88, 74, 90, 66, 92, 77, 156,
95, 148, 130, 131, 99, 100, 101, 128, 67, 104,
105, 97, 98, 108, 102, 103, 111, 112, 80, 71,
77, 142, 149, 77, 119, 77, 78, 82, 149, 81,
148, 152, 84, 85, 86, 79, 88, 79, 90, 82,
92, 102, 103, 95, 89, 67, 86, 99, 100, 101,
106, 107, 104, 105, 149, 87, 108, 79, 71, 111,
112, 83, 130, 131, 77, 148, 149, 119, 81, 93,
0, 84, 85, 86, 91, 88, 94, 90, 94, 92,
94, 96, 95, 148, 149, 94, 99, 100, 101, 96,
112, 104, 105, 112, 102, 108, 123, 149, 111, 112,
72, 73, 74, 8, 9, 10, 119, 129, 130, 109,
139, 110, 123, 139, 126, 87, 126, 89, 146, 91,
150, 93, 127, 28, 147, 30, 31, 32, 33, 151,
102, 151, 153, -1, 156, -1, 149, 8, 9, 10,
109, 113, 114, 112, 113, 114, 115, 116, 117, 118,
122, 123, 124, 125, 142, 142, 142, 28, 142, 30,
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
146, 35, 102, 103, 148, 146, 148, 150, 150, 109,
96, 97, 98, 113, 114, 146, 102, 146, 146, 146,
146, 151, 122, 123, 124, 125, 148, 113, 114, 96,
97, 98, 148, 67, 148, 102, 122, 123, 124, 125,
148, 148, 148, 143, 148, 79, 113, 114, 148, 83,
150, 8, 9, 10, 148, 122, 123, 124, 125, 148,
148, 148, 148, 148, 150, 148, 148, 148, 148, 148,
148, 28, 148, 30, 31, 149, 149, 149, 112, 149,
149, 148, 150, 150, 149, 149, 149, 149, 149, 149,
149, 149, 149, 149, -1, 129, 130, 150, 150, 150,
150, 150, 150, 150, 150, 150, 150, 150, 150, -1,
150, 150, 150, 150, 150, 150, -1, 151, 150, 150,
150, 150, 156, 150, 150, 150, 150, 155, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, -1, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, -1, 153, -1, 154, 154, 154,
154, 154, 154, -1, 155
154, 154, 154
);
protected $actionBase = array(
0, 220, 295, 283, 336, 549, -2, -2, -36, -2,
-2, 473, 505, 404, 505, 606, 574, 675, 675, 675,
109, 39, 504, 504, 477, 504, 492, 506, 503, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 32, 32, 230, 43, 697, 703, 700,
695, 694, 514, 699, 698, 201, 651, 650, 498, 649,
648, 647, 646, 701, 724, 696, 702, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 38, 30, 403, 175, 175, 175, 175,
175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
175, 175, 175, 175, 175, 160, 160, 160, 343, 210,
208, 198, 17, 233, 27, 780, 780, 780, 780, 780,
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 462, 595,
597, 598, 414, 393, 393, 151, 151, 151, 151, 146,
196, -45, 199, 118, 460, 729, 174, 174, 387, 111,
207, -22, -22, -22, 327, 466, 455, 455, 455, 455,
92, 92, 455, 455, 168, 10, 233, 233, 274, 233,
395, 395, 395, 221, 137, 467, 221, 581, 487, 645,
515, 603, 273, 377, 370, 522, 94, 486, 524, 94,
94, 94, 407, 352, 362, 711, 32, 521, 32, 32,
32, 32, 683, 32, 32, 32, 32, 32, 32, 205,
32, 371, 230, 468, 384, 482, 145, 588, 348, 236,
482, 482, 482, 589, 590, 339, 113, 582, 331, 408,
269, 479, 479, 469, 469, 481, 500, 479, 479, 479,
479, 479, 577, 577, 469, 483, 469, 481, 671, 469,
500, 469, 469, 479, 469, 577, 500, 330, 58, 430,
35, 500, 292, 497, 479, 493, 493, 281, 469, 307,
469, 382, 488, 577, 577, 488, 245, 500, 228, 547,
551, 457, 451, 24, 499, 483, 499, 56, 457, 170,
500, 499, 358, 483, 240, 499, 5, 674, 676, 501,
692, 658, 691, 678, 690, 580, 491, 495, 685, 684,
689, 670, 656, 357, 526, 376, 463, 452, 476, 655,
486, 511, 474, 474, 474, 476, 653, 474, 474, 474,
474, 474, 474, 474, 474, 723, 386, 519, 485, 456,
525, 502, 432, 594, 509, 526, 526, 641, 722, 673,
470, 683, 708, 688, 517, 465, 716, 682, 599, 538,
534, 681, 715, 707, 593, 376, 706, 642, 475, 643,
526, 635, 474, 652, 620, 728, 727, 654, 726, 714,
535, 484, 725, 634, 705, 592, 591, 565, 719, 693,
713, 632, 712, 554, 464, 721, 494, 677, 679, 518,
631, 628, 555, 480, 623, 687, 560, 718, 717, 720,
561, 564, 583, 472, 585, 619, 222, 576, 686, 496,
471, 489, 579, 704, 618, 586, 680, 578, 541, 616,
614, 709, 508, 511, 510, 459, 507, 490, 587, 612,
710, 478, 573, 572, 571, 568, 608, 567, 607, 0,
0, 568, 610, 624, 643, 182, 342, 616, -2, -2,
-36, -2, -2, 372, 422, 110, 422, 352, 393, 596,
596, 596, 224, 256, 312, 312, 488, 312, 413, 445,
344, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 45, 45, 334, 326, 716,
722, 719, 714, 713, 524, 717, 718, 137, 685, 686,
473, 684, 683, 681, 680, 720, 743, 715, 721, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 48, 30, 449, 207, 207,
207, 207, 207, 207, 207, 207, 207, 207, 207, 207,
207, 207, 207, 207, 207, 207, 207, 275, 275, 275,
753, 378, 419, 635, 17, 305, 27, 669, 669, 669,
669, 669, 423, 423, 423, 423, 676, 676, 518, 170,
170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
567, 510, 642, 657, 383, 343, 343, 222, 222, 222,
222, 238, 228, -45, 412, 183, 511, 682, 229, 229,
472, 118, 169, -22, -22, -22, 373, 497, 521, 521,
521, 521, 225, 225, 521, 521, 104, 4, 305, 305,
332, 305, 479, 479, 479, 49, 122, 485, 49, 649,
533, 679, 525, 658, 310, 35, 283, 581, -16, 532,
569, -16, -16, -16, 484, 405, 437, 728, 45, 556,
45, 45, 45, 45, 702, 45, 45, 45, 45, 45,
45, 2, 45, 457, 334, 471, 475, 433, 165, 641,
363, 233, 433, 433, 433, 640, 638, 202, 289, 637,
355, 452, 327, 486, 486, 483, 483, 496, 492, 486,
486, 486, 486, 486, 690, 690, 483, 498, 483, 496,
694, 483, 492, 483, 483, 486, 483, 690, 492, 214,
234, 181, 245, 492, 308, 530, 486, 528, 528, 267,
483, 190, 483, 259, 535, 690, 690, 535, 67, 492,
58, 604, 603, 540, 517, 179, 462, 498, 462, 227,
540, 26, 492, 462, 263, 498, 216, 462, 11, 695,
712, 467, 711, 692, 710, 697, 709, 636, 529, 513,
704, 703, 708, 693, 691, 398, 512, 438, 435, 552,
481, 520, 532, 564, 470, 470, 470, 481, 688, 470,
470, 470, 470, 470, 470, 470, 470, 748, 323, 554,
500, 403, 582, 526, 380, 653, 514, 512, 512, 672,
742, 519, 461, 702, 727, 707, 621, 458, 736, 701,
671, 584, 579, 700, 735, 726, 652, 438, 725, 673,
456, 674, 512, 675, 470, 687, 580, 746, 747, 689,
744, 734, 583, 478, 745, 678, 724, 651, 650, 606,
739, 729, 733, 670, 732, 602, 508, 741, 516, 696,
698, 654, 668, 667, 594, 354, 666, 706, 622, 738,
737, 740, 588, 566, 645, 468, 646, 665, 367, 634,
705, 320, 460, 523, 632, 723, 664, 647, 699, 631,
630, 663, 662, 730, 522, 564, 553, 541, 531, 495,
648, 661, 731, 482, 629, 628, 627, 625, 660, 623,
659, 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, 0, 0, 134,
134, -2, -2, -2, 0, 0, -2, 0, 0, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 0, 0, 0,
0, 143, 143, 143, 143, -2, -2, -2, 0, 0,
-2, 0, 0, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 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, 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, 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, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, -3, 418,
418, -3, 418, 418, 418, 418, 418, 418, -22, -22,
-22, -22, 221, 221, 221, 221, 221, 221, 221, 221,
221, 221, 221, 221, 221, 221, 49, 49, 49, 49,
221, -22, -22, 221, 221, 221, 221, 221, 221, 49,
221, 92, 92, 92, 94, 94, 221, 0, 0, 0,
0, 0, 479, 92, 221, 221, 221, 221, 0, 0,
221, 221, 483, 94, 0, 0, 0, 0, 479, 479,
479, 0, 479, 92, 0, 32, 379, 379, 379, 379,
0, 0, 0, 479, 0, 483, 479, 0, 0, 0,
0, 0, 0, 500, 0, 577, 0, 0, 0, 0,
469, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 483, 0, 474, 0, 470, 0, 0, 474, 474,
474, 470, 470, 0, 0, 470
0, 0, 0, 0, 0, 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,
128, 128, -3, 128, 128, -3, 128, 128, 128, 128,
128, 128, -22, -22, -22, -22, 49, 49, 49, 49,
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
571, 571, 571, 571, 49, -22, -22, 49, 49, 49,
49, 49, 49, 571, 49, 225, 225, 225, -16, -16,
49, 0, 0, 0, 0, 0, 486, 225, 49, 49,
49, 49, 0, 0, 49, 49, 498, -16, 0, 0,
0, 0, 486, 486, 486, 0, 486, 225, 0, 45,
454, 454, 454, 454, 0, 0, 0, 486, 0, 498,
486, 0, 0, 0, 0, 0, 0, 492, 0, 690,
0, 0, 0, 0, 483, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 498, 0, 470, 0, 461,
0, 0, 470, 470, 470, 461, 461, 0, 0, 461
);
protected $actionDefault = array(
3,32767,32767,32767,32767,32767,32767, 91,32767,32767,
3,32767,32767,32767,32767,32767,32767,32767,32767, 91,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767, 91, 494, 494,32767, 494,32767,32767,32767, 306,
306, 306,32767, 486, 443, 443, 443, 443, 443, 443,
443, 486,32767,32767,32767,32767,32767, 385,32767,32767,
32767,32767,32767, 91, 494, 494,32767, 494,32767,32767,
32767, 306, 306, 306,32767, 486, 443, 443, 443, 443,
443, 443, 443, 486,32767,32767,32767,32767,32767, 385,
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, 91,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 91,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 491,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 491,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767, 368, 369, 371,
372, 305, 444, 253, 490, 304, 129, 264, 255, 207,
302, 239, 133, 333, 386, 335, 384, 388, 334, 311,
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
325, 326, 309, 310, 387, 365, 364, 363, 331, 332,
308, 336, 338, 308, 337, 354, 355, 352, 353, 356,
357, 358, 359, 360,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 91,32767, 287, 287,
287, 287,32767, 345, 346, 245, 245, 245, 245,32767,
245, 288,32767,32767,32767,32767,32767,32767,32767, 437,
362, 340, 341, 339,32767, 415,32767,32767,32767,32767,
32767, 417,32767, 91,32767,32767, 328, 330, 409, 312,
32767,32767, 93,32767,32767,32767,32767,32767,32767,32767,
32767,32767, 412, 445, 445,32767,32767, 403, 91,32767,
32767, 91, 172, 226, 228, 177,32767, 420,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 368,
369, 371, 372, 305, 444, 253, 490, 304, 129, 264,
255, 207, 302, 239, 133, 333, 386, 335, 384, 388,
334, 311, 315, 316, 317, 318, 319, 320, 321, 322,
323, 324, 325, 326, 309, 310, 387, 365, 364, 363,
331, 332, 308, 336, 338, 308, 337, 354, 355, 352,
353, 356, 357, 358, 359, 360,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 91,32767,
287, 287, 287, 287,32767, 345, 346, 245, 245, 245,
245,32767, 245, 288,32767,32767,32767,32767,32767,32767,
32767, 437, 362, 340, 341, 339,32767, 415,32767,32767,
32767,32767,32767, 417,32767, 91,32767,32767, 328, 330,
409, 312,32767,32767, 93,32767,32767,32767,32767,32767,
32767,32767,32767,32767, 412, 445, 445,32767,32767, 403,
91,32767,32767, 91, 172, 226, 228, 177,32767, 420,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767, 350, 501,32767, 445,32767,
342, 343, 344,32767,32767, 445, 445,32767, 445,32767,
445,32767,32767,32767,32767,32767, 177,32767,32767,32767,
32767, 93, 418, 418, 91, 91, 91, 91, 413,32767,
177,32767,32767,32767,32767,32767, 177, 90, 90, 90,
90, 177, 90, 190,32767, 188, 188, 90,32767, 90,
32767, 90, 192,32767, 459, 192, 90, 177, 90, 212,
212, 394, 179, 92, 247,32767, 247, 92, 394, 90,
177, 247, 90,32767, 90, 247,32767,32767,32767, 84,
32767,32767,32767,32767,32767,32767,32767, 350, 501,32767,
445,32767, 342, 343, 344,32767,32767, 445, 445,32767,
445,32767, 445,32767,32767,32767,32767,32767, 177,32767,
32767,32767,32767, 93, 418, 418, 91, 91, 91, 91,
413,32767, 177,32767,32767,32767,32767,32767, 177, 90,
90, 90, 90, 177, 90, 190,32767, 188, 188, 90,
32767, 90,32767, 90, 192,32767, 459, 192, 90, 177,
90, 212, 212, 394, 179, 92, 247,32767, 247, 92,
394, 90, 177, 247, 90,32767, 90, 247,32767,32767,
32767, 84,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 405,32767, 425,32767,
438, 457, 403,32767, 348, 349, 351,32767, 447, 373,
374, 375, 376, 377, 378, 379, 381,32767, 487, 408,
32767,32767, 86, 120, 263,32767, 499, 86, 406,32767,
499,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767, 86, 86,32767,32767,32767,32767, 483,32767, 500,
32767, 445, 407,32767, 347, 421, 464,32767,32767, 446,
32767,32767, 86,32767,32767,32767,32767,32767,32767,32767,
32767, 425,32767,32767,32767,32767,32767, 445,32767,32767,
32767,32767,32767,32767,32767, 301,32767,32767,32767,32767,
32767, 445,32767,32767,32767, 238,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767, 405,32767, 425,32767, 438, 457,
403,32767, 348, 349, 351,32767, 447, 373, 374, 375,
376, 377, 378, 379, 381,32767, 487, 408,32767,32767,
86, 120, 263,32767, 499, 86, 406,32767, 499,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 86,
86,32767,32767,32767,32767, 483,32767, 500,32767, 445,
407,32767, 347, 421, 464,32767,32767, 446,32767,32767,
86,32767,32767,32767,32767,32767,32767,32767,32767, 425,
32767,32767,32767,32767,32767, 445,32767,32767,32767,32767,
32767,32767,32767, 301,32767,32767,32767,32767,32767, 445,
32767,32767,32767, 238,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767, 84, 60,32767, 281,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767, 84, 60,32767, 281,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 135,
135, 3, 3, 135, 135, 135, 135, 135, 135, 135,
32767, 135, 135, 3, 3, 135, 135, 135, 135, 135,
135, 135, 135, 135, 135, 135, 135, 135, 266, 167,
266, 220, 266, 266, 223, 212, 212, 273
266, 220, 266, 266, 223, 212, 212, 273, 135, 135
);
protected $goto = array(
163, 163, 136, 136, 146, 136, 148, 179, 164, 161,
161, 161, 161, 145, 162, 162, 162, 162, 162, 162,
162, 145, 157, 158, 159, 160, 176, 174, 177, 422,
423, 315, 424, 427, 428, 429, 430, 431, 432, 433,
434, 892, 134, 137, 138, 139, 140, 141, 142, 143,
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
233, 234, 251, 252, 253, 320, 321, 322, 472, 180,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
168, 151, 152, 153, 169, 154, 197, 135, 170, 155,
171, 172, 156, 534, 200, 440, 544, 739, 473, 860,
547, 279, 200, 673, 526, 858, 715, 672, 5, 465,
674, 445, 445, 445, 474, 445, 796, 465, 775, 978,
571, 709, 438, 805, 800, 661, 460, 458, 779, 445,
574, 494, 496, 521, 524, 793, 529, 530, 807, 537,
792, 539, 546, 803, 548, 426, 426, 426, 426, 426,
426, 426, 426, 426, 426, 426, 426, 426, 426, 700,
736, 437, 300, 304, 452, 475, 476, 478, 437, 490,
492, 540, 445, 445, 771, 311, 543, 979, 459, 480,
445, 445, 445, 1074, 1074, 773, 773, 773, 773, 830,
700, 767, 774, 700, 446, 980, 1034, 466, 261, 229,
1074, 230, 231, 245, 1066, 470, 425, 425, 425, 425,
425, 425, 425, 425, 425, 425, 425, 425, 425, 425,
489, 489, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003,
1003, 1003, 1003, 1003, 1073, 1073, 691, 691, 487, 507,
676, 298, 701, 701, 701, 703, 690, 514, 1058, 1089,
508, 1073, 525, 1048, 1049, 463, 314, 471, 483, 681,
939, 731, 726, 727, 740, 1076, 682, 728, 679, 729,
730, 680, 442, 734, 815, 326, 509, 330, 318, 318,
266, 267, 283, 469, 269, 325, 284, 328, 495, 826,
810, 810, 1063, 1047, 285, 500, 280, 281, 531, 819,
696, 277, 704, 692, 834, 308, 838, 693, 835, 558,
515, 782, 975, 752, 970, 484, 705, 877, 839, 375,
812, 982, 772, 784, 820, 820, 820, 820, 982, 820,
442, 820, 486, 875, 1053, 1053, 708, 820, 974, 689,
0, 868, 391, 1044, 0, 982, 982, 982, 982, 0,
1044, 982, 982, 302, 0, 0, 0, 1055, 1055, 451,
0, 0, 747, 0, 461, 748, 0, 0, 0, 0,
513, 0, 0, 0, 0, 0, 1040, 0, 977, 0,
382, 0, 0, 0, 0, 0, 0, 0, 0, 0,
457, 0, 0, 9, 0, 0, 0, 837, 0, 0,
1042, 1042, 837, 0, 0, 0, 0, 0, 0, 0,
165, 165, 138, 138, 148, 138, 150, 181, 166, 163,
163, 163, 163, 147, 164, 164, 164, 164, 164, 164,
164, 147, 159, 160, 161, 162, 178, 176, 179, 424,
425, 317, 426, 429, 430, 431, 432, 433, 434, 435,
436, 894, 136, 139, 140, 141, 142, 143, 144, 145,
146, 149, 175, 177, 180, 197, 200, 201, 203, 204,
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
235, 236, 253, 254, 255, 322, 323, 324, 474, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 151, 196, 152, 167, 168, 169, 198,
170, 153, 154, 155, 171, 156, 199, 137, 172, 157,
173, 174, 158, 536, 202, 442, 546, 741, 516, 7,
281, 263, 202, 527, 676, 674, 247, 316, 1076, 1076,
675, 447, 447, 447, 476, 447, 798, 779, 777, 779,
571, 711, 440, 807, 802, 1076, 462, 460, 663, 447,
574, 496, 498, 523, 526, 531, 532, 809, 539, 541,
548, 805, 550, 491, 491, 1005, 1005, 1005, 1005, 1005,
1005, 1005, 1005, 1005, 1005, 1005, 1005, 428, 428, 428,
428, 428, 428, 428, 428, 428, 428, 428, 428, 428,
428, 980, 447, 447, 231, 738, 232, 233, 461, 482,
447, 447, 447, 302, 306, 454, 477, 478, 480, 467,
492, 494, 542, 781, 448, 489, 509, 467, 773, 313,
545, 1050, 1051, 473, 485, 472, 427, 427, 427, 427,
427, 427, 427, 427, 427, 427, 427, 427, 427, 427,
702, 706, 694, 836, 832, 840, 3, 4, 468, 981,
784, 1068, 754, 300, 486, 1060, 475, 862, 549, 814,
678, 774, 528, 860, 510, 465, 941, 982, 1036, 817,
828, 702, 877, 1049, 702, 710, 287, 976, 821, 683,
502, 733, 728, 729, 742, 439, 684, 730, 681, 731,
732, 682, 439, 736, 279, 328, 511, 332, 320, 320,
268, 269, 285, 471, 271, 327, 286, 330, 497, 775,
775, 775, 775, 282, 283, 769, 776, 693, 693, 1075,
1075, 310, 698, 703, 703, 703, 705, 692, 695, 837,
578, 517, 977, 972, 841, 1091, 1075, 707, 786, 377,
488, 984, 879, 691, 822, 822, 822, 822, 984, 822,
1078, 822, 870, 304, 1055, 1055, 393, 822, 444, 453,
0, 0, 0, 1046, 463, 984, 984, 984, 984, 0,
1046, 984, 984, 0, 0, 0, 0, 1057, 1057, 0,
384, 0, 749, 0, 533, 750, 0, 0, 0, 0,
812, 812, 1065, 11, 0, 0, 1042, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 439, 455, 0, 0, 0, 0, 0, 0, 0,
0, 0, 439, 0, 455, 0, 0, 301, 0, 443,
363, 0, 365, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 699, 0, 1081
459, 0, 0, 0, 0, 0, 444, 839, 0, 0,
1044, 1044, 839, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 441, 457, 0, 0, 0, 0, 0, 0, 0,
0, 0, 441, 0, 457, 0, 515, 303, 0, 445,
365, 0, 367, 0, 979, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 701, 0, 1083
);
protected $gotoCheck = array(
@ -634,79 +638,79 @@ class Php7 extends \PhpParser\ParserAbstract
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
33, 33, 33, 63, 56, 10, 8, 13, 7, 7,
7, 79, 56, 17, 7, 7, 16, 16, 109, 84,
18, 10, 10, 10, 96, 10, 16, 84, 16, 91,
16, 36, 16, 16, 16, 5, 10, 39, 40, 10,
33, 33, 33, 63, 56, 10, 8, 13, 68, 109,
79, 132, 56, 68, 18, 16, 132, 68, 145, 145,
17, 10, 10, 10, 96, 10, 16, 16, 16, 16,
16, 36, 16, 16, 16, 145, 10, 39, 5, 10,
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 135, 135, 135, 135, 135,
135, 135, 135, 135, 135, 135, 135, 135, 135, 26,
55, 74, 49, 49, 49, 49, 49, 49, 74, 67,
67, 67, 10, 10, 75, 75, 75, 91, 10, 10,
10, 10, 10, 145, 145, 74, 74, 74, 74, 93,
26, 74, 74, 26, 10, 91, 91, 134, 132, 72,
145, 72, 72, 132, 143, 10, 133, 133, 133, 133,
39, 39, 39, 85, 85, 85, 85, 85, 85, 85,
85, 85, 85, 85, 85, 85, 85, 135, 135, 135,
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
135, 91, 10, 10, 72, 55, 72, 72, 10, 10,
10, 10, 10, 49, 49, 49, 49, 49, 49, 84,
67, 67, 67, 40, 10, 46, 46, 84, 75, 75,
75, 139, 139, 2, 2, 10, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
85, 85, 85, 85, 144, 144, 26, 26, 46, 46,
13, 52, 26, 26, 26, 26, 26, 68, 141, 12,
54, 144, 68, 139, 139, 53, 68, 2, 2, 13,
116, 13, 13, 13, 13, 144, 13, 13, 13, 13,
13, 13, 12, 13, 87, 56, 56, 56, 56, 56,
56, 56, 56, 56, 56, 56, 56, 56, 56, 89,
84, 84, 84, 137, 20, 24, 79, 79, 12, 90,
30, 11, 14, 14, 14, 19, 14, 28, 95, 81,
23, 14, 125, 14, 122, 14, 32, 112, 98, 70,
14, 63, 14, 78, 63, 63, 63, 63, 63, 63,
12, 63, 71, 14, 8, 8, 14, 63, 14, 15,
-1, 109, 120, 96, -1, 63, 63, 63, 63, -1,
96, 63, 63, 65, -1, -1, -1, 96, 96, 65,
-1, -1, 63, -1, 65, 63, -1, -1, -1, -1,
12, -1, -1, -1, -1, -1, 96, -1, 12, -1,
65, -1, -1, -1, -1, -1, -1, -1, -1, -1,
8, -1, -1, 65, -1, -1, -1, 96, -1, -1,
26, 14, 14, 14, 93, 14, 37, 37, 134, 91,
14, 143, 14, 52, 14, 141, 7, 7, 7, 14,
13, 14, 7, 7, 54, 53, 116, 91, 91, 87,
89, 26, 14, 137, 26, 14, 20, 14, 90, 13,
24, 13, 13, 13, 13, 74, 13, 13, 13, 13,
13, 13, 74, 13, 11, 56, 56, 56, 56, 56,
56, 56, 56, 56, 56, 56, 56, 56, 56, 74,
74, 74, 74, 79, 79, 74, 74, 26, 26, 144,
144, 19, 30, 26, 26, 26, 26, 26, 28, 95,
81, 23, 125, 122, 98, 12, 144, 32, 78, 70,
71, 63, 112, 15, 63, 63, 63, 63, 63, 63,
144, 63, 109, 65, 8, 8, 120, 63, 12, 65,
-1, -1, -1, 96, 65, 63, 63, 63, 63, -1,
96, 63, 63, -1, -1, -1, -1, 96, 96, -1,
65, -1, 63, -1, 12, 63, -1, -1, -1, -1,
84, 84, 84, 65, -1, -1, 96, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
8, -1, -1, -1, -1, -1, 12, 96, -1, -1,
96, 96, 96, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 8, 8, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 8, -1, 8, -1, -1, 8, -1, 8,
8, -1, 8, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 8, -1, 8, -1, 12, 8, -1, 8,
8, -1, 8, -1, 12, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 8, -1, 8
);
protected $gotoBase = array(
0, 0, -274, 0, 0, 137, 0, 115, 108, 0,
-139, 47, 5, -17, -36, -28, 125, 121, 128, 40,
60, 0, 0, -2, 44, 0, -75, 0, 39, 0,
48, 0, -8, -20, 0, 0, 134, 0, 0, -403,
132, 0, 0, 0, 0, 0, 228, 0, 0, 147,
0, 0, 229, 57, 55, 166, 81, 0, 0, 0,
0, 0, 0, 109, 0, 23, 0, -47, -119, 0,
-27, -23, -351, 0, -51, -63, 0, 0, -3, -259,
0, 17, 0, 0, 96, 26, 0, 54, 0, 67,
71, -158, 0, 188, 0, 37, 131, 0, -7, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 120,
0, 0, -10, 0, 0, 0, 41, 0, 0, 0,
-26, 0, -9, 0, 0, -4, 0, 0, 0, 0,
0, 0, -37, 12, 194, -49, 0, 66, 0, -16,
0, 227, 0, 199, 10, -41, 0, 0
0, 0, -330, 0, 0, 138, 0, 251, 106, 0,
-141, 18, 69, -19, -119, -46, 123, 128, 122, 34,
20, 0, 0, -3, 7, 0, -16, 0, 38, 0,
48, 0, -9, -22, 0, 0, 132, -332, 0, -405,
195, 0, 0, 0, 0, 0, 183, 0, 0, 166,
0, 0, 219, 45, 47, 179, 79, 0, 0, 0,
0, 0, 0, 107, 0, 1, 0, -28, -270, 0,
-29, -37, -376, 0, 51, -41, 0, 0, -10, -262,
0, 16, 0, 0, 174, -53, 0, 27, 0, 26,
28, -108, 0, 221, 0, 36, 129, 0, -13, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 109,
0, 0, -7, 0, 0, 0, 25, 0, 0, 0,
-34, 0, -12, 0, 0, -6, 0, 0, 0, 0,
0, 0, -136, 10, 223, -39, 0, 24, 0, -70,
0, 212, 0, 224, 73, -118, 0, 0
);
protected $gotoDefault = array(
-32768, 396, 579, 2, 580, 651, 659, 516, 413, 545,
414, 441, 316, 733, 881, 695, 777, 716, 717, 305,
340, 296, 303, 501, 491, 387, 702, 359, 694, 383,
697, 358, 706, 133, 517, 392, 710, 1, 712, 447,
743, 293, 720, 294, 520, 722, 454, 724, 725, 299,
306, 307, 885, 462, 488, 735, 203, 456, 737, 292,
738, 746, 313, 297, 369, 393, 385, 479, 512, 354,
372, 485, 228, 464, 989, 769, 378, 367, 783, 278,
791, 563, 799, 802, 415, 416, 376, 814, 377, 824,
818, 997, 371, 829, 360, 836, 1029, 362, 840, 843,
335, 502, 329, 847, 848, 4, 852, 535, 536, 867,
241, 389, 876, 503, 357, 891, 343, 958, 960, 449,
384, 971, 366, 523, 394, 976, 1033, 355, 417, 373,
268, 282, 244, 418, 435, 249, 419, 374, 1036, 1043,
319, 1059, 436, 1067, 1075, 275, 468, 482
-32768, 398, 581, 2, 582, 653, 661, 518, 415, 547,
416, 443, 318, 735, 883, 697, 717, 718, 719, 307,
342, 298, 305, 503, 493, 389, 704, 361, 696, 385,
699, 360, 708, 135, 519, 394, 712, 1, 714, 449,
745, 295, 722, 296, 522, 724, 456, 726, 727, 301,
308, 309, 887, 464, 490, 737, 205, 458, 739, 294,
740, 748, 315, 299, 371, 395, 387, 481, 514, 356,
374, 487, 230, 466, 991, 771, 380, 369, 785, 280,
793, 579, 801, 804, 417, 418, 378, 816, 379, 826,
820, 999, 373, 831, 362, 838, 1031, 364, 842, 845,
337, 504, 331, 849, 850, 6, 854, 537, 538, 869,
243, 391, 878, 505, 359, 893, 345, 960, 962, 451,
386, 973, 368, 525, 396, 978, 1035, 357, 419, 375,
270, 284, 246, 420, 437, 251, 421, 376, 1038, 1045,
321, 1061, 438, 1069, 1077, 277, 470, 484
);
protected $ruleToNonTerminal = array(

View File

@ -4,6 +4,8 @@ Switch
switch ($a) {
case 0:
break;
// Comment
case 1;
default:
}
@ -27,6 +29,9 @@ array(
value: 0
)
stmts: array(
0: Stmt_Break(
num: null
)
)
)
1: Stmt_Case(
@ -35,6 +40,9 @@ array(
)
stmts: array(
)
comments: array(
0: // Comment
)
)
2: Stmt_Case(
cond: null

View File

@ -13,6 +13,7 @@ switch ($expr) {
case 4:
echo 'Third case, return instead of break';
return;
// Comment
default:
echo 'Default case';
break;
@ -29,6 +30,7 @@ switch ($expr) {
case 4:
echo 'Third case, return instead of break';
return;
// Comment
default:
echo 'Default case';
break;