diff --git a/grammar/php5.y b/grammar/php5.y index 41c8f09a..dd7ff63a 100644 --- a/grammar/php5.y +++ b/grammar/php5.y @@ -136,7 +136,7 @@ inner_statement: { throw new Error('__HALT_COMPILER() can only be used from the outermost scope', attributes()); } ; -statement: +non_empty_statement: '{' inner_statement_list '}' { $$ = $2; } | T_IF parentheses_expr statement elseif_list else_single { $$ = Stmt\If_[$2, ['stmts' => toArray($3), 'elseifs' => $4, 'else' => $5]]; } @@ -165,7 +165,6 @@ statement: | T_FOREACH '(' expr T_AS variable T_DOUBLE_ARROW foreach_variable ')' foreach_statement { $$ = Stmt\Foreach_[$3, $7[0], ['keyVar' => $5, 'byRef' => $7[1], 'stmts' => $9]]; } | T_DECLARE '(' declare_list ')' declare_statement { $$ = Stmt\Declare_[$3, $5]; } - | ';' { $$ = array(); /* means: no statement */ } | T_TRY '{' inner_statement_list '}' catches optional_finally { $$ = Stmt\TryCatch[$3, $5, $6]; } | T_THROW expr ';' { $$ = Stmt\Throw_[$2]; } @@ -174,6 +173,11 @@ statement: | error { $$ = array(); /* means: no statement */ } ; +statement: + non_empty_statement { $$ = $1; } + | ';' { $$ = array(); /* means: no statement */ } +; + catches: /* empty */ { init(); } | catches catch { push($1, $2); } @@ -255,7 +259,8 @@ foreach_statement: ; declare_statement: - statement { $$ = toArray($1); } + non_empty_statement { $$ = toArray($1); } + | ';' { $$ = null; } | ':' inner_statement_list T_ENDDECLARE ';' { $$ = $2; } ; diff --git a/grammar/php7.y b/grammar/php7.y index 1708008b..452d7700 100644 --- a/grammar/php7.y +++ b/grammar/php7.y @@ -136,7 +136,7 @@ inner_statement: { throw new Error('__HALT_COMPILER() can only be used from the outermost scope', attributes()); } ; -statement: +non_empty_statement: '{' inner_statement_list '}' { $$ = $2; } | T_IF '(' expr ')' statement elseif_list else_single { $$ = Stmt\If_[$3, ['stmts' => toArray($5), 'elseifs' => $6, 'else' => $7]]; } @@ -161,7 +161,6 @@ statement: | T_FOREACH '(' expr T_AS variable T_DOUBLE_ARROW foreach_variable ')' foreach_statement { $$ = Stmt\Foreach_[$3, $7[0], ['keyVar' => $5, 'byRef' => $7[1], 'stmts' => $9]]; } | T_DECLARE '(' declare_list ')' declare_statement { $$ = Stmt\Declare_[$3, $5]; } - | ';' { $$ = array(); /* means: no statement */ } | T_TRY '{' inner_statement_list '}' catches optional_finally { $$ = Stmt\TryCatch[$3, $5, $6]; } | T_THROW expr ';' { $$ = Stmt\Throw_[$2]; } @@ -170,6 +169,11 @@ statement: | error { $$ = array(); /* means: no statement */ } ; +statement: + non_empty_statement { $$ = $1; } + | ';' { $$ = array(); /* means: no statement */ } +; + catches: /* empty */ { init(); } | catches catch { push($1, $2); } @@ -251,7 +255,8 @@ foreach_statement: ; declare_statement: - statement { $$ = toArray($1); } + non_empty_statement { $$ = toArray($1); } + | ';' { $$ = null; } | ':' inner_statement_list T_ENDDECLARE ';' { $$ = $2; } ; diff --git a/lib/PhpParser/Node/Stmt/Declare_.php b/lib/PhpParser/Node/Stmt/Declare_.php index 7b95d406..64b9efc3 100644 --- a/lib/PhpParser/Node/Stmt/Declare_.php +++ b/lib/PhpParser/Node/Stmt/Declare_.php @@ -14,10 +14,10 @@ class Declare_ extends Node\Stmt * Constructs a declare node. * * @param DeclareDeclare[] $declares List of declares - * @param Node[] $stmts Statements + * @param Node[]|null $stmts Statements * @param array $attributes Additional attributes */ - public function __construct(array $declares, array $stmts, array $attributes = array()) { + public function __construct(array $declares, array $stmts = null, array $attributes = array()) { parent::__construct($attributes); $this->declares = $declares; $this->stmts = $stmts; diff --git a/lib/PhpParser/Parser/Php5.php b/lib/PhpParser/Parser/Php5.php index 938b3264..fc9fa73b 100644 --- a/lib/PhpParser/Parser/Php5.php +++ b/lib/PhpParser/Parser/Php5.php @@ -18,7 +18,7 @@ use PhpParser\Node\Stmt; class Php5 extends \PhpParser\ParserAbstract { protected $tokenToSymbolMapSize = 392; - protected $actionTableSize = 1288; + protected $actionTableSize = 1268; protected $gotoTableSize = 596; protected $invalidSymbol = 157; @@ -233,135 +233,133 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $action = array( - 814, 70, 71, 438, 72, 73,-32766,-32766,-32766,-32766, + 813, 70, 71, 438, 72, 73,-32766,-32766,-32766,-32766, 74, 75, 145, 76, 234, 235, 236, 237, 238, 239, 240, 241, 242, 0, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,-32766,-32766,-32766,-32766, - -32766,-32767,-32767,-32767,-32767, 316, 77, 78, 458, 255, + -32766,-32767,-32767,-32767,-32767, 316, 77, 78, 35, 255, 256, 598, 79, 456, 80, 309, 310, 81, 82, 83, 84, 85, 86, 87, 88, 647, 42, 317, 89, 431, - 439, 232, 233, 659, 1076, 1077, 481, 147, 1167, 592, - 803, 589, 482, 56, 27, 440, 639, 483, 374, 484, - 218, 485, 67, 68, 441, 1197, 882, 883, 46, 47, - 486, 442, 858, 48, 487, 488, 489, 90, 1088, 510, - 367, 368, 443, 433, 785, 830, 493, 494, 490, 491, - 492, 934, 935, 936, 933, 932, 931, 510, 495, 496, - 443, 1082, 1083, 1084, 1085, 1079, 1080, 325, 446, 495, - 631,-32766, 510, 1086, 1081, 443, 446, 809, 642, 437, + 439, 232, 233, 645, 1078, 1079, 481, 147, 1169, 592, + 803, 589, 482, 56, 27, 440, 639, 483, 654, 484, + 218, 485, 65, 68, 441, 1199, 884, 885, 46, 47, + 486, 442, 860, 48, 487, 488, 489, 90, 1090, 510, + 367, 368, 443, 433, 785, 831, 493, 494, 490, 491, + 492, 936, 937, 938, 935, 934, 933, 510, 495, 496, + 443, 1084, 1085, 1086, 1087, 1081, 1082, 325, 446, 495, + 631,-32766, 510, 1088, 1083, 443, 446, 815, 642, 41, 57, 298, 350, 336, 339, 337, 674, 675, 676, 677, - 678, 52, 679, 680, 681, 717, 718,-32766,-32766,-32766, - -32766,-32766,-32766, 457, 136, 138, 51, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 755, - -32766, 366,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767, - -32767,-32767,-32767, 252, 253, 254, 632, 344, 682, 443, - -32766,-32766,-32766, 912,-32766,-32766,-32766, 964, 966, 255, - 256, 859, 683, 684, 685, 686, 687, 688, 689, 800, + 678, 446, 679, 680, 681, 717, 718,-32766,-32766,-32766, + -32766,-32766,-32766, 457, 135, 138, 51, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 910, + -32766, 324,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767, + -32767,-32767,-32767, 252, 253, 254, 632, 847, 682, 443, + -32766,-32766,-32766, 914,-32766,-32766,-32766, 966, 968, 255, + 256, 861, 683, 684, 685, 686, 687, 688, 689, 344, -32766, 740,-32766,-32766,-32766,-32766,-32766,-32766, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 720, 721, 722, 723, 724, 712, 713, 714, 715, 716, 701, 702, 703, 704, 705, 706, 707, 734, 735, 736, 737, - 738, 739, 708, 709, 710, 711, 41, 732, 730, 731, - 727, 728, 300, 719, 725, 726, 94, 95, 96, -483, - -202, 117, 118, 119, 1043, 319, 1161, 729, 1200,-32766, - 1202, 1201, 742, 35, 1167, 65, 50, 120, 97, 98, + 738, 739, 708, 709, 710, 711, 465, 732, 730, 731, + 727, 728, 300, 719, 725, 726, 94, 95, 96, -485, + -204, 117, 118, 119, 891, 319, 1163, 729, 1202,-32766, + 1204, 1203, 742, 437, 1169, 67, 50, 120, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, - 119,-32766, 319, 313, 231, 232, 233, 1053, 898, 231, - 232, 233, 1025, 352, 120,-32766,-32766,-32766,-32766,-32766, - -32766,-32766,-32766,-32766, 218,-32767,-32767,-32767,-32767, 218, - 259, -1, 249, 250, 251, 313, 143, 465, 510,-32766, - 357, 443,-32766,-32766,-32766, 742, 447, 478, 350,-32766, - 1167, 222,-32766,-32766,-32766, 1161,-32766, 135,-32766, -255, - -32766, 459,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - 446,-32766,-32766,-32766, 756, 757,-32766, 742, 139,-32766, - 509,-32766, 302,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - -32766, 889,-32766, 64, 666,-32766,-32766, 1174,-32766,-32766, - -32766,-32766, 446, 385,-32766,-32766, 1192, 1025,-32766, 45, - 452,-32766, 509, 644, 908, 142,-32766,-32766, 425,-32766, - 888, 231, 232, 233, 350, 356, 488, 489,-32766, 357, - 311, 114, 115, 116, 432, 785, 830, 493, 494, 1025, - 335, 218, 430, 654, 488, 489, 1171, 142,-32766,-32766, - 645, 1126, 324, 748, 830, 493, 494,-32766,-32766,-32766, - -32766,-32766, 314, 1027, 49, 312,-32766, 446, 536,-32766, - -32766,-32766, 742, 315, 349, 134,-32766,-32766,-32766,-32766, - -32766,-32766, 22,-32766,-32766,-32766, 561,-32766, 907,-32766, - -32766,-32766,-32766, 137,-32766,-32766,-32766, 446,-32766,-32766, - -32766, 262, 801,-32766, 742, 261,-32766, 509,-32766,-32766, - 218,-32766,-32766,-32766,-32766,-32766, 446,-32766, 144,-32766, - 1025, 260,-32766, 446, 233, 1088,-32766,-32766,-32766, 446, - 133,-32766,-32766,-32766,-32766,-32766, 223, 141,-32766, 509, - 224, 432, 218,-32766,-32766, 225,-32766, 335,-32766, 255, - 256, 488, 489, 813, 231, 232, 233, 663, 34, 1025, - 748, 830, 493, 494, 347, 1127, 146, 934, 935, 936, - 933, 932, 931, 926, 218,-32766,-32766, 472, 604,-32766, - 326, 349, 301, 467, 28, 742, 148, 375, 750,-32766, - 756, 757,-32766,-32766,-32766, 658,-32766, 823,-32766,-32766, - -32766, 611, 612,-32766, 923, 669, 319,-32766,-32766,-32766, - 446, 120,-32766,-32766,-32766, 59,-32766, 69,-32766,-32766, - 509, -197, -197, -197, 742, 1025, 66,-32766,-32766, 911, - 662,-32766,-32766,-32766, 62,-32766, 61,-32766, 63,-32766, - 749, 649,-32766, 317, 60, 541,-32766,-32766,-32766, 446, - 530,-32766,-32766,-32766, 617,-32766,-32766,-32766,-32766, 509, - 451, 453, 488, 489, 743, 531,-32766,-32766,-32766,-32766, - 535, 785, 830, 493, 494,-32767,-32767,-32767,-32767, 112, - 113, 114, 115, 116,-32766, 550, 551,-32766, 742, 769, - 742, 395, 1195, 614,-32766,-32766,-32766,-32766,-32766,-32766, - 534,-32766, 624,-32766, 1046,-32766, 882, 883,-32766, 630, - -32766, 39,-32766,-32766,-32766, 446, -70,-32766,-32766, 510, - 553,-32766, 443,-32766,-32766, 509, 455, 297, -206, 742, - 348, 607,-32766,-32766, 595,-32766,-32766,-32766,-32766, 446, - -32766, -201,-32766, 450,-32766, 476, 1025,-32766, 608, 1087, - 831,-32766,-32766,-32766, 446, 832,-32766,-32766, 346, -203, - -32766,-32766,-32766,-32766, 509, 495, 432,-32766, 351, 1172, - 345,-32766, 335,-32766,-32766,-32766, 488, 489, 1025, -484, - 488, 489, 340, 338, -483, 748, 830, 493, 494, 785, - 830, 493, 494,-32766, 390,-32766,-32766,-32766,-32766,-32766, - -32766,-32766, 36, 1133, 1069,-32766, 349, 231, 232, 233, - 38, 742, 257, 751, 31,-32766, 30, -384,-32766,-32766, - -32766, -392,-32766, -393,-32766, 388,-32766, 218, 402,-32766, - 403, 411, 452,-32766,-32766,-32766, 446,-32766,-32766,-32766, - 543, 427,-32766, 742, 426,-32766, 509,-32766,-32766, 825, - -32766,-32766,-32766,-32766,-32766, 805,-32766, 917,-32766, 1025, - 852,-32766, 811, 798, 753,-32766,-32766,-32766, 446, 752, - -32766,-32766, 915, 790,-32766, 812, 861,-32766, 509, 788, - -32766, 916, 797,-32766, 919,-32766,-32766,-32766,-32766, 488, - 489, 1025, 918, 488, 489, 842, 844, 846, 785, 830, - 493, 494, 785, 830, 493, 494,-32766, 799,-32766,-32766, - -32766,-32766, 853, 900, 793,-32766, 796, 794,-32766, 804, - 754, 651, 802, 650, 742, 55, 826, 54,-32766, 91, - 817,-32766,-32766,-32766, 668,-32766, 667,-32766, 665,-32766, - 664, 93,-32766, 643, 648, 343,-32766,-32766,-32766, 446, - -32766,-32766,-32766,-32766, 423,-32766, 742, 342,-32766, 509, - -32766, 140, 424,-32766,-32766,-32766,-32766,-32766, 655,-32766, - 656,-32766, 661, 653,-32766, 1067, 1164, 1152,-32766,-32766, - -32766, 446, 1166,-32766,-32766, 1168, 1196,-32766, 471, 1198, - -32766, 509, -187, -187, -187,-32766,-32766, 40,-32766, 1199, - 829, 760, 488, 489, 761, 828, 827, 1039, 850, 488, - 489, 785, 830, 493, 494, 851, 1162, 758, 785, 830, - 493, 494, 759,-32766, 43, 44, 53, 795,-32766, 742, - 1023, 435, 429,-32766, 353, 323,-32766,-32766,-32766, 652, - -32766, 322,-32766, 258,-32766, 321, -187,-32766, 320, 308, - 307,-32766,-32766,-32766, 446, 299,-32766,-32766, 221, 92, - -32766, 226, 227,-32766, 509,-32766, 58, 228, 1029, 229, - -202,-32766, 1005, 583, 638, 1092, 890, 1033, 1030, 636, - 574, 220, -195, -195, -195, 479, 226, 227, 475, 1076, - 1077, 473, 228,-32766, 229, 1004, 468, 1078, 488, 489, - -32766,-32766, -186, -186, -186, 396, 220, 785, 830, 493, - 494, 25, 24, 23, 1076, 1077, -402, 0,-32766, 488, - 489, 615, 1078, 488, 489, 1147, 1146, 1093, 785, 830, - 493, 494, 785, 830, 493, 494, 1194, 1066, 1163, 1034, - 0, 1151, 1165, 1052, 579, 1037, 1082, 1083, 1084, 1085, - 1079, 1080, 401, 1038, 1035, 1036, -186, 1132, 1086, 1081, - 0, 0, 0, 0, 0, 230, 0,-32766, 0, 579, - 0, 1082, 1083, 1084, 1085, 1079, 1080, 401, 0, 0, - 0, 0, 0, 1086, 1081, 488, 489, 0, 0, 0, - 230, 0,-32766, 0, 785, 830, 493, 494, 488, 489, - 621, 0, 488, 489, 0, 0, 0, 785, 830, 493, - 494, 785, 830, 493, 494, 488, 489, 0, 0, 0, - 488, 489, 924, 629, 785, 830, 493, 494, 0, 785, - 830, 493, 494, 0, 0, 1028, 0, 0, 0, 819, - 0, 0, 0, 0, 0, 488, 489, 0, 0, 0, - 0, 0, 786, 0, 785, 830, 493, 494 + 119,-32766, 319, 313, 249, 250, 251, 1055, 1169,-32766, + -32766,-32766, 1027, 458, 120,-32766,-32766,-32766,-32766,-32766, + -32766,-32766,-32766,-32766, 222,-32767,-32767,-32767,-32767,-32766, + 139,-32766,-32766,-32766,-32766, 313, 143, 666, 510,-32766, + 357, 443,-32766,-32766,-32766, 742, 447, 64, 350,-32766, + -32766,-32766,-32766,-32766,-32766, 1173,-32766, 136,-32766, 45, + -32766, 478,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, + 446,-32766,-32766,-32766, 356, 385,-32766, 742, 1194,-32766, + 509,-32766, 350, -203,-32766,-32766,-32766,-32766,-32766, 374, + -32766, 26,-32766, 900, 1163,-32766,-32766, 1176, 536,-32766, + -32766,-32766, 446, 233,-32766,-32766, 366, 1027,-32766, 459, + 446,-32766, 509,-32766,-32766, 142,-32766,-32766, 1045,-32766, + 890, 218, 488, 489, -189, -189, -189, 144,-32766, 134, + 301, 785, 831, 493, 494, 561, 49, 312, -1, 1027, + 452, 488, 489, 644, 756, 757, 430, 142,-32766,-32766, + 785, 831, 493, 494, 755, 1090, 141,-32767,-32767,-32767, + -32767, 112, 113, 114, 115, 116,-32766, 302, 357,-32766, + -32766,-32766, 742, 231, 232, 233,-32766,-32766, -189,-32766, + -32766,-32766, 315,-32766, 352,-32766, -257,-32766, 425,-32766, + -32766,-32766,-32766, 218,-32766,-32766,-32766, 446,-32766,-32766, + -32766, 52, 909,-32766, 742, 137,-32766, 509,-32766, 261, + -32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 218,-32766, + 884, 885,-32766,-32766, 812,-32766,-32766,-32766,-32766, 446, + 800,-32766,-32766, 510, 1027,-32766, 443, 663,-32766, 509, + 659, 432, -208,-32766,-32766, 224,-32766, 335, 432, 638, + 801, 488, 489, 260, 335,-32766, 225, 311, 488, 489, + 748, 831, 493, 494, 255, 256, 1027, 748, 831, 493, + 494, 472, 604, 488, 489,-32766,-32766, 231, 232, 233, + 133, 349, 785, 831, 493, 494, 467, 28, 349, 314, + 114, 115, 116,-32766, 223, 750, 262, 218, 259, 742, + 148, 375, 146,-32766, 756, 757,-32766,-32766,-32766, 326, + -32766, 658,-32766, 446,-32766, 611, 612,-32766, 913, 662, + 1128,-32766,-32766,-32766, 446,-32766,-32766,-32766, 749, 649, + -32766, 742,-32766,-32766, 509,-32766,-32766, 824,-32766,-32766, + -32766,-32766,-32766, 319,-32766, 59,-32766, 1027, 617,-32766, + 120, 317, 541,-32766,-32766,-32766, 446, 69,-32766,-32766, + 925, 669,-32766, 66, 62,-32766, 509, 61,-32766, 530, + -32766,-32766, 63,-32766, 60, 432, 629, 614, 34, 455, + 451, 335, 39, 453, 347, 488, 489, 936, 937, 938, + 935, 934, 933, 928, 748, 831, 493, 494, 488, 489, + 743, 531,-32766,-32766, 535, 550,-32766, 785, 831, 493, + 494, 551, 742, 395, 742, 349,-32766, 769, 1197,-32766, + -32766,-32766, 751,-32766, 534,-32766, 624,-32766, 1048, 630, + -32766, 446, -70,-32766,-32766,-32766,-32766, 446,-32766,-32766, + -32766, 450, 553,-32766, 742, 476,-32766, 509,-32766, 297, + -32766,-32766,-32766,-32766,-32766,-32766, 607,-32766, 595,-32766, + 346, 1027,-32766, 608, -486, 832,-32766,-32766,-32766, 446, + 351,-32766,-32766, 348, 340,-32766, 833, 390,-32766, 509, + 338, 668,-32766,-32766,-32766, 345,-32766,-32766,-32766,-32766, + 488, 489, -485, 1027, 488, 489, 1089, 495, 36, 785, + 831, 493, 494, 785, 831, 493, 494,-32766, 1135,-32766, + -32766,-32766,-32766,-32766, 38,-32766,-32766, 31, 30, 1071, + -32766, -386, -394, 231, 232, 233, 742, 1029, 257, -395, + -32766, 827, 388,-32766,-32766,-32766, 826,-32766, 402,-32766, + 403,-32766, 411, 218,-32766, 452, 543, 427,-32766,-32766, + -32766, 446,-32766,-32766,-32766, 426, 805,-32766, 742, 919, + -32766, 509,-32766,-32766, 854,-32766,-32766,-32766,-32766,-32766, + 810,-32766, 798,-32766, 1027, 753,-32766, 752, 917, 790, + -32766,-32766,-32766, 446, 811,-32766,-32766, 863, 788,-32766, + 918, 921,-32766, 509, 920,-32766, 843, 797,-32766, 845, + -32766, 488, 489, 848, 799, 855, 1027, 488, 489, 796, + 785, 831, 493, 494, 488, 489, 785, 831, 493, 494, + 231, 232, 233, 785, 831, 493, 494, 667, 794, 793, + -32766, 804, 754,-32766, 651,-32766,-32766,-32766, 818, 742, + 218, 802, 1174,-32766, 652, 650,-32766,-32766,-32766, 665, + -32766, 926,-32766, 55,-32766,-32766, 54,-32766, 664, 93, + 643,-32766,-32766,-32766, 446,-32766,-32766,-32766,-32766, 648, + -32766, 742, 343,-32766, 509,-32766, 423, 342,-32766,-32766, + -32766,-32766,-32766, 140,-32766, 424,-32766, 655, 656,-32766, + 661, 653, -205,-32766,-32766,-32766, 446, 902,-32766,-32766, + 1069, 1166,-32766, 1154, 1168,-32766, 509, -188, -188, -188, + 795,-32766, 91,-32766, 1170, 1198, 471, 488, 489,-32766, + -32766,-32766,-32766,-32766, 488, 489, 785, 831, 493, 494, + 231, 232, 233, 785, 831, 493, 494, 1200,-32766, 1201, + 830, 760,-32766,-32766, 742, 761, 829, 828,-32766, 1041, + 218,-32766,-32766,-32766, 1030,-32766, 852,-32766, 258,-32766, + 853, -188,-32766, 1164, 1129, 758,-32766,-32766,-32766, 446, + 759,-32766,-32766, 40, 43,-32766, 226, 227,-32766, 509, + 44, 53, 228, 435, 229, 429,-32766, 353, 323, 322, + -199, -199, -199, 621, 321, 320, 220, -197, -197, -197, + 308, 226, 227, 307, 1078, 1079, 299, 228,-32766, 229, + 221, 92, 1080, 488, 489,-32766,-32766,-32766, 1025, 58, + 615, 220, 785, 831, 493, 494, 1031, -204, 1007, 1078, + 1079, 488, 489,-32766, 583, 1094, 892, 1080, 488, 489, + 785, 831, 493, 494, 488, 489, 1035, 785, 831, 493, + 494, 1032, -404, 785, 831, 493, 494, 636, 574, 579, + 479, 1084, 1085, 1086, 1087, 1081, 1082, 401, 475, 473, + 1149, 1006, 468, 1088, 1083, 396, 24, 1134, 23, 22, + 230, 820,-32766, 1148, 579, 1095, 1084, 1085, 1086, 1087, + 1081, 1082, 401, 1196, 1068, 1165, 1036, 1153, 1088, 1083, + 488, 489, 1167, 1054, 1039, 230, 1040,-32766, 1037, 785, + 831, 493, 494, 1038, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 786 ); protected $actionCheck = array( @@ -373,7 +371,7 @@ class Php5 extends \PhpParser\ParserAbstract 67, 82, 53, 29, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 29, 67, 68, 69, 70, 71, 9, 10, 29, 75, 76, 77, 149, 79, 87, - 81, 153, 83, 84, 85, 86, 77, 88, 7, 90, + 81, 153, 83, 84, 85, 86, 77, 88, 29, 90, 28, 92, 67, 67, 95, 150, 130, 131, 99, 100, 101, 102, 29, 104, 105, 113, 114, 108, 139, 143, 111, 112, 146, 123, 122, 123, 124, 125, 119, 120, @@ -381,13 +379,13 @@ class Php5 extends \PhpParser\ParserAbstract 146, 132, 133, 134, 135, 136, 137, 138, 102, 129, 77, 151, 143, 144, 145, 146, 102, 148, 149, 7, 151, 13, 153, 154, 128, 156, 2, 3, 4, 5, - 6, 13, 8, 9, 10, 11, 12, 8, 9, 10, + 6, 102, 8, 9, 10, 11, 12, 8, 9, 10, 8, 9, 10, 149, 149, 149, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 148, 28, 7, 30, 31, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 50, 51, 52, 143, 7, 54, 146, + 38, 39, 40, 50, 51, 52, 143, 148, 54, 146, 8, 9, 10, 150, 31, 32, 33, 56, 57, 66, - 67, 148, 68, 69, 70, 71, 72, 73, 74, 148, + 67, 148, 68, 69, 70, 71, 72, 73, 74, 7, 28, 77, 30, 31, 32, 33, 34, 35, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, @@ -398,170 +396,168 @@ class Php5 extends \PhpParser\ParserAbstract 79, 80, 77, 7, 79, 67, 28, 66, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 1, 54, 35, 8, 9, 10, 112, 79, 8, + 52, 1, 54, 35, 47, 48, 49, 112, 79, 8, 9, 10, 12, 7, 66, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 28, 41, 42, 43, 44, 28, - 29, 0, 47, 48, 49, 35, 149, 7, 143, 71, - 153, 146, 8, 9, 10, 77, 151, 7, 153, 81, - 79, 7, 84, 85, 86, 79, 88, 149, 90, 79, + 36, 37, 38, 39, 7, 41, 42, 43, 44, 28, + 7, 30, 31, 32, 33, 35, 149, 29, 143, 71, + 153, 146, 8, 9, 10, 77, 151, 67, 153, 81, + 31, 32, 84, 85, 86, 77, 88, 149, 90, 7, 92, 7, 28, 95, 30, 31, 32, 99, 100, 101, - 102, 71, 104, 105, 102, 103, 108, 77, 7, 111, - 112, 81, 153, 103, 84, 85, 86, 119, 88, 109, - 90, 152, 92, 67, 29, 95, 1, 152, 118, 99, - 100, 101, 102, 79, 104, 105, 82, 12, 108, 7, - 146, 111, 112, 149, 148, 147, 148, 149, 146, 119, - 152, 8, 9, 10, 153, 67, 113, 114, 1, 153, - 35, 47, 48, 49, 103, 122, 123, 124, 125, 12, - 109, 28, 7, 29, 113, 114, 77, 147, 148, 149, - 29, 155, 7, 122, 123, 124, 125, 31, 32, 33, - 34, 35, 35, 150, 140, 141, 71, 102, 82, 8, - 9, 10, 77, 7, 143, 149, 81, 8, 9, 84, - 85, 86, 152, 88, 8, 90, 128, 92, 148, 28, - 95, 30, 31, 13, 99, 100, 101, 102, 71, 104, - 105, 15, 148, 108, 77, 15, 111, 112, 81, 1, - 28, 84, 85, 86, 119, 88, 102, 90, 149, 92, - 12, 15, 95, 102, 10, 139, 99, 100, 101, 102, - 15, 104, 105, 31, 32, 108, 15, 29, 111, 112, - 15, 103, 28, 148, 149, 15, 119, 109, 1, 66, - 67, 113, 114, 29, 8, 9, 10, 29, 103, 12, - 122, 123, 124, 125, 109, 152, 29, 112, 113, 114, - 115, 116, 117, 118, 28, 148, 149, 72, 73, 71, - 29, 143, 35, 72, 73, 77, 97, 98, 150, 81, - 102, 103, 84, 85, 86, 29, 88, 35, 90, 31, - 92, 106, 107, 95, 148, 149, 54, 99, 100, 101, - 102, 66, 104, 105, 1, 67, 108, 67, 71, 111, - 112, 72, 73, 74, 77, 12, 67, 119, 81, 148, - 149, 84, 85, 86, 67, 88, 67, 90, 67, 92, - 148, 149, 95, 68, 67, 82, 99, 100, 101, 102, - 77, 104, 105, 1, 74, 108, 148, 149, 111, 112, - 77, 77, 113, 114, 77, 77, 119, 8, 9, 10, - 77, 122, 123, 124, 125, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 71, 77, 77, 28, 77, 77, - 77, 78, 77, 79, 81, 148, 149, 84, 85, 86, - 79, 88, 79, 90, 79, 92, 130, 131, 95, 79, - 82, 94, 99, 100, 101, 102, 94, 104, 105, 143, - 94, 108, 146, 71, 111, 112, 86, 94, 152, 77, - 110, 96, 119, 81, 96, 1, 84, 85, 86, 102, - 88, 74, 90, 102, 92, 102, 12, 95, 109, 139, - 123, 99, 100, 101, 102, 123, 104, 105, 127, 152, - 108, 148, 149, 111, 112, 129, 103, 1, 126, 150, - 126, 119, 109, 8, 9, 10, 113, 114, 12, 128, - 113, 114, 128, 128, 128, 122, 123, 124, 125, 122, - 123, 124, 125, 28, 146, 30, 31, 32, 33, 34, - 148, 149, 142, 139, 152, 71, 143, 8, 9, 10, - 142, 77, 13, 150, 142, 81, 142, 142, 84, 85, - 86, 142, 88, 142, 90, 142, 92, 28, 146, 95, - 146, 146, 146, 99, 100, 101, 102, 71, 104, 105, - 146, 146, 108, 77, 146, 111, 112, 81, 1, 147, - 84, 85, 86, 119, 88, 148, 90, 148, 92, 12, - 148, 95, 148, 148, 148, 99, 100, 101, 102, 148, - 104, 105, 148, 148, 108, 148, 148, 111, 112, 148, - 1, 148, 148, 149, 148, 119, 8, 9, 10, 113, - 114, 12, 148, 113, 114, 148, 148, 148, 122, 123, - 124, 125, 122, 123, 124, 125, 28, 148, 30, 31, - 32, 33, 148, 150, 148, 149, 148, 148, 71, 148, - 148, 148, 148, 148, 77, 148, 150, 148, 81, 151, - 150, 84, 85, 86, 149, 88, 149, 90, 149, 92, - 149, 149, 95, 149, 149, 149, 99, 100, 101, 102, - 71, 104, 105, 1, 149, 108, 77, 149, 111, 112, - 81, 149, 149, 84, 85, 86, 119, 88, 149, 90, - 149, 92, 149, 149, 95, 150, 150, 150, 99, 100, - 101, 102, 150, 104, 105, 150, 150, 108, 150, 150, - 111, 112, 96, 97, 98, 148, 149, 151, 119, 150, - 150, 150, 113, 114, 150, 150, 150, 150, 150, 113, - 114, 122, 123, 124, 125, 150, 150, 150, 122, 123, - 124, 125, 150, 71, 151, 151, 151, 148, 149, 77, - 154, 151, 151, 81, 151, 151, 84, 85, 86, 150, - 88, 151, 90, 29, 92, 151, 150, 95, 151, 151, - 151, 99, 100, 101, 102, 151, 104, 105, 151, 151, - 108, 47, 48, 111, 112, 151, 151, 53, 152, 55, - 152, 119, 152, 152, 89, 152, 152, 152, 152, 152, - 152, 67, 72, 73, 74, 152, 47, 48, 152, 75, - 76, 152, 53, 79, 55, 152, 152, 83, 113, 114, - 148, 149, 96, 97, 98, 152, 67, 122, 123, 124, - 125, 152, 152, 152, 75, 76, 154, -1, 79, 113, - 114, 155, 83, 113, 114, 155, 155, 155, 122, 123, - 124, 125, 122, 123, 124, 125, 155, 155, 155, 155, - -1, 155, 155, 155, 130, 155, 132, 133, 134, 135, - 136, 137, 138, 155, 155, 155, 150, 156, 144, 145, - -1, -1, -1, -1, -1, 151, -1, 153, -1, 130, - -1, 132, 133, 134, 135, 136, 137, 138, -1, -1, - -1, -1, -1, 144, 145, 113, 114, -1, -1, -1, - 151, -1, 153, -1, 122, 123, 124, 125, 113, 114, - 93, -1, 113, 114, -1, -1, -1, 122, 123, 124, - 125, 122, 123, 124, 125, 113, 114, -1, -1, -1, - 113, 114, 150, 91, 122, 123, 124, 125, -1, 122, - 123, 124, 125, -1, -1, 150, -1, -1, -1, 150, - -1, -1, -1, -1, -1, 113, 114, -1, -1, -1, - -1, -1, 150, -1, 122, 123, 124, 125 + 102, 71, 104, 105, 67, 79, 108, 77, 82, 111, + 112, 81, 153, 74, 84, 85, 86, 119, 88, 7, + 90, 152, 92, 79, 79, 95, 1, 152, 82, 99, + 100, 101, 102, 10, 104, 105, 7, 12, 108, 7, + 102, 111, 112, 8, 9, 147, 148, 149, 152, 119, + 152, 28, 113, 114, 96, 97, 98, 149, 1, 149, + 35, 122, 123, 124, 125, 128, 140, 141, 0, 12, + 146, 113, 114, 149, 102, 103, 7, 147, 148, 149, + 122, 123, 124, 125, 148, 139, 29, 41, 42, 43, + 44, 45, 46, 47, 48, 49, 71, 153, 153, 8, + 9, 10, 77, 8, 9, 10, 81, 8, 150, 84, + 85, 86, 7, 88, 7, 90, 79, 92, 146, 28, + 95, 30, 31, 28, 99, 100, 101, 102, 71, 104, + 105, 13, 148, 108, 77, 13, 111, 112, 81, 15, + 103, 84, 85, 86, 119, 88, 109, 90, 28, 92, + 130, 131, 95, 1, 29, 118, 99, 100, 101, 102, + 148, 104, 105, 143, 12, 108, 146, 29, 111, 112, + 29, 103, 152, 148, 149, 15, 119, 109, 103, 89, + 148, 113, 114, 15, 109, 1, 15, 35, 113, 114, + 122, 123, 124, 125, 66, 67, 12, 122, 123, 124, + 125, 72, 73, 113, 114, 148, 149, 8, 9, 10, + 15, 143, 122, 123, 124, 125, 72, 73, 143, 35, + 47, 48, 49, 71, 15, 150, 15, 28, 29, 77, + 97, 98, 29, 81, 102, 103, 84, 85, 86, 29, + 88, 29, 90, 102, 92, 106, 107, 95, 148, 149, + 155, 99, 100, 101, 102, 71, 104, 105, 148, 149, + 108, 77, 31, 111, 112, 81, 1, 35, 84, 85, + 86, 119, 88, 54, 90, 67, 92, 12, 74, 95, + 66, 68, 82, 99, 100, 101, 102, 67, 104, 105, + 148, 149, 108, 67, 67, 111, 112, 67, 1, 77, + 148, 149, 67, 119, 67, 103, 91, 79, 103, 86, + 77, 109, 94, 77, 109, 113, 114, 112, 113, 114, + 115, 116, 117, 118, 122, 123, 124, 125, 113, 114, + 77, 77, 148, 149, 77, 77, 71, 122, 123, 124, + 125, 77, 77, 78, 77, 143, 81, 77, 77, 84, + 85, 86, 150, 88, 79, 90, 79, 92, 79, 79, + 95, 102, 94, 82, 99, 100, 101, 102, 71, 104, + 105, 102, 94, 108, 77, 102, 111, 112, 81, 94, + 1, 84, 85, 86, 119, 88, 96, 90, 96, 92, + 127, 12, 95, 109, 128, 123, 99, 100, 101, 102, + 126, 104, 105, 110, 128, 108, 123, 146, 111, 112, + 128, 149, 1, 148, 149, 126, 119, 8, 9, 10, + 113, 114, 128, 12, 113, 114, 139, 129, 142, 122, + 123, 124, 125, 122, 123, 124, 125, 28, 139, 30, + 31, 32, 33, 34, 142, 148, 149, 142, 142, 152, + 71, 142, 142, 8, 9, 10, 77, 150, 13, 142, + 81, 150, 142, 84, 85, 86, 147, 88, 146, 90, + 146, 92, 146, 28, 95, 146, 146, 146, 99, 100, + 101, 102, 71, 104, 105, 146, 148, 108, 77, 148, + 111, 112, 81, 1, 148, 84, 85, 86, 119, 88, + 148, 90, 148, 92, 12, 148, 95, 148, 148, 148, + 99, 100, 101, 102, 148, 104, 105, 148, 148, 108, + 148, 148, 111, 112, 148, 1, 148, 148, 149, 148, + 119, 113, 114, 148, 148, 148, 12, 113, 114, 148, + 122, 123, 124, 125, 113, 114, 122, 123, 124, 125, + 8, 9, 10, 122, 123, 124, 125, 149, 148, 148, + 149, 148, 148, 71, 148, 8, 9, 10, 150, 77, + 28, 148, 150, 81, 150, 148, 84, 85, 86, 149, + 88, 150, 90, 148, 92, 28, 148, 95, 149, 149, + 149, 99, 100, 101, 102, 71, 104, 105, 1, 149, + 108, 77, 149, 111, 112, 81, 149, 149, 84, 85, + 86, 119, 88, 149, 90, 149, 92, 149, 149, 95, + 149, 149, 152, 99, 100, 101, 102, 150, 104, 105, + 150, 150, 108, 150, 150, 111, 112, 96, 97, 98, + 148, 149, 151, 119, 150, 150, 150, 113, 114, 31, + 32, 33, 34, 35, 113, 114, 122, 123, 124, 125, + 8, 9, 10, 122, 123, 124, 125, 150, 71, 150, + 150, 150, 148, 149, 77, 150, 150, 150, 81, 150, + 28, 84, 85, 86, 150, 88, 150, 90, 29, 92, + 150, 150, 95, 150, 152, 150, 99, 100, 101, 102, + 150, 104, 105, 151, 151, 108, 47, 48, 111, 112, + 151, 151, 53, 151, 55, 151, 119, 151, 151, 151, + 72, 73, 74, 93, 151, 151, 67, 72, 73, 74, + 151, 47, 48, 151, 75, 76, 151, 53, 79, 55, + 151, 151, 83, 113, 114, 148, 149, 151, 154, 151, + 155, 67, 122, 123, 124, 125, 152, 152, 152, 75, + 76, 113, 114, 79, 152, 152, 152, 83, 113, 114, + 122, 123, 124, 125, 113, 114, 152, 122, 123, 124, + 125, 152, 154, 122, 123, 124, 125, 152, 152, 130, + 152, 132, 133, 134, 135, 136, 137, 138, 152, 152, + 155, 152, 152, 144, 145, 152, 152, 156, 152, 152, + 151, 150, 153, 155, 130, 155, 132, 133, 134, 135, + 136, 137, 138, 155, 155, 155, 155, 155, 144, 145, + 113, 114, 155, 155, 155, 151, 155, 153, 155, 122, + 123, 124, 125, 155, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 150 ); protected $actionBase = array( - 0, 926, 1036, 361, 693, 1040, 468, 579, 1132, 919, - -8, 1137, 697, 1162, 1119, 806, 343, 1015, 1115, 810, - 1102, 36, 444, 44, 395, 44, 451, 667, 667, 667, - 217, 217, 63, 739, 154, 154, 154, 154, 154, 9, - 298, 330, 425, 425, 682, 425, 796, 909, 764, 643, - 538, 577, 457, 877, 877, 877, 877, 982, 982, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, - 877, 877, 877, 877, 877, 877, 877, 877, 877, 73, - 801, 510, 148, 799, 798, 745, 744, 946, 663, 950, - 866, 865, 567, 862, 857, 856, 855, 793, 868, 649, - 996, 896, 278, 278, 278, 278, 278, 278, 278, 278, - 278, 278, 278, 506, 829, 443, 331, 326, 499, 576, - 576, 576, 576, 576, 576, 576, 159, 159, 159, 159, + 0, 358, 941, 468, 602, 1055, 475, 1048, 1117, 824, + -8, 1030, 339, 615, 1061, 711, 707, 490, 934, 818, + 831, 36, 541, 338, 541, 44, 59, 659, 659, 659, + 217, 217, 63, 741, 154, 154, 154, 154, 154, 9, + 298, 330, 552, 552, 697, 552, 811, 892, 779, 665, + 457, 425, 584, 924, 924, 924, 924, 997, 997, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 924, 924, 924, 924, 924, 924, 924, 73, + 813, 522, 518, 810, 791, 754, 752, 1004, 685, 1006, + 895, 894, 603, 884, 883, 881, 880, 877, 896, 822, + 995, 943, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 499, 845, 942, 599, 495, 435, 1052, + 1052, 1052, 1052, 1052, 1052, 1052, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 62, 689, 689, 689, 544, 1044, 512, - 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, - 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, - 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, - 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, - 1069, 1069, 1069, 491, -17, -17, 364, 598, 908, 532, - 795, 183, 202, 162, 162, 162, 162, 162, -25, 456, - 5, 5, 5, 5, 161, 664, 664, 664, 664, 314, - 314, 314, 314, 880, 885, 886, 887, 10, 10, 666, - 666, 605, 842, 414, 414, 315, 315, 225, 225, 225, - 225, 225, 225, 225, 225, 225, 225, -10, 310, 944, - 606, 606, 606, 606, -34, 416, -34, 694, 1031, 241, - 241, 241, 153, 153, 153, 302, 593, 354, 399, 399, - 399, 354, 518, 518, 518, -16, -16, -16, -16, 294, - 822, -16, -16, -16, 238, 658, 221, -72, 668, 888, - 665, 895, 511, 711, 26, 728, 725, 259, 671, 541, - 535, 525, 705, 24, 259, 73, 486, 25, 582, 804, - 639, 41, 751, 81, 384, 388, 522, 356, 306, 360, - 838, 746, 951, 973, 275, -55, 681, 582, 582, 582, - 269, -31, 826, 835, 356, 138, 513, 513, 513, 513, - 881, 843, 513, 513, 513, 513, 884, 897, 296, 370, - 902, 142, 754, 641, 641, 641, 641, 641, 641, 592, - 641, 904, 618, 876, 876, 638, 644, 592, 945, 945, - 945, 945, 592, 641, 876, 876, 592, 605, 876, 432, - 592, 674, 641, 672, 672, 945, 805, 803, 618, 651, - 661, 876, 876, 876, 661, 638, 592, 945, 669, 732, - 374, 876, 945, 581, 581, 669, 592, 581, 644, 581, - 23, 554, 578, 905, 808, 910, 603, 824, 657, 662, - 929, 928, 938, 623, 613, 934, 903, 724, 802, 789, - 614, 545, 607, 599, 597, 601, 704, 589, 685, 671, - 716, 575, 575, 575, 686, 702, 686, 575, 575, 575, - 575, 575, 575, 575, 575, 1014, 713, 709, 684, 670, - 757, 551, 678, 656, 555, 825, 640, 724, 724, 956, - 983, 992, 906, 617, 927, 958, 686, 1030, 809, 401, - 560, 924, 712, 642, 714, 686, 920, 686, 854, 686, - 955, 645, 879, 724, 575, 954, 1029, 1028, 1020, 1018, - 1017, 1016, 1000, 1013, 580, 1012, 755, 974, 475, 937, - 705, 690, 715, 737, 336, 1011, 686, 686, 849, 822, - 686, 851, 758, 807, 991, 742, 969, 1002, 640, 966, - 686, 673, 1001, 336, 596, 610, 637, 794, 911, 653, - 953, 913, 853, 536, 520, 869, 558, 761, 990, 989, - 948, 779, 821, 819, 516, 655, 660, 817, 914, 778, - 957, 652, 716, 698, 650, 647, 815, 963, 777, 774, - 766, 763, 0, 0, 0, 0, 0, 0, 0, 0, + 159, 159, 159, 62, 957, 957, 957, 423, 1059, 520, + 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 491, -17, -17, 364, 631, 331, 349, + 809, 183, 202, 162, 162, 162, 162, 162, -25, 1018, + 5, 5, 5, 5, 161, 446, 446, 446, 446, 314, + 314, 314, 314, 920, 926, 927, 929, 10, 10, 698, + 698, 613, 864, 573, 573, 287, 287, 225, 225, 225, + 225, 225, 225, 225, 225, 225, 225, -10, 437, 996, + 420, 420, 420, 420, -34, 346, -34, 699, 1051, 241, + 241, 241, 153, 153, 153, 372, 600, 326, 308, 308, + 308, 326, 532, 532, 532, -16, -16, -16, -16, 324, + 840, -16, -16, -16, 25, 681, 221, -72, 692, 936, + 690, 940, 500, 717, 26, 739, 731, 344, 669, 544, + 529, 539, 709, 24, 344, 73, 542, 238, 619, 823, + 664, 336, 759, 412, 432, 337, 510, 310, 345, 269, + 858, 757, 1012, 1049, 275, -55, 666, 619, 619, 619, + 142, -31, 853, 857, 310, 138, 528, 528, 528, 528, + 921, 866, 528, 528, 528, 528, 925, 945, 41, 384, + 950, 296, 760, 667, 667, 667, 667, 667, 667, 632, + 667, 959, 654, 952, 952, 658, 628, 632, 998, 998, + 998, 998, 632, 667, 952, 952, 632, 613, 952, 382, + 632, 689, 667, 674, 674, 998, 827, 816, 654, 675, + 663, 952, 952, 952, 663, 658, 632, 998, 684, 719, + 347, 952, 998, 610, 610, 684, 632, 610, 628, 610, + 23, 525, 608, 960, 891, 962, 622, 841, 672, 683, + 982, 979, 990, 657, 633, 985, 953, 730, 814, 786, + 636, 595, 637, 630, 627, 635, 706, 626, 682, 669, + 729, 614, 614, 614, 694, 705, 694, 614, 614, 614, + 614, 614, 614, 614, 614, 1071, 720, 710, 676, 623, + 766, 609, 661, 678, 560, 850, 687, 730, 730, 1029, + 1053, 1028, 994, 653, 974, 1036, 694, 1088, 838, 353, + 571, 973, 722, 670, 724, 694, 968, 694, 872, 694, + 1024, 671, 919, 730, 614, 1014, 1083, 1081, 1079, 1078, + 1077, 1072, 1045, 1070, 620, 1069, 761, 1050, 184, 989, + 709, 686, 726, 738, 507, 1068, 694, 694, 868, 840, + 694, 869, 769, 835, 1057, 746, 1047, 1060, 687, 1046, + 694, 673, 1058, 507, 612, 604, 870, 787, 964, 677, + 1013, 966, 871, 568, 524, 917, 538, 770, 1056, 1054, + 1005, 785, 839, 830, 611, 679, 680, 808, 967, 781, + 1035, 668, 729, 702, 693, 618, 662, 1038, 778, 776, + 773, 772, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -593,20 +589,20 @@ class Php5 extends \PhpParser\ParserAbstract 225, 225, 225, 278, 0, 0, 278, -17, 278, -17, 278, -17, 278, 278, 278, 278, 278, 278, -17, -17, -17, -17, -17, -17, 0, 241, 241, 241, 241, -17, - -17, -17, -17, 485, 485, 485, 485, 225, 225, 225, + -17, -17, -17, 605, 605, 605, 605, 225, 225, 225, 225, 225, 225, 241, 241, 153, 153, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 225, 485, 225, - 641, 641, 641, 641, 641, 354, 641, 354, 354, 0, - 0, 0, 0, 0, 0, 641, 354, 0, 301, 301, - 301, 0, 641, 641, 641, 641, 641, 641, 641, 641, - 301, 641, 641, 641, 876, 354, 0, 301, 519, 519, - 519, 519, 336, 356, 0, 641, 641, 0, 651, 0, - 0, 0, 876, 0, 0, 0, 0, 0, 575, 401, - 927, 0, 184, 0, 0, 0, 0, 0, 0, 0, - 617, 184, 496, 496, 0, 0, 580, 575, 575, 575, - 0, 0, 617, 617, 0, 0, 0, 0, 0, 0, - 200, 617, 0, 0, 0, 0, 200, 465, 0, 0, - 465, 0, 336 + 0, 0, 0, 0, 0, 0, 0, 225, 605, 225, + 667, 667, 667, 667, 667, 326, 667, 326, 326, 0, + 0, 0, 0, 0, 0, 667, 326, 0, 259, 259, + 259, 0, 667, 667, 667, 667, 667, 667, 667, 667, + 259, 667, 667, 667, 952, 326, 0, 259, 533, 533, + 533, 533, 507, 310, 0, 667, 667, 0, 675, 0, + 0, 0, 952, 0, 0, 0, 0, 0, 614, 353, + 974, 0, 429, 0, 0, 0, 0, 0, 0, 0, + 653, 429, 505, 505, 0, 0, 620, 614, 614, 614, + 0, 0, 653, 653, 0, 0, 0, 0, 0, 0, + 222, 653, 0, 0, 0, 0, 222, 469, 0, 0, + 469, 0, 507 ); protected $actionDefault = array( @@ -614,10 +610,10 @@ class Php5 extends \PhpParser\ParserAbstract 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, 510, 510,32767, 467,32767,32767,32767,32767, - 32767,32767,32767, 273, 273, 273,32767,32767,32767, 499, - 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, - 32767,32767,32767,32767,32767, 355,32767,32767,32767,32767, + 32767,32767, 512, 512,32767, 469,32767,32767,32767,32767, + 32767,32767,32767, 275, 275, 275,32767,32767,32767, 501, + 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, + 32767,32767,32767,32767,32767, 357,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, @@ -625,58 +621,58 @@ class Php5 extends \PhpParser\ParserAbstract 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, 361, 515,32767,32767,32767,32767,32767,32767,32767, + 32767, 363, 517,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767, 336, 337, 339, 340, 272, 500, 223, 362, - 514, 271, 225, 300, 471,32767,32767,32767, 302, 106, - 234, 179, 470, 109, 270, 210, 354, 356, 301, 277, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 276, 427, 333, 332, 331, 429,32767, 428, - 464, 464, 467,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 338, 339, 341, 342, 274, 502, 225, 364, + 516, 273, 227, 302, 473,32767,32767,32767, 304, 106, + 236, 181, 472, 109, 272, 212, 356, 358, 303, 279, + 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 278, 429, 335, 334, 333, 431,32767, 430, + 466, 466, 469,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, 298, 455, 454, 299, 425, 303, 426, - 305, 430, 304, 321, 322, 319, 320, 323, 432, 431, - 448, 449, 446, 447, 275, 324, 325, 326, 327, 450, - 451, 452, 453, 257, 257, 257, 257,32767,32767, 509, - 509,32767,32767, 312, 313, 439, 440,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 258,32767, - 214, 214, 214, 214, 214,32767,32767,32767,32767, 307, - 308, 306, 434, 435, 433,32767, 401,32767,32767,32767, - 32767, 403,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 472,32767,32767,32767,32767,32767, - 32767,32767,32767, 485, 390,32767,32767,32767, 383, 198, - 200, 148, 458,32767,32767,32767,32767, 490, 317,32767, - 32767,32767,32767,32767,32767, 523,32767, 485,32767,32767, - 32767,32767,32767,32767,32767,32767, 330, 309, 310, 311, - 32767,32767,32767,32767, 489, 483, 442, 443, 444, 445, - 32767,32767, 436, 437, 438, 441,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767,32767, 152, - 32767, 398,32767, 404, 404,32767,32767, 152,32767,32767, - 32767,32767, 152,32767, 488, 487, 152,32767, 384, 466, - 152, 165,32767, 163, 163,32767, 184, 184,32767,32767, - 167, 459, 478,32767, 167,32767, 152,32767, 372, 154, - 466,32767,32767, 216, 216, 372, 152, 216,32767, 216, - 32767, 72, 408,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 385,32767,32767, - 32767,32767, 351, 352, 461, 474,32767, 475,32767, 383, - 32767, 315, 316, 318, 295,32767, 297, 341, 342, 343, - 344, 345, 346, 347, 349,32767,32767, 388, 391,32767, - 32767,32767, 74, 98, 233,32767, 522, 74, 386,32767, - 280, 522,32767,32767,32767,32767, 517,32767,32767, 274, - 32767,32767, 74,32767, 74, 229,32767, 150,32767, 507, - 32767,32767, 483, 387, 314,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 484,32767,32767,32767, 205,32767, - 421,32767, 74,32767, 166,32767, 278, 224,32767,32767, - 516,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 151,32767,32767, 168,32767,32767, 483,32767,32767,32767, - 32767,32767,32767,32767, 269,32767,32767,32767,32767,32767, - 483,32767,32767,32767, 209,32767,32767,32767,32767,32767, - 32767, 72, 59,32767, 251,32767,32767,32767,32767,32767, - 32767,32767, 111, 111, 3, 111, 192, 111, 236, 3, - 184, 184, 145, 236, 111, 236, 236, 111, 111, 111, - 111, 111, 243, 111, 111, 111, 111, 111, 111, 111 + 32767,32767,32767, 300, 457, 456, 301, 427, 305, 428, + 307, 432, 306, 323, 324, 321, 322, 325, 434, 433, + 450, 451, 448, 449, 277, 326, 327, 328, 329, 452, + 453, 454, 455, 259, 259, 259, 259,32767,32767, 511, + 511,32767,32767, 314, 315, 441, 442,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 260,32767, + 216, 216, 216, 216, 216,32767,32767,32767,32767, 309, + 310, 308, 436, 437, 435,32767, 403,32767,32767,32767, + 32767, 405,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767, 474,32767,32767,32767,32767,32767, + 32767,32767,32767, 487, 392,32767,32767,32767, 385, 200, + 202, 149, 460,32767,32767,32767,32767, 492, 319,32767, + 32767,32767,32767,32767,32767, 525,32767, 487,32767,32767, + 32767,32767,32767,32767,32767,32767, 332, 311, 312, 313, + 32767,32767,32767,32767, 491, 485, 444, 445, 446, 447, + 32767,32767, 438, 439, 440, 443,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767, 153, + 32767, 400,32767, 406, 406,32767,32767, 153,32767,32767, + 32767,32767, 153,32767, 490, 489, 153,32767, 386, 468, + 153, 166,32767, 164, 164,32767, 186, 186,32767,32767, + 168, 461, 480,32767, 168,32767, 153,32767, 374, 155, + 468,32767,32767, 218, 218, 374, 153, 218,32767, 218, + 32767, 72, 410,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 387,32767,32767, + 32767,32767, 353, 354, 463, 476,32767, 477,32767, 385, + 32767, 317, 318, 320, 297,32767, 299, 343, 344, 345, + 346, 347, 348, 349, 351,32767,32767, 390, 393,32767, + 32767,32767, 74, 98, 235,32767, 524, 74, 388,32767, + 282, 524,32767,32767,32767,32767, 519,32767,32767, 276, + 32767,32767, 74,32767, 74, 231,32767, 151,32767, 509, + 32767,32767, 485, 389, 316,32767,32767,32767,32767,32767, + 32767,32767,32767,32767, 486,32767,32767,32767, 207,32767, + 423,32767, 74,32767, 167,32767, 280, 226,32767,32767, + 518,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 152,32767,32767, 169,32767,32767, 485,32767,32767,32767, + 32767,32767,32767,32767, 271,32767,32767,32767,32767,32767, + 485,32767,32767,32767, 211,32767,32767,32767,32767,32767, + 32767, 72, 59,32767, 253,32767,32767,32767,32767,32767, + 32767,32767, 111, 111, 3, 111, 194, 111, 238, 3, + 186, 186, 146, 238, 111, 238, 238, 111, 111, 111, + 111, 111, 245, 111, 111, 111, 111, 111, 111, 111 ); protected $goto = array( @@ -684,7 +680,7 @@ class Php5 extends \PhpParser\ParserAbstract 162, 199, 180, 176, 176, 176, 176, 157, 157, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, 172, 173, 174, 175, 196, 151, 197, 511, 512, 378, - 513, 517, 518, 519, 520, 521, 522, 523, 524, 951, + 513, 517, 518, 519, 520, 521, 522, 523, 524, 953, 156, 158, 159, 161, 183, 188, 198, 214, 263, 266, 268, 270, 272, 273, 274, 275, 276, 277, 285, 286, 287, 288, 303, 304, 329, 330, 331, 397, 398, 399, @@ -695,47 +691,47 @@ class Php5 extends \PhpParser\ParserAbstract 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, 581, - 581, 581, 581, 581, 581, 1089, 777, 1089, 1089, 1089, - 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, - 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, - 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, - 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, - 874, 874, 1178, 1178, 33, 540, 1158, 186, 1158, 527, - 640, 527, 189, 190, 191, 406, 407, 408, 409, 185, + 581, 581, 581, 581, 581, 1091, 846, 1091, 1091, 1091, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, + 876, 876, 1180, 1180, 33, 540, 528, 186, 528, 527, + 777, 527, 189, 190, 191, 406, 407, 408, 409, 185, 213, 217, 219, 267, 269, 271, 278, 279, 280, 281, 282, 283, 289, 290, 291, 292, 305, 306, 332, 333, 334, 412, 413, 414, 415, 187, 192, 264, 265, 193, - 194, 195, 515, 515, 515, 515, 515, 515, 746, 746, - 359, 746, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 526, 892, 526, 405, 620, 559, 559, 586, - 555, 747, 747, 560, 747, 557, 557, 514, 516, 546, - 562, 587, 590, 600, 606, 580, 1182, 580, 580, 580, + 194, 195, 515, 515, 515, 515, 515, 515, 747, 747, + 359, 747, 515, 515, 515, 515, 515, 515, 515, 515, + 515, 515, 526, 640, 526, 405, 620, 559, 559, 586, + 555, 746, 746, 894, 746, 557, 557, 514, 516, 546, + 562, 587, 590, 600, 606, 580, 560, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 580, 566, 567, 568, 569, 570, 571, 572, 573, 575, 602, - 532, 1189, 1189, 593, 618, 1188, 1188, 537, 537, 537, - 461, 463, 922, 641, 537, 1189, 1090, 628, 920, 1188, - 294, 379, 295, 296, 448, 448, 448, 448, 448, 448, - 554, 537, 610, 1191, 448, 448, 448, 448, 448, 448, - 448, 448, 448, 448, 1054, 1138, 1054, 881, 881, 881, - 881, 881, 565, 881, 623, 619, 539, 627, 1175, 376, - 596, 599, 637, 603, 362, 422, 770, 1065, 1064, 539, - 539, 393, 839, 839, 839, 839, 1150, 380, 834, 840, - 626, 544, 4, 998, 528, 556, 528, 6, 537, 537, - 552, 582, 537, 537, 1047, 537, 770, 770, 9, 949, - 5, 469, 10, 360, 361, 341, 328, 878, 538, 11, - 887, 37, 1, 12, 13, 2, 14, 563, 7, 15, - 16, 17, 18, 19, 20, 745, 745, 365, 745, 416, - 386, 766, 764, 930, 896, 391, 657, 420, 1040, 1045, - 464, 774, 848, 860, 845, 843, 841, 843, 646, 529, - 869, 864, 901, 591, 763, 763, 771, 771, 771, 773, - 1135, 762, 477, 938, 1070, 0, 1050, 1051, 0, 0, - 1047, 1008, 26, 21, 373, 1157, 0, 1157, 0, 0, - 387, 387, 387, 1048, 1149, 1048, 0, 0, 576, 0, - 0, 0, 387, 1049, 0, 0, 1173, 1173, 1173, 404, - 29, 0, 0, 0, 0, 616, 0, 0, 1156, 0, + 532, 1191, 1191, 593, 618, 1190, 1190, 537, 537, 537, + 461, 463, 924, 641, 537, 1191, 1092, 628, 922, 1190, + 294, 1184, 295, 296, 448, 448, 448, 448, 448, 448, + 554, 537, 610, 1193, 448, 448, 448, 448, 448, 448, + 448, 448, 448, 448, 1056, 379, 1056, 883, 883, 883, + 883, 883, 565, 883, 623, 1140, 539, 627, 619, 376, + 596, 599, 637, 603, 362, 422, 770, 1067, 1066, 539, + 539, 1177, 840, 840, 840, 840, 1152, 380, 835, 841, + 626, 544, 4, 393, 1160, 556, 1160, 6, 537, 537, + 552, 582, 537, 537, 1049, 537, 770, 770, 9, 951, + 5, 469, 10, 360, 361, 341, 328, 1000, 538, 11, + 880, 37, 1, 12, 13, 2, 14, 563, 7, 15, + 16, 17, 18, 19, 20, 745, 745, 889, 745, 387, + 387, 387, 365, 932, 766, 416, 386, 391, 898, 764, + 657, 387, 420, 862, 844, 842, 844, 646, 404, 529, + 871, 866, 1047, 1042, 763, 763, 771, 771, 771, 773, + 464, 762, 774, 591, 1072, 850, 1052, 1053, 903, 477, + 1049, 1010, 25, 21, 373, 1159, 940, 1159, 1137, 0, + 0, 0, 0, 1050, 1151, 1050, 0, 0, 576, 0, + 0, 0, 0, 1051, 0, 0, 1175, 1175, 1175, 0, + 29, 0, 0, 0, 0, 616, 0, 0, 1158, 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, @@ -743,100 +739,100 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $gotoCheck = array( - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 50, - 109, 43, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 109, 109, 116, 24, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, - 67, 67, 67, 67, 87, 90, 107, 22, 107, 109, - 4, 109, 22, 22, 22, 22, 22, 22, 22, 22, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 51, + 110, 44, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 117, 27, 117, 117, 117, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 68, 68, 68, 68, 88, 91, 113, 22, 113, 110, + 24, 110, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 22, 106, 106, 106, 106, 106, 106, 10, 10, - 62, 10, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 106, 106, 74, 106, 44, 44, 44, 44, 44, - 44, 11, 11, 98, 11, 44, 44, 44, 44, 44, - 44, 44, 44, 44, 44, 50, 129, 50, 50, 50, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 7, 131, 131, 33, 33, 130, 130, 7, 7, 7, - 6, 6, 6, 6, 7, 131, 6, 6, 6, 130, - 58, 40, 58, 58, 50, 50, 50, 50, 50, 50, - 7, 7, 117, 130, 50, 50, 50, 50, 50, 50, - 50, 50, 50, 50, 50, 121, 50, 50, 50, 50, - 50, 50, 37, 50, 54, 42, 37, 54, 127, 54, - 53, 53, 53, 60, 60, 60, 18, 114, 114, 37, - 37, 41, 50, 50, 50, 50, 72, 51, 50, 50, - 50, 51, 2, 91, 112, 51, 112, 2, 7, 7, - 7, 7, 7, 7, 72, 7, 18, 18, 25, 90, - 25, 51, 25, 62, 62, 115, 115, 69, 7, 25, - 71, 51, 25, 25, 25, 25, 25, 7, 25, 25, - 25, 25, 25, 25, 25, 9, 9, 13, 9, 17, - 8, 20, 19, 87, 75, 12, 64, 16, 102, 104, - 56, 21, 61, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 76, 57, 18, 18, 18, 18, 18, 18, - 120, 18, 97, 89, 27, -1, 72, 72, -1, -1, - 72, 27, 27, 27, 27, 108, -1, 108, -1, -1, - 113, 113, 113, 72, 72, 72, -1, -1, 27, -1, - -1, -1, 113, 72, -1, -1, 108, 108, 108, 113, - 27, -1, -1, -1, -1, 27, -1, -1, 108, -1, + 22, 22, 107, 107, 107, 107, 107, 107, 11, 11, + 63, 11, 107, 107, 107, 107, 107, 107, 107, 107, + 107, 107, 107, 4, 107, 45, 45, 45, 45, 45, + 45, 10, 10, 75, 10, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 51, 99, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, + 7, 132, 132, 34, 34, 131, 131, 7, 7, 7, + 6, 6, 6, 6, 7, 132, 6, 6, 6, 131, + 59, 130, 59, 59, 51, 51, 51, 51, 51, 51, + 7, 7, 118, 131, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 41, 51, 51, 51, 51, + 51, 51, 38, 51, 55, 122, 38, 55, 43, 55, + 54, 54, 54, 61, 61, 61, 18, 115, 115, 38, + 38, 128, 51, 51, 51, 51, 73, 52, 51, 51, + 51, 52, 2, 42, 108, 52, 108, 2, 7, 7, + 7, 7, 7, 7, 73, 7, 18, 18, 25, 91, + 25, 52, 25, 63, 63, 116, 116, 92, 7, 25, + 70, 52, 25, 25, 25, 25, 25, 7, 25, 25, + 25, 25, 25, 25, 25, 9, 9, 72, 9, 114, + 114, 114, 13, 88, 20, 17, 8, 12, 76, 19, + 65, 114, 16, 9, 9, 9, 9, 9, 114, 9, + 9, 9, 105, 103, 18, 18, 18, 18, 18, 18, + 57, 18, 21, 58, 28, 62, 73, 73, 77, 98, + 73, 28, 28, 28, 28, 109, 90, 109, 121, -1, + -1, -1, -1, 73, 73, 73, -1, -1, 28, -1, + -1, -1, -1, 73, -1, -1, 109, 109, 109, -1, + 28, -1, -1, -1, -1, 28, -1, -1, 109, -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, 90 + -1, -1, -1, -1, -1, 91 ); protected $gotoBase = array( - 0, 0, -212, 0, 171, 0, 330, 15, 131, 472, - 255, 278, 120, 142, 0, 0, 63, 136, 81, 116, - 137, 33, -11, 0, 121, -195, 0, 83, 0, 0, - 0, 0, 0, 299, 0, 0, -40, 362, 0, 0, - 315, 113, 107, 86, -22, 0, 0, 0, 0, 0, - 77, -15, 0, 89, -70, 0, 36, 39, -283, 0, - 67, 27, -197, 0, 111, 0, 0, -97, 0, 133, - 0, 134, 72, 0, 232, 110, 43, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 165, 0, 35, - 148, 114, 0, 0, 0, 0, 0, 37, 240, 280, - 0, 0, 54, 0, 52, 0, -45, -111, 208, -108, - 0, 0, 117, 192, 78, 119, -63, 161, 0, 0, - 40, 173, 0, 0, 0, 0, 0, 108, 0, 251, - 28, 24, 0 + 0, 0, -212, 0, 234, 0, 330, 15, 137, 472, + 278, 255, 122, 147, 0, 0, 68, 142, 81, 123, + 140, 54, -11, 0, 175, -195, 0, 130, 83, 0, + 0, 0, 0, 0, 299, 0, 0, -40, 362, 0, + 0, 339, 125, 110, 87, -22, 0, 0, 0, 0, + 0, 77, -15, 0, 89, -70, 0, 56, 49, -283, + 0, 67, 50, -197, 0, 115, 0, 0, -97, 0, + 136, 0, 151, 72, 0, 242, 114, 59, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 165, 0, + 48, 148, 138, 0, 0, 0, 0, 0, 44, 253, + 280, 0, 0, 69, 0, 65, 0, -45, 117, 208, + -108, 0, 0, -111, 141, 78, 119, -63, 161, 0, + 0, 58, 183, 0, 0, 0, 0, 0, 121, 0, + 326, 28, 24, 0 ); protected $gotoDefault = array( -32768, 480, 3, 672, 733, 741, 613, 497, 533, 782, 783, 784, 382, 428, 498, 381, 417, 410, 772, 765, - 767, 775, 184, 418, 778, 8, 780, 999, 369, 787, - 370, 605, 789, 548, 791, 792, 150, 499, 383, 384, - 549, 392, 594, 806, 284, 389, 808, 371, 810, 816, - 372, 625, 609, 577, 622, 500, 460, 588, 293, 558, - 584, 847, 358, 855, 660, 863, 866, 501, 578, 877, - 466, 885, 1075, 400, 891, 897, 902, 905, 436, 419, - 601, 909, 910, 32, 914, 634, 635, 929, 318, 937, - 950, 434, 1018, 1020, 502, 503, 542, 474, 525, 547, - 504, 1041, 454, 421, 1044, 505, 506, 444, 445, 1062, - 1059, 364, 1143, 363, 462, 327, 1130, 597, 1094, 470, - 1181, 1139, 354, 507, 508, 377, 394, 1176, 449, 1183, - 1190, 355, 585 + 767, 775, 184, 418, 778, 8, 780, 814, 1001, 369, + 787, 370, 605, 789, 548, 791, 792, 150, 499, 383, + 384, 549, 392, 594, 806, 284, 389, 808, 371, 809, + 817, 372, 625, 609, 577, 622, 500, 460, 588, 293, + 558, 584, 849, 358, 857, 660, 865, 868, 501, 578, + 879, 466, 887, 1077, 400, 893, 899, 904, 907, 436, + 419, 601, 911, 912, 32, 916, 634, 635, 931, 318, + 939, 952, 434, 1020, 1022, 502, 503, 542, 474, 525, + 547, 504, 1043, 454, 421, 1046, 505, 506, 444, 445, + 1064, 1061, 364, 1145, 363, 462, 327, 1132, 597, 1096, + 470, 1183, 1141, 354, 507, 508, 377, 394, 1178, 449, + 1185, 1192, 355, 585 ); protected $ruleToNonTerminal = array( @@ -851,49 +847,49 @@ class Php5 extends \PhpParser\ParserAbstract 3, 3, 3, 3, 3, 3, 13, 13, 14, 14, 14, 14, 16, 16, 12, 12, 17, 17, 18, 18, 19, 19, 20, 20, 15, 15, 21, 23, 23, 24, - 25, 25, 26, 26, 26, 26, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 47, 47, 49, 48, 48, - 41, 41, 51, 51, 52, 52, 10, 11, 11, 11, - 55, 55, 55, 56, 56, 59, 59, 57, 57, 60, - 60, 34, 34, 43, 43, 46, 46, 45, 45, 61, - 35, 35, 35, 35, 62, 62, 63, 63, 64, 64, - 32, 32, 28, 28, 65, 30, 30, 66, 29, 29, - 31, 31, 42, 42, 42, 53, 53, 68, 68, 69, - 69, 71, 71, 71, 70, 70, 54, 54, 72, 72, - 72, 73, 73, 74, 74, 74, 38, 38, 75, 75, - 75, 39, 39, 76, 76, 58, 58, 77, 77, 77, - 77, 82, 82, 83, 83, 84, 84, 84, 84, 84, - 85, 86, 86, 81, 81, 78, 78, 80, 80, 88, - 88, 87, 87, 87, 87, 87, 87, 79, 79, 89, - 89, 40, 40, 33, 33, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 27, - 27, 37, 37, 94, 94, 95, 95, 95, 95, 101, - 90, 90, 97, 97, 103, 103, 104, 105, 105, 105, - 105, 105, 105, 109, 109, 50, 50, 50, 91, 91, - 110, 110, 106, 106, 111, 111, 111, 111, 92, 92, - 92, 96, 96, 96, 102, 102, 116, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 22, - 22, 22, 22, 22, 22, 118, 118, 118, 118, 118, - 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, - 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, - 118, 118, 118, 118, 118, 118, 118, 118, 100, 100, - 93, 93, 93, 93, 117, 117, 120, 120, 119, 119, - 121, 121, 44, 44, 44, 44, 123, 123, 122, 122, - 122, 122, 122, 124, 124, 108, 108, 112, 112, 107, - 107, 125, 125, 125, 125, 113, 113, 113, 113, 99, - 99, 114, 114, 114, 67, 126, 126, 127, 127, 127, - 98, 98, 128, 128, 129, 129, 129, 129, 115, 115, - 115, 115, 131, 130, 130, 130, 130, 130, 130, 130, - 132, 132, 132 + 25, 25, 26, 26, 26, 26, 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, 9, 9, 48, 48, 50, 49, + 49, 42, 42, 52, 52, 53, 53, 10, 11, 11, + 11, 56, 56, 56, 57, 57, 60, 60, 58, 58, + 61, 61, 35, 35, 44, 44, 47, 47, 47, 46, + 46, 62, 36, 36, 36, 36, 63, 63, 64, 64, + 65, 65, 33, 33, 29, 29, 66, 31, 31, 67, + 30, 30, 32, 32, 43, 43, 43, 54, 54, 69, + 69, 70, 70, 72, 72, 72, 71, 71, 55, 55, + 73, 73, 73, 74, 74, 75, 75, 75, 39, 39, + 76, 76, 76, 40, 40, 77, 77, 59, 59, 78, + 78, 78, 78, 83, 83, 84, 84, 85, 85, 85, + 85, 85, 86, 87, 87, 82, 82, 79, 79, 81, + 81, 89, 89, 88, 88, 88, 88, 88, 88, 80, + 80, 90, 90, 41, 41, 34, 34, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, + 37, 28, 28, 38, 38, 95, 95, 96, 96, 96, + 96, 102, 91, 91, 98, 98, 104, 104, 105, 106, + 106, 106, 106, 106, 106, 110, 110, 51, 51, 51, + 92, 92, 111, 111, 107, 107, 112, 112, 112, 112, + 93, 93, 93, 97, 97, 97, 103, 103, 117, 117, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 22, 22, 22, 22, 22, 22, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 101, 101, 94, 94, 94, 94, 118, 118, 121, 121, + 120, 120, 122, 122, 45, 45, 45, 45, 124, 124, + 123, 123, 123, 123, 123, 125, 125, 109, 109, 113, + 113, 108, 108, 126, 126, 126, 126, 114, 114, 114, + 114, 100, 100, 115, 115, 115, 68, 127, 127, 128, + 128, 128, 99, 99, 129, 129, 130, 130, 130, 130, + 116, 116, 116, 116, 132, 131, 131, 131, 131, 131, + 131, 131, 133, 133, 133 ); protected $ruleToLength = array( @@ -910,47 +906,47 @@ class Php5 extends \PhpParser\ParserAbstract 1, 2, 1, 2, 3, 1, 3, 3, 1, 3, 2, 0, 1, 1, 1, 1, 3, 5, 8, 3, 5, 9, 3, 2, 3, 2, 3, 2, 3, 2, - 3, 3, 3, 1, 2, 5, 7, 9, 5, 1, - 6, 3, 3, 2, 1, 0, 2, 8, 0, 4, - 1, 3, 0, 1, 0, 1, 10, 7, 6, 5, - 1, 2, 2, 0, 2, 0, 2, 0, 2, 1, - 3, 1, 4, 1, 4, 1, 4, 1, 3, 3, - 3, 4, 4, 5, 0, 2, 4, 3, 1, 1, - 1, 4, 0, 2, 3, 0, 2, 4, 0, 2, - 0, 3, 1, 2, 1, 1, 0, 1, 3, 4, - 6, 1, 1, 1, 0, 1, 0, 2, 2, 3, - 3, 1, 3, 1, 2, 2, 3, 1, 1, 2, - 4, 3, 1, 1, 3, 2, 0, 3, 3, 9, - 3, 1, 3, 0, 2, 4, 5, 4, 4, 4, - 3, 1, 1, 1, 3, 1, 1, 0, 1, 1, - 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, - 3, 3, 1, 0, 1, 1, 3, 3, 4, 4, - 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, + 3, 3, 3, 1, 2, 5, 7, 9, 5, 6, + 3, 3, 2, 1, 1, 1, 0, 2, 8, 0, + 4, 1, 3, 0, 1, 0, 1, 10, 7, 6, + 5, 1, 2, 2, 0, 2, 0, 2, 0, 2, + 1, 3, 1, 4, 1, 4, 1, 1, 4, 1, + 3, 3, 3, 4, 4, 5, 0, 2, 4, 3, + 1, 1, 1, 4, 0, 2, 3, 0, 2, 4, + 0, 2, 0, 3, 1, 2, 1, 1, 0, 1, + 3, 4, 6, 1, 1, 1, 0, 1, 0, 2, + 2, 3, 3, 1, 3, 1, 2, 2, 3, 1, + 1, 2, 4, 3, 1, 1, 3, 2, 0, 3, + 3, 9, 3, 1, 3, 0, 2, 4, 5, 4, + 4, 4, 3, 1, 1, 1, 3, 1, 1, 0, + 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 3, 1, 3, 3, 1, 0, 1, 1, 3, 3, + 4, 4, 1, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, - 3, 5, 4, 3, 4, 4, 2, 2, 2, 2, + 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 1, 3, 5, 4, 3, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 1, 1, 1, 3, 2, 1, 2, 10, 11, 3, - 3, 2, 4, 4, 3, 4, 4, 4, 4, 7, - 3, 2, 0, 4, 1, 3, 2, 2, 4, 6, - 2, 2, 4, 1, 1, 1, 2, 3, 1, 1, - 1, 1, 1, 1, 3, 3, 4, 4, 0, 2, - 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 3, 2, 1, - 3, 1, 4, 3, 1, 3, 3, 3, 3, 3, + 2, 2, 1, 1, 1, 3, 2, 1, 2, 10, + 11, 3, 3, 2, 4, 4, 3, 4, 4, 4, + 4, 7, 3, 2, 0, 4, 1, 3, 2, 2, + 4, 6, 2, 2, 4, 1, 1, 1, 2, 3, + 1, 1, 1, 1, 1, 1, 3, 3, 4, 4, + 0, 2, 1, 0, 1, 1, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 2, 1, 3, 1, 4, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, - 3, 3, 3, 3, 5, 4, 4, 3, 1, 3, - 1, 1, 3, 3, 0, 2, 0, 1, 3, 1, - 3, 1, 1, 1, 1, 1, 6, 4, 3, 4, - 2, 4, 4, 1, 3, 1, 2, 1, 1, 4, - 1, 3, 6, 4, 4, 4, 4, 1, 4, 0, - 1, 1, 3, 1, 4, 3, 1, 1, 1, 0, - 0, 2, 3, 1, 3, 1, 4, 2, 2, 2, - 1, 2, 1, 1, 4, 3, 3, 3, 6, 3, - 1, 1, 1 + 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 4, 4, 3, + 1, 3, 1, 1, 3, 3, 0, 2, 0, 1, + 3, 1, 3, 1, 1, 1, 1, 1, 6, 4, + 3, 4, 2, 4, 4, 1, 3, 1, 2, 1, + 1, 4, 1, 3, 6, 4, 4, 4, 4, 1, + 4, 0, 1, 1, 3, 1, 4, 3, 1, 1, + 1, 0, 0, 2, 3, 1, 3, 1, 4, 2, + 2, 2, 1, 2, 1, 1, 4, 3, 3, 3, + 6, 3, 1, 1, 1 ); protected function reduceRule0() { @@ -1510,247 +1506,247 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule139() { - $this->semValue = array(); /* means: no statement */ - } - - protected function reduceRule140() { $this->semValue = new Stmt\TryCatch($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-5)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } - protected function reduceRule141() { + protected function reduceRule140() { $this->semValue = new Stmt\Throw_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } - protected function reduceRule142() { + protected function reduceRule141() { $this->semValue = new Stmt\Goto_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } - protected function reduceRule143() { + protected function reduceRule142() { $this->semValue = new Stmt\Label($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } - protected function reduceRule144() { + protected function reduceRule143() { $this->semValue = array(); /* means: no statement */ } + protected function reduceRule144() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + protected function reduceRule145() { - $this->semValue = array(); + $this->semValue = array(); /* means: no statement */ } protected function reduceRule146() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = array(); } protected function reduceRule147() { - $this->semValue = new Stmt\Catch_($this->semStack[$this->stackPos-(8-3)], substr($this->semStack[$this->stackPos-(8-4)], 1), $this->semStack[$this->stackPos-(8-7)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule148() { - $this->semValue = null; + $this->semValue = new Stmt\Catch_($this->semStack[$this->stackPos-(8-3)], substr($this->semStack[$this->stackPos-(8-4)], 1), $this->semStack[$this->stackPos-(8-7)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes); } protected function reduceRule149() { - $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + $this->semValue = null; } protected function reduceRule150() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule151() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule152() { - $this->semValue = false; - } - - protected function reduceRule153() { - $this->semValue = true; - } - - protected function reduceRule154() { - $this->semValue = false; - } - - protected function reduceRule155() { - $this->semValue = true; - } - - protected function reduceRule156() { - $this->semValue = new Stmt\Function_($this->semStack[$this->stackPos-(10-3)], ['byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-5)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); - } - - protected function reduceRule157() { - $this->semValue = new Stmt\Class_($this->semStack[$this->stackPos-(7-2)], ['type' => $this->semStack[$this->stackPos-(7-1)], 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes); - } - - protected function reduceRule158() { - $this->semValue = new Stmt\Interface_($this->semStack[$this->stackPos-(6-2)], ['extends' => $this->semStack[$this->stackPos-(6-3)], 'stmts' => $this->semStack[$this->stackPos-(6-5)]], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule159() { - $this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); - } - - protected function reduceRule160() { - $this->semValue = 0; - } - - protected function reduceRule161() { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; - } - - protected function reduceRule162() { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; - } - - protected function reduceRule163() { - $this->semValue = null; - } - - protected function reduceRule164() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule165() { - $this->semValue = array(); - } - - protected function reduceRule166() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule167() { - $this->semValue = array(); - } - - protected function reduceRule168() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule169() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule170() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule171() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule172() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule173() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule174() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule175() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule176() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule177() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule178() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule179() { - $this->semValue = new Stmt\DeclareDeclare($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule180() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; - } - - protected function reduceRule181() { $this->semValue = $this->semStack[$this->stackPos-(4-3)]; } - protected function reduceRule182() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + protected function reduceRule151() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } - protected function reduceRule183() { - $this->semValue = $this->semStack[$this->stackPos-(5-3)]; + protected function reduceRule152() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } - protected function reduceRule184() { - $this->semValue = array(); + protected function reduceRule153() { + $this->semValue = false; } - protected function reduceRule185() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + protected function reduceRule154() { + $this->semValue = true; } - protected function reduceRule186() { - $this->semValue = new Stmt\Case_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + protected function reduceRule155() { + $this->semValue = false; } - protected function reduceRule187() { - $this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule156() { + $this->semValue = true; } - protected function reduceRule188() { - $this->semValue = $this->semStack[$this->stackPos]; + protected function reduceRule157() { + $this->semValue = new Stmt\Function_($this->semStack[$this->stackPos-(10-3)], ['byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-5)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); } - protected function reduceRule189() { - $this->semValue = $this->semStack[$this->stackPos]; + protected function reduceRule158() { + $this->semValue = new Stmt\Class_($this->semStack[$this->stackPos-(7-2)], ['type' => $this->semStack[$this->stackPos-(7-1)], 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes); } - protected function reduceRule190() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + protected function reduceRule159() { + $this->semValue = new Stmt\Interface_($this->semStack[$this->stackPos-(6-2)], ['extends' => $this->semStack[$this->stackPos-(6-3)], 'stmts' => $this->semStack[$this->stackPos-(6-5)]], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } - protected function reduceRule191() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + protected function reduceRule160() { + $this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); } - protected function reduceRule192() { - $this->semValue = array(); + protected function reduceRule161() { + $this->semValue = 0; } - protected function reduceRule193() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + protected function reduceRule162() { + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; } - protected function reduceRule194() { - $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(3-2)], is_array($this->semStack[$this->stackPos-(3-3)]) ? $this->semStack[$this->stackPos-(3-3)] : array($this->semStack[$this->stackPos-(3-3)]), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule163() { + $this->semValue = Stmt\Class_::MODIFIER_FINAL; } - protected function reduceRule195() { - $this->semValue = array(); - } - - protected function reduceRule196() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule197() { - $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule198() { + protected function reduceRule164() { $this->semValue = null; } + protected function reduceRule165() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule166() { + $this->semValue = array(); + } + + protected function reduceRule167() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule168() { + $this->semValue = array(); + } + + protected function reduceRule169() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule170() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule171() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule172() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule173() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule174() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule175() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule176() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule177() { + $this->semValue = null; + } + + protected function reduceRule178() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule179() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule180() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule181() { + $this->semValue = new Stmt\DeclareDeclare($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule182() { + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + } + + protected function reduceRule183() { + $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + } + + protected function reduceRule184() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule185() { + $this->semValue = $this->semStack[$this->stackPos-(5-3)]; + } + + protected function reduceRule186() { + $this->semValue = array(); + } + + protected function reduceRule187() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule188() { + $this->semValue = new Stmt\Case_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule189() { + $this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule190() { + $this->semValue = $this->semStack[$this->stackPos]; + } + + protected function reduceRule191() { + $this->semValue = $this->semStack[$this->stackPos]; + } + + protected function reduceRule192() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule193() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule194() { + $this->semValue = array(); + } + + protected function reduceRule195() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule196() { + $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(3-2)], is_array($this->semStack[$this->stackPos-(3-3)]) ? $this->semStack[$this->stackPos-(3-3)] : array($this->semStack[$this->stackPos-(3-3)]), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule197() { + $this->semValue = array(); + } + + protected function reduceRule198() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + protected function reduceRule199() { - $this->semValue = new Stmt\Else_(is_array($this->semStack[$this->stackPos-(2-2)]) ? $this->semStack[$this->stackPos-(2-2)] : array($this->semStack[$this->stackPos-(2-2)]), $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule200() { @@ -1758,15 +1754,15 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule201() { - $this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Stmt\Else_(is_array($this->semStack[$this->stackPos-(2-2)]) ? $this->semStack[$this->stackPos-(2-2)] : array($this->semStack[$this->stackPos-(2-2)]), $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule202() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)], false); + $this->semValue = null; } protected function reduceRule203() { - $this->semValue = array($this->semStack[$this->stackPos-(2-2)], true); + $this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule204() { @@ -1774,47 +1770,47 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule205() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = array($this->semStack[$this->stackPos-(2-2)], true); } protected function reduceRule206() { - $this->semValue = array(); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)], false); } protected function reduceRule207() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule208() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = array(); } protected function reduceRule209() { - $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(4-4)], 1), null, $this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule210() { - $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(6-4)], 1), $this->semStack[$this->stackPos-(6-6)], $this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-3)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule211() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(4-4)], 1), null, $this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule212() { - $this->semValue = 'array'; + $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(6-4)], 1), $this->semStack[$this->stackPos-(6-6)], $this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-3)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule213() { - $this->semValue = 'callable'; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule214() { - $this->semValue = null; + $this->semValue = 'array'; } protected function reduceRule215() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = 'callable'; } protected function reduceRule216() { @@ -1822,107 +1818,107 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule217() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule218() { - $this->semValue = array(); + $this->semValue = null; } protected function reduceRule219() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; } protected function reduceRule220() { - $this->semValue = array(new Node\Arg($this->semStack[$this->stackPos-(3-2)], false, false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes)); + $this->semValue = array(); } protected function reduceRule221() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule222() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = array(new Node\Arg($this->semStack[$this->stackPos-(3-2)], false, false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes)); } protected function reduceRule223() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule224() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule225() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule226() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule227() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule228() { - $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule229() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule230() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule231() { $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } - protected function reduceRule232() { + protected function reduceRule229() { $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } + protected function reduceRule230() { + $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule231() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule232() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + protected function reduceRule233() { - $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule234() { - $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule235() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule236() { - $this->semValue = array(); + $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule237() { - $this->semValue = new Stmt\Property($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule238() { - $this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule239() { - $this->semValue = new Stmt\ClassMethod($this->semStack[$this->stackPos-(9-4)], ['type' => $this->semStack[$this->stackPos-(9-1)], 'byRef' => $this->semStack[$this->stackPos-(9-3)], 'params' => $this->semStack[$this->stackPos-(9-6)], 'returnType' => $this->semStack[$this->stackPos-(9-8)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes); - } - - protected function reduceRule240() { - $this->semValue = new Stmt\TraitUse($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule241() { $this->semValue = array(); } + protected function reduceRule239() { + $this->semValue = new Stmt\Property($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule240() { + $this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule241() { + $this->semValue = new Stmt\ClassMethod($this->semStack[$this->stackPos-(9-4)], ['type' => $this->semStack[$this->stackPos-(9-1)], 'byRef' => $this->semStack[$this->stackPos-(9-3)], 'params' => $this->semStack[$this->stackPos-(9-6)], 'returnType' => $this->semStack[$this->stackPos-(9-8)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes); + } + protected function reduceRule242() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Stmt\TraitUse($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule243() { @@ -1930,435 +1926,435 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule244() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule245() { - $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule246() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(5-1)][0], $this->semStack[$this->stackPos-(5-1)][1], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); - } - - protected function reduceRule247() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], null, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule248() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule249() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule250() { - $this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]); - } - - protected function reduceRule251() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule252() { - $this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule253() { - $this->semValue = null; - } - - protected function reduceRule254() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; - } - - protected function reduceRule255() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule256() { - $this->semValue = 0; - } - - protected function reduceRule257() { - $this->semValue = 0; - } - - protected function reduceRule258() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule259() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule260() { - Stmt\Class_::verifyModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule261() { - $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; - } - - protected function reduceRule262() { - $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; - } - - protected function reduceRule263() { - $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; - } - - protected function reduceRule264() { - $this->semValue = Stmt\Class_::MODIFIER_STATIC; - } - - protected function reduceRule265() { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; - } - - protected function reduceRule266() { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; - } - - protected function reduceRule267() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule268() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule269() { - $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule270() { - $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule271() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule272() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule273() { $this->semValue = array(); } - protected function reduceRule274() { + protected function reduceRule246() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule247() { + $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule248() { + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(5-1)][0], $this->semStack[$this->stackPos-(5-1)][1], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + } + + protected function reduceRule249() { + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], null, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule250() { + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule251() { + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule252() { + $this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]); + } + + protected function reduceRule253() { $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } - protected function reduceRule275() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + protected function reduceRule254() { + $this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]); } - protected function reduceRule276() { - $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule255() { + $this->semValue = null; } - protected function reduceRule277() { - $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule278() { - $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule279() { - $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule280() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule281() { - $this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule282() { - $this->semValue = new Expr\AssignOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule283() { - $this->semValue = new Expr\AssignOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule284() { - $this->semValue = new Expr\AssignOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule285() { - $this->semValue = new Expr\AssignOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule286() { - $this->semValue = new Expr\AssignOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule287() { - $this->semValue = new Expr\AssignOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule288() { - $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule289() { - $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule290() { - $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule291() { - $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule292() { - $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule293() { - $this->semValue = new Expr\AssignOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule294() { - $this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule295() { - $this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule296() { - $this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule297() { - $this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule298() { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule299() { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule300() { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule301() { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule302() { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule303() { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule304() { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule305() { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule306() { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule307() { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule308() { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule309() { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule310() { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule311() { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule312() { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule313() { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule314() { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule315() { - $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule316() { - $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule317() { - $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule318() { - $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule319() { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule320() { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule321() { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule322() { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule323() { - $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule324() { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule325() { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule326() { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule327() { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule328() { - $this->semValue = new Expr\Instanceof_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule329() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule330() { + protected function reduceRule256() { $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } + protected function reduceRule257() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule258() { + $this->semValue = 0; + } + + protected function reduceRule259() { + $this->semValue = 0; + } + + protected function reduceRule260() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule261() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule262() { + Stmt\Class_::verifyModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule263() { + $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; + } + + protected function reduceRule264() { + $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; + } + + protected function reduceRule265() { + $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; + } + + protected function reduceRule266() { + $this->semValue = Stmt\Class_::MODIFIER_STATIC; + } + + protected function reduceRule267() { + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; + } + + protected function reduceRule268() { + $this->semValue = Stmt\Class_::MODIFIER_FINAL; + } + + protected function reduceRule269() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule270() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule271() { + $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule272() { + $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule273() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule274() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule275() { + $this->semValue = array(); + } + + protected function reduceRule276() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule277() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule278() { + $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule279() { + $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule280() { + $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule281() { + $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule282() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule283() { + $this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule284() { + $this->semValue = new Expr\AssignOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule285() { + $this->semValue = new Expr\AssignOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule286() { + $this->semValue = new Expr\AssignOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule287() { + $this->semValue = new Expr\AssignOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule288() { + $this->semValue = new Expr\AssignOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule289() { + $this->semValue = new Expr\AssignOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule290() { + $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule291() { + $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule292() { + $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule293() { + $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule294() { + $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule295() { + $this->semValue = new Expr\AssignOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule296() { + $this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule297() { + $this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule298() { + $this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule299() { + $this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule300() { + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule301() { + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule302() { + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule303() { + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule304() { + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule305() { + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule306() { + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule307() { + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule308() { + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule309() { + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule310() { + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule311() { + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule312() { + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule313() { + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule314() { + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule315() { + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule316() { + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule317() { + $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule318() { + $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule319() { + $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule320() { + $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule321() { + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule322() { + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule323() { + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule324() { + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule325() { + $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule326() { + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule327() { + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule328() { + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule329() { + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule330() { + $this->semValue = new Expr\Instanceof_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + protected function reduceRule331() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule332() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule333() { - $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); } protected function reduceRule334() { - $this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule335() { - $this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule336() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule337() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule338() { - $this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule339() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule340() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule341() { - $this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule342() { - $this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule343() { - $this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule344() { - $this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule345() { - $this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule346() { - $this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule347() { - $this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule348() { - $this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule349() { - $this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule350() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule351() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule352() { @@ -2366,59 +2362,59 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule353() { - $this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule354() { - $this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule355() { - $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule356() { - $this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule357() { - $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-4)], 'uses' => $this->semStack[$this->stackPos-(10-6)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); + $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule358() { - $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$this->stackPos-(11-3)], 'params' => $this->semStack[$this->stackPos-(11-5)], 'uses' => $this->semStack[$this->stackPos-(11-7)], 'returnType' => $this->semStack[$this->stackPos-(11-8)], 'stmts' => $this->semStack[$this->stackPos-(11-10)]], $this->startAttributeStack[$this->stackPos-(11-1)] + $this->endAttributes); + $this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule359() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-4)], 'uses' => $this->semStack[$this->stackPos-(10-6)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); } protected function reduceRule360() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$this->stackPos-(11-3)], 'params' => $this->semStack[$this->stackPos-(11-5)], 'uses' => $this->semStack[$this->stackPos-(11-7)], 'returnType' => $this->semStack[$this->stackPos-(11-8)], 'stmts' => $this->semStack[$this->stackPos-(11-10)]], $this->startAttributeStack[$this->stackPos-(11-1)] + $this->endAttributes); } protected function reduceRule361() { - $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule362() { - $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule363() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule364() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule365() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule366() { - $this->semValue = new Expr\ArrayDimFetch(new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(4-1)], false), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule367() { @@ -2426,54 +2422,62 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule368() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch(new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(4-1)], false), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule369() { - $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(7-2)]); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule370() { - $this->semValue = new Expr\New_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule371() { - list($class, $ctorArgs) = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(7-2)]); } protected function reduceRule372() { - $this->semValue = array(); + $this->semValue = new Expr\New_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule373() { - $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + list($class, $ctorArgs) = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule374() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = array(); } protected function reduceRule375() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = $this->semStack[$this->stackPos-(4-3)]; } protected function reduceRule376() { - $this->semValue = new Expr\ClosureUse(substr($this->semStack[$this->stackPos-(2-2)], 1), $this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule377() { - $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule378() { - $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ClosureUse(substr($this->semStack[$this->stackPos-(2-2)], 1), $this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule379() { - $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-4)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule380() { + $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule381() { + $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-4)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + } + + protected function reduceRule382() { if ($this->semStack[$this->stackPos-(2-1)] instanceof Node\Expr\StaticPropertyFetch) { $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(2-1)]->class, new Expr\Variable($this->semStack[$this->stackPos-(2-1)]->name, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); @@ -2491,20 +2495,12 @@ class Php5 extends \PhpParser\ParserAbstract } - protected function reduceRule381() { + protected function reduceRule383() { $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } - protected function reduceRule382() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule383() { - $this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - protected function reduceRule384() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule385() { @@ -2512,19 +2508,19 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule386() { - $this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule387() { - $this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule388() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule389() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule390() { @@ -2544,323 +2540,323 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule394() { - $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule395() { - $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule396() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule397() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule398() { - $this->semValue = null; - } - - protected function reduceRule399() { - $this->semValue = null; - } - - protected function reduceRule400() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule401() { - $this->semValue = array(); - } - - protected function reduceRule402() { - $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$this->stackPos-(1-1)], '`', false), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes)); - } - - protected function reduceRule403() { - foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', false); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule404() { - $this->semValue = array(); - } - - protected function reduceRule405() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule406() { - $this->semValue = new Scalar\LNumber(Scalar\LNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule407() { - $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule408() { - $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(1-1)], false), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule409() { - $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule410() { - $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule411() { - $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule412() { - $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule413() { - $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule414() { - $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule415() { - $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule416() { - $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule417() { - $this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], false), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule418() { - $this->semValue = new Scalar\String_('', $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule419() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule420() { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule421() { - $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule422() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule423() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule424() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule425() { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule426() { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule427() { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule428() { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule429() { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule430() { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule431() { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule432() { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule433() { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule434() { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule435() { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule436() { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule437() { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule438() { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule439() { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule440() { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule441() { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule442() { - $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule443() { - $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule444() { - $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule445() { - $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule446() { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule447() { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule448() { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule449() { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule450() { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule451() { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule452() { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule453() { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule454() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); - } - - protected function reduceRule455() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule456() { $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } - protected function reduceRule457() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + protected function reduceRule399() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } - protected function reduceRule458() { - $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + protected function reduceRule400() { + $this->semValue = null; } - protected function reduceRule459() { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule401() { + $this->semValue = null; } - protected function reduceRule460() { + protected function reduceRule402() { $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } - protected function reduceRule461() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule462() { - foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', false); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule463() { - foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, false); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule464() { + protected function reduceRule403() { $this->semValue = array(); } + protected function reduceRule404() { + $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$this->stackPos-(1-1)], '`', false), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes)); + } + + protected function reduceRule405() { + foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', false); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule406() { + $this->semValue = array(); + } + + protected function reduceRule407() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule408() { + $this->semValue = new Scalar\LNumber(Scalar\LNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule409() { + $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule410() { + $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(1-1)], false), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule411() { + $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule412() { + $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule413() { + $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule414() { + $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule415() { + $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule416() { + $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule417() { + $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule418() { + $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule419() { + $this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], false), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule420() { + $this->semValue = new Scalar\String_('', $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule421() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule422() { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule423() { + $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule424() { + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule425() { + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule426() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule427() { + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule428() { + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule429() { + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule430() { + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule431() { + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule432() { + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule433() { + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule434() { + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule435() { + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule436() { + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule437() { + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule438() { + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule439() { + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule440() { + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule441() { + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule442() { + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule443() { + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule444() { + $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule445() { + $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule446() { + $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule447() { + $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule448() { + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule449() { + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule450() { + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule451() { + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule452() { + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule453() { + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule454() { + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule455() { + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule456() { + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + } + + protected function reduceRule457() { + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule458() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule459() { + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + } + + protected function reduceRule460() { + $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule461() { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule462() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule463() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule464() { + foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', false); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + protected function reduceRule465() { - $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, false); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule466() { - $this->semValue = $this->semStack[$this->stackPos]; + $this->semValue = array(); } protected function reduceRule467() { - $this->semValue = $this->semStack[$this->stackPos]; + $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule468() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = $this->semStack[$this->stackPos]; } protected function reduceRule469() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = $this->semStack[$this->stackPos]; } protected function reduceRule470() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule471() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule472() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule473() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule474() { @@ -2872,39 +2868,39 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule476() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-5)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule477() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule478() { - $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule479() { - $this->semValue = new Expr\MethodCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule480() { - $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule481() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule482() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule483() { $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } + protected function reduceRule477() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule478() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-5)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + } + + protected function reduceRule479() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule480() { + $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule481() { + $this->semValue = new Expr\MethodCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule482() { + $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule483() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + protected function reduceRule484() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule485() { @@ -2912,7 +2908,7 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule486() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule487() { @@ -2920,11 +2916,11 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule488() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule489() { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule490() { @@ -2932,19 +2928,19 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule491() { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], substr($this->semStack[$this->stackPos-(3-3)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule492() { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-5)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule493() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], substr($this->semStack[$this->stackPos-(3-3)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule494() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-5)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule495() { @@ -2956,27 +2952,27 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule497() { - $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule498() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule499() { - $this->semValue = null; + $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule500() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule501() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = null; } protected function reduceRule502() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule503() { @@ -2984,118 +2980,126 @@ class Php5 extends \PhpParser\ParserAbstract } protected function reduceRule504() { - $this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule505() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule506() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule507() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule508() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule509() { - $this->semValue = null; - } - - protected function reduceRule510() { - $this->semValue = array(); - } - - protected function reduceRule511() { - $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule512() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule513() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule514() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule515() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule516() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-1)], true, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule517() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule518() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule519() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule520() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule521() { - $this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); - } - - protected function reduceRule522() { - $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule523() { - $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule524() { - $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(4-1)], 1), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule525() { - $this->semValue = new Expr\PropertyFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule526() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule527() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule528() { - $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(6-4)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule529() { $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } + protected function reduceRule505() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule506() { + $this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule507() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule508() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule509() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule510() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule511() { + $this->semValue = null; + } + + protected function reduceRule512() { + $this->semValue = array(); + } + + protected function reduceRule513() { + $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule514() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule515() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule516() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule517() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule518() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-1)], true, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule519() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule520() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule521() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule522() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule523() { + $this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); + } + + protected function reduceRule524() { + $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule525() { + $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule526() { + $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(4-1)], 1), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule527() { + $this->semValue = new Expr\PropertyFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule528() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule529() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + protected function reduceRule530() { - $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(6-4)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule531() { - $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule532() { + $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule533() { + $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule534() { $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } } diff --git a/lib/PhpParser/Parser/Php7.php b/lib/PhpParser/Parser/Php7.php index 57119cbd..64e2823d 100644 --- a/lib/PhpParser/Parser/Php7.php +++ b/lib/PhpParser/Parser/Php7.php @@ -233,208 +233,208 @@ class Php7 extends \PhpParser\ParserAbstract ); protected $action = array( - 697, 58, 59, 391, 60, 61,-32766,-32766,-32766,-32766, - 62, 63, 1017, 64, 1019, 1018,-32766,-32766,-32766,-32766, - -32766,-32766, 108, 109, 110,-32766,-32766, -403,-32766,-32766, + 696, 58, 59, 391, 60, 61,-32766,-32766,-32766,-32766, + 62, 63, 1019, 64, 1021, 1020,-32766,-32766,-32766,-32766, + -32766,-32766,-32766,-32766,-32766,-32766,-32766, 129,-32766,-32766, -32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,-32766, - 975,-32766,-32766,-32766,-32766,-32766, 65, 66,-32766,-32766, - -32766, 444, 67, 129, 68, 233, 234, 69, 70, 71, + 0,-32766,-32766,-32766,-32766,-32766, 65, 66, 55, 108, + 109, 110, 67, 287, 68, 233, 234, 69, 70, 71, 72, 73, 74, 75, 76, 355, 40, 247, 77, 360, - 392, 0,-32766, 283, 940, 941, 393, 353, 975, 55, - 686, 227, 939, 50, 27, 394, 297, 395, -403, 396, - -32766, 397, -437,-32766, 398,-32766,-32766,-32766, 51, 52, - 399, 361, -403, 53, 400, 140,-32766, 78, 953, -403, - 298, 299, 401, 402, 988,-32766, 287, 285, 403, 404, - 405, 672, 713, 406, 407, 765, 766, 418, 408, 409, - 362, 945, 946, 947, 948, 942, 943, 255, 418, 42, - 268, 362, 418, 949, 944, 362, 131, 692, 529, 276, - 79, -447, 265,-32766, 266, 285, 561, 562, 563, 564, - 565, 128, 566, 567, 568, 604, 605,-32766,-32766,-32766, - 33, -193, -193, -193,-32766, 254, 279, 463, 526, 814, - 815, 816, 813, 812, 811, 806, 137,-32766, 1014,-32766, - -32766,-32766,-32766,-32766,-32766, 388,-32767,-32767,-32767,-32767, - 106, 107, 108, 109, 110, -191, -191, -191, 569, 551, - -32766,-32766,-32766, 814, 815, 816, 813, 812, 811,-32766, - -198, -446, 570, 571, 572, 573, 574, 575, 576, 975, - -32766, 627,-32766,-32766,-32766,-32766, 39, -437, 577, 578, + 392, 283,-32766, 353, 942, 943, 393, 240, 977, 379, + 686, 297, 941, 50, 27, 394,-32766, 395, 539, 396, + -32766, 397, 388,-32766, 398,-32766,-32766,-32766, 51, 52, + 399, 361,-32766, 53, 400, 140, 42, 78, 990, 268, + 298, 299, 401, 402, 463,-32766, 131, 743, 403, 404, + 405, 672, 714, 406, 407, 767, 768, 276, 408, 409, + 128, 947, 948, 949, 950, 944, 945, 255, 418, 526, + 254, 362, 418, 951, 946, 362, 239, 698, 529,-32766, + 79, 34, 265, 371, 266, 285, 561, 562, 563, 564, + 565, 364, 566, 567, 568, 604, 605,-32766,-32766,-32766, + -32766, 408,-32766,-32766, 816, 817, 818, 815, 814, 813, + 137,-32766,-32766,-32766,-32766, 643, 644,-32766, 1016,-32766, + -32766,-32766,-32766,-32766,-32766, 46,-32766,-32766,-32766, 380, + 33, 111, 112, 113, -439, 253, 279, 730, 569, 816, + 817, 818, 815, 814, 813, 808,-32766, 114,-32766,-32766, + -32766,-32766, 570, 571, 572, 573, 574, 575, 576, 348, + 144, 627, 372, 789, 317, -1, 744, 1011, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 607, 608, 609, 610, 611, 599, 600, 601, 602, 603, 588, 589, 590, 591, 592, 593, 594, 621, 622, 623, 624, 625, 626, 595, 596, 597, 598,-32766, 619, 617, 618, - 614, 615, 364, 606, 612, 613, 239, -404, 379, 88, - 89, 90, 317,-32766,-32766, 1009, -447, 616, -447, 136, - 46, 359,-32766,-32766,-32766,-32766, 285, 643, 644, 44, + 614, 615, 227, 606, 612, 613, 146, -406, 143, 88, + 89, 90, 790, 139, 642, 43, 236, 616,-32767,-32767, + -32767,-32767, 106, 107, 108, 109, 110, 39, 127, 44, 237, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 34, 253, 787, 144, 354, -182, - -182, -182, 765, 766, 264, 229,-32766, 114, -404, 240, - -32766, 348, 629, 43, 236, 418,-32766, 635, 362,-32766, - -32766,-32766, -404,-32766, -202,-32766, -446,-32766, -446, -404, - -32766, -407, -219, -147,-32766,-32766,-32766, 364, 281,-32766, - -32766, 772, 146,-32766, 237, 638,-32766, 417,-32766,-32766, - 143, -1, 371, -182,-32766, -405, 377,-32766,-32766,-32766, - -32766, 372, 40, 111, 112, 113, -146, 253, 380,-32766, - -32766,-32766, 629, 139, 975, 127, 517, 300, 939, 114, - -32766, 741, 135,-32766,-32766,-32766, 629, 771, 132,-32766, - -32766,-32766,-32766,-32766,-32766,-32766, 354,-32766, 133,-32766, - 696,-32766, 264, 408,-32766, 57, 912, 919,-32766,-32766, - -32766, 364, 706,-32766,-32766, 635, -405,-32766, 141, 238, - -32766, 417,-32766,-32766, 368, 409, 256, 531,-32766, 550, - -405,-32766,-32766,-32766,-32766, 788, 281, -405, 418, -408, - -32766, 362, 518, 637, 555, 362, 81, 506, 507, 792, - 991, 285,-32766,-32766, 354,-32766, 135,-32766,-32766, 253, - 264, 629, 496, 28, 114,-32766, 269, 247,-32766,-32766, - -32766, 56,-32766, 635,-32766, 539,-32766, -219, -147,-32766, - 306, 538, -197,-32766,-32766,-32766, 364, 130,-32766,-32766, - 514, -248,-32766, 642, 281,-32766, 417,-32766,-32766, 630, - 742, 22, 684,-32766, 142, 308,-32766,-32766,-32766,-32766, - -32766, -146, 643, 644,-32766,-32766, 629, 327, 683, 456, - -32766,-32766, 629,-32766,-32766,-32766, 443,-32766, 438,-32766, - -32766,-32766,-32766,-32766,-32766, 491, 492, 437,-32766,-32766, - -32766, 364, 134,-32766,-32766, 656, 536,-32766, 364, 369, - -32766, 417,-32766,-32766, 364, -183, -183, -183,-32766,-32766, - -32766,-32766,-32766,-32766,-32766,-32766,-32766, 1012,-32766,-32766, - -32766,-32766, 636, 533,-32766,-32766,-32766,-32766, 791, 546, - 803, 556, 455, 367,-32766,-32766, 915,-32766,-32766,-32766, - 629, 516, 447, 494,-32766, 505, 497,-32766,-32766,-32766, - 442,-32766, 515,-32766, 452,-32766, 366, 489,-32766, -183, - 386, 525,-32766,-32766,-32766, 364, 501,-32766,-32766, 364, - -70,-32766, 458, 235,-32766, 417,-32766,-32766, 37, 226, - -32766,-32766,-32766, 509, 502,-32766,-32766,-32766,-32766,-32766, - -32766,-32766,-32766, 280,-32766,-32766,-32766, 714, 715, 408, - 641, 976, 883, 282, 952, 277, 0, 278, 955,-32766, + 110, 111, 112, 113, 300, 253, 506, 507, 354, -184, + -184, -184, -250, -449, 264, 354,-32766, 114, -406, -439, + -32766, 264, 629,-32766,-32766, -448,-32766, 635, 359,-32766, + -32766,-32766, -406,-32766, 635,-32766,-32766,-32766, 977, -406, + -32766, -409,-32766, 684,-32766,-32766,-32766, 364, 281,-32766, + -32766,-32766, 229,-32766, 237, 281,-32766, 417,-32766,-32766, + 496, 28, 638, -184,-32766, -407, 132,-32766,-32766,-32766, + -32766, 133, 40, 695, -185, -185, -185, -221, 141,-32766, + -32766,-32766, 629, -148, 977, 707, 517, 977, 941, 256, + -32766, -200, 135,-32766,-32766,-32766, 629, 773, 550,-32766, + -32766,-32766,-32766,-32766,-32766,-32766, 354,-32766, -405,-32766, + 377,-32766, 264, 368,-32766, 285, 531, 921,-32766,-32766, + -32766, 364, 774,-32766,-32766, 635, -407,-32766, -185, 238, + -32766, 417,-32766,-32766, 555, 409, 418, -147,-32766, 362, + -407,-32766,-32766,-32766,-32766, 683, 281, -407, 418, -410, + -32766, 362, 518, 637, 57, 362, 81, 136, -449, 794, + -449, 285, 142, 308, 285,-32766, 135,-32766,-32766, -405, + -448, 629, -448, 914, 444,-32766, 643, 644,-32766,-32766, + -32766, 253,-32766, -405,-32766, 551,-32766, 767, 768,-32766, + -405, 538, 114,-32766,-32766,-32766, 364, 993,-32766,-32766, + 418, 56,-32766, 362, 247,-32766, 417,-32766,-32766, -204, + -195, -195, -195,-32766, 630, 269,-32766,-32766,-32766,-32766, + -32766, -199, -221, 456,-32766, 514, 629, 327, -148, 306, + -32766, 955, 629,-32766,-32766,-32766, 130,-32766, 443,-32766, + 438,-32766,-32766,-32766,-32766, -193, -193, -193,-32766,-32766, + -32766, 364, 134,-32766,-32766, 26, 536,-32766, 364, 437, + -32766, 417,-32766,-32766, 364, 491, 492, 656,-32766,-32766, + -32766,-32766,-32766,-32766,-32766,-32766,-32766, 369,-32766,-32766, + -32766,-32766, -147, 1014,-32766,-32766,-32766,-32766, 636, 533, + 793, 546, 805, 556,-32766, 455, 367,-32766,-32766,-32766, + 629, 917,-32766, 516,-32766, 494, 525,-32766,-32766,-32766, + 505,-32766, 442,-32766, 447,-32766, 452, 509,-32766, 515, + 489, 497,-32766,-32766,-32766, 364, 280,-32766,-32766, 364, + 501,-32766, -70, 235,-32766, 417,-32766,-32766, 458, 37, + -32766,-32766,-32766, 226, 502,-32766,-32766,-32766,-32766,-32766, + -32766,-32766,-32766, 366,-32766,-32766,-32766, 386, 715, 716, + 333, 350, 532, -408, 954, 282, 277, 0, 278,-32766, 0,-32766,-32766,-32766,-32766, 629,-32766,-32766,-32766,-32766, - 0, 0,-32766,-32766,-32766, 0,-32766, 333,-32766, 708, - -32766, 30, -363,-32766, 36, 305, 969,-32766,-32766,-32766, - 364, 350,-32766,-32766, 364, 349,-32766, 230, 449,-32766, + -409, 408,-32766,-32766,-32766, 957,-32766, 0,-32766, 30, + -32766, 641, -365,-32766, 885, 36, 305,-32766,-32766,-32766, + 364, 0,-32766,-32766, 364, 349,-32766, 230, 449,-32766, 417,-32766,-32766, 368, 337,-32766,-32766,-32766, 320, 332, - -32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 680, - 681, 542, 49, 48, 796, 685, 695, 682, 688, 798, - 799, 677, 744,-32766, 729, 797,-32766,-32766, 640, 629, - 532, 639, 735,-32766, 736, 675,-32766,-32766,-32766, 727, - -32766, 725,-32766, 694,-32766, 543, 795,-32766, 687, 981, - 87,-32766,-32766,-32766, 364, 535,-32766,-32766, 540, 541, - -32766, 545, 548,-32766, 417,-32766,-32766, 549, 553, 554, - 274,-32766, 275, 544,-32766,-32766,-32766,-32766,-32766, 346, - 347, 530, 900, 986, 629, 989, 1013, 645,-32766, 1016, - 1015,-32766,-32766,-32766, 648,-32766, 647,-32766, 712,-32766, - -32766,-32766,-32766, 804, 700, 907,-32766,-32766,-32766, 364, - 906,-32766,-32766, 709, 702,-32766, 734, 733,-32766, 417, - -32766,-32766, 908, 710, 711, 673,-32766, 534, 646,-32766, + -32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 709, + 87, 680, 681, 542, 49, 48, 798, 685, 694, 682, + 688, 800, 801,-32766, 677, 746,-32766,-32766, 731, 629, + 535, 799, 640,-32766, 639, 737,-32766,-32766,-32766, 738, + -32766, 675,-32766, 728,-32766, 726, 693,-32766, 543, 797, + 687,-32766,-32766,-32766, 364, 540,-32766,-32766, 541, 545, + -32766, 548, 549,-32766, 417,-32766,-32766, 553, 554, 274, + 275,-32766, 346, 544,-32766,-32766,-32766,-32766,-32766, 347, + 530, 476, 978, 971, 629, 983, 988, 991,-32766, 1015, + 645,-32766,-32766,-32766, 1018,-32766, 1017,-32766, 648,-32766, + -32766,-32766,-32766, 647, 713, 806,-32766,-32766,-32766, 364, + 701,-32766,-32766, 909, 908,-32766, 710, 703,-32766, 417, + -32766,-32766, 736, 735, 910, 711,-32766, 712, 673,-32766, -32766,-32766,-32766, 45, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 364, -406, -407, -408, - -428, 357, 352, 284, 252,-32766,-32766,-32766,-32766, -430, - 38, 251, 250, 249, 232, 231,-32766,-32766,-32766,-32766, - 228, 147, 145, 138, 844, 846, 86, 85, 84, 83, - 82, 80, 54, 47, 41, -403, 476, -199, -198, 21, - 26, 29, 260, 307, 471, 487, 0, 524, 887, 884, - 937, 929, 522, 389, 385, 383, 381, 25, 24, 23, - 0, -374, 0, 938, 495, 1011, 980, 968, 967, 0, - 954, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 121, 122, 123, 124, 125, 126, 364, 534, 646, 902, + -410, -430, 357, 352, 284,-32766,-32766,-32766,-32766, 252, + -432, 38, 251, 250, 249, 232,-32766,-32766,-32766,-32766, + 231, 228, 147, 145, 846, 848, 138, 86, 85, 84, + 83, 82, 80, 54, 47, -405, 41, -376, -201, -200, + 21, 25, 29, 260, 307, 471, 0, 487, 524, 889, + 886, 939, 931, 522, 389, 385, 383, 381, 24, 23, + 22, 0, 0, 940, 495, 1013, 982, 970, 969, 0, + 956, 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, -403, 0, 0, 0, + 0, 0, 0, 0, 0, 0, -405, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - -403, 0, 0, 0, 0, 0, 0, -403 + -405, 0, 0, 0, 0, 0, 0, -405 ); protected $actionCheck = array( 1, 2, 3, 4, 5, 6, 8, 9, 10, 67, 11, 12, 77, 14, 79, 80, 8, 9, 10, 8, - 9, 10, 47, 48, 49, 83, 28, 67, 30, 31, + 9, 10, 8, 9, 10, 83, 28, 13, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 28, - 79, 30, 31, 32, 33, 34, 47, 48, 8, 9, - 10, 82, 53, 13, 55, 56, 57, 58, 59, 60, + 0, 30, 31, 32, 33, 34, 47, 48, 67, 47, + 48, 49, 53, 67, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 123, 67, 68, 69, 70, - 71, 0, 130, 7, 75, 76, 77, 7, 79, 67, - 81, 13, 83, 84, 85, 86, 7, 88, 128, 90, - 67, 92, 7, 151, 95, 8, 9, 10, 99, 100, - 101, 102, 142, 104, 105, 67, 83, 108, 139, 149, - 111, 112, 113, 114, 77, 28, 67, 156, 119, 120, - 121, 122, 123, 124, 125, 130, 131, 143, 129, 130, - 146, 132, 133, 134, 135, 136, 137, 138, 143, 7, - 128, 146, 143, 144, 145, 146, 7, 148, 149, 7, - 151, 7, 153, 130, 155, 156, 2, 3, 4, 5, - 6, 149, 8, 9, 10, 11, 12, 8, 9, 10, - 103, 72, 73, 74, 151, 7, 109, 128, 77, 112, - 113, 114, 115, 116, 117, 118, 149, 28, 150, 30, - 31, 32, 33, 34, 35, 7, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 72, 73, 74, 54, 29, - 8, 9, 10, 112, 113, 114, 115, 116, 117, 8, - 152, 7, 68, 69, 70, 71, 72, 73, 74, 79, - 28, 77, 30, 31, 32, 33, 7, 152, 84, 85, + 71, 7, 130, 7, 75, 76, 77, 35, 79, 29, + 81, 7, 83, 84, 85, 86, 67, 88, 29, 90, + 8, 92, 7, 151, 95, 8, 9, 10, 99, 100, + 101, 102, 83, 104, 105, 67, 7, 108, 77, 128, + 111, 112, 113, 114, 128, 28, 7, 29, 119, 120, + 121, 122, 123, 124, 125, 130, 131, 7, 129, 130, + 149, 132, 133, 134, 135, 136, 137, 138, 143, 77, + 7, 146, 143, 144, 145, 146, 7, 148, 149, 130, + 151, 7, 153, 7, 155, 156, 2, 3, 4, 5, + 6, 102, 8, 9, 10, 11, 12, 8, 9, 10, + 151, 129, 113, 114, 112, 113, 114, 115, 116, 117, + 149, 122, 123, 124, 125, 102, 103, 28, 150, 30, + 31, 32, 33, 34, 35, 13, 8, 9, 10, 149, + 103, 50, 51, 52, 7, 54, 109, 148, 54, 112, + 113, 114, 115, 116, 117, 118, 28, 66, 30, 31, + 32, 33, 68, 69, 70, 71, 72, 73, 74, 146, + 15, 77, 7, 148, 79, 0, 148, 82, 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, 1, 123, 124, 125, - 126, 127, 102, 129, 130, 131, 7, 67, 29, 8, - 9, 10, 79, 113, 114, 82, 152, 143, 154, 149, - 13, 7, 122, 123, 124, 125, 156, 102, 103, 28, + 126, 127, 13, 129, 130, 131, 15, 67, 15, 8, + 9, 10, 148, 15, 148, 140, 141, 143, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 7, 15, 28, 35, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 7, 54, 148, 15, 103, 96, - 97, 98, 130, 131, 109, 7, 71, 66, 128, 35, - 1, 146, 77, 140, 141, 143, 81, 122, 146, 84, - 85, 86, 142, 88, 152, 90, 152, 92, 154, 149, - 95, 151, 7, 7, 99, 100, 101, 102, 143, 104, - 105, 152, 15, 108, 35, 150, 111, 112, 113, 114, - 15, 0, 7, 150, 119, 67, 7, 122, 123, 124, - 125, 7, 67, 50, 51, 52, 7, 54, 149, 8, - 9, 10, 77, 15, 79, 15, 77, 7, 83, 66, - 71, 29, 147, 148, 149, 1, 77, 152, 15, 28, - 81, 30, 31, 84, 85, 86, 103, 88, 15, 90, - 29, 92, 109, 129, 95, 67, 152, 112, 99, 100, - 101, 102, 35, 104, 105, 122, 128, 108, 29, 35, - 111, 112, 113, 114, 146, 130, 29, 149, 119, 29, + 49, 50, 51, 52, 7, 54, 72, 73, 103, 96, + 97, 98, 79, 7, 109, 103, 71, 66, 128, 152, + 1, 109, 77, 8, 9, 7, 81, 122, 7, 84, + 85, 86, 142, 88, 122, 90, 103, 92, 79, 149, + 95, 151, 109, 148, 99, 100, 101, 102, 143, 104, + 105, 118, 7, 108, 35, 143, 111, 112, 113, 114, + 72, 73, 150, 150, 119, 67, 15, 122, 123, 124, + 125, 15, 67, 29, 96, 97, 98, 7, 29, 8, + 9, 10, 77, 7, 79, 35, 77, 79, 83, 29, + 71, 152, 147, 148, 149, 1, 77, 152, 29, 28, + 81, 30, 31, 84, 85, 86, 103, 88, 67, 90, + 7, 92, 109, 146, 95, 156, 149, 112, 99, 100, + 101, 102, 152, 104, 105, 122, 128, 108, 150, 35, + 111, 112, 113, 114, 29, 130, 143, 7, 119, 146, 142, 122, 123, 124, 125, 148, 143, 149, 143, 151, - 1, 146, 143, 150, 29, 146, 151, 72, 73, 150, - 152, 156, 8, 9, 103, 71, 147, 148, 149, 54, - 109, 77, 72, 73, 66, 81, 128, 68, 84, 85, - 86, 67, 88, 122, 90, 29, 92, 152, 152, 95, - 142, 29, 74, 99, 100, 101, 102, 149, 104, 105, - 74, 79, 108, 148, 143, 111, 112, 113, 114, 77, - 148, 152, 148, 119, 97, 98, 122, 123, 124, 125, - 71, 152, 102, 103, 1, 103, 77, 78, 148, 77, - 81, 109, 77, 84, 85, 86, 77, 88, 77, 90, - 118, 92, 148, 149, 95, 106, 107, 77, 99, 100, - 101, 102, 29, 104, 105, 77, 29, 108, 102, 77, - 111, 112, 113, 114, 102, 96, 97, 98, 119, 113, + 1, 146, 143, 150, 67, 146, 151, 149, 152, 150, + 154, 156, 97, 98, 156, 71, 147, 148, 149, 128, + 152, 77, 154, 152, 82, 81, 102, 103, 84, 85, + 86, 54, 88, 142, 90, 29, 92, 130, 131, 95, + 149, 29, 66, 99, 100, 101, 102, 152, 104, 105, + 143, 67, 108, 146, 68, 111, 112, 113, 114, 152, + 72, 73, 74, 119, 77, 128, 122, 123, 124, 125, + 71, 74, 152, 77, 1, 74, 77, 78, 152, 142, + 81, 139, 77, 84, 85, 86, 149, 88, 77, 90, + 77, 92, 148, 149, 95, 72, 73, 74, 99, 100, + 101, 102, 29, 104, 105, 152, 29, 108, 102, 77, + 111, 112, 113, 114, 102, 106, 107, 77, 119, 113, 114, 122, 123, 124, 125, 113, 114, 77, 122, 123, - 124, 125, 148, 149, 122, 123, 124, 125, 148, 149, - 148, 149, 77, 77, 71, 82, 79, 148, 149, 1, - 77, 79, 82, 79, 81, 79, 87, 84, 85, 86, - 79, 88, 91, 90, 86, 92, 102, 109, 95, 150, - 102, 89, 99, 100, 101, 102, 93, 104, 105, 102, - 94, 108, 94, 35, 111, 112, 113, 114, 94, 94, - 113, 114, 119, 96, 96, 122, 123, 124, 125, 122, - 123, 124, 125, 110, 8, 9, 10, 123, 123, 129, - 148, 150, 152, 126, 139, 126, -1, 127, 139, 71, + 124, 125, 152, 77, 122, 123, 124, 125, 148, 149, + 148, 149, 148, 149, 71, 77, 77, 148, 149, 1, + 77, 79, 82, 79, 81, 79, 89, 84, 85, 86, + 79, 88, 79, 90, 82, 92, 86, 96, 95, 91, + 109, 87, 99, 100, 101, 102, 110, 104, 105, 102, + 93, 108, 94, 35, 111, 112, 113, 114, 94, 94, + 113, 114, 119, 94, 96, 122, 123, 124, 125, 122, + 123, 124, 125, 102, 8, 9, 10, 102, 123, 123, + 146, 146, 149, 151, 139, 126, 126, -1, 127, 71, -1, 148, 149, 1, 28, 77, 30, 31, 32, 81, - -1, -1, 84, 85, 86, -1, 88, 146, 90, 147, - 92, 142, 142, 95, 142, 142, 150, 99, 100, 101, - 102, 146, 104, 105, 102, 146, 108, 35, 146, 111, + 151, 129, 84, 85, 86, 139, 88, -1, 90, 142, + 92, 148, 142, 95, 152, 142, 142, 99, 100, 101, + 102, -1, 104, 105, 102, 146, 108, 35, 146, 111, 112, 113, 114, 146, 146, 113, 114, 119, 146, 146, - 122, 123, 124, 125, 122, 123, 124, 125, 1, 148, - 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, + 122, 123, 124, 125, 122, 123, 124, 125, 1, 147, + 149, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 71, 148, 148, 148, 149, 148, 77, 149, 148, 148, 81, 148, 148, 84, 85, 86, 148, - 88, 148, 90, 148, 92, 148, 148, 95, 148, 150, - 149, 99, 100, 101, 102, 149, 104, 105, 149, 149, + 88, 148, 90, 148, 92, 148, 148, 95, 148, 148, + 148, 99, 100, 101, 102, 149, 104, 105, 149, 149, 108, 149, 149, 111, 112, 113, 114, 149, 149, 149, 149, 119, 149, 29, 122, 123, 124, 125, 71, 149, - 149, 149, 153, 150, 77, 150, 150, 150, 81, 150, + 149, 152, 150, 150, 77, 150, 150, 150, 81, 150, 150, 84, 85, 86, 150, 88, 150, 90, 150, 92, 148, 149, 95, 150, 150, 150, 99, 100, 101, 102, 150, 104, 105, 150, 150, 108, 150, 150, 111, 112, 113, 114, 150, 150, 150, 150, 119, 150, 150, 122, 123, 124, 125, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 102, 151, 151, 151, + 22, 23, 24, 25, 26, 27, 102, 150, 150, 153, 151, 151, 151, 151, 151, 148, 149, 113, 114, 151, 151, 151, 151, 151, 151, 151, 122, 123, 124, 125, 151, 151, 151, 151, 56, 57, 151, 151, 151, 151, - 151, 151, 151, 151, 151, 67, 152, 152, 152, 152, + 151, 151, 151, 151, 151, 67, 151, 153, 152, 152, 152, 152, 152, 152, 152, 152, -1, 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - -1, 153, -1, 154, 154, 154, 154, 154, 154, -1, + 152, -1, -1, 154, 154, 154, 154, 154, 154, -1, 155, -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, 128, -1, -1, -1, @@ -443,10 +443,10 @@ class Php7 extends \PhpParser\ParserAbstract ); protected $actionBase = array( - 0, 499, 243, 391, 235, 333, 133, 99, 725, 727, - 549, 563, 551, 714, 713, 710, 448, 562, 705, 704, - 703, 492, 486, 794, 180, 794, 557, 632, 632, 632, - 150, 339, 627, 154, 154, 154, 154, 101, 275, 349, + 0, 308, 243, 235, 242, 333, 503, 468, 728, 747, + 564, 567, 558, 717, 716, 714, 477, 547, 713, 710, + 705, 492, 794, 486, 794, 557, 59, 632, 632, 632, + 338, 339, 633, 154, 154, 154, 154, 62, 275, 349, 628, 628, 628, 479, 553, 702, 424, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, @@ -457,45 +457,45 @@ class Php7 extends \PhpParser\ParserAbstract 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, - 757, 757, 757, 757, 757, 757, 757, 757, 392, 650, - 287, 645, 790, 796, 792, 788, 787, 575, 791, 797, - 686, 541, 429, 576, 649, 683, 685, 793, 810, 789, - 795, 281, 281, 281, 281, 281, 281, 281, 281, 281, - 281, 281, 281, 281, 281, 281, 281, 211, 40, 484, + 757, 757, 757, 757, 757, 757, 757, 757, 88, 652, + 182, 648, 791, 797, 793, 789, 788, 579, 792, 798, + 689, 682, 379, 683, 685, 686, 687, 795, 810, 790, + 796, 281, 281, 281, 281, 281, 281, 281, 281, 281, + 281, 281, 281, 281, 281, 281, 281, 82, 14, 345, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 87, 87, - 87, 401, 676, 202, 11, 868, 159, -2, -2, -2, - -2, -2, 155, 155, 155, 155, 314, 314, 560, 560, - 439, 335, 335, 335, 335, 335, 335, 335, 335, 335, - 335, 698, 724, 723, 722, -25, -25, -58, 452, 212, - 212, 212, 212, 23, -5, -31, -5, 559, 815, 328, - 220, 353, 353, 353, 205, 550, 213, 213, 37, 37, - -40, -40, 378, -40, 450, 450, 450, -16, -16, -16, - -16, 318, -16, -16, -16, 651, 543, -65, 578, 717, - 470, 577, 716, 12, 144, 214, 589, 585, -39, 544, - -39, 469, 430, 415, 580, -39, -39, 259, 392, 472, - 445, 617, 482, 385, 633, 410, 394, 49, 464, 389, - 671, 630, 784, 399, 540, 85, 338, 38, 445, 445, - 445, 229, 673, 680, 365, 68, 696, 681, 366, 694, - 687, 327, 188, 728, 294, 648, 485, 485, 485, 485, - 485, 485, 417, 485, 491, 759, 759, 545, 554, 417, - 781, 417, 485, 759, 417, 132, 417, 569, 485, 567, - 567, 491, 561, 570, 759, 759, 570, 545, 417, 613, - 647, 538, 572, 437, 437, 538, 417, 437, 554, 437, - 71, 780, 779, 411, 778, 782, 777, 750, 776, 500, - 682, 564, 565, 764, 763, 775, 489, 546, 769, 783, - 592, 542, 512, 400, 579, 444, 746, 544, 597, 438, - 438, 438, 444, 748, 438, 438, 438, 438, 438, 438, - 438, 438, 809, 583, 558, 611, 612, 618, 413, 619, - 602, 568, 423, 631, 555, 592, 592, 808, 679, 462, - 762, 799, 772, 615, 139, 398, 761, 603, 508, 571, - 760, 656, 798, 530, 689, 592, 438, 749, 758, 814, - 813, 747, 812, 804, 168, 598, 620, 66, 811, 659, - 660, 614, 807, 803, 802, 548, 66, 623, 785, 751, - 556, 752, 662, 375, 322, 690, 771, 624, 806, 805, - 786, 626, 634, 663, 668, 367, 770, 440, 456, 636, - 547, 552, 669, 753, 637, 641, 800, 566, 597, 582, - 573, 574, 670, 801, 455, 643, 621, 622, 616, 0, + 87, 401, 676, 188, 11, 868, 159, -2, -2, -2, + -2, -2, 257, 257, 257, 257, 42, 42, 582, 582, + 466, 335, 335, 335, 335, 335, 335, 335, 335, 335, + 335, 704, 727, 725, 724, 2, 2, -58, 263, 387, + 387, 387, 387, 19, -5, 422, -5, 576, 815, 328, + 220, 151, 151, 151, 83, 562, 155, 155, 31, 31, + 371, 371, 417, 371, 404, 404, 404, 323, 323, 323, + 323, 297, 323, 323, 323, 611, 550, -65, 578, 723, + 472, 551, 722, -19, 336, 348, 589, 545, 289, 581, + 289, 489, 318, 264, 580, 289, 289, 50, 88, 474, + 457, 619, 476, 146, 636, 327, 225, -14, 470, 433, + 670, 634, 679, 460, 572, 197, 375, 38, 457, 457, + 457, 300, 671, 673, 400, 269, 703, 680, 406, 698, + 690, 144, 85, 748, 351, 651, 485, 485, 485, 485, + 485, 485, 380, 485, 493, 760, 760, 548, 556, 380, + 782, 380, 485, 760, 380, 99, 380, 570, 485, 569, + 569, 493, 563, 571, 760, 760, 571, 548, 380, 615, + 650, 541, 612, 390, 390, 541, 380, 390, 556, 390, + 40, 781, 780, 374, 779, 783, 778, 751, 777, 512, + 681, 565, 566, 769, 764, 776, 491, 549, 770, 785, + 592, 573, 530, 293, 577, 464, 542, 581, 597, 456, + 456, 456, 464, 749, 456, 456, 456, 456, 456, 456, + 456, 456, 809, 584, 560, 613, 614, 620, 381, 621, + 602, 574, 386, 543, 555, 592, 592, 784, 746, 467, + 763, 800, 775, 617, 109, 278, 762, 603, 520, 544, + 761, 631, 799, 536, 694, 592, 456, 750, 759, 814, + 813, 559, 812, 805, 133, 598, 622, 64, 811, 656, + 659, 616, 808, 804, 803, 585, 64, 626, 786, 752, + 561, 753, 660, 273, 215, 696, 772, 627, 807, 806, + 787, 630, 637, 662, 663, 271, 771, 399, 481, 641, + 552, 554, 668, 758, 643, 645, 801, 568, 597, 583, + 546, 575, 669, 802, 435, 647, 623, 624, 618, 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, -1, -1, @@ -520,20 +520,20 @@ class Php7 extends \PhpParser\ParserAbstract 0, 0, 0, 0, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, - 281, 281, 0, 281, 281, 281, 281, 281, 281, 353, - 353, 353, 353, 335, 335, 335, 335, 335, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 67, 67, - 67, 67, 353, 353, 335, 67, 485, 485, 485, 485, - 335, 485, 213, 485, 213, 213, 0, 0, 0, 0, - 0, 485, 213, 0, 0, -39, -39, 0, 0, 0, + 281, 281, 0, 281, 281, 281, 281, 281, 281, 151, + 151, 151, 151, 335, 335, 335, 335, 335, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 97, 97, + 97, 97, 151, 151, 335, 97, 485, 485, 485, 485, + 335, 485, 155, 485, 155, 155, 0, 0, 0, 0, + 0, 485, 155, 0, 0, 289, 289, 0, 0, 0, 0, 485, 485, 485, 485, 485, 485, 485, 485, 485, - 485, 485, -39, 213, 0, 447, 447, 66, 447, 447, - 0, 0, 0, 485, 485, 0, 561, 0, 0, 0, - 0, 759, 0, 0, 0, 0, 0, 438, 139, 762, - 0, 79, 0, 0, 0, 0, 0, 462, 79, 279, - 0, 279, 0, 0, 0, 438, 438, 438, 0, 462, - 462, 0, 0, 142, 462, 0, 142, 70, 0, 0, - 70, 0, 66 + 485, 485, 289, 155, 0, 395, 395, 64, 395, 395, + 0, 0, 0, 485, 485, 0, 563, 0, 0, 0, + 0, 760, 0, 0, 0, 0, 0, 456, 109, 763, + 0, 74, 0, 0, 0, 0, 0, 467, 74, 139, + 0, 139, 0, 0, 0, 456, 456, 456, 0, 467, + 467, 0, 0, 120, 467, 0, 120, 66, 0, 0, + 66, 0, 64 ); protected $actionDefault = array( @@ -541,9 +541,9 @@ class Php7 extends \PhpParser\ParserAbstract 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, - 440, 440, 400,32767,32767,32767,32767, 266, 266, 266, - 32767, 401, 401, 401, 401, 401, 401, 401,32767,32767, - 32767,32767,32767, 345,32767,32767,32767,32767,32767,32767, + 442, 442, 402,32767,32767,32767,32767, 268, 268, 268, + 32767, 403, 403, 403, 403, 403, 403, 403,32767,32767, + 32767,32767,32767, 347,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, @@ -552,46 +552,46 @@ class Php7 extends \PhpParser\ParserAbstract 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, - 445,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 447,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 328, 329, 331, 332, 265, 402, 218, 444, 264, - 106, 227, 220, 175, 109, 263, 206, 293, 346, 295, - 344, 348, 294, 270, 275, 276, 277, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 269, 347, 325, 324, - 323, 291, 292, 296, 298, 268, 297, 314, 315, 312, - 313, 316, 317, 318, 319, 320,32767,32767, 439, 439, + 32767, 330, 331, 333, 334, 267, 404, 220, 446, 266, + 106, 229, 222, 177, 109, 265, 208, 295, 348, 297, + 346, 350, 296, 272, 277, 278, 279, 280, 281, 282, + 283, 284, 285, 286, 287, 288, 271, 349, 327, 326, + 325, 293, 294, 298, 300, 270, 299, 316, 317, 314, + 315, 318, 319, 320, 321, 322,32767,32767, 441, 441, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 250, 250, 250, 250, 305, 306,32767, 251, 210, - 210, 210, 210,32767, 210,32767,32767,32767,32767, 393, - 322, 300, 301, 299,32767, 373,32767, 375,32767,32767, - 288, 290, 368, 271,32767,32767,32767,32767,32767,32767, + 32767, 252, 252, 252, 252, 307, 308,32767, 253, 212, + 212, 212, 212,32767, 212,32767,32767,32767,32767, 395, + 324, 302, 303, 301,32767, 375,32767, 377,32767,32767, + 290, 292, 370, 273,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767, 370, 403, 403,32767,32767,32767, 362, - 32767, 144, 194, 196, 378,32767,32767,32767,32767,32767, - 310,32767,32767,32767,32767,32767,32767, 453,32767,32767, - 32767,32767,32767, 403,32767, 403,32767,32767, 302, 303, - 304,32767,32767,32767, 403, 403,32767,32767, 403,32767, + 32767,32767,32767, 372, 405, 405,32767,32767,32767, 364, + 32767, 145, 196, 198, 380,32767,32767,32767,32767,32767, + 312,32767,32767,32767,32767,32767,32767, 455,32767,32767, + 32767,32767,32767, 405,32767, 405,32767,32767, 304, 305, + 306,32767,32767,32767, 405, 405,32767,32767, 405,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767, 148,32767,32767, 376, 376,32767,32767, 148, - 371, 148,32767,32767, 148, 399, 148, 161,32767, 159, - 159,32767,32767, 163,32767, 417, 163,32767, 148, 180, - 180, 354, 150, 212, 212, 354, 148, 212,32767, 212, + 32767,32767, 149,32767,32767, 378, 378,32767,32767, 149, + 373, 149,32767,32767, 149, 401, 149, 162,32767, 160, + 160,32767,32767, 164,32767, 419, 164,32767, 149, 182, + 182, 356, 151, 214, 214, 356, 149, 214,32767, 214, 32767,32767,32767, 72,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 364,32767,32767,32767,32767, 394, 415, 362,32767, 308, - 309, 311,32767, 405, 333, 334, 335, 336, 337, 338, - 339, 341,32767, 367,32767,32767,32767,32767,32767,32767, - 74, 98, 226,32767, 452, 74, 365, 452,32767,32767, - 32767,32767,32767,32767, 267,32767,32767, 74,32767, 74, - 32767,32767,32767,32767, 403, 366, 307, 379, 421,32767, - 32767, 404,32767,32767, 201, 74,32767, 162,32767,32767, - 32767,32767,32767,32767,32767,32767, 164,32767, 403,32767, - 32767,32767,32767,32767, 262,32767,32767,32767,32767,32767, - 403,32767,32767,32767,32767, 205,32767,32767,32767,32767, + 366,32767,32767,32767,32767, 396, 417, 364,32767, 310, + 311, 313,32767, 407, 335, 336, 337, 338, 339, 340, + 341, 343,32767, 369,32767,32767,32767,32767,32767,32767, + 74, 98, 228,32767, 454, 74, 367, 454,32767,32767, + 32767,32767,32767,32767, 269,32767,32767, 74,32767, 74, + 32767,32767,32767,32767, 405, 368, 309, 381, 423,32767, + 32767, 406,32767,32767, 203, 74,32767, 163,32767,32767, + 32767,32767,32767,32767,32767,32767, 165,32767, 405,32767, + 32767,32767,32767,32767, 264,32767,32767,32767,32767,32767, + 405,32767,32767,32767,32767, 207,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767, 72, 59,32767, - 244,32767,32767,32767,32767,32767,32767,32767,32767, 111, - 111, 3, 229, 3, 141, 229, 111, 188, 111, 111, - 229, 229, 180, 180, 111, 111, 236, 111, 111, 111, + 246,32767,32767,32767,32767,32767,32767,32767,32767, 111, + 111, 3, 231, 3, 142, 231, 111, 190, 111, 111, + 231, 231, 182, 182, 111, 111, 238, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111 ); @@ -599,7 +599,7 @@ class Php7 extends \PhpParser\ParserAbstract 177, 177, 150, 150, 150, 160, 162, 193, 178, 175, 175, 175, 175, 176, 176, 176, 176, 176, 176, 176, 171, 172, 173, 174, 190, 188, 191, 419, 420, 310, - 421, 424, 425, 426, 427, 428, 429, 430, 431, 831, + 421, 424, 425, 426, 427, 428, 429, 430, 431, 833, 151, 152, 153, 154, 155, 156, 157, 158, 159, 161, 187, 189, 192, 208, 211, 212, 213, 214, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 245, 246, @@ -607,36 +607,36 @@ class Php7 extends \PhpParser\ParserAbstract 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 163, 207, 164, 179, 180, 181, 209, 182, 165, 166, 167, 183, 168, 210, 148, 184, 185, 169, 186, 170, - 519, 440, 436, 439, 451, 469, 470, 472, 289, 1006, - 1006, 445, 445, 445, 690, 32, 468, 527, 445, 1006, - 242, 9, 433, 916, 664, 243, 244, 6, 433, 10, - 11, 481, 498, 459, 445, 12, 13, 774, 1, 14, + 519, 440, 436, 439, 451, 469, 470, 472, 289, 1008, + 1008, 445, 445, 445, 690, 32, 468, 729, 445, 1008, + 242, 9, 433, 918, 527, 243, 244, 6, 433, 10, + 11, 481, 498, 459, 445, 12, 13, 664, 1, 14, 15, 16, 17, 2, 18, 19, 7, 20, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, 335, 500, 325, 325, 273, 323, 323, - 270, 271, 294, 464, 334, 295, 338, 488, 633, 633, - 633, 462, 917, 445, 445, 457, 475, 445, 445, 4, - 445, 5, 657, 918, 971, 467, 802, 528, 999, 446, - 513, 800, 634, 634, 634, 465, 423, 423, 423, 423, + 270, 271, 294, 464, 334, 295, 338, 488, 634, 634, + 634, 776, 919, 445, 445, 457, 475, 445, 445, 4, + 445, 5, 657, 920, 973, 467, 804, 528, 462, 446, + 513, 802, 633, 633, 633, 465, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, - 423, 632, 632, 632, 657, 657, 311, 504, 1005, 1005, - 512, 312, 309, 499, 450, 829, 460, 992, 1005, 743, - 728, 726, 724, 726, 537, 434, 752, 747, 382, 757, - 757, 995, 995, 483, 484, 523, 35, 1008, 324, 486, - 290, 345, 267, 258, 878, 770, 761, 982, 296, 339, + 423, 632, 632, 632, 657, 657, 1001, 312, 1007, 1007, + 450, 311, 460, 759, 759, 997, 997, 499, 1007, 745, + 727, 725, 727, 537, 382, 434, 754, 749, 504, 267, + 258, 512, 35, 309, 483, 484, 523, 1010, 994, 486, + 290, 345, 831, 324, 880, 772, 763, 296, 984, 339, 291, 292, 653, 318, 650, 650, 658, 658, 658, 660, - 321, 649, 651, 778, 547, 343, 909, 376, 914, 661, - 480, 781, 731, 387, 818, 0, 0, 0, 0, 0, + 651, 649, 321, 547, 916, 780, 343, 911, 376, 783, + 661, 480, 387, 733, 820, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 920, 0, 764, 764, - 764, 764, 920, 764, 0, 764, 810, 0, 0, 0, - 0, 0, 0, 979, 0, 0, 0, 0, 0, 979, - 0, 0, 0, 0, 0, 0, 722, 722, 722, 722, - 0, 717, 723, 511, 990, 990, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 922, 0, 766, 766, + 766, 766, 922, 766, 0, 766, 812, 0, 0, 0, + 0, 0, 0, 981, 0, 0, 0, 0, 0, 981, + 0, 0, 0, 0, 0, 0, 723, 723, 723, 723, + 0, 718, 724, 511, 992, 992, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 977, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 780, 0, 780, 0, 0, 0, - 0, 983, 984 + 0, 979, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 782, 0, 782, 0, 0, 0, + 0, 985, 986 ); protected $gotoCheck = array( @@ -651,68 +651,68 @@ class Php7 extends \PhpParser\ParserAbstract 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 48, 7, 35, 35, 35, 35, 35, 35, 60, 119, - 119, 7, 7, 7, 41, 86, 74, 4, 7, 119, - 56, 25, 103, 70, 24, 56, 56, 25, 103, 25, - 25, 32, 32, 7, 7, 25, 25, 72, 25, 25, - 25, 25, 25, 25, 25, 25, 25, 25, 107, 107, - 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, - 107, 107, 107, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 42, 42, 42, 42, 42, 10, 10, - 10, 109, 70, 7, 7, 7, 7, 7, 7, 2, - 7, 2, 18, 70, 70, 6, 6, 6, 117, 7, - 6, 6, 11, 11, 11, 7, 108, 108, 108, 108, + 49, 7, 36, 36, 36, 36, 36, 36, 61, 120, + 120, 7, 7, 7, 42, 87, 75, 27, 7, 120, + 57, 25, 104, 71, 4, 57, 57, 25, 104, 25, + 25, 33, 33, 7, 7, 25, 25, 24, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, - 108, 9, 9, 9, 18, 18, 38, 52, 118, 118, - 52, 49, 52, 40, 49, 89, 49, 115, 118, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 49, 65, - 65, 65, 65, 51, 51, 51, 49, 118, 39, 58, - 58, 58, 106, 106, 90, 69, 67, 112, 13, 17, - 60, 60, 20, 8, 18, 18, 18, 18, 18, 18, - 12, 18, 19, 73, 62, 16, 96, 54, 98, 21, - 55, 75, 59, 94, 88, -1, -1, -1, -1, -1, + 108, 108, 108, 43, 43, 43, 43, 43, 43, 43, + 43, 43, 43, 43, 43, 43, 43, 43, 11, 11, + 11, 73, 71, 7, 7, 7, 7, 7, 7, 2, + 7, 2, 18, 71, 71, 6, 6, 6, 110, 7, + 6, 6, 10, 10, 10, 7, 109, 109, 109, 109, + 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, + 109, 9, 9, 9, 18, 18, 118, 50, 119, 119, + 50, 39, 50, 66, 66, 66, 66, 41, 119, 9, + 9, 9, 9, 9, 50, 9, 9, 9, 53, 107, + 107, 53, 50, 53, 52, 52, 52, 119, 116, 59, + 59, 59, 90, 40, 91, 70, 68, 13, 113, 17, + 61, 61, 20, 8, 18, 18, 18, 18, 18, 18, + 19, 18, 12, 63, 99, 74, 16, 97, 55, 76, + 21, 56, 95, 60, 89, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 48, -1, 48, 48, - 48, 48, 48, 48, -1, 48, 86, -1, -1, -1, - -1, -1, -1, 74, -1, -1, -1, -1, -1, 74, - -1, -1, -1, -1, -1, -1, 48, 48, 48, 48, - -1, 48, 48, 48, 74, 74, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 49, -1, 49, 49, + 49, 49, 49, 49, -1, 49, 87, -1, -1, -1, + -1, -1, -1, 75, -1, -1, -1, -1, -1, 75, + -1, -1, -1, -1, -1, -1, 49, 49, 49, 49, + -1, 49, 49, 49, 75, 75, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 74, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 74, -1, 74, -1, -1, -1, - -1, 74, 74 + -1, 75, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 75, -1, 75, -1, -1, -1, + -1, 75, 75 ); protected $gotoBase = array( - 0, 0, -332, 0, 90, 0, 175, -153, 2, 228, - 185, 209, -6, 14, 0, 0, -52, 4, -62, -5, - 6, -72, -38, 0, 100, -399, 0, 0, 0, 0, - 0, 0, 93, 0, 0, 60, 0, 0, 186, 36, - 16, 99, -53, 0, 0, 0, 0, 0, 79, -120, - 0, 13, -147, 0, -73, -76, -405, 0, -9, -75, - -262, 0, -14, 0, 0, 33, 0, 22, 0, 19, - -171, 0, 108, -7, 96, -71, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 88, 0, -84, 15, - 21, 0, 0, 0, -82, 0, -60, 0, -61, 0, - 0, 0, 0, -115, 0, 0, 7, -68, -10, 150, - 0, 0, 8, 0, 0, 18, 0, 166, -19, -138, - 0 + 0, 0, -332, 0, 97, 0, 175, -153, 2, 228, + 209, 185, -4, 13, 0, 0, -51, 4, -62, -7, + 6, -71, -38, 0, 113, -399, 0, 101, 0, 0, + 0, 0, 0, 93, 0, 0, 60, 0, 0, 191, + 41, 20, 100, -53, 0, 0, 0, 0, 0, 79, + -124, 0, 14, -126, 0, -72, -75, -405, 0, -9, + -74, -262, 0, -15, 0, 0, 17, 0, 22, 0, + 19, -171, 0, 152, -5, 96, -73, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 88, 0, -84, + 42, 21, 0, 0, 0, -83, 0, -59, 0, -65, + 0, 0, 0, 0, -115, 0, 0, -6, -68, -10, + 167, 0, 0, 9, 0, 0, 39, 0, 194, -19, + -138, 0 ); protected $gotoDefault = array( -32768, 390, 3, 559, 620, 628, 493, 410, 441, 669, 670, 671, 314, 351, 411, 313, 340, 336, 659, 652, - 654, 662, 149, 341, 665, 8, 667, 302, 674, 303, - 508, 676, 453, 678, 679, 435, 315, 316, 454, 322, - 482, 689, 215, 319, 691, 301, 693, 699, 304, 510, - 490, 473, 503, 412, 373, 479, 241, 461, 477, 730, - 288, 738, 552, 746, 749, 413, 474, 760, 378, 768, - 934, 331, 773, 779, 966, 782, 785, 358, 342, 485, - 789, 790, 31, 794, 520, 521, 809, 248, 817, 830, - 356, 897, 899, 448, 384, 910, 370, 344, 913, 970, - 363, 414, 374, 926, 272, 293, 257, 415, 259, 432, - 998, 416, 375, 973, 326, 993, 365, 1000, 1007, 286, - 478 + 654, 662, 149, 341, 665, 8, 667, 697, 302, 674, + 303, 508, 676, 453, 678, 679, 435, 315, 316, 454, + 322, 482, 689, 215, 319, 691, 301, 692, 700, 304, + 510, 490, 473, 503, 412, 373, 479, 241, 461, 477, + 732, 288, 740, 552, 748, 751, 413, 474, 762, 378, + 770, 936, 331, 775, 781, 968, 784, 787, 358, 342, + 485, 791, 792, 31, 796, 520, 521, 811, 248, 819, + 832, 356, 899, 901, 448, 384, 912, 370, 344, 915, + 972, 363, 414, 374, 928, 272, 293, 257, 415, 259, + 432, 1000, 416, 375, 975, 326, 995, 365, 1002, 1009, + 286, 478 ); protected $ruleToNonTerminal = array( @@ -727,22 +727,22 @@ class Php7 extends \PhpParser\ParserAbstract 3, 3, 3, 3, 3, 3, 13, 13, 14, 14, 14, 14, 16, 16, 12, 12, 17, 17, 18, 18, 19, 19, 20, 20, 15, 15, 21, 23, 23, 24, - 25, 25, 26, 26, 26, 26, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 45, 45, 47, 46, 46, 39, 39, 49, 49, - 50, 50, 10, 11, 11, 11, 53, 53, 53, 54, - 54, 57, 57, 55, 55, 58, 58, 33, 33, 41, - 41, 44, 44, 43, 43, 59, 34, 34, 34, 34, - 60, 60, 61, 61, 62, 62, 31, 31, 27, 27, - 63, 29, 29, 64, 28, 28, 30, 30, 40, 40, - 40, 51, 51, 66, 66, 67, 67, 69, 69, 69, - 68, 68, 52, 52, 70, 70, 71, 71, 72, 72, - 72, 36, 36, 73, 37, 37, 75, 75, 56, 56, - 76, 76, 76, 76, 81, 81, 82, 82, 83, 83, - 83, 83, 83, 84, 85, 85, 80, 80, 77, 77, - 79, 79, 87, 87, 86, 86, 86, 86, 86, 86, - 78, 78, 88, 88, 38, 38, 32, 32, 22, 22, + 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, + 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, + 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, + 9, 9, 46, 46, 48, 47, 47, 40, 40, 50, + 50, 51, 51, 10, 11, 11, 11, 54, 54, 54, + 55, 55, 58, 58, 56, 56, 59, 59, 34, 34, + 42, 42, 45, 45, 45, 44, 44, 60, 35, 35, + 35, 35, 61, 61, 62, 62, 63, 63, 32, 32, + 28, 28, 64, 30, 30, 65, 29, 29, 31, 31, + 41, 41, 41, 52, 52, 67, 67, 68, 68, 70, + 70, 70, 69, 69, 53, 53, 71, 71, 72, 72, + 73, 73, 73, 37, 37, 74, 38, 38, 76, 76, + 57, 57, 77, 77, 77, 77, 82, 82, 83, 83, + 84, 84, 84, 84, 84, 85, 86, 86, 81, 81, + 78, 78, 80, 80, 88, 88, 87, 87, 87, 87, + 87, 87, 79, 79, 89, 89, 39, 39, 33, 33, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, @@ -751,18 +751,18 @@ class Php7 extends \PhpParser\ParserAbstract 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, - 22, 95, 89, 89, 94, 94, 97, 97, 98, 99, - 99, 99, 103, 103, 48, 48, 48, 90, 90, 101, - 101, 91, 91, 93, 93, 93, 96, 96, 107, 107, - 108, 108, 108, 92, 92, 92, 92, 92, 92, 92, - 92, 92, 92, 92, 92, 92, 92, 92, 92, 110, - 110, 35, 35, 105, 105, 105, 100, 100, 100, 111, - 111, 111, 111, 111, 111, 42, 42, 42, 74, 74, - 74, 113, 104, 104, 104, 104, 104, 104, 102, 102, - 102, 112, 112, 112, 65, 114, 114, 115, 115, 115, - 109, 109, 116, 116, 117, 117, 117, 117, 106, 106, - 106, 106, 119, 118, 118, 118, 118, 118, 118, 118, - 120, 120, 120 + 22, 22, 22, 96, 90, 90, 95, 95, 98, 98, + 99, 100, 100, 100, 104, 104, 49, 49, 49, 91, + 91, 102, 102, 92, 92, 94, 94, 94, 97, 97, + 108, 108, 109, 109, 109, 93, 93, 93, 93, 93, + 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, + 93, 111, 111, 36, 36, 106, 106, 106, 101, 101, + 101, 112, 112, 112, 112, 112, 112, 43, 43, 43, + 75, 75, 75, 114, 105, 105, 105, 105, 105, 105, + 103, 103, 103, 113, 113, 113, 66, 115, 115, 116, + 116, 116, 110, 110, 117, 117, 118, 118, 118, 118, + 107, 107, 107, 107, 120, 119, 119, 119, 119, 119, + 119, 119, 121, 121, 121 ); protected $ruleToLength = array( @@ -779,40 +779,40 @@ class Php7 extends \PhpParser\ParserAbstract 1, 2, 1, 2, 3, 1, 3, 3, 1, 3, 2, 0, 1, 1, 1, 1, 3, 7, 10, 5, 7, 9, 5, 3, 3, 3, 3, 3, 3, 1, - 2, 5, 7, 9, 5, 1, 6, 3, 3, 2, - 1, 0, 2, 8, 0, 4, 1, 3, 0, 1, - 0, 1, 10, 7, 6, 5, 1, 2, 2, 0, - 2, 0, 2, 0, 2, 1, 3, 1, 4, 1, - 4, 1, 4, 1, 3, 3, 3, 4, 4, 5, - 0, 2, 4, 3, 1, 1, 1, 4, 0, 2, - 5, 0, 2, 6, 0, 2, 0, 3, 1, 2, - 1, 1, 0, 1, 3, 4, 6, 1, 1, 1, - 0, 1, 0, 2, 2, 3, 1, 3, 1, 2, - 2, 3, 1, 1, 3, 1, 1, 3, 2, 0, - 3, 3, 9, 3, 1, 3, 0, 2, 4, 5, - 4, 4, 4, 3, 1, 1, 1, 3, 1, 1, - 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, - 1, 3, 1, 3, 3, 1, 0, 1, 1, 3, - 3, 4, 4, 1, 2, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, - 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, - 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 5, 4, 3, 4, 4, 2, 2, - 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 1, 3, 2, 1, 2, 4, 2, 10, - 11, 7, 3, 2, 0, 4, 1, 3, 2, 2, - 2, 4, 1, 1, 1, 2, 3, 1, 1, 1, - 1, 0, 3, 0, 1, 1, 0, 1, 1, 3, - 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 2, 3, 3, 0, - 1, 0, 1, 1, 3, 1, 1, 3, 1, 1, - 4, 4, 4, 1, 4, 1, 1, 3, 1, 4, - 2, 3, 1, 4, 4, 3, 3, 3, 1, 3, - 1, 1, 3, 1, 4, 3, 1, 1, 1, 0, - 0, 2, 3, 1, 3, 1, 4, 2, 2, 2, - 1, 2, 1, 1, 4, 3, 3, 3, 6, 3, - 1, 1, 1 + 2, 5, 7, 9, 5, 6, 3, 3, 2, 1, + 1, 1, 0, 2, 8, 0, 4, 1, 3, 0, + 1, 0, 1, 10, 7, 6, 5, 1, 2, 2, + 0, 2, 0, 2, 0, 2, 1, 3, 1, 4, + 1, 4, 1, 1, 4, 1, 3, 3, 3, 4, + 4, 5, 0, 2, 4, 3, 1, 1, 1, 4, + 0, 2, 5, 0, 2, 6, 0, 2, 0, 3, + 1, 2, 1, 1, 0, 1, 3, 4, 6, 1, + 1, 1, 0, 1, 0, 2, 2, 3, 1, 3, + 1, 2, 2, 3, 1, 1, 3, 1, 1, 3, + 2, 0, 3, 3, 9, 3, 1, 3, 0, 2, + 4, 5, 4, 4, 4, 3, 1, 1, 1, 3, + 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, + 1, 1, 1, 3, 1, 3, 3, 1, 0, 1, + 1, 3, 3, 4, 4, 1, 2, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, + 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 5, 4, 3, 4, 4, + 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 1, 3, 2, 1, 2, 4, + 2, 10, 11, 7, 3, 2, 0, 4, 1, 3, + 2, 2, 2, 4, 1, 1, 1, 2, 3, 1, + 1, 1, 1, 0, 3, 0, 1, 1, 0, 1, + 1, 3, 4, 3, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 3, 2, 3, + 3, 0, 1, 0, 1, 1, 3, 1, 1, 3, + 1, 1, 4, 4, 4, 1, 4, 1, 1, 3, + 1, 4, 2, 3, 1, 4, 4, 3, 3, 3, + 1, 3, 1, 1, 3, 1, 4, 3, 1, 1, + 1, 0, 0, 2, 3, 1, 3, 1, 4, 2, + 2, 2, 1, 2, 1, 1, 4, 3, 3, 3, + 6, 3, 1, 1, 1 ); protected function reduceRule0() { @@ -1356,247 +1356,247 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule135() { - $this->semValue = array(); /* means: no statement */ - } - - protected function reduceRule136() { $this->semValue = new Stmt\TryCatch($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-5)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } - protected function reduceRule137() { + protected function reduceRule136() { $this->semValue = new Stmt\Throw_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } - protected function reduceRule138() { + protected function reduceRule137() { $this->semValue = new Stmt\Goto_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } - protected function reduceRule139() { + protected function reduceRule138() { $this->semValue = new Stmt\Label($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } - protected function reduceRule140() { + protected function reduceRule139() { $this->semValue = array(); /* means: no statement */ } + protected function reduceRule140() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + protected function reduceRule141() { - $this->semValue = array(); + $this->semValue = array(); /* means: no statement */ } protected function reduceRule142() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = array(); } protected function reduceRule143() { - $this->semValue = new Stmt\Catch_($this->semStack[$this->stackPos-(8-3)], substr($this->semStack[$this->stackPos-(8-4)], 1), $this->semStack[$this->stackPos-(8-7)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule144() { - $this->semValue = null; + $this->semValue = new Stmt\Catch_($this->semStack[$this->stackPos-(8-3)], substr($this->semStack[$this->stackPos-(8-4)], 1), $this->semStack[$this->stackPos-(8-7)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes); } protected function reduceRule145() { - $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + $this->semValue = null; } protected function reduceRule146() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule147() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule148() { - $this->semValue = false; - } - - protected function reduceRule149() { - $this->semValue = true; - } - - protected function reduceRule150() { - $this->semValue = false; - } - - protected function reduceRule151() { - $this->semValue = true; - } - - protected function reduceRule152() { - $this->semValue = new Stmt\Function_($this->semStack[$this->stackPos-(10-3)], ['byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-5)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); - } - - protected function reduceRule153() { - $this->semValue = new Stmt\Class_($this->semStack[$this->stackPos-(7-2)], ['type' => $this->semStack[$this->stackPos-(7-1)], 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes); - } - - protected function reduceRule154() { - $this->semValue = new Stmt\Interface_($this->semStack[$this->stackPos-(6-2)], ['extends' => $this->semStack[$this->stackPos-(6-3)], 'stmts' => $this->semStack[$this->stackPos-(6-5)]], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule155() { - $this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); - } - - protected function reduceRule156() { - $this->semValue = 0; - } - - protected function reduceRule157() { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; - } - - protected function reduceRule158() { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; - } - - protected function reduceRule159() { - $this->semValue = null; - } - - protected function reduceRule160() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule161() { - $this->semValue = array(); - } - - protected function reduceRule162() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule163() { - $this->semValue = array(); - } - - protected function reduceRule164() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule165() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule166() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule167() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule168() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule169() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule170() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule171() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule172() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; - } - - protected function reduceRule173() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule174() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule175() { - $this->semValue = new Stmt\DeclareDeclare($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule176() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; - } - - protected function reduceRule177() { $this->semValue = $this->semStack[$this->stackPos-(4-3)]; } - protected function reduceRule178() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + protected function reduceRule147() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } - protected function reduceRule179() { - $this->semValue = $this->semStack[$this->stackPos-(5-3)]; + protected function reduceRule148() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } - protected function reduceRule180() { - $this->semValue = array(); + protected function reduceRule149() { + $this->semValue = false; } - protected function reduceRule181() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + protected function reduceRule150() { + $this->semValue = true; } - protected function reduceRule182() { - $this->semValue = new Stmt\Case_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + protected function reduceRule151() { + $this->semValue = false; } - protected function reduceRule183() { - $this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule152() { + $this->semValue = true; } - protected function reduceRule184() { - $this->semValue = $this->semStack[$this->stackPos]; + protected function reduceRule153() { + $this->semValue = new Stmt\Function_($this->semStack[$this->stackPos-(10-3)], ['byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-5)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); } - protected function reduceRule185() { - $this->semValue = $this->semStack[$this->stackPos]; + protected function reduceRule154() { + $this->semValue = new Stmt\Class_($this->semStack[$this->stackPos-(7-2)], ['type' => $this->semStack[$this->stackPos-(7-1)], 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes); } - protected function reduceRule186() { - $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + protected function reduceRule155() { + $this->semValue = new Stmt\Interface_($this->semStack[$this->stackPos-(6-2)], ['extends' => $this->semStack[$this->stackPos-(6-3)], 'stmts' => $this->semStack[$this->stackPos-(6-5)]], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } - protected function reduceRule187() { - $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + protected function reduceRule156() { + $this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); } - protected function reduceRule188() { - $this->semValue = array(); + protected function reduceRule157() { + $this->semValue = 0; } - protected function reduceRule189() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + protected function reduceRule158() { + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; } - protected function reduceRule190() { - $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(5-3)], is_array($this->semStack[$this->stackPos-(5-5)]) ? $this->semStack[$this->stackPos-(5-5)] : array($this->semStack[$this->stackPos-(5-5)]), $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + protected function reduceRule159() { + $this->semValue = Stmt\Class_::MODIFIER_FINAL; } - protected function reduceRule191() { - $this->semValue = array(); - } - - protected function reduceRule192() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule193() { - $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule194() { + protected function reduceRule160() { $this->semValue = null; } + protected function reduceRule161() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule162() { + $this->semValue = array(); + } + + protected function reduceRule163() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule164() { + $this->semValue = array(); + } + + protected function reduceRule165() { + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + } + + protected function reduceRule166() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule167() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule168() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule169() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule170() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule171() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule172() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule173() { + $this->semValue = null; + } + + protected function reduceRule174() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule175() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule176() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule177() { + $this->semValue = new Stmt\DeclareDeclare($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule178() { + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + } + + protected function reduceRule179() { + $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + } + + protected function reduceRule180() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule181() { + $this->semValue = $this->semStack[$this->stackPos-(5-3)]; + } + + protected function reduceRule182() { + $this->semValue = array(); + } + + protected function reduceRule183() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule184() { + $this->semValue = new Stmt\Case_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule185() { + $this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule186() { + $this->semValue = $this->semStack[$this->stackPos]; + } + + protected function reduceRule187() { + $this->semValue = $this->semStack[$this->stackPos]; + } + + protected function reduceRule188() { + $this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule189() { + $this->semValue = $this->semStack[$this->stackPos-(4-2)]; + } + + protected function reduceRule190() { + $this->semValue = array(); + } + + protected function reduceRule191() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule192() { + $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(5-3)], is_array($this->semStack[$this->stackPos-(5-5)]) ? $this->semStack[$this->stackPos-(5-5)] : array($this->semStack[$this->stackPos-(5-5)]), $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + } + + protected function reduceRule193() { + $this->semValue = array(); + } + + protected function reduceRule194() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + protected function reduceRule195() { - $this->semValue = new Stmt\Else_(is_array($this->semStack[$this->stackPos-(2-2)]) ? $this->semStack[$this->stackPos-(2-2)] : array($this->semStack[$this->stackPos-(2-2)]), $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule196() { @@ -1604,15 +1604,15 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule197() { - $this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Stmt\Else_(is_array($this->semStack[$this->stackPos-(2-2)]) ? $this->semStack[$this->stackPos-(2-2)] : array($this->semStack[$this->stackPos-(2-2)]), $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule198() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)], false); + $this->semValue = null; } protected function reduceRule199() { - $this->semValue = array($this->semStack[$this->stackPos-(2-2)], true); + $this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule200() { @@ -1620,47 +1620,47 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule201() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = array($this->semStack[$this->stackPos-(2-2)], true); } protected function reduceRule202() { - $this->semValue = array(); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)], false); } protected function reduceRule203() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule204() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = array(); } protected function reduceRule205() { - $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(4-4)], 1), null, $this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule206() { - $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(6-4)], 1), $this->semStack[$this->stackPos-(6-6)], $this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-3)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule207() { - $this->semValue = $this->handleScalarTypes($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(4-4)], 1), null, $this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule208() { - $this->semValue = 'array'; + $this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(6-4)], 1), $this->semStack[$this->stackPos-(6-6)], $this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-3)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule209() { - $this->semValue = 'callable'; + $this->semValue = $this->handleScalarTypes($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule210() { - $this->semValue = null; + $this->semValue = 'array'; } protected function reduceRule211() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = 'callable'; } protected function reduceRule212() { @@ -1668,95 +1668,95 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule213() { - $this->semValue = $this->semStack[$this->stackPos-(2-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule214() { - $this->semValue = array(); + $this->semValue = null; } protected function reduceRule215() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(2-2)]; } protected function reduceRule216() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = array(); } protected function reduceRule217() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule218() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule219() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule220() { - $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule221() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule222() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + $this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule223() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule224() { $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } - protected function reduceRule225() { + protected function reduceRule224() { $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } + protected function reduceRule225() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + protected function reduceRule226() { - $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule227() { - $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule228() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule229() { - $this->semValue = array(); + $this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule230() { - $this->semValue = new Stmt\Property($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule231() { - $this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule232() { - $this->semValue = new Stmt\ClassMethod($this->semStack[$this->stackPos-(9-4)], ['type' => $this->semStack[$this->stackPos-(9-1)], 'byRef' => $this->semStack[$this->stackPos-(9-3)], 'params' => $this->semStack[$this->stackPos-(9-6)], 'returnType' => $this->semStack[$this->stackPos-(9-8)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes); - } - - protected function reduceRule233() { - $this->semValue = new Stmt\TraitUse($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule234() { $this->semValue = array(); } + protected function reduceRule232() { + $this->semValue = new Stmt\Property($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule233() { + $this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule234() { + $this->semValue = new Stmt\ClassMethod($this->semStack[$this->stackPos-(9-4)], ['type' => $this->semStack[$this->stackPos-(9-1)], 'byRef' => $this->semStack[$this->stackPos-(9-3)], 'params' => $this->semStack[$this->stackPos-(9-6)], 'returnType' => $this->semStack[$this->stackPos-(9-8)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes); + } + protected function reduceRule235() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Stmt\TraitUse($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule236() { @@ -1764,511 +1764,511 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule237() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule238() { - $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = array(); } protected function reduceRule239() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(5-1)][0], $this->semStack[$this->stackPos-(5-1)][1], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; } protected function reduceRule240() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], null, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule241() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(5-1)][0], $this->semStack[$this->stackPos-(5-1)][1], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); } protected function reduceRule242() { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], null, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule243() { - $this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule244() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule245() { - $this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]); + $this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]); } protected function reduceRule246() { - $this->semValue = null; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule247() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule248() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = null; } protected function reduceRule249() { - $this->semValue = 0; - } - - protected function reduceRule250() { - $this->semValue = 0; - } - - protected function reduceRule251() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule252() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule253() { - Stmt\Class_::verifyModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)]; - } - - protected function reduceRule254() { - $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; - } - - protected function reduceRule255() { - $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; - } - - protected function reduceRule256() { - $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; - } - - protected function reduceRule257() { - $this->semValue = Stmt\Class_::MODIFIER_STATIC; - } - - protected function reduceRule258() { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; - } - - protected function reduceRule259() { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; - } - - protected function reduceRule260() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule261() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule262() { - $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule263() { - $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule264() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule265() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule266() { - $this->semValue = array(); - } - - protected function reduceRule267() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule268() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule269() { - $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule270() { - $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule271() { - $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule272() { - $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule273() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule274() { - $this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule275() { - $this->semValue = new Expr\AssignOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule276() { - $this->semValue = new Expr\AssignOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule277() { - $this->semValue = new Expr\AssignOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule278() { - $this->semValue = new Expr\AssignOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule279() { - $this->semValue = new Expr\AssignOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule280() { - $this->semValue = new Expr\AssignOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule281() { - $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule282() { - $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule283() { - $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule284() { - $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule285() { - $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule286() { - $this->semValue = new Expr\AssignOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule287() { - $this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule288() { - $this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule289() { - $this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule290() { - $this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule291() { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule292() { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule293() { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule294() { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule295() { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule296() { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule297() { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule298() { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule299() { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule300() { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule301() { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule302() { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule303() { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule304() { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule305() { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule306() { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule307() { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule308() { - $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule309() { - $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule310() { - $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule311() { - $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule312() { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule313() { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule314() { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule315() { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule316() { - $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule317() { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule318() { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule319() { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule320() { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule321() { - $this->semValue = new Expr\Instanceof_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule322() { $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } - protected function reduceRule323() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); - } - - protected function reduceRule324() { - $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule325() { - $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule326() { - $this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule327() { - $this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule328() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule329() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule330() { - $this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule331() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule332() { - $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule333() { - $this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule334() { - $this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule335() { - $this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule336() { - $this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule337() { - $this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule338() { - $this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule339() { - $this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule340() { - $this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule341() { - $this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule342() { + protected function reduceRule250() { $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } - protected function reduceRule343() { - $this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule251() { + $this->semValue = 0; } - protected function reduceRule344() { - $this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + protected function reduceRule252() { + $this->semValue = 0; } - protected function reduceRule345() { - $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + protected function reduceRule253() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } - protected function reduceRule346() { - $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + protected function reduceRule254() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } - protected function reduceRule347() { - $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + protected function reduceRule255() { + Stmt\Class_::verifyModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)]; } - protected function reduceRule348() { - $this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + protected function reduceRule256() { + $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; } - protected function reduceRule349() { - $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-4)], 'uses' => $this->semStack[$this->stackPos-(10-6)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); + protected function reduceRule257() { + $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; } - protected function reduceRule350() { - $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$this->stackPos-(11-3)], 'params' => $this->semStack[$this->stackPos-(11-5)], 'uses' => $this->semStack[$this->stackPos-(11-7)], 'returnType' => $this->semStack[$this->stackPos-(11-8)], 'stmts' => $this->semStack[$this->stackPos-(11-10)]], $this->startAttributeStack[$this->stackPos-(11-1)] + $this->endAttributes); + protected function reduceRule258() { + $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; } - protected function reduceRule351() { - $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(7-2)]); + protected function reduceRule259() { + $this->semValue = Stmt\Class_::MODIFIER_STATIC; } - protected function reduceRule352() { - $this->semValue = new Expr\New_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + protected function reduceRule260() { + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; } - protected function reduceRule353() { - list($class, $ctorArgs) = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + protected function reduceRule261() { + $this->semValue = Stmt\Class_::MODIFIER_FINAL; } - protected function reduceRule354() { - $this->semValue = array(); - } - - protected function reduceRule355() { - $this->semValue = $this->semStack[$this->stackPos-(4-3)]; - } - - protected function reduceRule356() { + protected function reduceRule262() { $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } - protected function reduceRule357() { + protected function reduceRule263() { $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } + protected function reduceRule264() { + $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule265() { + $this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule266() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule267() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule268() { + $this->semValue = array(); + } + + protected function reduceRule269() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule270() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule271() { + $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule272() { + $this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule273() { + $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule274() { + $this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule275() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule276() { + $this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule277() { + $this->semValue = new Expr\AssignOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule278() { + $this->semValue = new Expr\AssignOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule279() { + $this->semValue = new Expr\AssignOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule280() { + $this->semValue = new Expr\AssignOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule281() { + $this->semValue = new Expr\AssignOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule282() { + $this->semValue = new Expr\AssignOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule283() { + $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule284() { + $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule285() { + $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule286() { + $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule287() { + $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule288() { + $this->semValue = new Expr\AssignOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule289() { + $this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule290() { + $this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule291() { + $this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule292() { + $this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule293() { + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule294() { + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule295() { + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule296() { + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule297() { + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule298() { + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule299() { + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule300() { + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule301() { + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule302() { + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule303() { + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule304() { + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule305() { + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule306() { + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule307() { + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule308() { + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule309() { + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule310() { + $this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule311() { + $this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule312() { + $this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule313() { + $this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule314() { + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule315() { + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule316() { + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule317() { + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule318() { + $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule319() { + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule320() { + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule321() { + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule322() { + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule323() { + $this->semValue = new Expr\Instanceof_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule324() { + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + } + + protected function reduceRule325() { + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); + } + + protected function reduceRule326() { + $this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule327() { + $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule328() { + $this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule329() { + $this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule330() { + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule331() { + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule332() { + $this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule333() { + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule334() { + $this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule335() { + $this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule336() { + $this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule337() { + $this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule338() { + $this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule339() { + $this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule340() { + $this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule341() { + $this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule342() { + $this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule343() { + $this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule344() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule345() { + $this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule346() { + $this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule347() { + $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule348() { + $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule349() { + $this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule350() { + $this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule351() { + $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-4)], 'uses' => $this->semStack[$this->stackPos-(10-6)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes); + } + + protected function reduceRule352() { + $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$this->stackPos-(11-3)], 'params' => $this->semStack[$this->stackPos-(11-5)], 'uses' => $this->semStack[$this->stackPos-(11-7)], 'returnType' => $this->semStack[$this->stackPos-(11-8)], 'stmts' => $this->semStack[$this->stackPos-(11-10)]], $this->startAttributeStack[$this->stackPos-(11-1)] + $this->endAttributes); + } + + protected function reduceRule353() { + $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(7-2)]); + } + + protected function reduceRule354() { + $this->semValue = new Expr\New_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule355() { + list($class, $ctorArgs) = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule356() { + $this->semValue = array(); + } + + protected function reduceRule357() { + $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + } + protected function reduceRule358() { - $this->semValue = new Expr\ClosureUse(substr($this->semStack[$this->stackPos-(2-2)], 1), $this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); } protected function reduceRule359() { - $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; } protected function reduceRule360() { - $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\ClosureUse(substr($this->semStack[$this->stackPos-(2-2)], 1), $this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule361() { - $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule362() { - $this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule363() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule364() { @@ -2276,19 +2276,19 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule365() { - $this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule366() { - $this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule367() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); } protected function reduceRule368() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule369() { @@ -2300,139 +2300,139 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule371() { - $this->semValue = null; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule372() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule373() { - $this->semValue = array(); - } - - protected function reduceRule374() { - $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$this->stackPos-(1-1)], '`'), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes)); - } - - protected function reduceRule375() { - foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule376() { - $this->semValue = array(); - } - - protected function reduceRule377() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule378() { - $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule379() { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule380() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule381() { - $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule382() { - $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule383() { - $this->semValue = new Scalar\LNumber(Scalar\LNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule384() { - $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule385() { - $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule386() { - $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule387() { - $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule388() { - $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule389() { - $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule390() { - $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule391() { - $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule392() { - $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule393() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule394() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule395() { - $this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)]), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule396() { - $this->semValue = new Scalar\String_('', $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule397() { - foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', true); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule398() { - foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, true); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule399() { - $this->semValue = $this->semStack[$this->stackPos]; - } - - protected function reduceRule400() { - $this->semValue = $this->semStack[$this->stackPos]; - } - - protected function reduceRule401() { $this->semValue = null; } - protected function reduceRule402() { + protected function reduceRule374() { + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + } + + protected function reduceRule375() { + $this->semValue = array(); + } + + protected function reduceRule376() { + $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$this->stackPos-(1-1)], '`'), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes)); + } + + protected function reduceRule377() { + foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule378() { + $this->semValue = array(); + } + + protected function reduceRule379() { $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } + protected function reduceRule380() { + $this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule381() { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule382() { + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule383() { + $this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule384() { + $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule385() { + $this->semValue = new Scalar\LNumber(Scalar\LNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule386() { + $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule387() { + $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule388() { + $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule389() { + $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule390() { + $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule391() { + $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule392() { + $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule393() { + $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule394() { + $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule395() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule396() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule397() { + $this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)]), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule398() { + $this->semValue = new Scalar\String_('', $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule399() { + foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', true); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule400() { + foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, true); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule401() { + $this->semValue = $this->semStack[$this->stackPos]; + } + + protected function reduceRule402() { + $this->semValue = $this->semStack[$this->stackPos]; + } + protected function reduceRule403() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = null; } protected function reduceRule404() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule405() { @@ -2440,11 +2440,11 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule406() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule407() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule408() { @@ -2452,15 +2452,15 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule409() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule410() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule411() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } protected function reduceRule412() { @@ -2468,11 +2468,11 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule413() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule414() { - $this->semValue = new Expr\MethodCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule415() { @@ -2480,190 +2480,198 @@ class Php7 extends \PhpParser\ParserAbstract } protected function reduceRule416() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\MethodCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); } protected function reduceRule417() { - $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule418() { - $this->semValue = substr($this->semStack[$this->stackPos-(1-1)], 1); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule419() { - $this->semValue = $this->semStack[$this->stackPos-(4-3)]; - } - - protected function reduceRule420() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule421() { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule422() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule423() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule424() { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule425() { $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } - protected function reduceRule426() { + protected function reduceRule420() { + $this->semValue = substr($this->semStack[$this->stackPos-(1-1)], 1); + } + + protected function reduceRule421() { + $this->semValue = $this->semStack[$this->stackPos-(4-3)]; + } + + protected function reduceRule422() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule423() { $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } + protected function reduceRule424() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule425() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule426() { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + protected function reduceRule427() { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule428() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule429() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); } protected function reduceRule430() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; } protected function reduceRule431() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule432() { - $this->semValue = $this->semStack[$this->stackPos-(3-2)]; - } - - protected function reduceRule433() { $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } + protected function reduceRule433() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + protected function reduceRule434() { - $this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule435() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule436() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule437() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule438() { - $this->semValue = $this->semStack[$this->stackPos-(1-1)]; - } - - protected function reduceRule439() { - $this->semValue = null; - } - - protected function reduceRule440() { - $this->semValue = array(); - } - - protected function reduceRule441() { - $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule442() { - $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; - } - - protected function reduceRule443() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule444() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule445() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule446() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-1)], true, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule447() { - $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); - } - - protected function reduceRule448() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule449() { - $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; - } - - protected function reduceRule450() { - $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); - } - - protected function reduceRule451() { - $this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); - } - - protected function reduceRule452() { - $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule453() { - $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); - } - - protected function reduceRule454() { - $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(4-1)], 1), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); - } - - protected function reduceRule455() { - $this->semValue = new Expr\PropertyFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule456() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule457() { - $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); - } - - protected function reduceRule458() { - $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(6-4)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); - } - - protected function reduceRule459() { $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } + protected function reduceRule435() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule436() { + $this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule437() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule438() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule439() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule440() { + $this->semValue = $this->semStack[$this->stackPos-(1-1)]; + } + + protected function reduceRule441() { + $this->semValue = null; + } + + protected function reduceRule442() { + $this->semValue = array(); + } + + protected function reduceRule443() { + $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule444() { + $this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)]; + } + + protected function reduceRule445() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule446() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule447() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule448() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-1)], true, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule449() { + $this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); + } + + protected function reduceRule450() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule451() { + $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; + } + + protected function reduceRule452() { + $this->semValue = array($this->semStack[$this->stackPos-(1-1)]); + } + + protected function reduceRule453() { + $this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); + } + + protected function reduceRule454() { + $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule455() { + $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule456() { + $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(4-1)], 1), $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); + } + + protected function reduceRule457() { + $this->semValue = new Expr\PropertyFetch(new Expr\Variable(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule458() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + + protected function reduceRule459() { + $this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); + } + protected function reduceRule460() { - $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch(new Expr\Variable($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(6-4)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); } protected function reduceRule461() { - $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$this->stackPos-(3-2)]; } protected function reduceRule462() { + $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule463() { + $this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); + } + + protected function reduceRule464() { $this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); } } diff --git a/lib/PhpParser/PrettyPrinter/Standard.php b/lib/PhpParser/PrettyPrinter/Standard.php index 0fe26c99..a2e1fe2a 100644 --- a/lib/PhpParser/PrettyPrinter/Standard.php +++ b/lib/PhpParser/PrettyPrinter/Standard.php @@ -609,12 +609,12 @@ class Standard extends PrettyPrinterAbstract } public function pStmt_Declare(Stmt\Declare_ $node) { - return 'declare (' . $this->pCommaSeparated($node->declares) . ') {' - . $this->pStmts($node->stmts) . "\n" . '}'; + return 'declare (' . $this->pCommaSeparated($node->declares) . ')' + . (null !== $node->stmts ? ' {' . $this->pStmts($node->stmts) . "\n" . '}' : ';'); } public function pStmt_DeclareDeclare(Stmt\DeclareDeclare $node) { - return $node->key . ' = ' . $this->p($node->value); + return $node->key . '=' . $this->p($node->value); } // Control flow diff --git a/test/code/parser/stmt/declare.test b/test/code/parser/stmt/declare.test index 94c6b6bd..93afe67b 100644 --- a/test/code/parser/stmt/declare.test +++ b/test/code/parser/stmt/declare.test @@ -2,6 +2,8 @@ Declare -----