mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 12:24:39 +01:00
08215e7646
Fixes #469.
3154 lines
156 KiB
PHP
3154 lines
156 KiB
PHP
<?php
|
|
|
|
namespace PhpParser\Parser;
|
|
|
|
use PhpParser\Error;
|
|
use PhpParser\Node;
|
|
use PhpParser\Node\Expr;
|
|
use PhpParser\Node\Name;
|
|
use PhpParser\Node\Scalar;
|
|
use PhpParser\Node\Stmt;
|
|
|
|
/* This is an automatically GENERATED file, which should not be manually edited.
|
|
* Instead edit one of the following:
|
|
* * the grammar files grammar/php5.y or grammar/php7.y
|
|
* * the skeleton file grammar/parser.template
|
|
* * the preprocessing script grammar/rebuildParsers.php
|
|
*/
|
|
class Php5 extends \PhpParser\ParserAbstract
|
|
{
|
|
protected $tokenToSymbolMapSize = 392;
|
|
protected $actionTableSize = 1077;
|
|
protected $gotoTableSize = 591;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 407;
|
|
protected $YYNLSTATES = 669;
|
|
|
|
protected $symbolToName = array(
|
|
"EOF",
|
|
"error",
|
|
"T_INCLUDE",
|
|
"T_INCLUDE_ONCE",
|
|
"T_EVAL",
|
|
"T_REQUIRE",
|
|
"T_REQUIRE_ONCE",
|
|
"','",
|
|
"T_LOGICAL_OR",
|
|
"T_LOGICAL_XOR",
|
|
"T_LOGICAL_AND",
|
|
"T_PRINT",
|
|
"T_YIELD",
|
|
"T_DOUBLE_ARROW",
|
|
"T_YIELD_FROM",
|
|
"'='",
|
|
"T_PLUS_EQUAL",
|
|
"T_MINUS_EQUAL",
|
|
"T_MUL_EQUAL",
|
|
"T_DIV_EQUAL",
|
|
"T_CONCAT_EQUAL",
|
|
"T_MOD_EQUAL",
|
|
"T_AND_EQUAL",
|
|
"T_OR_EQUAL",
|
|
"T_XOR_EQUAL",
|
|
"T_SL_EQUAL",
|
|
"T_SR_EQUAL",
|
|
"T_POW_EQUAL",
|
|
"'?'",
|
|
"':'",
|
|
"T_COALESCE",
|
|
"T_BOOLEAN_OR",
|
|
"T_BOOLEAN_AND",
|
|
"'|'",
|
|
"'^'",
|
|
"'&'",
|
|
"T_IS_EQUAL",
|
|
"T_IS_NOT_EQUAL",
|
|
"T_IS_IDENTICAL",
|
|
"T_IS_NOT_IDENTICAL",
|
|
"T_SPACESHIP",
|
|
"'<'",
|
|
"T_IS_SMALLER_OR_EQUAL",
|
|
"'>'",
|
|
"T_IS_GREATER_OR_EQUAL",
|
|
"T_SL",
|
|
"T_SR",
|
|
"'+'",
|
|
"'-'",
|
|
"'.'",
|
|
"'*'",
|
|
"'/'",
|
|
"'%'",
|
|
"'!'",
|
|
"T_INSTANCEOF",
|
|
"'~'",
|
|
"T_INC",
|
|
"T_DEC",
|
|
"T_INT_CAST",
|
|
"T_DOUBLE_CAST",
|
|
"T_STRING_CAST",
|
|
"T_ARRAY_CAST",
|
|
"T_OBJECT_CAST",
|
|
"T_BOOL_CAST",
|
|
"T_UNSET_CAST",
|
|
"'@'",
|
|
"T_POW",
|
|
"'['",
|
|
"T_NEW",
|
|
"T_CLONE",
|
|
"T_EXIT",
|
|
"T_IF",
|
|
"T_ELSEIF",
|
|
"T_ELSE",
|
|
"T_ENDIF",
|
|
"T_LNUMBER",
|
|
"T_DNUMBER",
|
|
"T_STRING",
|
|
"T_STRING_VARNAME",
|
|
"T_VARIABLE",
|
|
"T_NUM_STRING",
|
|
"T_INLINE_HTML",
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
"T_ECHO",
|
|
"T_DO",
|
|
"T_WHILE",
|
|
"T_ENDWHILE",
|
|
"T_FOR",
|
|
"T_ENDFOR",
|
|
"T_FOREACH",
|
|
"T_ENDFOREACH",
|
|
"T_DECLARE",
|
|
"T_ENDDECLARE",
|
|
"T_AS",
|
|
"T_SWITCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"T_THROW",
|
|
"T_USE",
|
|
"T_INSTEADOF",
|
|
"T_GLOBAL",
|
|
"T_STATIC",
|
|
"T_ABSTRACT",
|
|
"T_FINAL",
|
|
"T_PRIVATE",
|
|
"T_PROTECTED",
|
|
"T_PUBLIC",
|
|
"T_VAR",
|
|
"T_UNSET",
|
|
"T_ISSET",
|
|
"T_EMPTY",
|
|
"T_HALT_COMPILER",
|
|
"T_CLASS",
|
|
"T_TRAIT",
|
|
"T_INTERFACE",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_C",
|
|
"T_TRAIT_C",
|
|
"T_METHOD_C",
|
|
"T_FUNC_C",
|
|
"T_LINE",
|
|
"T_FILE",
|
|
"T_START_HEREDOC",
|
|
"T_END_HEREDOC",
|
|
"T_DOLLAR_OPEN_CURLY_BRACES",
|
|
"T_CURLY_OPEN",
|
|
"T_PAAMAYIM_NEKUDOTAYIM",
|
|
"T_NAMESPACE",
|
|
"T_NS_C",
|
|
"T_DIR",
|
|
"T_NS_SEPARATOR",
|
|
"T_ELLIPSIS",
|
|
"';'",
|
|
"'{'",
|
|
"'}'",
|
|
"'('",
|
|
"')'",
|
|
"'$'",
|
|
"'`'",
|
|
"']'",
|
|
"'\"'"
|
|
);
|
|
|
|
protected $tokenToSymbol = array(
|
|
0, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 53, 156, 157, 153, 52, 35, 157,
|
|
151, 152, 50, 47, 7, 48, 49, 51, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 29, 148,
|
|
41, 15, 43, 28, 65, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 67, 157, 155, 34, 157, 154, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 149, 33, 150, 55, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 1, 2, 3, 4,
|
|
5, 6, 8, 9, 10, 11, 12, 13, 14, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 30, 31, 32, 36, 37, 38, 39, 40, 42,
|
|
44, 45, 46, 54, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 66, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 157, 157,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 157, 157, 157, 157,
|
|
157, 157, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147
|
|
);
|
|
|
|
protected $action = array(
|
|
674, 675, 676, 677, 678,-32766, 679, 680, 681, 717,
|
|
718, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
0, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32767,-32767,-32767,-32767, 442, 239, 240,-32766,-32766,
|
|
-32766,-32766, 682,-32766, 308,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32767,-32767,-32767,-32767,-32767, 683, 684, 685, 686,
|
|
687, 688, 689, 1174, 462, 749,-32766,-32766,-32766,-32766,
|
|
-32766, 25, 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,
|
|
743, 744, 745, 746, 747, 748, 708, 709, 710, 711,
|
|
741, 732, 730, 731, 727, 728, 520, 719, 725, 726,
|
|
733, 734, 736, 735, 737, 738, 54, 55, 422, 56,
|
|
57, 729, 740, 739, 421, 58, 59, 341, 60,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 9,-32767,
|
|
-32767,-32767,-32767, 52, 327,-32766, 331, 947, 948, 949,
|
|
946, 945, 944, 939, 1215, 29, 1217, 1216, 765, 766,
|
|
823, 61, 62, 1101, -269, 1180, 764, 63, 1174, 64,
|
|
293, 294, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
129, 26, 301, 73, 415,-32766,-32766,-32766,-32766, 1089,
|
|
1090, 751, 635, 1180,-32766, 920, 206, 466,-32766,-32766,
|
|
-32766, 824, 409,-32766, 313,-32766, 902,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 215, 216, 217, 430,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766, 122, 493, 947, 948, 949,
|
|
946, 945, 944, 202, 475, 476, 284, 625, 127, 336,
|
|
895, 896, 341, 479, 480, 1187, 1095, 1096, 1097, 1098,
|
|
1092, 1093, 309, 494, 10, 443, 427, 494, 1099, 1094,
|
|
427, 587, -220, 1212, 123, 41, 449, 336, 323, 1056,
|
|
324, 423, -122, -122, -122, -4, 824, 465, 101, 102,
|
|
103, 813, 303, 282, 40, 21, 424, -122, 467, -122,
|
|
468, -122, 469, -122, 104, 425, 215, 216, 217, 30,
|
|
31, 470, 426, 626, 32, 471, 427, 814, 74, 871,
|
|
925, 351, 352, 472, 473, 358, 202, 243, 1101, 474,
|
|
414, 1184, 795, 842, 477, 478, 300, 236, 237, 238,
|
|
35, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 239, 240, 1038, 423, 350, 826, 640,
|
|
-122, 824, 465, 215, 216, 217, 813, 1140, 241, 40,
|
|
21, 424, 48, 467, 440, 468, 334, 469, 297, 1038,
|
|
425, 977, 979, 202, 30, 31, 470, 426, 416, 32,
|
|
471, 1188, 1038, 74, 322, 1038, 351, 352, 472, 473,
|
|
-32766,-32766,-32766, 128, 474, 921, 811, 757, 842, 477,
|
|
478,-32767,-32767,-32767,-32767, 96, 97, 98, 99, 100,
|
|
-32766, 20,-32766,-32766,-32766,-32766, 895, 896, 335, 1038,
|
|
479, 423, -216, 826, 640, -4, 824, 465, 872, 494,
|
|
1207, 813, 427, 1206, 40, 21, 424, 299, 467, 121,
|
|
468, 1038, 469, -497, 118, 425, -201, -201, -201, 30,
|
|
31, 470, 426, 297, 32, 471, 810, 911, 74, 216,
|
|
217, 351, 352, 472, 473,-32766,-32766,-32766, 36, 474,
|
|
51, 340, 795, 842, 477, 478, 207, 751, 202, 1180,
|
|
126,-32766,-32766,-32766, 441,-32766, 417,-32766,-32766,-32766,
|
|
49, 33, 296,-32766,-32766,-32766, 423, 208, 826, 640,
|
|
-201,-32766, 465,-32766,-32766, 807, 813, 379, 117, 40,
|
|
21, 424, 1066, 467,-32766, 468, 217, 469, 805, 245,
|
|
425, -200, -200, -200, 30, 31, 470, 426, 1038, 32,
|
|
471, 286, 548, 74, 202, 824, 351, 352, 472, 473,
|
|
-32766,-32766,-32766, 494, 474, 125, 427, 795, 842, 477,
|
|
478, 431, 120, 336, 1038, 803, 78, 79, 80, 494,
|
|
-32766, 436, 427, 646, 642, 126,-32766,-32766,-32766, 244,
|
|
901, 246, 119, 826, 640, -200, 34, 298, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 209, 303, 202, 824, 423, 822, 1038, 215, 216,
|
|
217, 465, 131, 130, 104, 813, 578, 1038, 40, 21,
|
|
424, 650, 467, 835, 468, 647, 469, 315, 202, 425,
|
|
285, 104, 643, 30, 31, 470, 824,-32766, 32, 471,
|
|
295, 303, 74,-32766,-32766, 351, 352, 215, 216, 217,
|
|
-32766,-32766, 50, 474, 98, 99, 100, 233, 234, 235,
|
|
239, 240, 456, 593, 644, 451, 22, 202, 132, 359,
|
|
765, 766, 601, 602, 423, 758, 645, 924, 668, 301,
|
|
465, 47, 858, 640, 813, 936, 656, 40, 21, 424,
|
|
43, 467, 46, 468, 45, 469, 44, 53, 425, 751,
|
|
607, 514, 30, 31, 470, 824, 423, 32, 471, 778,
|
|
752, 74, 465, 437, 351, 352, 813, 535, 519, 40,
|
|
21, 424, 474, 467, 536, 468, 1210, 469, 515, 435,
|
|
425, 439, 518, 648, 30, 31, 470, 824, 624, 32,
|
|
471, 614, 604, 74, 1059, 581, 351, 352,-32766, 526,
|
|
634, 826, 640, 611, 474, 1139, 460, 434, 281, 621,
|
|
328, 844, 314, 539, 14, 653, -80, 597, 837, 584,
|
|
330, 843, 325, -398, 395, 423, 1146, 0, 0, 0,
|
|
0, 465, 1100, 826, 640, 813, 598, 0, 40, 21,
|
|
424, 0, 467, 0, 468, 0, 469, 0, 372, 425,
|
|
0, 326, 0, 30, 31, 470, 824, 423, 32, 471,
|
|
312, -498, 74, 465, -497, 351, 352, 813, 479, 0,
|
|
40, 21, 424, 474, 467, 374, 468, 5, 469, 6,
|
|
11, 425, -407, 13, -406, 30, 31, 470, 1036, 386,
|
|
32, 471, 411, 410, 74, 387, 528, 351, 352, 436,
|
|
856, 1213, 826, 640, 866, 474, 865, 874, 815, 800,
|
|
821, 809, 763, 661, 660, 39, 38, 854, 931, 932,
|
|
929, 859, 930, 820, 808, 761, 423, 928, 806, 804,
|
|
798, 812, 465, 762, 826, 640, 813, 649, 77, 40,
|
|
21, 424, 651, 467, 652, 468, 242, 469, 654, 655,
|
|
425, 658, 663, 664, 30, 31, 470, 665, 124, 32,
|
|
471, 332, 333, 74, 210, 211, 351, 352, 407, 641,
|
|
212, 408, 213, 768, 474, 767, 864, 455, 1211, 1181,
|
|
1179, 1165, 1177, 1080, 204, 913, 1185, 1175, 838, 210,
|
|
211, 1040, 1089, 1090, 1041, 212,-32766, 213, 829, 863,
|
|
1091, 1052, 759, 826, 640, 306, 839, 840, 760, 204,
|
|
1214, 796, 662, 841, 770, 769, 937, 1089, 1090, 831,
|
|
1042,-32766, 305, 304, 24, 1091, 27, 292, 291, 283,
|
|
307, 338, 413, 419, 28, 205, 37, 42, 76, 75,
|
|
-32766, 0, 1018, 1017, 1082, 571, -216, 567, 1105, 1095,
|
|
1096, 1097, 1098, 1092, 1093, 385, 903, 1046, 1043, 631,
|
|
561, 1099, 1094, 463, 459, 457, 452, 380, 214, 0,
|
|
-32766, 18, 567, -217, 1095, 1096, 1097, 1098, 1092, 1093,
|
|
385, 17, 16, 605, 0, -416, 1099, 1094, 1160, 1159,
|
|
1106, 1209, 1079, 214, 1176,-32766, 1047, 0, 1164, 1178,
|
|
1065, 1050, 1051, 1048, 1049, 0, 1145
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 8, 8, 9, 10, 11,
|
|
12, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
0, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 8, 9, 10, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 7, 66, 67, 31, 32,
|
|
33, 34, 54, 28, 7, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 68, 69, 70, 71,
|
|
72, 73, 74, 79, 7, 77, 31, 32, 33, 34,
|
|
35, 7, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 82, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
|
|
6, 143, 144, 145, 7, 11, 12, 153, 14, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 103, 41,
|
|
42, 43, 44, 67, 109, 79, 7, 112, 113, 114,
|
|
115, 116, 117, 118, 77, 7, 79, 80, 102, 103,
|
|
1, 47, 48, 139, 79, 79, 148, 53, 79, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
67, 67, 68, 69, 70, 8, 9, 10, 103, 75,
|
|
76, 77, 77, 79, 109, 148, 7, 83, 8, 9,
|
|
10, 1, 146, 118, 128, 28, 152, 30, 31, 32,
|
|
33, 34, 35, 8, 9, 10, 102, 151, 28, 153,
|
|
30, 31, 32, 33, 34, 149, 112, 112, 113, 114,
|
|
115, 116, 117, 28, 120, 121, 7, 77, 149, 153,
|
|
130, 131, 153, 129, 130, 1, 132, 133, 134, 135,
|
|
136, 137, 138, 143, 7, 7, 146, 143, 144, 145,
|
|
146, 82, 152, 150, 7, 151, 7, 153, 154, 152,
|
|
156, 71, 72, 73, 74, 0, 1, 77, 50, 51,
|
|
52, 81, 54, 13, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 66, 95, 8, 9, 10, 99,
|
|
100, 101, 102, 143, 104, 105, 146, 148, 108, 29,
|
|
150, 111, 112, 113, 114, 7, 28, 29, 139, 119,
|
|
7, 77, 122, 123, 124, 125, 35, 50, 51, 52,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 66, 67, 12, 71, 7, 148, 149,
|
|
150, 1, 77, 8, 9, 10, 81, 152, 13, 84,
|
|
85, 86, 67, 88, 29, 90, 7, 92, 35, 12,
|
|
95, 56, 57, 28, 99, 100, 101, 102, 103, 104,
|
|
105, 152, 12, 108, 109, 12, 111, 112, 113, 114,
|
|
8, 9, 10, 149, 119, 148, 148, 122, 123, 124,
|
|
125, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
28, 152, 30, 31, 32, 33, 130, 131, 143, 12,
|
|
129, 71, 152, 148, 149, 150, 1, 77, 148, 143,
|
|
79, 81, 146, 82, 84, 85, 86, 7, 88, 13,
|
|
90, 12, 92, 128, 149, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 35, 104, 105, 148, 79, 108, 9,
|
|
10, 111, 112, 113, 114, 8, 9, 10, 13, 119,
|
|
67, 67, 122, 123, 124, 125, 15, 77, 28, 79,
|
|
147, 8, 9, 10, 149, 28, 123, 30, 31, 32,
|
|
67, 140, 141, 8, 9, 10, 71, 15, 148, 149,
|
|
150, 28, 77, 30, 31, 148, 81, 78, 15, 84,
|
|
85, 86, 112, 88, 151, 90, 10, 92, 148, 15,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 12, 104,
|
|
105, 153, 128, 108, 28, 1, 111, 112, 113, 114,
|
|
8, 9, 10, 143, 119, 29, 146, 122, 123, 124,
|
|
125, 151, 149, 153, 12, 148, 8, 9, 10, 143,
|
|
28, 146, 146, 29, 149, 147, 31, 32, 33, 15,
|
|
152, 15, 149, 148, 149, 150, 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, 15, 54, 28, 1, 71, 29, 12, 8, 9,
|
|
10, 77, 149, 29, 66, 81, 153, 12, 84, 85,
|
|
86, 29, 88, 35, 90, 29, 92, 29, 28, 95,
|
|
35, 66, 29, 99, 100, 101, 1, 31, 104, 105,
|
|
35, 54, 108, 31, 32, 111, 112, 8, 9, 10,
|
|
8, 9, 67, 119, 47, 48, 49, 47, 48, 49,
|
|
66, 67, 72, 73, 29, 72, 73, 28, 97, 98,
|
|
102, 103, 106, 107, 71, 148, 149, 148, 149, 68,
|
|
77, 67, 148, 149, 81, 148, 149, 84, 85, 86,
|
|
67, 88, 67, 90, 67, 92, 67, 67, 95, 77,
|
|
74, 77, 99, 100, 101, 1, 71, 104, 105, 77,
|
|
77, 108, 77, 77, 111, 112, 81, 77, 77, 84,
|
|
85, 86, 119, 88, 77, 90, 77, 92, 77, 77,
|
|
95, 86, 79, 29, 99, 100, 101, 1, 79, 104,
|
|
105, 79, 79, 108, 79, 87, 111, 112, 82, 82,
|
|
89, 148, 149, 93, 119, 155, 102, 102, 94, 91,
|
|
110, 123, 128, 94, 94, 29, 94, 96, 147, 96,
|
|
126, 123, 126, 142, 146, 71, 139, -1, -1, -1,
|
|
-1, 77, 139, 148, 149, 81, 109, -1, 84, 85,
|
|
86, -1, 88, -1, 90, -1, 92, -1, 142, 95,
|
|
-1, 127, -1, 99, 100, 101, 1, 71, 104, 105,
|
|
128, 128, 108, 77, 128, 111, 112, 81, 129, -1,
|
|
84, 85, 86, 119, 88, 146, 90, 142, 92, 142,
|
|
142, 95, 142, 142, 142, 99, 100, 101, 154, 146,
|
|
104, 105, 146, 146, 108, 146, 146, 111, 112, 146,
|
|
148, 150, 148, 149, 148, 119, 148, 148, 148, 148,
|
|
148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
|
|
148, 148, 148, 148, 148, 148, 71, 148, 148, 148,
|
|
148, 148, 77, 148, 148, 149, 81, 149, 149, 84,
|
|
85, 86, 149, 88, 149, 90, 29, 92, 149, 149,
|
|
95, 149, 149, 149, 99, 100, 101, 149, 149, 104,
|
|
105, 149, 149, 108, 47, 48, 111, 112, 149, 149,
|
|
53, 149, 55, 150, 119, 150, 150, 150, 150, 150,
|
|
150, 150, 150, 150, 67, 150, 150, 150, 150, 47,
|
|
48, 150, 75, 76, 150, 53, 79, 55, 150, 150,
|
|
83, 150, 150, 148, 149, 151, 150, 150, 150, 67,
|
|
150, 150, 150, 150, 150, 150, 150, 75, 76, 150,
|
|
152, 79, 151, 151, 151, 83, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, -1, 152, 152, 152, 152, 152, 130, 152, 132,
|
|
133, 134, 135, 136, 137, 138, 152, 152, 152, 152,
|
|
152, 144, 145, 152, 152, 152, 152, 152, 151, -1,
|
|
153, 152, 130, 152, 132, 133, 134, 135, 136, 137,
|
|
138, 152, 152, 155, -1, 154, 144, 145, 155, 155,
|
|
155, 155, 155, 151, 155, 153, 155, -1, 155, 155,
|
|
155, 155, 155, 155, 155, -1, 156
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 220, 295, 370, 445, 109, 109, 180, 744, -2,
|
|
-2, -2, -2, -2, 135, 655, 724, 756, 724, 623,
|
|
554, 825, 825, 825, 438, 353, 625, 625, 862, 625,
|
|
427, 390, 377, 449, 536, 615, 562, 393, 393, 393,
|
|
393, 134, 134, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
|
|
393, 393, 393, 300, 179, 446, 475, 751, 750, 746,
|
|
745, 838, 684, 860, 798, 799, 604, 800, 801, 802,
|
|
803, 805, 797, 806, 898, 807, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, -3, 365, 225,
|
|
308, 620, 662, 659, 659, 659, 659, 659, 659, 659,
|
|
505, 505, 505, 505, 505, 505, 505, 505, 505, 505,
|
|
505, 505, 505, 505, 505, 505, 505, 470, 552, 552,
|
|
552, 526, 887, 595, 912, 912, 912, 912, 912, 912,
|
|
912, 912, 912, 912, 912, 912, 912, 912, 912, 912,
|
|
912, 912, 912, 912, 912, 912, 912, 912, 912, 912,
|
|
912, 912, 912, 912, 912, 912, 912, 912, 912, 912,
|
|
912, 912, 912, 912, 912, 912, 912, 493, -20, -20,
|
|
477, 626, 402, 632, 210, 555, 197, 25, 25, 25,
|
|
25, 25, 17, 45, 5, 5, 5, 5, 335, 380,
|
|
380, 380, 380, 118, 118, 118, 118, 833, 827, 826,
|
|
821, 311, 311, 709, 709, 631, 779, 627, 627, 630,
|
|
630, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 383, 105, 859, 130, 130, 130, 130, 306, 44,
|
|
657, 920, 264, 264, 264, 306, 248, 248, 248, 297,
|
|
297, 297, 76, 687, 371, 86, 86, 86, 86, 371,
|
|
86, 86, 588, 588, 588, 435, 759, 686, 436, 443,
|
|
97, 483, 693, 819, 691, 796, 549, 710, 96, 717,
|
|
716, 398, 675, 613, 610, 586, 651, 355, 398, 300,
|
|
557, 423, 607, 753, 667, 38, 747, 328, 268, 424,
|
|
547, 315, -6, 279, 782, 755, 863, 861, 249, 133,
|
|
703, 607, 607, 607, 74, 199, 783, 789, 315, 290,
|
|
614, 614, 614, 614, 835, 792, 614, 614, 614, 614,
|
|
834, 795, 267, 67, 793, 137, 749, 642, 642, 642,
|
|
642, 642, 642, 608, 642, 853, 671, 843, 843, 660,
|
|
683, 608, 856, 856, 856, 856, 608, 642, 843, 843,
|
|
608, 631, 843, 168, 608, 666, 642, 664, 664, 856,
|
|
736, 735, 671, 673, 694, 843, 843, 843, 694, 660,
|
|
608, 856, 697, 641, 209, 843, 856, 618, 618, 697,
|
|
608, 618, 683, 618, 20, 597, 643, 855, 858, 852,
|
|
644, 790, 668, 658, 847, 846, 857, 661, 672, 848,
|
|
845, 720, 734, 733, 656, 513, 649, 647, 645, 634,
|
|
705, 605, 702, 675, 723, 585, 585, 585, 706, 707,
|
|
706, 585, 585, 585, 585, 585, 585, 585, 585, 911,
|
|
712, 676, 654, 665, 732, 481, 699, 689, 502, 772,
|
|
663, 720, 720, 831, 876, 885, 901, 704, 653, 842,
|
|
878, 706, 919, 738, 277, 606, 841, 832, 713, 652,
|
|
719, 706, 824, 706, 773, 706, 875, 830, 669, 720,
|
|
828, 585, 874, 918, 917, 916, 915, 914, 913, 903,
|
|
909, 650, 907, 731, 678, 884, 47, 854, 651, 708,
|
|
648, 730, 159, 906, 822, 706, 706, 774, 759, 706,
|
|
778, 729, 737, 900, 728, 883, 905, 663, 882, 706,
|
|
674, 904, 159, 616, 646, 891, 680, 726, 851, 682,
|
|
866, 850, 758, 574, 524, 721, 612, 752, 899, 889,
|
|
864, 743, 763, 765, 576, 688, 685, 679, 839, 769,
|
|
849, 722, 808, 811, 877, 692, 723, 711, 670, 690,
|
|
681, 770, 814, 881, 739, 740, 741, 818, 742, 836,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
134, 134, 134, 134, -2, -2, -2, -2, 0, 0,
|
|
0, 0, 0, -2, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
0, 0, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 568, -20, -20, -20,
|
|
-20, 568, -20, -20, -20, -20, -20, -20, -20, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, -20, 568, 568, 568,
|
|
-20, 420, -20, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 420, 420, 420, 420, 420, 568, 0, 0, 568,
|
|
-20, 568, -20, 568, -20, 568, 568, 568, 568, 568,
|
|
568, -20, -20, -20, -20, -20, -20, 0, 248, 248,
|
|
248, 248, -20, -20, -20, -20, 55, 55, 55, 55,
|
|
420, 420, 420, 420, 420, 420, 248, 248, 297, 297,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
420, 55, 420, 642, 642, 642, 642, 642, 371, 371,
|
|
371, 106, 106, 106, 642, 0, 0, 0, 0, 0,
|
|
0, 642, 371, 0, 420, 420, 420, 420, 0, 420,
|
|
420, 642, 642, 642, 642, 106, 371, 642, 843, 0,
|
|
106, 591, 591, 591, 591, 159, 315, 0, 642, 642,
|
|
0, 673, 0, 0, 0, 843, 0, 0, 0, 0,
|
|
0, 585, 277, 842, 0, 360, 0, 0, 0, 0,
|
|
0, 0, 0, 653, 360, 450, 450, 0, 0, 650,
|
|
585, 585, 585, 0, 0, 653, 653, 0, 0, 0,
|
|
0, 0, 0, 379, 653, 0, 0, 0, 0, 379,
|
|
333, 0, 0, 333, 0, 159
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,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, 525, 525,32767, 481,
|
|
32767,32767,32767,32767,32767,32767,32767, 287, 287, 287,
|
|
32767,32767,32767, 513, 513, 513, 513, 513, 513, 513,
|
|
513, 513, 513, 513,32767,32767,32767,32767,32767, 369,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 375, 530,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 350, 351, 353, 354,
|
|
286, 514, 237, 376, 529, 285, 239, 314, 485,32767,
|
|
32767,32767, 316, 116, 248, 193, 484, 119, 284, 224,
|
|
368, 370, 315, 291, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 290, 441, 347, 346,
|
|
345, 443,32767, 442, 478, 478, 481,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, 312, 469, 468,
|
|
313, 439, 317, 440, 319, 444, 318, 335, 336, 333,
|
|
334, 337, 446, 445, 462, 463, 460, 461, 289, 338,
|
|
339, 340, 341, 464, 465, 466, 467, 271, 271, 271,
|
|
271,32767,32767, 524, 524,32767,32767, 326, 327, 453,
|
|
454,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 272,32767, 228, 228, 228, 228, 228,32767,
|
|
32767,32767,32767,32767,32767,32767, 321, 322, 320, 448,
|
|
449, 447,32767, 415,32767,32767,32767,32767,32767, 417,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 486,
|
|
32767,32767,32767,32767,32767,32767,32767, 499, 404,32767,
|
|
32767,32767, 397, 212, 214, 161, 472,32767,32767,32767,
|
|
32767, 504, 331,32767,32767,32767,32767,32767,32767, 539,
|
|
32767, 499,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
344, 323, 324, 325,32767,32767,32767,32767, 503, 497,
|
|
456, 457, 458, 459,32767,32767, 450, 451, 452, 455,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 165,32767, 412,32767, 418, 418,32767,
|
|
32767, 165,32767,32767,32767,32767, 165,32767, 502, 501,
|
|
165,32767, 398, 480, 165, 178,32767, 176, 176,32767,
|
|
198, 198,32767,32767, 180, 473, 492,32767, 180,32767,
|
|
165,32767, 386, 167, 480,32767,32767, 230, 230, 386,
|
|
165, 230,32767, 230,32767, 82, 422,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 399,32767,32767,32767,32767, 365, 366, 475, 488,
|
|
32767, 489,32767, 397,32767, 329, 330, 332, 309,32767,
|
|
311, 355, 356, 357, 358, 359, 360, 361, 363,32767,
|
|
402,32767, 405,32767,32767,32767, 84, 108, 247,32767,
|
|
537, 84, 400,32767,32767, 294, 537,32767,32767,32767,
|
|
32767, 532,32767,32767, 288,32767,32767,32767, 84,32767,
|
|
84, 243,32767, 163,32767, 522,32767, 497,32767, 401,
|
|
32767, 328,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 498,32767,32767,32767,32767, 219,32767, 435,32767,
|
|
84,32767, 179,32767,32767, 292, 238,32767,32767, 531,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 164,
|
|
32767,32767, 181,32767,32767, 497,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 283,32767,32767,32767,32767,32767,
|
|
497,32767,32767,32767, 223,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 82, 60,32767, 265,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
121, 121, 3, 121, 121, 3, 121, 121, 121, 121,
|
|
121, 121, 121, 121, 121, 121, 121, 206, 250, 209,
|
|
198, 198, 158, 250, 250, 250, 121, 121, 257
|
|
);
|
|
|
|
protected $goto = array(
|
|
162, 162, 136, 136, 141, 136, 137, 138, 139, 144,
|
|
146, 183, 164, 160, 160, 160, 160, 141, 141, 161,
|
|
161, 161, 161, 161, 161, 161, 161, 161, 161, 161,
|
|
156, 157, 158, 159, 180, 135, 181, 495, 496, 362,
|
|
497, 501, 502, 503, 504, 505, 506, 507, 508, 964,
|
|
140, 142, 143, 145, 167, 172, 182, 198, 247, 250,
|
|
252, 254, 256, 257, 258, 259, 260, 261, 269, 270,
|
|
271, 272, 287, 288, 316, 317, 318, 381, 382, 383,
|
|
551, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 147, 148, 149, 163, 150, 165,
|
|
151, 199, 166, 152, 153, 154, 200, 155, 133, 627,
|
|
569, 786, 569, 569, 569, 569, 569, 569, 569, 569,
|
|
569, 569, 569, 569, 569, 569, 569, 569, 569, 569,
|
|
569, 569, 569, 569, 569, 569, 569, 569, 569, 569,
|
|
569, 569, 569, 569, 569, 569, 569, 569, 569, 569,
|
|
569, 569, 569, 569, 569, 1102, 636, 1102, 1102, 1102,
|
|
1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102,
|
|
1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102,
|
|
1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102,
|
|
1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102,
|
|
525, 817, 499, 499, 499, 499, 499, 499, 1171, 510,
|
|
1171, 510, 499, 499, 499, 499, 499, 499, 499, 499,
|
|
499, 499, 511, 552, 511, 582, 608, 524, 887, 887,
|
|
1192, 1192, 755, 851, 851, 851, 851, 170, 846, 852,
|
|
524, 524, 173, 174, 175, 390, 391, 392, 393, 169,
|
|
197, 201, 203, 251, 253, 255, 262, 263, 264, 265,
|
|
266, 267, 273, 274, 275, 276, 289, 290, 319, 320,
|
|
321, 396, 397, 398, 399, 171, 176, 248, 249, 177,
|
|
178, 179, 389, 610, 545, 545, 575, 541, 8, 343,
|
|
1078, 1077, 543, 543, 498, 500, 531, 547, 576, 579,
|
|
589, 595, 550, 756, 568, 574, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
|
|
568, 568, 568, 568, 568, 568, 568, 568, 568, 516,
|
|
445, 447, 935, 638, 329, 311, 1103, 620, 933, 521,
|
|
521, 521, 521, 779, 553, 554, 555, 556, 557, 558,
|
|
559, 560, 562, 591, 857, 613, 540, 521, 619, 512,
|
|
360, 512, 905, 432, 432, 432, 432, 432, 432, 546,
|
|
779, 779, 1196, 432, 432, 432, 432, 432, 432, 432,
|
|
432, 432, 432, 1067, 1163, 1067, 894, 894, 894, 894,
|
|
894, 1170, 363, 1170, 585, 588, 633, 894, 371, 371,
|
|
371, 1060, 1186, 1186, 1186, 3, 4, 1067, 1067, 1067,
|
|
1067, 600, 1067, 1067, 521, 521, 538, 570, 521, 521,
|
|
617, 521, 371, 1151, 962, 609, 1169, 388, 772, 772,
|
|
780, 780, 780, 782, 522, 771, 1189, 1202, 1202, 537,
|
|
377, 659, 564, 549, 596, 884, 615, 618, 880, 622,
|
|
623, 630, 632, 637, 639, 900, 1202, 1203, 1203, 364,
|
|
592, 346, 406, 529, 1205, 754, 891, 542, 278, 279,
|
|
280, 1011, 349, 1063, 1064, 400, 1203, 1060, 873, 855,
|
|
853, 855, 657, 453, 513, 882, 877, 1083, 344, 345,
|
|
1061, 1162, 1061, 12, 1021, 19, 15, 357, 775, 773,
|
|
1062, 370, 375, 909, 404, 666, 1053, 448, 1058, 783,
|
|
580, 563, 861, 914, 1148, 461, 951, 0, 0, 0,
|
|
0, 0, 0, 23, 0, 0, 0, 0, 606, 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, 943, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
530
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 53,
|
|
63, 25, 63, 63, 63, 63, 63, 63, 63, 63,
|
|
63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
|
|
63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
|
|
63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
|
|
63, 63, 63, 63, 63, 119, 5, 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,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
94, 46, 110, 110, 110, 110, 110, 110, 111, 63,
|
|
111, 63, 110, 110, 110, 110, 110, 110, 110, 110,
|
|
110, 110, 110, 40, 110, 36, 36, 40, 71, 71,
|
|
71, 71, 11, 63, 63, 63, 63, 23, 63, 63,
|
|
40, 40, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 47, 47, 47, 47, 47, 47, 91, 66,
|
|
117, 117, 47, 47, 47, 47, 47, 47, 47, 47,
|
|
47, 47, 2, 12, 53, 2, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 8,
|
|
7, 7, 7, 7, 118, 118, 7, 7, 7, 8,
|
|
8, 8, 8, 19, 103, 103, 103, 103, 103, 103,
|
|
103, 103, 103, 103, 29, 57, 8, 8, 57, 115,
|
|
57, 115, 78, 53, 53, 53, 53, 53, 53, 102,
|
|
19, 19, 132, 53, 53, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 76, 53, 53, 53, 53, 53,
|
|
53, 112, 43, 112, 56, 56, 56, 53, 116, 116,
|
|
116, 76, 112, 112, 112, 26, 26, 53, 53, 53,
|
|
53, 120, 53, 53, 8, 8, 8, 8, 8, 8,
|
|
53, 8, 116, 124, 94, 45, 112, 116, 19, 19,
|
|
19, 19, 19, 19, 8, 19, 130, 133, 133, 28,
|
|
44, 28, 28, 8, 28, 28, 28, 28, 28, 28,
|
|
28, 28, 28, 28, 28, 75, 133, 134, 134, 54,
|
|
64, 64, 64, 54, 133, 10, 73, 54, 61, 61,
|
|
61, 95, 14, 76, 76, 18, 134, 76, 10, 10,
|
|
10, 10, 10, 54, 10, 10, 10, 30, 66, 66,
|
|
76, 76, 76, 54, 30, 30, 30, 30, 21, 20,
|
|
76, 9, 13, 79, 17, 68, 106, 59, 108, 22,
|
|
60, 30, 65, 80, 123, 101, 93, -1, -1, -1,
|
|
-1, -1, -1, 30, -1, -1, -1, -1, 30, -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, 91, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
94
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -340, 0, 0, 142, 0, 345, 27, 186,
|
|
483, 230, 301, 173, 170, 0, 0, 116, 162, 41,
|
|
169, 184, 87, 35, 0, 101, -241, 0, -182, 354,
|
|
92, 0, 0, 0, 0, 0, 187, 0, 0, -24,
|
|
199, 0, 0, 372, 168, 163, 183, 1, 0, 0,
|
|
0, 0, 0, 102, 53, 0, 109, -83, 0, 89,
|
|
82, -175, 0, -92, 154, 83, -152, 0, 166, 0,
|
|
0, -53, 0, 178, 0, 160, 65, 0, 357, 165,
|
|
90, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 274, 0, 74, 159, 188, 0, 0, 0, 0,
|
|
0, 76, 362, 320, 0, 0, 108, 0, 107, 0,
|
|
-79, -93, 110, 0, 0, 78, 106, -23, 31, -47,
|
|
226, 0, 0, 80, 237, 0, 0, 0, 0, 0,
|
|
172, 0, 363, 147, 167, 0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 464, 670, 2, 671, 742, 750, 603, 481, 517,
|
|
792, 793, 794, 366, 412, 482, 365, 401, 394, 781,
|
|
774, 776, 784, 168, 402, 787, 1, 789, 523, 825,
|
|
1012, 353, 797, 354, 594, 799, 533, 801, 802, 134,
|
|
483, 367, 368, 534, 376, 583, 816, 268, 373, 818,
|
|
355, 819, 828, 356, 616, 599, 565, 612, 484, 444,
|
|
577, 277, 544, 1075, 572, 860, 342, 868, 667, 876,
|
|
879, 485, 566, 890, 450, 898, 1088, 384, 904, 910,
|
|
915, 918, 420, 403, 590, 922, 923, 7, 927, 628,
|
|
629, 942, 302, 950, 963, 418, 1031, 1033, 486, 487,
|
|
527, 458, 509, 532, 488, 1054, 438, 405, 1057, 489,
|
|
490, 428, 429, 1072, 348, 1156, 347, 446, 310, 1143,
|
|
586, 1107, 454, 1195, 1152, 339, 491, 492, 361, 378,
|
|
1190, 433, 1197, 1204, 337, 369, 573
|
|
);
|
|
|
|
protected $ruleToNonTerminal = array(
|
|
0, 1, 3, 3, 2, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
|
|
7, 7, 8, 8, 9, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 14, 14, 15, 15,
|
|
15, 15, 17, 17, 13, 13, 18, 18, 19, 19,
|
|
20, 20, 21, 21, 16, 16, 22, 24, 24, 25,
|
|
26, 26, 28, 27, 27, 27, 27, 29, 29, 29,
|
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
|
29, 29, 29, 29, 29, 29, 10, 10, 50, 50,
|
|
52, 51, 51, 44, 44, 54, 54, 55, 55, 11,
|
|
12, 12, 12, 58, 58, 58, 59, 59, 62, 62,
|
|
60, 60, 64, 64, 37, 37, 46, 46, 49, 49,
|
|
49, 48, 48, 65, 38, 38, 38, 38, 66, 66,
|
|
67, 67, 68, 68, 35, 35, 31, 31, 69, 33,
|
|
33, 70, 32, 32, 34, 34, 45, 45, 45, 56,
|
|
56, 72, 72, 73, 73, 75, 75, 75, 74, 74,
|
|
57, 57, 76, 76, 76, 77, 77, 78, 78, 78,
|
|
41, 41, 79, 79, 79, 42, 42, 80, 80, 61,
|
|
61, 81, 81, 81, 81, 86, 86, 87, 87, 88,
|
|
88, 88, 88, 88, 89, 90, 90, 85, 85, 82,
|
|
82, 84, 84, 92, 92, 91, 91, 91, 91, 91,
|
|
91, 83, 83, 93, 93, 43, 43, 36, 36, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 30, 30, 40, 40, 98, 98, 99,
|
|
99, 99, 99, 105, 94, 94, 101, 101, 107, 107,
|
|
108, 109, 109, 109, 109, 109, 109, 63, 63, 53,
|
|
53, 53, 95, 95, 113, 113, 110, 110, 114, 114,
|
|
114, 114, 96, 96, 96, 100, 100, 100, 106, 106,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 23, 23, 23, 23, 23, 23, 121,
|
|
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
|
|
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
|
|
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
|
|
121, 121, 104, 104, 97, 97, 97, 97, 120, 120,
|
|
123, 123, 122, 122, 124, 124, 47, 47, 47, 47,
|
|
126, 126, 125, 125, 125, 125, 125, 127, 127, 112,
|
|
112, 115, 115, 111, 111, 128, 128, 128, 128, 116,
|
|
116, 116, 116, 103, 103, 117, 117, 117, 117, 71,
|
|
129, 129, 130, 130, 130, 102, 102, 131, 131, 132,
|
|
132, 132, 132, 118, 118, 118, 118, 134, 135, 133,
|
|
133, 133, 133, 133, 133, 133, 136, 136, 136
|
|
);
|
|
|
|
protected $ruleToLength = array(
|
|
1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 3, 1, 1, 1, 1, 1, 3,
|
|
5, 4, 3, 4, 2, 3, 1, 1, 7, 8,
|
|
6, 7, 3, 1, 3, 1, 3, 1, 1, 3,
|
|
1, 2, 1, 2, 3, 1, 3, 3, 1, 3,
|
|
2, 0, 1, 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,
|
|
6, 3, 3, 2, 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, 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, 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, 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, 1, 4,
|
|
3, 1, 1, 1, 0, 0, 2, 3, 1, 3,
|
|
1, 4, 2, 2, 2, 1, 2, 1, 1, 1,
|
|
4, 3, 3, 3, 6, 3, 1, 1, 1
|
|
);
|
|
|
|
protected function reduceRule0() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule1() {
|
|
$this->semValue = $this->handleNamespaces($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule2() {
|
|
if (is_array($this->semStack[$this->stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); } else { $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function reduceRule3() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule4() {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$this->stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule5() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule6() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule7() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule8() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule9() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule10() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule11() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule12() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule13() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule14() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule15() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule16() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule17() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule18() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule19() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule20() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule21() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule22() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule23() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule24() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule25() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule26() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule27() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule28() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule29() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule30() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule31() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule32() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule33() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule34() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule35() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule36() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule37() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule38() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule39() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule40() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule41() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule42() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule43() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule44() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule45() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule46() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule47() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule48() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule49() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule50() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule51() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule52() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule53() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule54() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule55() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule56() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule57() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule58() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule59() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule60() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule61() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule62() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule63() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule64() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule65() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule66() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule67() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule68() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule69() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule70() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule71() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule72() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule73() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule74() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule75() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule76() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule77() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule78() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule79() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule80() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule81() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule82() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule83() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule84() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule85() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule86() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule87() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule88() {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule89() {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$this->stackPos-(3-2)], null, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule90() {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule91() {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule92() {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$this->stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule93() {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule94() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule95() {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule96() {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
}
|
|
|
|
protected function reduceRule97() {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
}
|
|
|
|
protected function reduceRule98() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(7-3)], $this->startAttributeStack[$this->stackPos-(7-3)] + $this->endAttributeStack[$this->stackPos-(7-3)]), $this->semStack[$this->stackPos-(7-6)], $this->semStack[$this->stackPos-(7-2)], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule99() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(8-4)], $this->startAttributeStack[$this->stackPos-(8-4)] + $this->endAttributeStack[$this->stackPos-(8-4)]), $this->semStack[$this->stackPos-(8-7)], $this->semStack[$this->stackPos-(8-2)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule100() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-2)] + $this->endAttributeStack[$this->stackPos-(6-2)]), $this->semStack[$this->stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule101() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(7-3)], $this->startAttributeStack[$this->stackPos-(7-3)] + $this->endAttributeStack[$this->stackPos-(7-3)]), $this->semStack[$this->stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule102() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule103() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule104() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule105() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule106() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule107() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule108() {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$this->stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $this->stackPos-(1-1));
|
|
}
|
|
|
|
protected function reduceRule109() {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $this->stackPos-(3-3));
|
|
}
|
|
|
|
protected function reduceRule110() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule111() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule112() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
}
|
|
|
|
protected function reduceRule113() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)]; $this->semValue->type = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule114() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule115() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule116() {
|
|
$this->semValue = new Node\Const_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule117() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule118() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule119() {
|
|
$this->semValue = new Node\Const_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule120() {
|
|
if (is_array($this->semStack[$this->stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); } else { $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function reduceRule121() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule122() {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$this->stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule123() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule124() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule125() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule126() {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule127() {
|
|
|
|
if ($this->semStack[$this->stackPos-(3-2)]) {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)]; $attrs = $this->startAttributeStack[$this->stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments'])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
} else {
|
|
$startAttributes = $this->startAttributeStack[$this->stackPos-(3-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $this->semValue = null; };
|
|
if (null === $this->semValue) { $this->semValue = array(); }
|
|
}
|
|
|
|
}
|
|
|
|
protected function reduceRule128() {
|
|
$this->semValue = new Stmt\If_($this->semStack[$this->stackPos-(5-2)], ['stmts' => is_array($this->semStack[$this->stackPos-(5-3)]) ? $this->semStack[$this->stackPos-(5-3)] : array($this->semStack[$this->stackPos-(5-3)]), 'elseifs' => $this->semStack[$this->stackPos-(5-4)], 'else' => $this->semStack[$this->stackPos-(5-5)]], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule129() {
|
|
$this->semValue = new Stmt\If_($this->semStack[$this->stackPos-(8-2)], ['stmts' => $this->semStack[$this->stackPos-(8-4)], 'elseifs' => $this->semStack[$this->stackPos-(8-5)], 'else' => $this->semStack[$this->stackPos-(8-6)]], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule130() {
|
|
$this->semValue = new Stmt\While_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule131() {
|
|
$this->semValue = new Stmt\Do_($this->semStack[$this->stackPos-(5-4)], is_array($this->semStack[$this->stackPos-(5-2)]) ? $this->semStack[$this->stackPos-(5-2)] : array($this->semStack[$this->stackPos-(5-2)]), $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule132() {
|
|
$this->semValue = new Stmt\For_(['init' => $this->semStack[$this->stackPos-(9-3)], 'cond' => $this->semStack[$this->stackPos-(9-5)], 'loop' => $this->semStack[$this->stackPos-(9-7)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule133() {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule134() {
|
|
$this->semValue = new Stmt\Break_(null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule135() {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule136() {
|
|
$this->semValue = new Stmt\Continue_(null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule137() {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule138() {
|
|
$this->semValue = new Stmt\Return_(null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule139() {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule140() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule141() {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule142() {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule143() {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule144() {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule145() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule146() {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$this->stackPos-(5-3)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule147() {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$this->stackPos-(7-3)], $this->semStack[$this->stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$this->stackPos-(7-5)][1], 'stmts' => $this->semStack[$this->stackPos-(7-7)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule148() {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$this->stackPos-(9-3)], $this->semStack[$this->stackPos-(9-7)][0], ['keyVar' => $this->semStack[$this->stackPos-(9-5)], 'byRef' => $this->semStack[$this->stackPos-(9-7)][1], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule149() {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule150() {
|
|
$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); $this->checkTryCatch($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule151() {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule152() {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule153() {
|
|
$this->semValue = new Stmt\Label($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule154() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule155() {
|
|
$this->semValue = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function reduceRule156() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule157() {
|
|
$startAttributes = $this->startAttributeStack[$this->stackPos-(1-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $this->semValue = null; };
|
|
if ($this->semValue === null) $this->semValue = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function reduceRule158() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule159() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule160() {
|
|
$this->semValue = new Stmt\Catch_(array($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 reduceRule161() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule162() {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule163() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule164() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule165() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule166() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule167() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule168() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule169() {
|
|
$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 reduceRule170() {
|
|
$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);
|
|
$this->checkClass($this->semValue, $this->stackPos-(7-2));
|
|
}
|
|
|
|
protected function reduceRule171() {
|
|
$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);
|
|
$this->checkInterface($this->semValue, $this->stackPos-(6-2));
|
|
}
|
|
|
|
protected function reduceRule172() {
|
|
$this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], ['stmts' => $this->semStack[$this->stackPos-(5-4)]], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule173() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule174() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule175() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule176() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule177() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule178() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule179() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule180() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule181() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule182() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule183() {
|
|
$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 = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule185() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
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 reduceRule187() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
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 = null;
|
|
}
|
|
|
|
protected function reduceRule190() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule191() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule192() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule193() {
|
|
$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 reduceRule194() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule195() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule196() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule197() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(5-3)];
|
|
}
|
|
|
|
protected function reduceRule198() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule199() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule200() {
|
|
$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 reduceRule201() {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule202() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule203() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule204() {
|
|
$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 reduceRule205() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule206() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule207() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule208() {
|
|
$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 reduceRule209() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule210() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule211() {
|
|
$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 reduceRule212() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule213() {
|
|
$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 reduceRule214() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule215() {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule216() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule217() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-2)], true);
|
|
}
|
|
|
|
protected function reduceRule218() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule219() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule220() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule221() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule222() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule223() {
|
|
$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->checkParam($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule224() {
|
|
$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->checkParam($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule225() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule226() {
|
|
$this->semValue = 'array';
|
|
}
|
|
|
|
protected function reduceRule227() {
|
|
$this->semValue = 'callable';
|
|
}
|
|
|
|
protected function reduceRule228() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule229() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule230() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule231() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule232() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule233() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule234() {
|
|
$this->semValue = array(new Node\Arg($this->semStack[$this->stackPos-(3-2)], false, false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes));
|
|
}
|
|
|
|
protected function reduceRule235() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule236() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule237() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule238() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule239() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule240() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule241() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule242() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule243() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule244() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule245() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule246() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule247() {
|
|
$this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule248() {
|
|
$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 reduceRule249() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule250() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule251() {
|
|
$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->checkProperty($this->semValue, $this->stackPos-(3-1));
|
|
}
|
|
|
|
protected function reduceRule252() {
|
|
$this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(3-2)], 0, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule253() {
|
|
$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);
|
|
$this->checkClassMethod($this->semValue, $this->stackPos-(9-1));
|
|
}
|
|
|
|
protected function reduceRule254() {
|
|
$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 reduceRule255() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule256() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule257() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule258() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule259() {
|
|
$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 reduceRule260() {
|
|
$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 reduceRule261() {
|
|
$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 reduceRule262() {
|
|
$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 reduceRule263() {
|
|
$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 reduceRule264() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]);
|
|
}
|
|
|
|
protected function reduceRule265() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule266() {
|
|
$this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule267() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule268() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule269() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule270() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule271() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule272() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule273() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule274() {
|
|
$this->checkModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->stackPos-(2-2)); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule275() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function reduceRule276() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function reduceRule277() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function reduceRule278() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function reduceRule279() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule280() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule281() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule282() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule283() {
|
|
$this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule284() {
|
|
$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 reduceRule285() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule286() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule287() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule288() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule289() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule290() {
|
|
$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 reduceRule291() {
|
|
$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 reduceRule292() {
|
|
$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 reduceRule293() {
|
|
$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 reduceRule294() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule295() {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule296() {
|
|
$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 reduceRule297() {
|
|
$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 reduceRule298() {
|
|
$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 reduceRule299() {
|
|
$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 reduceRule300() {
|
|
$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 reduceRule301() {
|
|
$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 reduceRule302() {
|
|
$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 reduceRule303() {
|
|
$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 reduceRule304() {
|
|
$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 reduceRule305() {
|
|
$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 reduceRule306() {
|
|
$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 reduceRule307() {
|
|
$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 reduceRule308() {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule309() {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule310() {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule311() {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule312() {
|
|
$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 reduceRule313() {
|
|
$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 reduceRule314() {
|
|
$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 reduceRule315() {
|
|
$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 reduceRule316() {
|
|
$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 reduceRule317() {
|
|
$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 reduceRule318() {
|
|
$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 reduceRule319() {
|
|
$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 reduceRule320() {
|
|
$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 reduceRule321() {
|
|
$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 reduceRule322() {
|
|
$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 reduceRule323() {
|
|
$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 reduceRule324() {
|
|
$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 reduceRule325() {
|
|
$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 reduceRule326() {
|
|
$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 reduceRule327() {
|
|
$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 reduceRule328() {
|
|
$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 reduceRule329() {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule330() {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule331() {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule332() {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule333() {
|
|
$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 reduceRule334() {
|
|
$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 reduceRule335() {
|
|
$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 reduceRule336() {
|
|
$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 reduceRule337() {
|
|
$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 reduceRule338() {
|
|
$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 reduceRule339() {
|
|
$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 reduceRule340() {
|
|
$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 reduceRule341() {
|
|
$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 reduceRule342() {
|
|
$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 reduceRule343() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule344() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule345() {
|
|
$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 reduceRule346() {
|
|
$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 reduceRule347() {
|
|
$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 reduceRule348() {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule349() {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule350() {
|
|
$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 reduceRule351() {
|
|
$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 reduceRule352() {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule353() {
|
|
$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 reduceRule354() {
|
|
$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 reduceRule355() {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule356() {
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule357() {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule358() {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule359() {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule360() {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule361() {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule362() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes;
|
|
$attrs['kind'] = strtolower($this->semStack[$this->stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
|
|
$this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule363() {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule364() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule365() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule366() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule367() {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule368() {
|
|
$this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule369() {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule370() {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule371() {
|
|
$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 reduceRule372() {
|
|
$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 reduceRule373() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule374() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule375() {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule376() {
|
|
$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 reduceRule377() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_LONG;
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule378() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_SHORT;
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule379() {
|
|
$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 reduceRule380() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$this->stackPos-(4-1)][0] === "'" || ($this->semStack[$this->stackPos-(4-1)][1] === "'" && ($this->semStack[$this->stackPos-(4-1)][0] === 'b' || $this->semStack[$this->stackPos-(4-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED);
|
|
$this->semValue = new Expr\ArrayDimFetch(new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(4-1)]), $attrs), $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule381() {
|
|
$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 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 = 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->checkClass($this->semValue[0], -1);
|
|
}
|
|
|
|
protected function reduceRule384() {
|
|
$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 reduceRule385() {
|
|
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 reduceRule386() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule387() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule388() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule389() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule390() {
|
|
$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 reduceRule391() {
|
|
$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 reduceRule392() {
|
|
$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 reduceRule393() {
|
|
$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 reduceRule394() {
|
|
|
|
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);
|
|
} elseif ($this->semStack[$this->stackPos-(2-1)] instanceof Node\Expr\ArrayDimFetch) {
|
|
$tmp = $this->semStack[$this->stackPos-(2-1)];
|
|
while ($tmp->var instanceof Node\Expr\ArrayDimFetch) {
|
|
$tmp = $tmp->var;
|
|
}
|
|
|
|
$this->semValue = new Expr\StaticCall($tmp->var->class, $this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
$tmp->var = new Expr\Variable($tmp->var->name, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
} else {
|
|
throw new \Exception;
|
|
}
|
|
|
|
}
|
|
|
|
protected function reduceRule395() {
|
|
$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 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);
|
|
}
|
|
|
|
protected function reduceRule397() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule398() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule399() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule400() {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule401() {
|
|
$this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule402() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule403() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule404() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule405() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule406() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule407() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule408() {
|
|
$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 reduceRule409() {
|
|
$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 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);
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
protected function reduceRule412() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule413() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule414() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule415() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule416() {
|
|
$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 reduceRule417() {
|
|
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 reduceRule418() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule419() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule420() {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes, true);
|
|
}
|
|
|
|
protected function reduceRule421() {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule422() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$this->stackPos-(1-1)][0] === "'" || ($this->semStack[$this->stackPos-(1-1)][1] === "'" && ($this->semStack[$this->stackPos-(1-1)][0] === 'b' || $this->semStack[$this->stackPos-(1-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED);
|
|
$this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$this->stackPos-(1-1)], false), $attrs);
|
|
}
|
|
|
|
protected function reduceRule423() {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule424() {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule425() {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule426() {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule427() {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule428() {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule429() {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule430() {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule431() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->stackPos-(3-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$this->stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], false), $attrs);
|
|
}
|
|
|
|
protected function reduceRule432() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->stackPos-(2-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$this->stackPos-(2-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_('', $attrs);
|
|
}
|
|
|
|
protected function reduceRule433() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule434() {
|
|
$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 reduceRule435() {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule436() {
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule437() {
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule438() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule439() {
|
|
$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 reduceRule440() {
|
|
$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 reduceRule441() {
|
|
$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 reduceRule442() {
|
|
$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 reduceRule443() {
|
|
$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 reduceRule444() {
|
|
$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 reduceRule445() {
|
|
$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 reduceRule446() {
|
|
$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 reduceRule447() {
|
|
$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 reduceRule448() {
|
|
$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 reduceRule449() {
|
|
$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 reduceRule450() {
|
|
$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 reduceRule451() {
|
|
$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 reduceRule452() {
|
|
$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 reduceRule453() {
|
|
$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 reduceRule454() {
|
|
$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 reduceRule455() {
|
|
$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 reduceRule456() {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule457() {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule458() {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule459() {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule460() {
|
|
$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 reduceRule461() {
|
|
$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 reduceRule462() {
|
|
$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 reduceRule463() {
|
|
$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 reduceRule464() {
|
|
$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 reduceRule465() {
|
|
$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 reduceRule466() {
|
|
$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 reduceRule467() {
|
|
$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 reduceRule468() {
|
|
$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 reduceRule469() {
|
|
$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 reduceRule470() {
|
|
$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 reduceRule471() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule472() {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule473() {
|
|
$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 reduceRule474() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule475() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule476() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED;
|
|
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)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule477() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->stackPos-(3-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$this->stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[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, 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)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule478() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule479() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule480() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule481() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule482() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule483() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule484() {
|
|
$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 reduceRule485() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule486() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule487() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule488() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule489() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule490() {
|
|
$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 reduceRule491() {
|
|
$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 reduceRule492() {
|
|
$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 reduceRule493() {
|
|
$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 reduceRule494() {
|
|
$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 reduceRule495() {
|
|
$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 reduceRule496() {
|
|
$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 reduceRule497() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule498() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule499() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule500() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule501() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule502() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule503() {
|
|
$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 reduceRule504() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule505() {
|
|
$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 reduceRule506() {
|
|
$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 reduceRule507() {
|
|
$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 reduceRule508() {
|
|
$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 reduceRule509() {
|
|
$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 reduceRule510() {
|
|
$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 reduceRule511() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule512() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule513() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule514() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule515() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule516() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule517() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule518() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule519() {
|
|
$this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule520() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule521() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule522() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule523() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule524() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule525() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule526() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule527() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule528() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule529() {
|
|
$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 reduceRule530() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule531() {
|
|
$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 reduceRule532() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule533() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule534() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule535() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule536() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]);
|
|
}
|
|
|
|
protected function reduceRule537() {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule538() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule539() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule540() {
|
|
$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 reduceRule541() {
|
|
$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 reduceRule542() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule543() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule544() {
|
|
$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 reduceRule545() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule546() {
|
|
$this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule547() {
|
|
$this->semValue = $this->parseNumString($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule548() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
}
|