mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-14 18:16:06 +01:00
9de96821f7
Introduced in PHP 5.4, represented using an AssignOp\Coalesce node.
2459 lines
145 KiB
PHP
2459 lines
145 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 = 393;
|
|
protected $actionTableSize = 951;
|
|
protected $gotoTableSize = 515;
|
|
|
|
protected $invalidSymbol = 158;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 339;
|
|
protected $numNonLeafStates = 584;
|
|
|
|
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_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, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 54, 156, 158, 157, 53, 36, 158,
|
|
152, 153, 51, 48, 7, 49, 50, 52, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 30, 149,
|
|
42, 15, 44, 29, 66, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 68, 158, 155, 35, 158, 154, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 150, 34, 151, 56, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 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, 28, 31, 32, 33, 37, 38, 39, 40, 41,
|
|
43, 45, 46, 47, 55, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 67, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 158,
|
|
158, 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, 138, 158, 158, 158,
|
|
158, 158, 158, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148
|
|
);
|
|
|
|
protected $action = array(
|
|
589, 590, 591, 592, 593, 666, 594, 595, 596, 632,
|
|
633, 0, 32, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114,-32767,-32767,-32767,-32767,
|
|
93, 94, 95, 96, 97,-32766,-32766,-32766, 837, 668,
|
|
885, 886, 887, 884, 883, 882, 885, 886, 887, 884,
|
|
883, 882, 861, 597, 919, 921,-32766, 24,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766, 253, 598, 599, 600,
|
|
601, 602, 603, 604, 431, 827, 664,-32766,-32766,-32766,
|
|
1055,-32766, 118, 605, 606, 607, 608, 609, 610, 611,
|
|
612, 613, 614, 615, 635, 636, 637, 638, 639, 627,
|
|
628, 629, 630, 631, 616, 617, 618, 619, 620, 621,
|
|
622, 658, 659, 660, 661, 662, 663, 623, 624, 625,
|
|
626, 656, 647, 645, 646, 642, 643, 220, 634, 640,
|
|
641, 648, 649, 651, 650, 652, 653, 45, 46, 408,
|
|
47, 48, 644, 655, 654, 9, 49, 50, 120, 51,
|
|
-32766,-32766,-32766, 233, -294, -294, 673,-32766,-32766,-32766,
|
|
-455, 263, 123, 33,-32766,-32766,-32766, 767, 831, 832,
|
|
877,-32766, 1002,-32766,-32766,-32766,-32766,-32766,-32766, -454,
|
|
-32766,-32766,-32766, 52, 53,-32766, 543,-32766,-32766, 54,
|
|
245, 55, 225, 226, 56, 57, 58, 59, 60, 61,
|
|
62, 63, -272, 25, 236, 64, 360,-32766,-32766,-32766,
|
|
668, 1019, 1020, 410, 671, 1052, -490, 1095, 493, 1018,
|
|
1002, -455, 749, 98, 99, 100, 221, 244,-32766, 74,
|
|
-32766,-32766,-32766,-32766, -259, -455, 668, 253, 368, 101,
|
|
-454, 231, -455, 231, -458, 431, 253, 1104, 294, 268,
|
|
1105, 1052, 544, 280, -454, 365, 420, 421, -491, 863,
|
|
295, -454, 489, -457, -494, 422, 423, -233, 1024, 1025,
|
|
1026, 1027, 1021, 1022, 248, 28, 228, -453, 1014, 432,
|
|
1028, 1023, 365, 668, 995, 668, 30, 66, 298, 260,
|
|
115, 265, 270, 409, -136, -136, -136, -4, 749, 1052,
|
|
1052, 1070, 432, 738, 672, 365, 37, 20, 411, -136,
|
|
412, -136, 413, -136, 414, -136, 571, 415, 431, 235,
|
|
431, 38, 39, 361, 362, 302, 40, 416, 270, 353,
|
|
65, 1083, 995, 293, 42, 417, 418, 1082, -453, 831,
|
|
832, 419, 25, 354, 724, 772, 363, 364, 831, 832,
|
|
-176, 25, -453, 124, 1052, 124, 219, 1052, 1018, -453,
|
|
838, -91, -490, 1052,-32766,-32766,-32766, 1018, 749, 409,
|
|
751, 558, -136, 668, 477, 253, 270, 270, 666, 738,
|
|
-259, -177, 37, 20, 411,-32766, 412, 995, 413, 803,
|
|
414, 391, 356, 415, 232, 251, 995, 38, 39, 361,
|
|
362, 345, 40, 416, -491, 423, 65, 259, 431, 293,
|
|
-494, 417, 418, 422, 423, 357, 117, 419, -493, -453,
|
|
681, 772, 363, 364, 748, 44, 68, 125,-32766,-32766,
|
|
-32766, 270, 1071, 230, 270, 68, 668, 269, 749, 409,
|
|
270, 282, 131, 320, 689, 690, 751, 558, -4, 738,
|
|
126, 116, 37, 20, 411, 227, 412, 121, 413, 376,
|
|
414, 122, 560, 415, -218, -218, -218, 38, 39, 361,
|
|
362, 431, 40, 416, 358, 668, 65, 831, 832, 293,
|
|
-453, 417, 418, -497, 454, -497, 252, 419, 349, 229,
|
|
724, 772, 363, 364, -453, 359, -176, 668, 382, -238,
|
|
297, -453, 95, 96, 97, 518, 21, 119, 804, 409,
|
|
431, 392, 532, 533, 511, 512, 751, 558, -218, 738,
|
|
400, 8, 37, 20, 411, 128, 412, -177, 413, 133,
|
|
414, 668, 431, 415, -217, -217, -217, 38, 39, 361,
|
|
362, 1032, 40, 416, 134, 749, 65, 689, 690, 293,
|
|
135, 417, 418, -295, -295, 831, 832, 419, 862, 581,
|
|
724, 772, 363, 364, -493, 284, 431, -82, 75, 76,
|
|
77, 130, 246, 575, 569, 572, 763, 244, 101, 540,
|
|
43, 129, 891, 669, 666, 668, 751, 558, -217, 31,
|
|
1106, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 749, 244, 409, 458, 671,-32766,
|
|
463, 524, 552, 10, 373, -80, 738, 101, 510, 37,
|
|
20, 411, 995, 412, 519, 413, 525, 414, 1034, 535,
|
|
415, 773, 267, 565, 38, 39, 361, 380, 536, 40,
|
|
416, 261, 806, 65, 262, 376, 293, 1033, 0, 234,
|
|
749, 264, 0, 1031, 419, 874, 0, 350, 12, 0,
|
|
0, 0, 774, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 409, 0, 0, 0, 566,
|
|
0, 25, 296, 751, 558, 738, -412, 5, 37, 20,
|
|
411, 0, 412, 1052, 413, 351, 414, 1018, 327, 415,
|
|
338, 749, 334, 38, 39, 361, 333, 460, 40, 416,
|
|
765, 559, 65, 729, 580, 293, 36, 35, 579, 790,
|
|
867, 409, 797, 419, 870, 869, 995, 866, 785, 727,
|
|
564, 738, 798, 749, 37, 20, 411, 787, 412, 858,
|
|
413, 857, 414, 422, 423, 415, 868, 796, 561, 38,
|
|
39, 361, 751, 558, 40, 416, 344, 343, 65, 563,
|
|
279, 293, 573, 795, 278, 68, 574, 570, 568, 419,
|
|
270, 567, 409, 562, 41, 749, 756, 766, 758, 692,
|
|
983, 769, 738, 725, 1046, 37, 20, 411, 1101, 412,
|
|
1103, 413, 684, 414, 771, 683, 415, 693, 789, 558,
|
|
38, 39, 361, 770, 409, 40, 416, 694, 691, 65,
|
|
1100, 1053, 293, 1102, 738, 1060, 1065, 37, 20, 411,
|
|
419, 412, 1068, 413, 576, 414, 34, 27, 415, 26,
|
|
23, -456, 38, 39, 361, -457, -458, 40, 416, -480,
|
|
-482, 65, 240, 348, 293, 346, 409, 281, 243, 751,
|
|
558, 242, 419, 241, 224, 223, 738, 136, 132, 37,
|
|
20, 411, 127, 412, 73, 413, 72, 414, 71, 70,
|
|
415, 69, 67, 515, 38, 39, 361, 959, 962, 40,
|
|
416, 751, 558, 65, 551, 1015, 293,-32766,-32766,-32766,
|
|
506, 487, 316, 255, 419, 22, 18, 13, -236, 987,
|
|
839, 1016, 958, 1006, 549, 406, 399, 397,-32766, 393,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 317, 19, 751, 558, 17, -91, 0, 16, 15,
|
|
14, -233, -234, 0, 975, -424, 0, 1098, 1059, 1045,
|
|
1044
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 78, 8, 9, 10, 11,
|
|
12, 0, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 8, 9, 10, 1, 78,
|
|
113, 114, 115, 116, 117, 118, 113, 114, 115, 116,
|
|
117, 118, 1, 55, 57, 58, 29, 7, 31, 32,
|
|
33, 34, 35, 36, 8, 9, 29, 69, 70, 71,
|
|
72, 73, 74, 75, 113, 1, 78, 8, 9, 10,
|
|
1, 8, 13, 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, 13, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 2, 3, 4,
|
|
5, 6, 144, 145, 146, 7, 11, 12, 7, 14,
|
|
8, 9, 10, 7, 103, 104, 1, 8, 9, 10,
|
|
68, 110, 30, 13, 8, 9, 10, 1, 131, 132,
|
|
119, 29, 1, 31, 32, 33, 34, 35, 29, 68,
|
|
31, 32, 33, 48, 49, 29, 78, 31, 32, 54,
|
|
7, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 151, 68, 69, 70, 71, 8, 9, 10,
|
|
78, 76, 77, 78, 80, 80, 7, 83, 49, 84,
|
|
1, 129, 1, 51, 52, 53, 13, 55, 29, 150,
|
|
31, 32, 33, 34, 7, 143, 78, 29, 103, 67,
|
|
129, 36, 150, 36, 152, 113, 29, 78, 113, 7,
|
|
81, 80, 144, 7, 143, 147, 121, 122, 7, 151,
|
|
7, 150, 1, 152, 7, 130, 131, 153, 133, 134,
|
|
135, 136, 137, 138, 139, 141, 142, 68, 1, 144,
|
|
145, 146, 147, 78, 113, 78, 7, 152, 7, 154,
|
|
15, 156, 157, 72, 73, 74, 75, 0, 1, 80,
|
|
80, 1, 144, 82, 149, 147, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 150, 96, 113, 36,
|
|
113, 100, 101, 102, 103, 7, 105, 106, 157, 7,
|
|
109, 1, 113, 112, 68, 114, 115, 7, 129, 131,
|
|
132, 120, 68, 124, 123, 124, 125, 126, 131, 132,
|
|
7, 68, 143, 148, 80, 148, 95, 80, 84, 150,
|
|
153, 153, 153, 80, 8, 9, 10, 84, 1, 72,
|
|
149, 150, 151, 78, 79, 29, 157, 157, 78, 82,
|
|
153, 7, 85, 86, 87, 29, 89, 113, 91, 30,
|
|
93, 30, 7, 96, 36, 129, 113, 100, 101, 102,
|
|
103, 104, 105, 106, 153, 131, 109, 110, 113, 112,
|
|
153, 114, 115, 130, 131, 7, 150, 120, 7, 68,
|
|
123, 124, 125, 126, 30, 68, 152, 150, 8, 9,
|
|
10, 157, 153, 36, 157, 152, 78, 68, 1, 72,
|
|
157, 144, 98, 99, 103, 104, 149, 150, 151, 82,
|
|
150, 15, 85, 86, 87, 36, 89, 15, 91, 147,
|
|
93, 15, 150, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 113, 105, 106, 7, 78, 109, 131, 132, 112,
|
|
129, 114, 115, 153, 83, 155, 129, 120, 147, 36,
|
|
123, 124, 125, 126, 143, 7, 153, 78, 129, 153,
|
|
143, 150, 48, 49, 50, 73, 74, 150, 149, 72,
|
|
113, 150, 73, 74, 107, 108, 149, 150, 151, 82,
|
|
103, 104, 85, 86, 87, 15, 89, 153, 91, 15,
|
|
93, 78, 113, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 140, 105, 106, 15, 1, 109, 103, 104, 112,
|
|
15, 114, 115, 103, 104, 131, 132, 120, 149, 150,
|
|
123, 124, 125, 126, 153, 34, 113, 30, 8, 9,
|
|
10, 30, 30, 30, 30, 30, 36, 55, 67, 75,
|
|
68, 68, 80, 78, 78, 78, 149, 150, 151, 29,
|
|
81, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 1, 55, 72, 83, 80, 83,
|
|
87, 94, 90, 95, 103, 95, 82, 67, 110, 85,
|
|
86, 87, 113, 89, 88, 91, 97, 93, 140, 92,
|
|
96, 124, 127, 30, 100, 101, 102, 95, 97, 105,
|
|
106, 127, 149, 109, 128, 147, 112, 156, -1, 36,
|
|
1, 111, -1, 140, 120, 149, -1, 147, 143, -1,
|
|
-1, -1, 124, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 72, -1, -1, -1, 30,
|
|
-1, 68, 143, 149, 150, 82, 143, 143, 85, 86,
|
|
87, -1, 89, 80, 91, 147, 93, 84, 147, 96,
|
|
147, 1, 147, 100, 101, 102, 147, 147, 105, 106,
|
|
148, 150, 109, 149, 149, 112, 149, 149, 149, 149,
|
|
149, 72, 149, 120, 149, 149, 113, 149, 149, 149,
|
|
30, 82, 149, 1, 85, 86, 87, 149, 89, 149,
|
|
91, 149, 93, 130, 131, 96, 149, 151, 150, 100,
|
|
101, 102, 149, 150, 105, 106, 150, 150, 109, 150,
|
|
150, 112, 30, 151, 150, 152, 150, 150, 150, 120,
|
|
157, 150, 72, 150, 152, 1, 151, 151, 151, 151,
|
|
151, 151, 82, 151, 151, 85, 86, 87, 151, 89,
|
|
151, 91, 151, 93, 151, 151, 96, 151, 149, 150,
|
|
100, 101, 102, 151, 72, 105, 106, 151, 151, 109,
|
|
151, 151, 112, 151, 82, 151, 151, 85, 86, 87,
|
|
120, 89, 151, 91, 151, 93, 152, 152, 96, 152,
|
|
152, 152, 100, 101, 102, 152, 152, 105, 106, 152,
|
|
152, 109, 152, 152, 112, 152, 72, 152, 152, 149,
|
|
150, 152, 120, 152, 152, 152, 82, 152, 152, 85,
|
|
86, 87, 152, 89, 152, 91, 152, 93, 152, 152,
|
|
96, 152, 152, 155, 100, 101, 102, 153, 153, 105,
|
|
106, 149, 150, 109, 153, 155, 112, 8, 9, 10,
|
|
153, 153, 153, 153, 120, 153, 153, 153, 153, 153,
|
|
153, 153, 153, 153, 153, 153, 153, 153, 29, 153,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 153, 153, 149, 150, 153, 153, -1, 153, 153,
|
|
153, 153, 153, -1, 154, 154, -1, 155, 155, 155,
|
|
155
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 221, 297, 367, 437, 277, 108, 607, -2, -2,
|
|
-73, -2, -2, 613, 544, 544, 742, 544, 710, 659,
|
|
784, 784, 784, 207, 205, 419, 419, 453, 295, 419,
|
|
453, 132, 397, 358, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
|
|
-39, -39, -39, -39, -39, -39, -39, 155, 155, 359,
|
|
261, 150, 750, 735, 748, 753, 754, 749, 734, 213,
|
|
669, 670, 541, 643, 674, 675, 681, 747, 728, 752,
|
|
741, 560, 560, 560, 560, 560, 560, 560, 560, 560,
|
|
560, 560, 560, 560, 560, 560, 560, 73, 69, 56,
|
|
420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
|
356, 356, 356, 156, 209, 149, 199, 351, 142, 27,
|
|
889, 889, 889, 889, 889, -16, -16, -16, -16, 623,
|
|
623, 283, 51, 274, 274, 274, 274, 274, 274, 274,
|
|
274, 274, 274, 274, 274, 274, 219, 450, 454, 454,
|
|
346, 346, 346, 346, 171, 208, 37, 217, 401, 498,
|
|
501, 300, 300, 424, 92, 111, 172, 172, 172, 341,
|
|
534, 519, 519, 519, 519, 134, 134, 519, 519, 169,
|
|
79, 330, 351, 351, 357, 351, 351, 351, 444, 444,
|
|
444, 158, 312, 536, 158, 516, 633, 539, 622, 551,
|
|
606, 266, 520, 220, 521, 558, 220, 220, 220, 407,
|
|
432, 439, 783, 155, 553, 155, 155, 155, 155, 700,
|
|
155, 155, 155, 155, 155, 155, 361, 155, 74, 409,
|
|
359, 166, 166, 531, 166, 522, 369, 624, 343, 279,
|
|
522, 522, 522, 620, 617, 251, 227, 114, 616, 374,
|
|
417, 411, 257, 507, 507, 506, 506, 502, 540, 507,
|
|
507, 507, 507, 507, 688, 688, 506, 538, 506, 502,
|
|
632, 506, 540, 506, 506, 507, 506, 688, 540, 141,
|
|
385, 253, 281, 540, 408, 524, 507, 515, 515, 467,
|
|
506, 146, 506, 50, 526, 688, 688, 526, 183, 540,
|
|
242, 579, 575, 518, 572, 246, 542, 542, 322, 518,
|
|
540, 542, 488, 138, 538, 318, 542, 11, 730, 729,
|
|
537, 727, 684, 726, 703, 724, 571, 517, 548, 713,
|
|
712, 722, 685, 687, 394, 570, 275, 436, 554, 512,
|
|
689, 521, 508, 511, 511, 511, 512, 694, 511, 511,
|
|
511, 511, 511, 511, 511, 511, 740, 549, 533, 442,
|
|
561, 552, 446, 608, 523, 570, 570, 642, 791, 790,
|
|
505, 700, 760, 720, 578, 510, 779, 711, 683, 569,
|
|
565, 709, 778, 759, 619, 275, 758, 647, 513, 649,
|
|
570, 651, 511, 697, 698, 795, 794, 693, 793, 787,
|
|
766, 563, 653, 509, 792, 654, 757, 631, 628, 577,
|
|
786, 755, 764, 656, 763, 662, 574, 546, 789, 527,
|
|
701, 705, 627, 666, 667, 672, 640, 639, 716, 503,
|
|
785, 547, 782, 788, 580, 583, 514, 638, 602, 529,
|
|
535, 600, 715, 545, 504, 598, 593, 756, 637, 706,
|
|
590, 636, 761, 530, 508, 525, 550, 528, 532, 626,
|
|
762, 543, 589, 588, 586, 585, 635, 581, 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, 135, 135, 135, 135, -2,
|
|
-2, -2, 0, 0, -2, 0, 0, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
135, 560, 560, 560, 560, 560, 560, 560, 560, 560,
|
|
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
|
|
560, 560, 560, 560, 560, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 560, 560, 560, 560, 560, 560, 560, 560, 560,
|
|
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
|
|
560, 560, 560, 560, 560, 560, 560, 560, -3, 560,
|
|
560, -3, 560, 560, 560, 560, 560, 560, 560, 172,
|
|
172, 172, 172, 158, 158, 158, -67, 158, 158, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
|
|
158, -67, 172, 172, 158, 158, 158, 158, 158, 158,
|
|
158, 158, 134, 134, 134, 220, 220, 158, 0, 0,
|
|
0, 0, 0, 507, 134, 158, 158, 158, 158, 0,
|
|
0, 158, 158, 538, 220, 0, 0, 0, 0, 0,
|
|
0, 0, 507, 507, 507, 0, 507, 134, 0, 166,
|
|
155, 344, 344, 344, 344, 0, 507, 0, 538, 507,
|
|
0, 0, 0, 0, 0, 0, 540, 0, 688, 0,
|
|
0, 0, 0, 506, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 538, 0, 0, 0, 0, 538, 0, 511,
|
|
0, 505, 0, 0, 511, 511, 511, 505, 505, 0,
|
|
0, 0, 505
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,32767,32767,32767,32767,32767,32767,32767,32767, 91,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 93, 506, 506, 496,32767, 506,
|
|
496,32767,32767,32767, 313, 313, 313,32767, 451, 451,
|
|
451, 451, 451, 451, 451,32767,32767,32767,32767,32767,
|
|
393,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,
|
|
91,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 503,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 376, 377, 379, 380, 312, 452, 258, 502, 311,
|
|
129, 269, 260, 210, 242, 309, 133, 341, 394, 343,
|
|
392, 396, 342, 318, 322, 323, 324, 325, 326, 327,
|
|
328, 329, 330, 331, 332, 333, 334, 316, 317, 395,
|
|
373, 372, 371, 339, 315, 340, 344, 315, 346, 345,
|
|
362, 363, 360, 361, 364, 365, 366, 367, 368,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 93,32767,32767,32767, 292, 353, 354,
|
|
249, 249, 249, 249,32767, 249,32767, 249,32767,32767,
|
|
32767,32767,32767,32767, 445, 370, 348, 349, 347,32767,
|
|
423,32767,32767,32767,32767,32767, 425,32767, 91,32767,
|
|
32767,32767, 336, 338, 417, 505, 319, 504,32767,32767,
|
|
93,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 420,32767,32767, 411, 91,32767,32767, 91, 173,
|
|
229, 231, 178,32767, 428,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 358, 513,32767, 453,32767,
|
|
350, 351, 352,32767,32767, 453, 453, 453,32767, 453,
|
|
32767, 453, 453,32767,32767,32767,32767,32767, 178,32767,
|
|
32767,32767,32767, 93, 426, 426, 91, 91, 91, 91,
|
|
421,32767, 178,32767,32767,32767,32767,32767, 178, 90,
|
|
90, 90, 90, 178, 90, 193,32767, 191, 191, 90,
|
|
32767, 92,32767, 92, 195,32767, 467, 195, 90, 178,
|
|
90, 215, 215, 402, 180, 92, 251, 251, 92, 402,
|
|
178, 251, 90, 90,32767, 90, 251,32767,32767,32767,
|
|
84,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 413,32767, 433,32767, 446,
|
|
465, 411,32767, 356, 357, 359,32767, 455, 381, 382,
|
|
383, 384, 385, 386, 387, 389,32767, 416,32767,32767,
|
|
86, 120, 268,32767, 511, 86, 414,32767, 511,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 86,
|
|
86,32767,32767,32767,32767, 492,32767, 512,32767, 453,
|
|
415,32767, 355, 429, 472,32767,32767, 454,32767,32767,
|
|
32767, 86,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 433,32767,32767,32767,32767,32767,32767, 453,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 453,32767,32767, 241,32767,32767, 308,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 84, 60,32767, 288,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 135, 135,
|
|
3, 271, 3, 271, 135, 135, 135, 271, 271, 135,
|
|
135, 135, 135, 135, 135, 135, 168, 223, 226, 215,
|
|
215, 280, 135, 135
|
|
);
|
|
|
|
protected $goto = array(
|
|
167, 167, 141, 141, 149, 150, 141, 149, 152, 183,
|
|
168, 165, 165, 165, 165, 166, 166, 166, 166, 166,
|
|
166, 166, 161, 162, 163, 164, 180, 178, 181, 433,
|
|
434, 325, 435, 438, 439, 440, 441, 442, 443, 444,
|
|
445, 905, 138, 142, 143, 144, 145, 146, 140, 147,
|
|
148, 151, 177, 179, 182, 200, 203, 205, 206, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
238, 239, 256, 257, 258, 330, 331, 332, 482, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 153, 199, 154, 169, 170, 171,
|
|
201, 172, 155, 156, 157, 173, 158, 202, 139, 159,
|
|
174, 175, 176, 160, 545, 204, 450, 554, 204, 746,
|
|
307, 311, 462, 485, 486, 488, 483, 873, 557, 680,
|
|
992, 496, 539, 871, 484, 455, 455, 455, 288, 455,
|
|
266, 475, 679, 701, 475, 250, 695, 322, 741, 470,
|
|
742, 324, 455, 436, 436, 436, 285, 436, 436, 436,
|
|
436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
|
|
437, 437, 437, 715, 437, 437, 437, 437, 437, 437,
|
|
437, 437, 437, 437, 437, 437, 437, 1091, 1091, 481,
|
|
505, 495, 667, 993, 516, 517, 788, 1092, 1092, 841,
|
|
455, 455, 981, 768, 1091, 982, 469, 491, 455, 455,
|
|
455, 994, 1048, 468, 1092, 780, 319, 553, 578, 507,
|
|
509, 1094, 456, 521, 538, 541, 816, 548, 556, 812,
|
|
501, 501, 1017, 480, 1017, 1017, 1017, 1017, 1017, 1017,
|
|
1017, 1017, 1017, 1017, 1017, 1017, 1017, 706, 499, 520,
|
|
678, 502, 504, 550, 1062, 1063, 880, 3, 4, 476,
|
|
1084, 805, 786, 786, 784, 786, 577, 682, 448, 814,
|
|
809, 881, 1072, 305, 447, 522, 473, 953, 836, 1061,
|
|
706, 824, 447, 706, 687, 292, 737, 732, 733, 747,
|
|
347, 688, 734, 685, 735, 736, 686, 829, 740, 782,
|
|
782, 782, 782, 513, 286, 776, 783, 337, 523, 341,
|
|
702, 328, 328, 272, 273, 275, 479, 335, 276, 336,
|
|
277, 339, 508, 342, 699, 289, 290, 315, 582, 846,
|
|
527, 697, 697, 819, 819, 1079, 309, 707, 707, 707,
|
|
709, 696, 461, 989, 996, 984, 850, 471, 830, 830,
|
|
830, 830, 996, 830, 830, 830, 793, 711, 1067, 1067,
|
|
387, 830, 890, 394, 401, 1058, 498, 0, 0, 996,
|
|
996, 996, 996, 1058, 11, 996, 996, 0, 0, 1107,
|
|
1069, 1069, 710, 698, 845, 0, 849, 0, 0, 754,
|
|
0, 791, 755, 0, 0, 0, 0, 0, 0, 1054,
|
|
821, 0, 781, 0, 452, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 888, 714, 467, 988, 0, 0,
|
|
0, 0, 848, 0, 0, 1056, 1056, 848, 526, 0,
|
|
0, 0, 0, 542, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 449, 465, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 449, 0, 465, 0, 452, 308, 0,
|
|
453, 375, 0, 377, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 705, 0, 1099,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 991
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 63, 56, 10, 8, 56, 13,
|
|
49, 49, 49, 49, 49, 49, 7, 7, 7, 18,
|
|
92, 15, 7, 7, 97, 10, 10, 10, 80, 10,
|
|
134, 85, 17, 15, 85, 134, 15, 69, 55, 10,
|
|
55, 69, 10, 135, 135, 135, 69, 135, 135, 135,
|
|
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
|
137, 137, 137, 36, 137, 137, 137, 137, 137, 137,
|
|
137, 137, 137, 137, 137, 137, 137, 147, 147, 2,
|
|
73, 2, 5, 92, 73, 73, 40, 148, 148, 94,
|
|
10, 10, 67, 67, 147, 67, 10, 10, 10, 10,
|
|
10, 92, 92, 39, 148, 76, 76, 76, 39, 39,
|
|
39, 147, 10, 39, 39, 39, 39, 39, 39, 39,
|
|
86, 86, 86, 10, 86, 86, 86, 86, 86, 86,
|
|
86, 86, 86, 86, 86, 86, 86, 26, 46, 46,
|
|
16, 68, 68, 68, 141, 141, 111, 37, 37, 136,
|
|
146, 16, 16, 16, 16, 16, 16, 13, 16, 16,
|
|
16, 111, 143, 52, 75, 54, 53, 118, 90, 139,
|
|
26, 88, 75, 26, 13, 20, 13, 13, 13, 13,
|
|
89, 13, 13, 13, 13, 13, 13, 91, 13, 75,
|
|
75, 75, 75, 24, 11, 75, 75, 56, 56, 56,
|
|
30, 56, 56, 56, 56, 56, 56, 56, 56, 56,
|
|
56, 56, 56, 56, 28, 80, 80, 19, 82, 96,
|
|
23, 26, 26, 85, 85, 85, 65, 26, 26, 26,
|
|
26, 26, 65, 127, 63, 124, 99, 65, 63, 63,
|
|
63, 63, 63, 63, 63, 63, 79, 32, 8, 8,
|
|
71, 63, 114, 65, 122, 97, 72, -1, -1, 63,
|
|
63, 63, 63, 97, 65, 63, 63, -1, -1, 12,
|
|
97, 97, 14, 14, 14, -1, 14, -1, -1, 63,
|
|
-1, 14, 63, -1, -1, -1, -1, -1, -1, 97,
|
|
14, -1, 14, -1, 12, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 14, 14, 8, 14, -1, -1,
|
|
-1, -1, 97, -1, -1, 97, 97, 97, 12, -1,
|
|
-1, -1, -1, 12, -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, 12, 8, -1,
|
|
8, 8, -1, 8, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 8, -1, 8,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 12
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -371, 0, 0, 182, 0, 121, 107, 0,
|
|
-143, 22, 110, -19, 12, -252, 248, 140, 127, 35,
|
|
26, 0, 0, -14, 24, 0, -12, 0, 29, 0,
|
|
30, 0, 1, -23, 0, 0, 164, -325, 0, -346,
|
|
177, 0, 0, 0, 0, 0, 213, 0, 0, 81,
|
|
0, 0, 236, 52, 55, 133, 88, 0, 0, 0,
|
|
0, 0, 0, 108, 0, -26, 0, -119, 10, -250,
|
|
0, -18, -21, -373, 0, 38, -47, 0, 0, -2,
|
|
-254, 0, 8, 0, 0, 114, 11, 0, 36, 43,
|
|
32, 44, -174, 0, 175, 0, 31, 129, 0, -11,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 34, 0, 0, 3, 0, 0, 0, 33, 0,
|
|
0, 0, -35, 0, -10, 0, 0, -5, 0, 0,
|
|
0, 0, 0, 0, -120, -66, 233, -49, 0, 27,
|
|
0, -42, 0, 242, 0, 0, 231, -62, -52, 0,
|
|
0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 407, 585, 2, 586, 657, 665, 530, 424, 555,
|
|
425, 451, 326, 739, 894, 759, 721, 722, 723, 312,
|
|
352, 303, 310, 514, 503, 398, 708, 371, 700, 395,
|
|
703, 370, 712, 137, 531, 403, 716, 1, 718, 457,
|
|
750, 300, 726, 301, 534, 728, 464, 730, 731, 306,
|
|
313, 314, 898, 472, 500, 743, 207, 466, 744, 299,
|
|
745, 753, 323, 304, 381, 404, 318, 875, 490, 321,
|
|
366, 384, 497, 492, 474, 1003, 778, 390, 379, 792,
|
|
287, 800, 583, 808, 811, 426, 427, 388, 823, 389,
|
|
834, 828, 1011, 383, 840, 372, 847, 1043, 374, 851,
|
|
222, 854, 247, 528, 340, 859, 860, 6, 865, 546,
|
|
547, 7, 237, 402, 889, 529, 369, 904, 355, 972,
|
|
974, 459, 396, 985, 378, 537, 405, 990, 1047, 367,
|
|
428, 385, 274, 291, 249, 429, 446, 254, 430, 386,
|
|
1050, 1057, 329, 1073, 271, 29, 1085, 1093, 283, 478,
|
|
494
|
|
);
|
|
|
|
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, 10, 10, 11, 12, 13, 13,
|
|
14, 14, 15, 15, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 20, 20, 21, 21, 21,
|
|
21, 23, 25, 25, 19, 27, 27, 24, 29, 29,
|
|
26, 26, 28, 28, 30, 30, 22, 31, 31, 32,
|
|
34, 35, 35, 36, 37, 37, 39, 38, 38, 38,
|
|
38, 40, 40, 40, 40, 40, 40, 40, 40, 40,
|
|
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
|
|
40, 40, 40, 40, 40, 40, 16, 16, 59, 59,
|
|
62, 62, 61, 60, 60, 53, 64, 64, 65, 65,
|
|
66, 66, 67, 67, 17, 18, 18, 18, 70, 70,
|
|
70, 71, 71, 74, 74, 72, 72, 76, 77, 77,
|
|
47, 47, 55, 55, 58, 58, 58, 57, 78, 78,
|
|
79, 48, 48, 48, 48, 80, 80, 81, 81, 82,
|
|
82, 45, 45, 41, 41, 83, 43, 43, 84, 42,
|
|
42, 44, 44, 54, 54, 54, 54, 68, 68, 87,
|
|
87, 88, 88, 88, 90, 90, 91, 91, 91, 89,
|
|
89, 69, 69, 69, 92, 92, 93, 93, 94, 94,
|
|
94, 50, 95, 95, 96, 51, 98, 98, 99, 99,
|
|
100, 100, 73, 101, 101, 101, 101, 101, 106, 106,
|
|
107, 107, 108, 108, 108, 108, 108, 109, 110, 110,
|
|
105, 105, 102, 102, 104, 104, 112, 112, 111, 111,
|
|
111, 111, 111, 111, 103, 113, 113, 115, 114, 114,
|
|
52, 116, 116, 46, 46, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 123,
|
|
117, 117, 122, 122, 125, 126, 126, 127, 128, 128,
|
|
128, 75, 75, 63, 63, 63, 118, 118, 118, 130,
|
|
130, 119, 119, 121, 121, 121, 124, 124, 135, 135,
|
|
135, 86, 137, 137, 137, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 49, 49, 133, 133, 133, 129, 129, 129, 138,
|
|
138, 138, 138, 138, 138, 56, 56, 56, 97, 97,
|
|
97, 97, 141, 140, 132, 132, 132, 132, 132, 132,
|
|
131, 131, 131, 139, 139, 139, 139, 85, 142, 142,
|
|
143, 143, 143, 143, 143, 143, 143, 136, 145, 145,
|
|
144, 144, 146, 146, 146, 146, 146, 134, 134, 134,
|
|
134, 148, 149, 147, 147, 147, 147, 147, 147, 147,
|
|
150, 150, 150, 150
|
|
);
|
|
|
|
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, 1, 3, 1, 1, 1, 1,
|
|
0, 1, 0, 1, 1, 1, 1, 1, 3, 5,
|
|
4, 3, 4, 2, 3, 1, 1, 7, 8, 6,
|
|
7, 2, 3, 1, 2, 3, 1, 2, 3, 1,
|
|
1, 3, 1, 2, 1, 2, 2, 3, 1, 3,
|
|
2, 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, 6,
|
|
5, 6, 3, 3, 2, 1, 1, 1, 0, 2,
|
|
1, 3, 8, 0, 4, 2, 1, 3, 0, 1,
|
|
0, 1, 3, 1, 8, 7, 6, 5, 1, 2,
|
|
2, 0, 2, 0, 2, 0, 2, 2, 1, 3,
|
|
1, 4, 1, 4, 1, 1, 4, 2, 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, 2, 0, 1,
|
|
3, 4, 6, 4, 1, 2, 1, 1, 1, 0,
|
|
1, 0, 2, 2, 2, 4, 1, 3, 1, 2,
|
|
2, 2, 3, 1, 1, 2, 3, 1, 1, 3,
|
|
2, 0, 1, 4, 4, 9, 3, 1, 1, 3,
|
|
0, 2, 4, 5, 4, 4, 4, 3, 1, 1,
|
|
1, 1, 1, 1, 0, 1, 1, 2, 1, 1,
|
|
1, 1, 1, 1, 2, 1, 3, 1, 1, 3,
|
|
2, 3, 1, 0, 1, 1, 3, 3, 3, 4,
|
|
1, 2, 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,
|
|
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, 8, 9, 7,
|
|
3, 2, 0, 4, 2, 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, 2, 1, 3, 4, 3, 0, 1, 1, 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 = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
81 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
82 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
83 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
84 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
85 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
86 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
87 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
88 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
89 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
90 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
91 => function ($stackPos) {
|
|
$this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
92 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
93 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
94 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
95 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
96 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
97 => function ($stackPos) {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
98 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(3-2)], null, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON);
|
|
$this->checkNamespace($this->semValue);
|
|
},
|
|
99 => 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->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
},
|
|
100 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
},
|
|
101 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
102 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
103 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
104 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
105 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
},
|
|
106 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
},
|
|
107 => 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);
|
|
},
|
|
108 => 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);
|
|
},
|
|
109 => 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);
|
|
},
|
|
110 => 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);
|
|
},
|
|
111 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
112 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
113 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
114 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
115 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
116 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
117 => function ($stackPos) {
|
|
$this->semValue = $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 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));
|
|
},
|
|
121 => 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));
|
|
},
|
|
122 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
123 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
124 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
},
|
|
125 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
126 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
127 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
128 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
129 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
130 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
131 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
132 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
133 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
134 => 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)]; };
|
|
},
|
|
135 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
136 => 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)];
|
|
},
|
|
137 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
138 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
139 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
140 => function ($stackPos) {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
141 => function ($stackPos) {
|
|
|
|
if ($this->semStack[$stackPos-(3-2)]) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)]; $attrs = $this->startAttributeStack[$stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments'])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
} else {
|
|
$startAttributes = $this->startAttributeStack[$stackPos-(3-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $this->semValue = null; };
|
|
if (null === $this->semValue) { $this->semValue = array(); }
|
|
}
|
|
|
|
},
|
|
142 => 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);
|
|
},
|
|
143 => 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);
|
|
},
|
|
144 => function ($stackPos) {
|
|
$this->semValue = new Stmt\While_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
145 => 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);
|
|
},
|
|
146 => 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);
|
|
},
|
|
147 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
148 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
149 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
150 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
151 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
152 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
153 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
154 => function ($stackPos) {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
155 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
156 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
157 => 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);
|
|
},
|
|
158 => 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);
|
|
},
|
|
159 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(6-3)], new Expr\Error($this->startAttributeStack[$stackPos-(6-4)] + $this->endAttributeStack[$stackPos-(6-4)]), ['stmts' => $this->semStack[$stackPos-(6-6)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
160 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
161 => 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);
|
|
},
|
|
162 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
163 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
164 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
165 => function ($stackPos) {
|
|
$this->semValue = array(); /* means: no statement */
|
|
},
|
|
166 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
167 => 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 */
|
|
},
|
|
168 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
169 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
170 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
171 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
172 => 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);
|
|
},
|
|
173 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
174 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
175 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
176 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
177 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
178 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
179 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
180 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
181 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
182 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
183 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
184 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Function_($this->semStack[$stackPos-(8-3)], ['byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-5)], 'returnType' => $this->semStack[$stackPos-(8-7)], 'stmts' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
185 => 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));
|
|
},
|
|
186 => 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));
|
|
},
|
|
187 => 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);
|
|
},
|
|
188 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
189 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
190 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
191 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
192 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
193 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
194 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
195 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
196 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
197 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
198 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
199 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
200 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
201 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
202 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
203 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
204 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
205 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
206 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
207 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
208 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
209 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
210 => function ($stackPos) {
|
|
$this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
211 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
212 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
213 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
214 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(5-3)];
|
|
},
|
|
215 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
216 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
217 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
218 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
219 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
220 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
221 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
222 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
223 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
224 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
225 => 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);
|
|
},
|
|
226 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
227 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
228 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
229 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
230 => 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);
|
|
},
|
|
231 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
232 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
233 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
234 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-2)], true);
|
|
},
|
|
235 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
236 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
237 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
238 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
239 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
240 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
241 => 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);
|
|
},
|
|
242 => 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);
|
|
},
|
|
243 => function ($stackPos) {
|
|
$this->semValue = new Node\Param(new Expr\Error($this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes), null, $this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
244 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
245 => function ($stackPos) {
|
|
$this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
246 => function ($stackPos) {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
247 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
248 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
249 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
250 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
251 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
252 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
253 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
254 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
255 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
256 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
257 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
258 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
259 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
260 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
261 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
262 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
263 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
264 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
265 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
266 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
267 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
268 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
269 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
270 => function ($stackPos) {
|
|
if ($this->semStack[$stackPos-(2-2)] !== null) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }
|
|
},
|
|
271 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
272 => 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)];
|
|
},
|
|
273 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes;
|
|
$this->semValue = new Stmt\Property($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $attrs, $this->semStack[$stackPos-(4-2)]); $this->checkProperty($this->semValue, $stackPos-(4-1));
|
|
},
|
|
274 => 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));
|
|
},
|
|
275 => 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));
|
|
},
|
|
276 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
277 => function ($stackPos) {
|
|
$this->semValue = null; /* will be skipped */
|
|
},
|
|
278 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
279 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
280 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
281 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
282 => 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);
|
|
},
|
|
283 => 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);
|
|
},
|
|
284 => 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);
|
|
},
|
|
285 => 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);
|
|
},
|
|
286 => 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);
|
|
},
|
|
287 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]);
|
|
},
|
|
288 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
289 => function ($stackPos) {
|
|
$this->semValue = array(null, $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
290 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
291 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
292 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
293 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
294 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
295 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
296 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
297 => 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)];
|
|
},
|
|
298 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
},
|
|
299 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
},
|
|
300 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
},
|
|
301 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
},
|
|
302 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
303 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
304 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
305 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
306 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
307 => function ($stackPos) {
|
|
$this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
308 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
309 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
310 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
311 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
312 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
313 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
314 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
315 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
316 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
317 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
318 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
319 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
320 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
321 => function ($stackPos) {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
322 => 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);
|
|
},
|
|
323 => 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);
|
|
},
|
|
324 => 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);
|
|
},
|
|
325 => 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);
|
|
},
|
|
326 => 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);
|
|
},
|
|
327 => 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);
|
|
},
|
|
328 => 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);
|
|
},
|
|
329 => 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);
|
|
},
|
|
330 => 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);
|
|
},
|
|
331 => 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);
|
|
},
|
|
332 => 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);
|
|
},
|
|
333 => 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);
|
|
},
|
|
334 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
335 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
336 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
337 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
338 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
339 => 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);
|
|
},
|
|
340 => 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);
|
|
},
|
|
341 => 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);
|
|
},
|
|
342 => 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);
|
|
},
|
|
343 => 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);
|
|
},
|
|
344 => 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);
|
|
},
|
|
345 => 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);
|
|
},
|
|
346 => 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);
|
|
},
|
|
347 => 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);
|
|
},
|
|
348 => 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);
|
|
},
|
|
349 => 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);
|
|
},
|
|
350 => 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);
|
|
},
|
|
351 => 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);
|
|
},
|
|
352 => 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);
|
|
},
|
|
353 => 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);
|
|
},
|
|
354 => 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);
|
|
},
|
|
355 => 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);
|
|
},
|
|
356 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
357 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
358 => function ($stackPos) {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
359 => function ($stackPos) {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
360 => 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);
|
|
},
|
|
361 => 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);
|
|
},
|
|
362 => 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);
|
|
},
|
|
363 => 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);
|
|
},
|
|
364 => 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);
|
|
},
|
|
365 => 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);
|
|
},
|
|
366 => 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);
|
|
},
|
|
367 => 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);
|
|
},
|
|
368 => 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);
|
|
},
|
|
369 => function ($stackPos) {
|
|
$this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
370 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
371 => 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);
|
|
},
|
|
372 => 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);
|
|
},
|
|
373 => 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);
|
|
},
|
|
374 => function ($stackPos) {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
375 => function ($stackPos) {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
376 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
377 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
378 => function ($stackPos) {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
379 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
380 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
381 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
382 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes;
|
|
$attrs['kind'] = $this->getFloatCastKind($this->semStack[$stackPos-(2-1)]);
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$stackPos-(2-2)], $attrs);
|
|
},
|
|
383 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
384 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
385 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
386 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
387 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
388 => 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);
|
|
},
|
|
389 => function ($stackPos) {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
390 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
391 => function ($stackPos) {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
392 => function ($stackPos) {
|
|
$this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
393 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
394 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
395 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
396 => function ($stackPos) {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
397 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-4)], 'uses' => $this->semStack[$stackPos-(8-6)], 'returnType' => $this->semStack[$stackPos-(8-7)], 'stmts' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
398 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-5)], 'uses' => $this->semStack[$stackPos-(9-7)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
399 => 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);
|
|
},
|
|
400 => function ($stackPos) {
|
|
$this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
401 => function ($stackPos) {
|
|
list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
402 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
403 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
404 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
405 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
406 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
407 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
408 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
409 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
410 => 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);
|
|
},
|
|
411 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
412 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
413 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
414 => function ($stackPos) {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
415 => function ($stackPos) {
|
|
$this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
416 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
417 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
418 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
419 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
420 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
421 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
422 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
423 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
424 => function ($stackPos) {
|
|
$this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
425 => 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)];
|
|
},
|
|
426 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
427 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
428 => function ($stackPos) {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
429 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
430 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], new Expr\Error($this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)]), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
431 => 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);
|
|
},
|
|
432 => 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);
|
|
},
|
|
433 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
434 => 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);
|
|
},
|
|
435 => function ($stackPos) {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
436 => function ($stackPos) {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
437 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
438 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
439 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
440 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
441 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
442 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
443 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
444 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
445 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
446 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
447 => function ($stackPos) {
|
|
$this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true);
|
|
},
|
|
448 => function ($stackPos) {
|
|
$this->semValue = $this->parseDocString($this->semStack[$stackPos-(2-1)], '', $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(2-2)] + $this->endAttributeStack[$stackPos-(2-2)], true);
|
|
},
|
|
449 => 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);
|
|
},
|
|
450 => function ($stackPos) {
|
|
$this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true);
|
|
},
|
|
451 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
452 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
453 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
454 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
455 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
456 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
457 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
458 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
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\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
461 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
462 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
463 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
464 => 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);
|
|
},
|
|
465 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
466 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
467 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
468 => function ($stackPos) {
|
|
$this->semValue = substr($this->semStack[$stackPos-(1-1)], 1);
|
|
},
|
|
469 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
470 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
471 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
472 => function ($stackPos) {
|
|
$var = $this->semStack[$stackPos-(1-1)]; $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var;
|
|
},
|
|
473 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
474 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
475 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
476 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
477 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
478 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
479 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
480 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
481 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
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 = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
485 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
486 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
487 => function ($stackPos) {
|
|
$this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
488 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
489 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
490 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
491 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
492 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
493 => 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);
|
|
},
|
|
494 => 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);
|
|
},
|
|
495 => 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);
|
|
},
|
|
496 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
497 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) array_pop($this->semValue);
|
|
},
|
|
498 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
499 => function ($stackPos) {
|
|
/* do nothing -- prevent default action of $$=$this->semStack[$1]. See $551. */
|
|
},
|
|
500 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
501 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
502 => 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);
|
|
},
|
|
503 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
504 => 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);
|
|
},
|
|
505 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
506 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
507 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
508 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
509 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
510 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]);
|
|
},
|
|
511 => function ($stackPos) {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
512 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
513 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
514 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
515 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
516 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
517 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
518 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
519 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
520 => function ($stackPos) {
|
|
$this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
521 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
522 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
523 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
];
|
|
}
|
|
}
|