mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 02:07:59 +01:00
865bfb2acf
Conflicts: grammar/php7.y lib/PhpParser/Parser/Php7.php test/code/parser/expr/uvs/globalNonSimpleVarError.test test/code/parser/stmt/namespace/groupUseErrors.test
2318 lines
138 KiB
PHP
2318 lines
138 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 Php7 extends \PhpParser\ParserAbstract
|
|
{
|
|
protected $tokenToSymbolMapSize = 392;
|
|
protected $actionTableSize = 874;
|
|
protected $gotoTableSize = 483;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 342;
|
|
protected $YYNLSTATES = 567;
|
|
|
|
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, 155, 157, 156, 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, 154, 34, 157, 153, 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(
|
|
572, 573, 574, 575, 576, 215, 577, 578, 579, 615,
|
|
616, 1012, 27, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
|
|
97, 0, 239, 266, -270,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 649, 352, 114, 98,-32766, 116,-32766,-32766,-32766,
|
|
-32766,-32766, 580, 877, 879,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 224,-32766, 655, 581, 582, 583, 584,
|
|
585, 586, 587,-32766, 25, 647, 846, 847, 848, 845,
|
|
844, 843, 588, 589, 590, 591, 592, 593, 594, 595,
|
|
596, 597, 598, 618, 619, 620, 621, 622, 610, 611,
|
|
612, 613, 614, 599, 600, 601, 602, 603, 604, 605,
|
|
641, 642, 643, 644, 645, 646, 606, 607, 608, 609,
|
|
639, 630, 628, 629, 625, 626, 293, 617, 623, 624,
|
|
631, 632, 634, 633, 635, 636, 42, 43, 394, 44,
|
|
45, 627, 638, 637, -217, 46, 47, 959, 48,-32767,
|
|
-32767,-32767,-32767, 90, 91, 92, 93, 94, 269, 71,
|
|
22, 846, 847, 848, 845, 844, 843, 838,-32766,-32766,
|
|
-32766, 653, 1009, 358, 1048, 120, 975, 441, -429, 248,
|
|
803, 49, 50, 667, 668, 356, 7, 51,-32766, 52,
|
|
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
1027, 22, 232, 61, 360, 952,-32766,-32766,-32766, 976,
|
|
977, 650, 654, 1009, 216, -464, 478, 975,-32766,-32766,
|
|
-32766, 721, 408, 409, 355, 1009,-32766, 346,-32766,-32766,
|
|
-32766,-32766, 24, 222, 989, 298, 368, 226,-32766, -429,
|
|
-32766,-32766,-32766, -466, 65, 1057, 417, 371, 1058, 259,
|
|
540, 275, 248, -429, 406, 407, 241, 522, 952, 28,
|
|
-429, 555, -432, 408, 409, 117, 981, 982, 983, 984,
|
|
978, 979, 243, 112, -428, -427, 649, 418, 985, 980,
|
|
365, 797, 798, 111, 971, 63, 118, 255, 242, 256,
|
|
259, 395, -126, -126, -126, -4, 721, 396, 650, 131,
|
|
-427, 711, 259, -222, 33, 17, 397, -126, 398, -126,
|
|
399, -126, 400, -126, 819, 401, -126, -126, -126, 34,
|
|
35, 361, 362, 523, 36, 402, 365, 820, 62, 130,
|
|
824, 294, 295, 403, 404, -428, -427, 359, -241, 405,
|
|
38, 40, 697, 741, 363, 364, -165, 22, 122, -428,
|
|
-427,-32766,-32766,-32766, 797, 798, -428, -427, -431, 1009,
|
|
-464, -427, 1009, 975, 418, 41, 395, 365, 723, 538,
|
|
-126,-32766, 396,-32766,-32766, -427, 711, -474, 381, 33,
|
|
17, 397, -427, 398, -475, 399, 258, 400, -466, 224,
|
|
401, -164, 952, 21, 34, 35, 361, 362, 344, 36,
|
|
402, 246, 247, 62, 254, 721, 294, 295, 403, 404,
|
|
409,-32766,-32766,-32766, 405, 959, 297, 659, 741, 363,
|
|
364, 770, 113, 115, 357, 128, 72, 73, 74, 550,
|
|
1009, 65, 121, 551,-32766,-32766, 259, 124, 272, 259,
|
|
92, 93, 94, 723, 538, -4, 26, 375, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 720, 239, 126, 721, 395, 119, 509, 510, 498,
|
|
18, 396, 945, -241, 98, 711, 127, 311, 33, 17,
|
|
397, -165, 398, 1009, 399, -82, 400, 276, 382, 401,
|
|
734, 120, 545, 34, 35, 361, 721, 259, 36, 402,
|
|
1028, 221, 62, 389, 6, 294, 295, 667, 668, 494,
|
|
495, 223, -474, 405, -474, 225, 952, 797, 798, -475,
|
|
39, -475, 239, 98, 544, 125, -164, 353, 804, 651,
|
|
771, 1059, 835, 556, 395, 517, 823, 566, 462, 649,
|
|
396, 650, 723, 538, 711, 450, 851, 33, 17, 397,
|
|
653, 398,-32766, 399, 445, 400, 499, 493, 401, 16,
|
|
259, 504, 34, 35, 361, 721, 395, 36, 402, 518,
|
|
532, 62, 396, 374, 294, 295, 711, 503, 513, 33,
|
|
17, 397, 405, 398, 214, 399, 10, 400, -80, 369,
|
|
401, -386, 3, 542, 34, 35, 361, 721, 271, 36,
|
|
402, 267, 990, 62, 268, 0, 294, 295, 742, 743,
|
|
0, 723, 538, 991, 405, 274, 0, 0, 0, 326,
|
|
0, 0, 988, 0, 0, 543, 0, 0, 0, 0,
|
|
0, 0, 0, 9, 0, 395, 0, 0, 296, 327,
|
|
0, 396, 0, 757, 538, 711, 227, 331, 33, 17,
|
|
397, 371, 398, 347, 399, 348, 400, 447, 317, 401,
|
|
736, 70, 565, 34, 35, 361, 721, 395, 36, 402,
|
|
32, 827, 62, 396, 702, 294, 295, 711, 22, 773,
|
|
33, 17, 397, 405, 398, 758, 399, 764, 400, 829,
|
|
1009, 401, 564, 765, 975, 34, 35, 361, 828, 830,
|
|
36, 402, 831, 753, 62, 755, 700, 294, 295, 31,
|
|
739, 548, 723, 538, 546, 405, 539, 343, 342, 265,
|
|
264, 549, 562, 952, 561, 559, 557, 554, 553, 541,
|
|
0, 738, 941, 836, 728, 940, 395, 670, 669, 763,
|
|
408, 409, 396, 672, 723, 538, 711, 671, 740, 33,
|
|
17, 397, 558, 398, 698, 399, 1054, 400, 1056, 662,
|
|
401, -456, 65, 1053, 34, 35, 361, 259, 1010, 36,
|
|
402, 1003, 1017, 62, 1022, 1025, 294, 295,-32766,-32766,
|
|
-32766, 762, 737, 939, 405, 730, 1055, 661, 972, -454,
|
|
-432, -431, 351, 345, 270, 238, -430, 236,-32766, 20,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 23, 235, 723, 538, 29, 933, 30, 218, 217,
|
|
37, 64, 66, 132, 129, 123, 237, 69, 68, 67,
|
|
0, -218, 11, 15, 19, 250, 916, -220, 310, 309,
|
|
472, 489, 531, 920, 973, 963, 528, 392, 388, 917,
|
|
387, 383, 14, 13, 12, -217, 0, -398, 0, 497,
|
|
1051, 1016, 1002, 1001
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 13, 8, 9, 10, 11,
|
|
12, 1, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
|
|
52, 0, 54, 7, 79, 8, 9, 10, 8, 9,
|
|
10, 77, 7, 13, 66, 28, 7, 30, 31, 32,
|
|
33, 34, 54, 56, 57, 28, 8, 30, 31, 32,
|
|
33, 34, 35, 35, 109, 1, 68, 69, 70, 71,
|
|
72, 73, 74, 118, 7, 77, 112, 113, 114, 115,
|
|
116, 117, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 7, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
|
|
6, 143, 144, 145, 152, 11, 12, 1, 14, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 109, 149,
|
|
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
|
|
10, 79, 79, 7, 82, 147, 83, 82, 67, 28,
|
|
152, 47, 48, 102, 103, 7, 7, 53, 28, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
1, 67, 68, 69, 70, 112, 8, 9, 10, 75,
|
|
76, 77, 148, 79, 13, 7, 48, 83, 8, 9,
|
|
10, 1, 129, 130, 7, 79, 28, 146, 30, 31,
|
|
32, 33, 140, 141, 139, 7, 102, 7, 28, 128,
|
|
30, 31, 32, 7, 151, 77, 112, 146, 80, 156,
|
|
149, 7, 28, 142, 120, 121, 7, 77, 112, 13,
|
|
149, 29, 151, 129, 130, 15, 132, 133, 134, 135,
|
|
136, 137, 138, 15, 67, 67, 77, 143, 144, 145,
|
|
146, 130, 131, 15, 1, 151, 15, 153, 29, 155,
|
|
156, 71, 72, 73, 74, 0, 1, 77, 77, 15,
|
|
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 148, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 143, 104, 105, 146, 148, 108, 15,
|
|
150, 111, 112, 113, 114, 128, 128, 7, 7, 119,
|
|
67, 67, 122, 123, 124, 125, 7, 67, 149, 142,
|
|
142, 8, 9, 10, 130, 131, 149, 149, 151, 79,
|
|
152, 128, 79, 83, 143, 7, 71, 146, 148, 149,
|
|
150, 28, 77, 30, 31, 142, 81, 7, 29, 84,
|
|
85, 86, 149, 88, 7, 90, 67, 92, 152, 35,
|
|
95, 7, 112, 7, 99, 100, 101, 102, 103, 104,
|
|
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
|
|
130, 8, 9, 10, 119, 1, 142, 122, 123, 124,
|
|
125, 29, 149, 149, 7, 15, 8, 9, 10, 29,
|
|
79, 151, 149, 29, 8, 9, 156, 15, 143, 156,
|
|
47, 48, 49, 148, 149, 150, 28, 128, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 29, 54, 29, 1, 71, 29, 72, 73, 72,
|
|
73, 77, 152, 152, 66, 81, 97, 98, 84, 85,
|
|
86, 152, 88, 79, 90, 29, 92, 33, 149, 95,
|
|
35, 147, 29, 99, 100, 101, 1, 156, 104, 105,
|
|
152, 35, 108, 102, 103, 111, 112, 102, 103, 106,
|
|
107, 35, 152, 119, 154, 35, 112, 130, 131, 152,
|
|
67, 154, 54, 66, 29, 67, 152, 123, 152, 77,
|
|
148, 80, 148, 149, 71, 74, 148, 149, 78, 77,
|
|
77, 77, 148, 149, 81, 86, 79, 84, 85, 86,
|
|
79, 88, 82, 90, 82, 92, 87, 109, 95, 152,
|
|
156, 96, 99, 100, 101, 1, 71, 104, 105, 91,
|
|
89, 108, 77, 94, 111, 112, 81, 93, 96, 84,
|
|
85, 86, 119, 88, 94, 90, 94, 92, 94, 102,
|
|
95, 142, 142, 29, 99, 100, 101, 1, 110, 104,
|
|
105, 126, 155, 108, 127, -1, 111, 112, 123, 123,
|
|
-1, 148, 149, 139, 119, 126, -1, -1, -1, 146,
|
|
-1, -1, 139, -1, -1, 29, -1, -1, -1, -1,
|
|
-1, -1, -1, 142, -1, 71, -1, -1, 142, 146,
|
|
-1, 77, -1, 148, 149, 81, 35, 146, 84, 85,
|
|
86, 146, 88, 146, 90, 146, 92, 146, 146, 95,
|
|
147, 151, 148, 99, 100, 101, 1, 71, 104, 105,
|
|
148, 148, 108, 77, 148, 111, 112, 81, 67, 148,
|
|
84, 85, 86, 119, 88, 148, 90, 148, 92, 148,
|
|
79, 95, 148, 148, 83, 99, 100, 101, 148, 148,
|
|
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
|
|
150, 149, 148, 149, 149, 119, 149, 149, 149, 149,
|
|
149, 149, 149, 112, 149, 149, 149, 149, 149, 149,
|
|
-1, 150, 150, 150, 150, 150, 71, 150, 150, 150,
|
|
129, 130, 77, 150, 148, 149, 81, 150, 150, 84,
|
|
85, 86, 150, 88, 150, 90, 150, 92, 150, 150,
|
|
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
|
|
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
|
|
10, 150, 150, 150, 119, 150, 150, 150, 154, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 28, 151,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 151, 151, 148, 149, 151, 153, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
-1, 152, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, -1, 153, -1, 154,
|
|
154, 154, 154, 154
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 220, 295, 283, 180, 551, -2, -2, -2, -2,
|
|
-36, 606, 473, 404, 473, 574, 505, 675, 675, 675,
|
|
28, 354, 476, 476, 470, 476, 447, 486, 490, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 64, 64, 392, 246, 693, 701, 698,
|
|
691, 690, 500, 697, 707, 201, 623, 628, 444, 631,
|
|
632, 634, 635, 699, 715, 692, 700, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 48, 30, 426, 403, 403, 403, 403,
|
|
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
|
|
403, 403, 403, 403, 403, 160, 160, 160, 343, 210,
|
|
208, 198, 17, 233, 27, 780, 780, 780, 780, 780,
|
|
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
|
|
280, 280, 280, 280, 280, 280, 280, 280, 608, 570,
|
|
591, 592, 414, 393, 393, 151, 151, 151, 151, 146,
|
|
-45, 224, 224, 95, 484, 457, 199, 199, 397, 111,
|
|
207, -22, -22, -22, 81, 482, 92, 92, 168, 10,
|
|
233, 233, 274, 233, 415, 415, 415, 221, 221, 221,
|
|
221, 221, 101, 480, 221, 221, 221, 39, 217, 119,
|
|
228, 178, 590, 119, 475, 641, 398, 492, 599, 273,
|
|
377, 370, 517, 519, 351, 497, 351, 351, 351, 413,
|
|
407, 405, 64, 459, 64, 64, 64, 671, 64, 349,
|
|
64, 392, 464, 394, 478, 319, 417, 581, 696, 384,
|
|
694, 358, 478, 478, 478, 386, 580, 579, 331, -8,
|
|
607, 578, 339, 411, 236, 603, 598, 166, 597, 179,
|
|
330, 533, 474, 474, 472, 472, 474, 474, 474, 474,
|
|
477, 465, 474, 658, 658, 472, 481, 472, 477, 465,
|
|
679, 472, 465, 472, 472, 474, 472, 658, 465, 465,
|
|
485, 474, 499, 499, 472, 472, 487, 658, 658, 487,
|
|
465, 554, 524, 458, 523, 259, 481, 259, 458, 465,
|
|
259, 481, 259, 31, 680, 681, 466, 688, 674, 687,
|
|
652, 686, 577, 495, 496, 678, 677, 520, 676, 670,
|
|
442, 521, 268, 258, 460, 463, 655, 497, 515, 467,
|
|
467, 467, 463, 649, 467, 467, 467, 467, 467, 467,
|
|
467, 467, 644, 67, 506, 469, 250, 522, 489, 271,
|
|
587, 493, 521, 521, 614, 714, 673, 462, 671, 703,
|
|
684, 571, 39, 422, 656, 612, 483, 503, 685, 586,
|
|
268, 702, 616, 468, 618, 521, 619, 467, 648, 620,
|
|
719, 718, 650, 717, 709, 249, 511, 244, 461, 716,
|
|
647, 585, 583, 532, 712, 695, 708, 706, 244, 536,
|
|
479, 689, 494, 651, 653, 575, 410, 646, 683, 541,
|
|
711, 710, 713, 547, 549, 572, 314, 582, 284, 682,
|
|
400, 471, 488, 555, 645, 589, 654, 568, 567, 643,
|
|
642, 704, 504, 515, 501, 498, 502, 491, 588, 595,
|
|
705, 232, 565, 564, 561, 594, 560, 593, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 134, 134,
|
|
-2, -2, -2, 0, 0, 0, 0, -2, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, -3, 418, 418,
|
|
-3, 418, 418, 418, 418, 418, 418, -22, -22, -22,
|
|
-22, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
|
221, 221, 221, 221, 221, 49, 49, 49, 49, 221,
|
|
-22, -22, 221, 221, 221, 221, 221, 49, 221, 221,
|
|
92, 92, 92, 351, 351, 221, 0, 0, 0, 0,
|
|
0, 474, 92, 0, 0, 481, 351, 0, 0, 0,
|
|
0, 474, 474, 474, 0, 0, 0, 0, 0, 474,
|
|
92, 0, 0, 0, 64, 64, 64, 64, 64, 64,
|
|
64, 389, 389, 244, 389, 389, 0, 0, 0, 474,
|
|
474, 0, 481, 0, 0, 0, 0, 0, 0, 0,
|
|
658, 0, 0, 0, 472, 0, 0, 0, 0, 481,
|
|
0, 467, 0, 0, 462, 230, 0, 230, 0, 467,
|
|
467, 467, 0, 462, 462, 0, 0, 26, 462, 0,
|
|
0, 0, 26, 35, 0, 35, 0, 0, 244
|
|
);
|
|
|
|
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, 476, 476,32767, 476,32767,32767,32767, 289,
|
|
468, 289, 289,32767, 425, 425, 425, 425, 425, 425,
|
|
425, 468,32767,32767,32767,32767,32767, 368,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,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 473,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 351, 352, 354,
|
|
355, 288, 426, 240, 472, 287, 120, 249, 242, 194,
|
|
286, 226, 123, 316, 369, 318, 367, 371, 317, 294,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 292, 293, 370, 348, 347, 346, 314, 315,
|
|
291, 319, 321, 291, 320, 337, 338, 335, 336, 339,
|
|
340, 341, 342, 343,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 272, 272,
|
|
272, 272,32767, 328, 329, 232, 232, 232, 232,32767,
|
|
273, 232,32767,32767,32767,32767,32767,32767,32767, 419,
|
|
345, 323, 324, 322,32767, 397,32767, 399,32767,32767,
|
|
311, 313, 391, 295,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, 394,
|
|
427, 427,32767,32767,32767, 385,32767,32767,32767, 162,
|
|
213, 215,32767, 402,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 333, 483,32767,32767,32767, 427,
|
|
32767,32767, 325, 326, 327,32767,32767,32767, 427, 427,
|
|
32767,32767, 427,32767, 427,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 166,32767, 400, 400,32767,32767,32767,32767, 166,
|
|
395,32767, 166,32767,32767,32767,32767,32767, 166, 166,
|
|
179,32767, 177, 177,32767,32767, 181,32767, 441, 181,
|
|
166, 199, 199, 377, 168, 234,32767, 234, 377, 166,
|
|
234,32767, 234,32767,32767,32767, 83,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 387,32767, 407,32767, 420, 439, 385,32767, 331,
|
|
332, 334,32767, 429, 356, 357, 358, 359, 360, 361,
|
|
362, 364,32767, 469, 390,32767,32767, 85, 112, 248,
|
|
32767, 481, 85, 388,32767, 481,32767,32767,32767,32767,
|
|
32767,32767, 290,32767,32767,32767, 85, 85,32767,32767,
|
|
465,32767, 482,32767, 427, 389,32767, 330, 403, 446,
|
|
32767,32767, 428,32767,32767, 221, 85, 180,32767,32767,
|
|
32767,32767,32767,32767,32767, 407,32767,32767, 182,32767,
|
|
32767, 427,32767,32767,32767,32767, 285,32767,32767,32767,
|
|
32767,32767, 427,32767,32767,32767, 225,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 83, 60,32767, 266,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 125, 125,
|
|
3, 3, 125, 125, 125, 125, 125, 125, 125, 125,
|
|
125, 125, 125, 125, 125, 125, 125, 251, 157, 251,
|
|
207, 251, 251, 210, 199, 199, 258
|
|
);
|
|
|
|
protected $goto = array(
|
|
163, 163, 136, 136, 146, 136, 148, 179, 164, 161,
|
|
145, 161, 161, 161, 162, 162, 162, 162, 162, 162,
|
|
162, 145, 157, 158, 159, 160, 176, 174, 177, 419,
|
|
420, 314, 421, 424, 425, 426, 427, 428, 429, 430,
|
|
431, 864, 134, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
233, 234, 251, 252, 253, 322, 323, 324, 467, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
|
|
168, 151, 152, 153, 169, 154, 197, 135, 170, 155,
|
|
171, 172, 156, 524, 200, 718, 437, 534, 305, 308,
|
|
449, 470, 471, 473, 657, 200, 442, 442, 442, 533,
|
|
469, 285, 455, 5, 442, 563, 490, 492, 512, 514,
|
|
769, 519, 520, 783, 527, 768, 529, 535, 779, 537,
|
|
488, 286, 658, 341, 457, 442, 485, 485, 974, 974,
|
|
974, 974, 974, 974, 974, 974, 974, 974, 974, 974,
|
|
422, 422, 422, 422, 422, 422, 422, 422, 422, 422,
|
|
422, 422, 422, 422, 423, 423, 423, 423, 423, 423,
|
|
423, 423, 423, 423, 423, 423, 423, 423, 688, 1060,
|
|
229, 949, 230, 231, 442, 442, 694, 656, 456, 476,
|
|
442, 442, 483, 500, 442, 460, 772, 715, 752, 806,
|
|
560, 1037, 435, 781, 776, 307, 460, 443, 681, 1045,
|
|
1045, 448, 458, 465, 257, 245, 439, 466, 480, 468,
|
|
834, 536, 1045, 384, 516, 832, 507, 434, 756, 515,
|
|
461, 313, 8, 521, 434, 1044, 1044, 277, 710, 666,
|
|
663, 708, 709, 660, 664, 950, 681, 681, 1044, 486,
|
|
487, 530, 1019, 1020, 1029, 951, 1005, 501, 320, 911,
|
|
791, 1018, 292, 665, 1047, 705, 706, 719, 802, 707,
|
|
795, 713, 335, 282, 283, 677, 675, 439, 329, 502,
|
|
334, 319, 319, 260, 261, 290, 464, 263, 328, 291,
|
|
332, 491, 810, 287, 288, 547, 674, 674, 338, 942,
|
|
682, 682, 682, 684, 685, 760, 673, 506, 813, 850,
|
|
379, 482, 948, 390, 0, 0, 947, 0, 0, 0,
|
|
0, 953, 0, 0, 796, 796, 796, 796, 953, 0,
|
|
796, 796, 0, 1024, 1024, 0, 0, 796, 0, 1015,
|
|
0, 0, 0, 842, 0, 0, 1015, 0, 0, 0,
|
|
0, 0, 0, 1026, 1026, 0, 750, 750, 750, 726,
|
|
750, 0, 0, 745, 751, 727, 1011, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 786,
|
|
786, 1034, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 454, 0, 0, 0, 0, 0,
|
|
0, 812, 0, 1013, 1013, 812, 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, 436, 453, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 436, 0, 453, 0, 0, 0, 306, 0,
|
|
440, 370, 0, 372, 0, 0, 0, 0, 0, 0,
|
|
0, 680, 1052
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 55, 48, 12, 9, 8, 41, 41,
|
|
41, 41, 41, 41, 14, 48, 9, 9, 9, 5,
|
|
83, 67, 31, 95, 9, 31, 31, 31, 31, 31,
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
65, 65, 15, 65, 9, 9, 73, 73, 73, 73,
|
|
73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
|
|
117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
|
|
117, 117, 117, 117, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 28, 11,
|
|
63, 79, 63, 63, 9, 9, 13, 13, 9, 9,
|
|
9, 9, 38, 38, 9, 72, 13, 47, 13, 81,
|
|
13, 127, 13, 13, 13, 56, 72, 9, 22, 129,
|
|
129, 56, 56, 9, 116, 116, 11, 2, 2, 7,
|
|
7, 7, 129, 56, 7, 7, 59, 113, 32, 59,
|
|
118, 59, 56, 11, 113, 128, 128, 44, 12, 12,
|
|
12, 12, 12, 12, 12, 79, 22, 22, 128, 58,
|
|
58, 58, 123, 123, 125, 79, 79, 46, 45, 100,
|
|
75, 121, 17, 12, 128, 12, 12, 12, 77, 12,
|
|
78, 12, 21, 10, 16, 24, 23, 11, 48, 48,
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
48, 48, 82, 67, 67, 69, 22, 22, 20, 106,
|
|
22, 22, 22, 22, 25, 66, 22, 11, 84, 97,
|
|
61, 62, 11, 104, -1, -1, 108, -1, -1, -1,
|
|
-1, 55, -1, -1, 55, 55, 55, 55, 55, -1,
|
|
55, 55, -1, 8, 8, -1, -1, 55, -1, 83,
|
|
-1, -1, -1, 95, -1, -1, 83, -1, -1, -1,
|
|
-1, -1, -1, 83, 83, -1, 55, 55, 55, 55,
|
|
55, -1, -1, 55, 55, 55, 83, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 72,
|
|
72, 72, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 8, -1, -1, -1, -1, -1,
|
|
-1, 83, -1, 83, 83, 83, -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, 8, 8, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 8, -1, 8, -1, -1, -1, 8, -1,
|
|
8, 8, -1, 8, -1, -1, -1, -1, -1, -1,
|
|
-1, 8, 8
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -303, 0, 0, 119, 0, 236, 107, -138,
|
|
21, -59, -19, 205, 122, 150, 2, 28, 0, 0,
|
|
-25, 27, -26, 3, 29, -31, -20, 0, 191, 0,
|
|
0, -407, 232, 0, 0, 0, 0, 0, 181, 0,
|
|
0, 83, 0, 0, 224, 60, 62, 203, 84, 0,
|
|
0, 0, 0, 0, 0, 109, -137, 0, 33, -141,
|
|
0, -43, -48, -359, 0, -118, -32, -251, 0, 4,
|
|
0, 0, 185, -58, 0, 39, 0, 46, 42, -102,
|
|
0, 198, 14, 127, -28, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 123, 0, -29, 0, 0,
|
|
40, 0, 0, 0, -55, 0, -35, 0, -23, 0,
|
|
0, 0, 0, 15, 0, 0, -21, -44, 227, -30,
|
|
0, 34, 0, -24, 0, 233, 0, 196, 11, -15,
|
|
0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 393, 568, 2, 569, 640, 648, 508, 410, 411,
|
|
438, 315, 712, 754, 695, 696, 279, 349, 302, 278,
|
|
336, 330, 683, 676, 678, 686, 133, 339, 689, 1,
|
|
691, 444, 722, 300, 699, 301, 511, 701, 451, 703,
|
|
704, 304, 280, 281, 452, 318, 484, 714, 203, 316,
|
|
716, 299, 717, 725, 312, 303, 391, 386, 474, 505,
|
|
366, 376, 481, 228, 459, 477, 759, 284, 767, 552,
|
|
775, 778, 412, 413, 475, 790, 380, 800, 794, 968,
|
|
325, 805, 811, 1000, 814, 817, 350, 337, 333, 821,
|
|
822, 4, 826, 525, 526, 841, 240, 849, 496, 863,
|
|
354, 930, 932, 446, 385, 943, 373, 340, 946, 1004,
|
|
367, 414, 377, 960, 262, 289, 244, 415, 432, 249,
|
|
416, 378, 1007, 1014, 321, 1030, 433, 1038, 1046, 273,
|
|
463, 479
|
|
);
|
|
|
|
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, 9, 9, 10, 11, 12, 12, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
17, 17, 18, 18, 18, 18, 20, 20, 16, 16,
|
|
21, 21, 22, 22, 23, 23, 24, 24, 19, 19,
|
|
25, 27, 27, 28, 29, 29, 31, 30, 30, 30,
|
|
30, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 13, 13, 51, 51, 54,
|
|
54, 53, 52, 52, 45, 45, 56, 56, 57, 57,
|
|
14, 15, 15, 15, 60, 60, 60, 61, 61, 64,
|
|
64, 62, 62, 65, 65, 39, 39, 47, 47, 50,
|
|
50, 50, 49, 49, 66, 40, 40, 40, 40, 67,
|
|
67, 68, 68, 69, 69, 37, 37, 33, 33, 70,
|
|
35, 35, 71, 34, 34, 36, 36, 46, 46, 46,
|
|
46, 58, 58, 74, 74, 75, 75, 77, 77, 78,
|
|
78, 78, 76, 76, 59, 59, 79, 79, 80, 80,
|
|
81, 81, 81, 42, 42, 82, 43, 43, 84, 84,
|
|
63, 63, 85, 85, 85, 85, 90, 90, 91, 91,
|
|
92, 92, 92, 92, 92, 93, 94, 94, 89, 89,
|
|
86, 86, 88, 88, 96, 96, 95, 95, 95, 95,
|
|
95, 95, 87, 87, 98, 97, 97, 44, 44, 38,
|
|
38, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
26, 26, 26, 26, 105, 99, 99, 104, 104, 107,
|
|
107, 108, 109, 109, 109, 113, 113, 55, 55, 55,
|
|
100, 100, 100, 111, 111, 101, 101, 103, 103, 103,
|
|
106, 106, 117, 117, 117, 73, 119, 119, 119, 102,
|
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 102, 102, 41, 41, 115, 115, 115,
|
|
110, 110, 110, 120, 120, 120, 120, 120, 120, 48,
|
|
48, 48, 83, 83, 83, 83, 123, 122, 114, 114,
|
|
114, 114, 114, 114, 112, 112, 112, 121, 121, 121,
|
|
121, 72, 124, 124, 125, 125, 125, 125, 125, 118,
|
|
126, 126, 127, 127, 127, 127, 127, 116, 116, 116,
|
|
116, 129, 130, 128, 128, 128, 128, 128, 128, 128,
|
|
131, 131, 131, 131
|
|
);
|
|
|
|
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, 1, 3, 1, 1, 1, 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, 7, 10, 5, 7, 9, 5, 3, 3,
|
|
3, 3, 3, 3, 1, 2, 5, 7, 9, 5,
|
|
6, 3, 3, 2, 1, 1, 1, 0, 2, 1,
|
|
3, 8, 0, 4, 1, 3, 0, 1, 0, 1,
|
|
10, 7, 6, 5, 1, 2, 2, 0, 2, 0,
|
|
2, 0, 2, 1, 3, 1, 4, 1, 4, 1,
|
|
1, 4, 1, 3, 3, 3, 4, 4, 5, 0,
|
|
2, 4, 3, 1, 1, 1, 4, 0, 2, 5,
|
|
0, 2, 6, 0, 2, 0, 3, 1, 2, 1,
|
|
1, 1, 0, 1, 3, 4, 6, 1, 2, 1,
|
|
1, 1, 0, 1, 0, 2, 2, 3, 1, 3,
|
|
1, 2, 2, 3, 1, 1, 3, 1, 1, 3,
|
|
2, 0, 3, 4, 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, 1, 3, 3, 1, 0,
|
|
1, 1, 3, 3, 3, 4, 1, 2, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 2, 2, 2, 2, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 5, 4, 3, 4,
|
|
4, 2, 2, 4, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 1, 3, 2, 1, 2,
|
|
4, 2, 10, 11, 7, 3, 2, 0, 4, 1,
|
|
3, 2, 2, 2, 4, 1, 1, 1, 2, 3,
|
|
1, 1, 1, 1, 1, 0, 3, 0, 1, 1,
|
|
0, 1, 1, 3, 3, 3, 4, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 3, 2, 3, 3, 0, 1, 1, 3, 1,
|
|
1, 3, 1, 1, 4, 4, 4, 1, 4, 1,
|
|
1, 3, 1, 4, 2, 2, 1, 3, 1, 4,
|
|
4, 3, 3, 3, 1, 3, 1, 1, 3, 1,
|
|
1, 4, 3, 1, 1, 1, 3, 3, 0, 1,
|
|
3, 1, 3, 1, 4, 2, 0, 2, 2, 1,
|
|
2, 1, 1, 1, 4, 3, 3, 3, 6, 3,
|
|
1, 1, 2, 1
|
|
);
|
|
|
|
protected function initReduceCallbacks() {
|
|
$this->reduceCallbacks = [
|
|
0 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
1 => function ($stackPos) {
|
|
$this->semValue = $this->handleNamespaces($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
2 => function ($stackPos) {
|
|
if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; };
|
|
},
|
|
3 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
4 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
5 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
6 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
7 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
8 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
9 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
10 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
11 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
12 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
13 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
14 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
15 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
16 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
17 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
18 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
19 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
20 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
21 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
22 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
23 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
24 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
25 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
26 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
27 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
28 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
29 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
30 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
31 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
32 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
33 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
34 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
35 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
36 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
37 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
38 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
39 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
40 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
41 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
42 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
43 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
44 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
45 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
46 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
47 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
48 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
49 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
50 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
51 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
52 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
53 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
54 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
55 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
56 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
57 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
58 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
59 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
60 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
61 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
62 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
63 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
64 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
65 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
66 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
67 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
68 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
69 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
70 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
71 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
72 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
73 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
74 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
75 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
76 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
77 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
78 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
79 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
80 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
81 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
82 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
83 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
84 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
85 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
86 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
87 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
88 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
89 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
90 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
91 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
92 => function ($stackPos) {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
93 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(3-2)], null, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
94 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
95 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
96 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
97 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
98 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
99 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
100 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
},
|
|
101 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
},
|
|
102 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
103 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(8-4)], $this->startAttributeStack[$stackPos-(8-4)] + $this->endAttributeStack[$stackPos-(8-4)]), $this->semStack[$stackPos-(8-7)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
104 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(6-2)], $this->startAttributeStack[$stackPos-(6-2)] + $this->endAttributeStack[$stackPos-(6-2)]), $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
105 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
106 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
107 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
108 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
109 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
110 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
111 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
112 => function ($stackPos) {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(1-1));
|
|
},
|
|
113 => function ($stackPos) {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(3-3));
|
|
},
|
|
114 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
115 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
116 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
},
|
|
117 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
118 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
119 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
120 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
121 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
122 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
123 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
124 => function ($stackPos) {
|
|
if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; };
|
|
},
|
|
125 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
126 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
127 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
128 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
129 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
130 => function ($stackPos) {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
131 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)]; $attrs = $this->startAttributeStack[$stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments']) && isset($stmts[0])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
},
|
|
132 => function ($stackPos) {
|
|
$this->semValue = new Stmt\If_($this->semStack[$stackPos-(7-3)], ['stmts' => is_array($this->semStack[$stackPos-(7-5)]) ? $this->semStack[$stackPos-(7-5)] : array($this->semStack[$stackPos-(7-5)]), 'elseifs' => $this->semStack[$stackPos-(7-6)], 'else' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
133 => function ($stackPos) {
|
|
$this->semValue = new Stmt\If_($this->semStack[$stackPos-(10-3)], ['stmts' => $this->semStack[$stackPos-(10-6)], 'elseifs' => $this->semStack[$stackPos-(10-7)], 'else' => $this->semStack[$stackPos-(10-8)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
134 => function ($stackPos) {
|
|
$this->semValue = new Stmt\While_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
135 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Do_($this->semStack[$stackPos-(7-5)], is_array($this->semStack[$stackPos-(7-2)]) ? $this->semStack[$stackPos-(7-2)] : array($this->semStack[$stackPos-(7-2)]), $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
136 => function ($stackPos) {
|
|
$this->semValue = new Stmt\For_(['init' => $this->semStack[$stackPos-(9-3)], 'cond' => $this->semStack[$stackPos-(9-5)], 'loop' => $this->semStack[$stackPos-(9-7)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
137 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
138 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
139 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
140 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
141 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
142 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
143 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
144 => function ($stackPos) {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
145 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
146 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
147 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$stackPos-(7-5)][1], 'stmts' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
148 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(9-3)], $this->semStack[$stackPos-(9-7)][0], ['keyVar' => $this->semStack[$stackPos-(9-5)], 'byRef' => $this->semStack[$stackPos-(9-7)][1], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
149 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
150 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TryCatch($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-5)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkTryCatch($this->semValue);
|
|
},
|
|
151 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
152 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
153 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
154 => function ($stackPos) {
|
|
$this->semValue = array(); /* means: no statement */
|
|
},
|
|
155 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
156 => function ($stackPos) {
|
|
$startAttributes = $this->startAttributeStack[$stackPos-(1-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $this->semValue = null; };
|
|
if ($this->semValue === null) $this->semValue = array(); /* means: no statement */
|
|
},
|
|
157 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
158 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
159 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
160 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
161 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Catch_($this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-4)], $this->semStack[$stackPos-(8-7)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
162 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
163 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
164 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
165 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
166 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
167 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
168 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
169 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
170 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Function_($this->semStack[$stackPos-(10-3)], ['byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-5)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
171 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Class_($this->semStack[$stackPos-(7-2)], ['type' => $this->semStack[$stackPos-(7-1)], 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
$this->checkClass($this->semValue, $stackPos-(7-2));
|
|
},
|
|
172 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Interface_($this->semStack[$stackPos-(6-2)], ['extends' => $this->semStack[$stackPos-(6-3)], 'stmts' => $this->semStack[$stackPos-(6-5)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
$this->checkInterface($this->semValue, $stackPos-(6-2));
|
|
},
|
|
173 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Trait_($this->semStack[$stackPos-(5-2)], ['stmts' => $this->semStack[$stackPos-(5-4)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
174 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
175 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
176 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
177 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
178 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
179 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
180 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
181 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
182 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
183 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
184 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
185 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
186 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
187 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
188 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
189 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
190 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
191 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
192 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
193 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
194 => function ($stackPos) {
|
|
$this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
195 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
196 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
197 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
198 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(5-3)];
|
|
},
|
|
199 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
200 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
201 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
202 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
203 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
204 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
205 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
206 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
207 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
208 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
209 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(5-3)], is_array($this->semStack[$stackPos-(5-5)]) ? $this->semStack[$stackPos-(5-5)] : array($this->semStack[$stackPos-(5-5)]), $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
210 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
211 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
212 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
213 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
214 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : array($this->semStack[$stackPos-(2-2)]), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
215 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
216 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
217 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
218 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-2)], true);
|
|
},
|
|
219 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
220 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
221 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
222 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
223 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
224 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
225 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(4-4)], null, $this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
},
|
|
226 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-3)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
},
|
|
227 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
228 => function ($stackPos) {
|
|
$this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
229 => function ($stackPos) {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
230 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : 'array');
|
|
},
|
|
231 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : 'callable');
|
|
},
|
|
232 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
233 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
234 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
235 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
236 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
237 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
238 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
239 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
240 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
241 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
242 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
243 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
244 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
245 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
246 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
247 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
248 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
249 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
250 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
251 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
252 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Property($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkProperty($this->semValue, $stackPos-(3-1));
|
|
},
|
|
253 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassConst($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-1)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkClassConst($this->semValue, $stackPos-(4-1));
|
|
},
|
|
254 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassMethod($this->semStack[$stackPos-(9-4)], ['type' => $this->semStack[$stackPos-(9-1)], 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-6)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
$this->checkClassMethod($this->semValue, $stackPos-(9-1));
|
|
},
|
|
255 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
256 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
257 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
258 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
259 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
260 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
261 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(5-1)][0], $this->semStack[$stackPos-(5-1)][1], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
262 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], null, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
263 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
264 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
265 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]);
|
|
},
|
|
266 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
267 => function ($stackPos) {
|
|
$this->semValue = array(null, $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
268 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
269 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
270 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
271 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
272 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
273 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
274 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
275 => function ($stackPos) {
|
|
$this->checkModifier($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $this->semValue = $this->semStack[$stackPos-(2-1)] | $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
276 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
},
|
|
277 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
},
|
|
278 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
},
|
|
279 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
},
|
|
280 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
281 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
282 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
283 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
284 => function ($stackPos) {
|
|
$this->semValue = ($this->useIdentifierNodes ? new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : substr($this->semStack[$stackPos-(1-1)], 1));
|
|
},
|
|
285 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
286 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
287 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
288 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
289 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
290 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
291 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
292 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
293 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
294 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
295 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
296 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
297 => function ($stackPos) {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
298 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
299 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
300 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
301 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
302 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
303 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
304 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
305 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
306 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
307 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
308 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
309 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
310 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
311 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
312 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
313 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
314 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
315 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
316 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
317 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
318 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
319 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
320 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
321 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
322 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
323 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
324 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
325 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
326 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
327 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
328 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
329 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
330 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
331 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
332 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
333 => function ($stackPos) {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
334 => function ($stackPos) {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
335 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
336 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
337 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
338 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
339 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
340 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
341 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
342 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
343 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
344 => function ($stackPos) {
|
|
$this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
345 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
346 => function ($stackPos) {
|
|
$this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
347 => function ($stackPos) {
|
|
$this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
348 => function ($stackPos) {
|
|
$this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
349 => function ($stackPos) {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
350 => function ($stackPos) {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
351 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
352 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
353 => function ($stackPos) {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
354 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
355 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
356 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
357 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
358 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
359 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
360 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
361 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
362 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
363 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes;
|
|
$attrs['kind'] = strtolower($this->semStack[$stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
|
|
$this->semValue = new Expr\Exit_($this->semStack[$stackPos-(2-2)], $attrs);
|
|
},
|
|
364 => function ($stackPos) {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
365 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
366 => function ($stackPos) {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
367 => function ($stackPos) {
|
|
$this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
368 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
369 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
370 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
371 => function ($stackPos) {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
372 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-4)], 'uses' => $this->semStack[$stackPos-(10-6)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
373 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(11-3)], 'params' => $this->semStack[$stackPos-(11-5)], 'uses' => $this->semStack[$stackPos-(11-7)], 'returnType' => $this->semStack[$stackPos-(11-8)], 'stmts' => $this->semStack[$stackPos-(11-10)]], $this->startAttributeStack[$stackPos-(11-1)] + $this->endAttributes);
|
|
},
|
|
374 => function ($stackPos) {
|
|
$this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes), $this->semStack[$stackPos-(7-2)]);
|
|
$this->checkClass($this->semValue[0], -1);
|
|
},
|
|
375 => function ($stackPos) {
|
|
$this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
376 => function ($stackPos) {
|
|
list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
377 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
378 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
379 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
380 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
381 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
382 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
383 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
384 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
385 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
386 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
387 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
388 => function ($stackPos) {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
389 => function ($stackPos) {
|
|
$this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
390 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
391 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
392 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
393 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
394 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
395 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
396 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
397 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
398 => function ($stackPos) {
|
|
$this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
399 => function ($stackPos) {
|
|
foreach ($this->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
400 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
401 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
402 => function ($stackPos) {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
403 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
404 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], new Expr\Error($this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
405 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_SHORT;
|
|
$this->semValue = new Expr\Array_($this->semStack[$stackPos-(3-2)], $attrs);
|
|
},
|
|
406 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_LONG;
|
|
$this->semValue = new Expr\Array_($this->semStack[$stackPos-(4-3)], $attrs);
|
|
},
|
|
407 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
408 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$stackPos-(1-1)][0] === "'" || ($this->semStack[$stackPos-(1-1)][1] === "'" && ($this->semStack[$stackPos-(1-1)][0] === 'b' || $this->semStack[$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[$stackPos-(1-1)]), $attrs);
|
|
},
|
|
409 => function ($stackPos) {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
410 => function ($stackPos) {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
411 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
412 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
413 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
414 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
415 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
416 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
417 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
418 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
419 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
420 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
421 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$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[$stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)]), $attrs);
|
|
},
|
|
422 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$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[$stackPos-(2-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_('', $attrs);
|
|
},
|
|
423 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED;
|
|
foreach ($this->semStack[$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[$stackPos-(3-2)], $attrs);
|
|
},
|
|
424 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$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[$stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
foreach ($this->semStack[$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[$stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$stackPos-(3-2)], $attrs);
|
|
},
|
|
425 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
426 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
427 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
428 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
429 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
430 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
431 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
432 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
433 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
434 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
435 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
436 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
437 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
438 => function ($stackPos) {
|
|
$this->semValue = new Expr\MethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
439 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
440 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
441 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
442 => function ($stackPos) {
|
|
$this->semValue = substr($this->semStack[$stackPos-(1-1)], 1);
|
|
},
|
|
443 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
444 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
445 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
446 => function ($stackPos) {
|
|
$var = $this->semStack[$stackPos-(1-1)]; $this->semValue = \is_string($var) ? ($this->useIdentifierNodes ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var) : $var;
|
|
},
|
|
447 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
448 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
449 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
450 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
451 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
452 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
453 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
454 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
455 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
456 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
457 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
458 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
459 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
460 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
461 => function ($stackPos) {
|
|
$this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
462 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
463 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
464 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
465 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
466 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
467 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
468 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
469 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) unset($this->semValue[$end]);
|
|
},
|
|
470 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
471 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
472 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
473 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
474 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
475 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
476 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
477 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
478 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
479 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
480 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]);
|
|
},
|
|
481 => function ($stackPos) {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
482 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
483 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
484 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
485 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
486 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
487 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
488 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
489 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
490 => function ($stackPos) {
|
|
$this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
491 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
492 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
493 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
];
|
|
}
|
|
}
|