mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
e03d63cffb
Arrow functions should have lowest precedence. Fixes #769.
2747 lines
164 KiB
PHP
2747 lines
164 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 = 1178;
|
|
protected $gotoTableSize = 582;
|
|
|
|
protected $invalidSymbol = 166;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 401;
|
|
protected $numNonLeafStates = 700;
|
|
|
|
protected $symbolToName = array(
|
|
"EOF",
|
|
"error",
|
|
"T_THROW",
|
|
"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_MATCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_FN",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"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_ENUM",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_NULLSAFE_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",
|
|
"T_NAME_FULLY_QUALIFIED",
|
|
"T_NAME_QUALIFIED",
|
|
"T_NAME_RELATIVE",
|
|
"T_ATTRIBUTE",
|
|
"';'",
|
|
"']'",
|
|
"'{'",
|
|
"'}'",
|
|
"'('",
|
|
"')'",
|
|
"'`'",
|
|
"'\"'",
|
|
"'$'"
|
|
);
|
|
|
|
protected $tokenToSymbol = array(
|
|
0, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 55, 164, 166, 165, 54, 37, 166,
|
|
161, 162, 52, 49, 8, 50, 51, 53, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 31, 157,
|
|
43, 16, 45, 30, 67, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 69, 166, 158, 36, 166, 163, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 159, 35, 160, 57, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 1, 2, 3, 4,
|
|
5, 6, 7, 9, 10, 11, 12, 13, 14, 15,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 32, 33, 34, 38, 39, 40, 41,
|
|
42, 44, 46, 47, 48, 56, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 68, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156
|
|
);
|
|
|
|
protected $action = array(
|
|
130, 131, 132, 561, 133, 134, 0, 710, 711, 712,
|
|
135, 36, 896, 537, 538,-32766, 1231,-32766,-32766,-32766,
|
|
-558, 1164, 785, 907, 434, 435, 436, -558,-32766,-32766,
|
|
-32766, -299,-32766, 973,-32766, 247,-32766, -190,-32766,-32766,
|
|
-32766,-32766,-32766, 465,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766, 124, 796, 713,-32766,-32766, 392, 1043, 1044,
|
|
1045, 1042, 1041, 1040,-32766,-32766,-32766,-32766, 263, 136,
|
|
375, 717, 718, 719, 720, 980, 981, 401, 1043, 1044,
|
|
1045, 1042, 1041, 1040, 721, 722, 723, 724, 725, 726,
|
|
727, 728, 729, 730, 731, 751, 562, 752, 753, 754,
|
|
755, 743, 744, 376, 377, 746, 747, 732, 733, 734,
|
|
736, 737, 738, 336, 778, 779, 780, 781, 782, 739,
|
|
740, 563, 564, 772, 763, 761, 762, 775, 758, 759,
|
|
-189, 978, 565, 566, 757, 567, 568, 569, 570, 571,
|
|
572, 533, -555, -509,-32766,-32766, 760, 573, 574, -555,
|
|
137, 980, 981, 313, 130, 131, 132, 561, 133, 134,
|
|
994, 710, 711, 712, 135, 36,-32766,-32766,-32766,-32766,
|
|
687,-32766,-32766,-32766, 80, 1164, 553, -558, 629, 24,
|
|
312, -558,-32766,-32766,-32766, -299,-32766,-32766,-32766, 247,
|
|
-32766, -190,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 1203, 432, 433,-32766,-32766, -509, -509, 713, 795,
|
|
-32766, 392, 395,-32766,-32766,-32766, 443, 444,-32766, 438,
|
|
433, -509, 263, 136, 375, 717, 718, 719, 720, 395,
|
|
-83, 401, 237, -509,-32766, -515,-32766,-32766, 721, 722,
|
|
723, 724, 725, 726, 727, 728, 729, 730, 731, 751,
|
|
562, 752, 753, 754, 755, 743, 744, 376, 377, 746,
|
|
747, 732, 733, 734, 736, 737, 738, 336, 778, 779,
|
|
780, 781, 782, 739, 740, 563, 564, 772, 763, 761,
|
|
762, 775, 758, 759, -189, 2, 565, 566, 757, 567,
|
|
568, 569, 570, 571, 572, -83, 81, 82, 83, -555,
|
|
760, 573, 574, -555, 137, 735, 705, 706, 707, 708,
|
|
709, 1251, 710, 711, 712, 748, 749, 33, 1250, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 12, 265,-32766,-32766,-32766, 104, 105, 106,
|
|
31, 265, 970, 969, 968, 107, 101, 102, 103, 713,
|
|
-32766,-32766,-32766, 107, 459,-32766, 583,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 714, 715, 716, 717, 718, 719, 720,
|
|
-259,-32766, 783,-32766,-32766,-32766,-32766,-32766, 126, 721,
|
|
722, 723, 724, 725, 726, 727, 728, 729, 730, 731,
|
|
751, 774, 752, 753, 754, 755, 743, 744, 745, 773,
|
|
746, 747, 732, 733, 734, 736, 737, 738, 777, 778,
|
|
779, 780, 781, 782, 739, 740, 741, 742, 772, 763,
|
|
761, 762, 775, 758, 759, 142, 938, 750, 756, 757,
|
|
764, 765, 767, 766, 768, 769, -549,-32766,-32766,-32766,
|
|
-549, 760, 771, 770, 48, 49, 50, 492, 51, 52,
|
|
790, 236, 589, -510, 53, 54, 249, 55,-32766, 993,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 296,-32767,-32767,-32767,-32767, 99, 100, 101, 102,
|
|
103, 1276, 460, 787, 1277, 821, 298, 822, 274, 482,
|
|
1191, 56, 57, -337, 310, -337, -508, 58, 1171, 59,
|
|
242, 243, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
1035, 26, 264, 68, 416, 493, -510, -510, 325, 1197,
|
|
1198, 494, 349, 794, 1171, 791, 353, 1195, 40, 23,
|
|
495, -510, 496, 793, 497, 487, 498, 11, 358, 499,
|
|
500, 645, 646, -510, 42, 43, 417, 421, 419, 878,
|
|
44, 501, 939, 401, -14, 360, 348, 324, 789, -508,
|
|
-508, 412, -507, 675, 502, 503, 504, 427, 428, 47,
|
|
794, 146, 380, 978, -508, 413, 505, 506, 794, 1185,
|
|
1186, 1187, 1188, 1182, 1183, 284, -508, 414, -514, 1247,
|
|
415, 1189, 1184, 980, 981, 1166, 1165, 1167, 285, 821,
|
|
878, 822, 800, 69, 794, 308, 309, 312, 34, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, -150, -150, -150, -507, -507, 1166, 1165, 1167,
|
|
678, 868, 288, 289, 1021,-32766, 1020, -150, 698, -150,
|
|
-507, -150, 147, -150, 244, 445, 446, 352, 138, -108,
|
|
1079, 1081, -507, 418, 312, 621, 622, 148, 73, 125,
|
|
150, -507, 312, 151, -108, -108, 152, 785, -85, 154,
|
|
35, -49, -77, 854, -108, -108, -108, -108, 121, 285,
|
|
-32766, 122, 868, 127, 73, 128, 1164, 141, 312, 155,
|
|
878, 156, 157,-32766,-32766,-32766, 158,-32766, 277,-32766,
|
|
878,-32766, 107, -73,-32766, 880, 878, 673, -150,-32766,
|
|
-32766,-32766, -71,-32766, -70,-32766,-32766, -69, 129, 1164,
|
|
679,-32766, 392, -512, -507, -507,-32766,-32766,-32766,-32766,
|
|
-32766, -68,-32766, 878,-32766, -67, 680,-32766, -66, -507,
|
|
-65, -64,-32766,-32766,-32766, 1171, -45, 139,-32766,-32766,
|
|
878, -507, -16, 312,-32766, 392, 880, 246, 673, 72,
|
|
-32766, 145,-32766, 682, 1164, 266, 1164, 273, 688, -4,
|
|
878, 691, 868,-32766,-32766,-32766, 877,-32766, 144,-32766,
|
|
689,-32766, 868,-32766,-32766, 275, -512, -512, 868,-32766,
|
|
-32766,-32766, 892,-32766, 248,-32766,-32766, 276, 278, 1164,
|
|
1162,-32766, 392, 980, 981, 279,-32766,-32766,-32766,-32766,
|
|
-32766, 318,-32766, -512,-32766, 868, 265,-32766, 653, 794,
|
|
46, 143,-32766,-32766,-32766, 794, 666, 785,-32766,-32766,
|
|
-32766, 541, 868,-32766,-32766, 392, 1164, 1049, 1166, 1165,
|
|
1167, 1278,-32766,-32766,-32766,-32766, 880,-32766, 673,-32766,
|
|
-32766,-32766, 868, 630,-32766, 250, 880, 535, 673,-32766,
|
|
-32766,-32766, 924, 635, 673,-32766,-32766, 648, 13, 290,
|
|
-108,-32766, 392, 440, 418, 794, 406, 470, 1266,-32766,
|
|
293, 283, 636, 286, 287, -108, -108, 26, 878, 880,
|
|
649, 673, 619, -473, 813, -108, -108, -108, -108, 794,
|
|
285,-32766, 878, 1195, 411, 73, 880, 1164, 673, 312,
|
|
123, 908, 909, 291,-32766,-32766,-32766, 9,-32766, 297,
|
|
-32766, 285,-32766, 1202, 793,-32766, 880, 894, 673, -4,
|
|
-32766,-32766,-32766, 0, 1019, -463,-32766,-32766, 547, 32,
|
|
245, 1204,-32766, 392, 587, 7, 15, 351, 1192, 38,
|
|
-32766, 0, 505, 506, 805, 1185, 1186, 1187, 1188, 1182,
|
|
1183, 39, 695, 696, 859, 948, 925, 1189, 1184, 932,
|
|
868, 922, 933, 857, 920, -262, 1024, 1027, 1028, 71,
|
|
1025, 1026, 309, 312, 868, 1217, -237, -237, -237, 1032,
|
|
30, 1235, 418, 1269, 624, -543, 307, 350, 674, 677,
|
|
-236, -236, -236, -108, -108, 681, 418, 26, 683, 684,
|
|
685, 686, 854, -108, -108, -108, -108, -108, -108, 794,
|
|
690, 676, -260, 1195, 692, 855, 854, -108, -108, -108,
|
|
-108, 1273, 1275, -108, 816, 815, 824, 901, -108, 940,
|
|
-108, 823, 1274, 900, 880, 292, 673, -237, -108, -108,
|
|
-108, -108, -108, -108, -108, 902, 899, 1150, 880, 887,
|
|
673, -236, 895, 885, 930, 931, 1272, 1229, 1218, 1236,
|
|
1242, 1245, 0, 506, -541, 1185, 1186, 1187, 1188, 1182,
|
|
1183, -515, -514, -513, 1, 27, 28, 1189, 1184, 37,
|
|
41, 45, 70, -313, -259, 74, 75, 76, 77, 71,
|
|
78, 79, 309, 312, 140, 149, 153, 241, 314, 337,
|
|
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
|
|
407, 408, 0, 17, 18, 19, 20, 22, 379, 461,
|
|
462, 469, 472, 473, 474, 475, 479, 480, 481, 490,
|
|
660, 1175, 1118, 1193, 995, 1154, -264, -100, 16, 21,
|
|
25, 282, 378, 580, 584, 611, 665, 1122, 1170, 1119,
|
|
1248, 0, -477, 1135, 0, 1196, 0, 312
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 7, 0, 9, 10, 11,
|
|
12, 13, 1, 116, 117, 73, 1, 9, 10, 11,
|
|
1, 79, 79, 126, 127, 128, 129, 8, 86, 87,
|
|
88, 8, 90, 1, 92, 37, 94, 8, 30, 97,
|
|
32, 33, 34, 101, 102, 103, 104, 9, 10, 11,
|
|
108, 109, 14, 1, 56, 115, 114, 115, 115, 116,
|
|
117, 118, 119, 120, 122, 9, 10, 11, 70, 71,
|
|
72, 73, 74, 75, 76, 135, 136, 79, 115, 116,
|
|
117, 118, 119, 120, 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,
|
|
8, 115, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 84, 1, 69, 9, 10, 148, 149, 150, 8,
|
|
152, 135, 136, 69, 2, 3, 4, 5, 6, 7,
|
|
162, 9, 10, 11, 12, 13, 9, 10, 11, 73,
|
|
159, 9, 10, 11, 159, 79, 80, 158, 74, 75,
|
|
165, 162, 86, 87, 88, 162, 90, 30, 92, 37,
|
|
94, 162, 30, 97, 32, 33, 34, 35, 102, 103,
|
|
104, 144, 105, 106, 108, 109, 132, 133, 56, 157,
|
|
114, 115, 115, 9, 10, 11, 132, 133, 122, 105,
|
|
106, 147, 70, 71, 72, 73, 74, 75, 76, 115,
|
|
31, 79, 14, 159, 30, 161, 32, 33, 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, 162, 8, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 96, 9, 10, 11, 158,
|
|
148, 149, 150, 162, 152, 2, 3, 4, 5, 6,
|
|
7, 1, 9, 10, 11, 12, 13, 30, 8, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 8, 56, 9, 10, 11, 52, 53, 54,
|
|
8, 56, 118, 119, 120, 68, 49, 50, 51, 56,
|
|
9, 10, 11, 68, 31, 30, 1, 32, 33, 34,
|
|
35, 36, 37, 70, 71, 72, 73, 74, 75, 76,
|
|
162, 30, 79, 32, 33, 34, 35, 36, 8, 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, 8, 31, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 158, 9, 10, 11,
|
|
162, 148, 149, 150, 2, 3, 4, 5, 6, 7,
|
|
79, 96, 50, 69, 12, 13, 8, 15, 30, 1,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 8, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 79, 159, 79, 82, 105, 8, 107, 30, 100,
|
|
1, 49, 50, 105, 8, 107, 69, 55, 1, 57,
|
|
58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
121, 69, 70, 71, 72, 73, 132, 133, 8, 77,
|
|
78, 79, 8, 81, 1, 154, 8, 85, 86, 87,
|
|
88, 147, 90, 153, 92, 105, 94, 107, 8, 97,
|
|
98, 74, 75, 159, 102, 103, 104, 105, 106, 1,
|
|
108, 109, 157, 79, 31, 8, 114, 115, 154, 132,
|
|
133, 8, 69, 159, 122, 123, 124, 105, 106, 69,
|
|
81, 100, 101, 115, 147, 8, 134, 135, 81, 137,
|
|
138, 139, 140, 141, 142, 143, 159, 8, 161, 1,
|
|
8, 149, 150, 135, 136, 153, 154, 155, 156, 105,
|
|
1, 107, 8, 161, 81, 163, 164, 165, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 74, 75, 76, 132, 133, 153, 154, 155,
|
|
31, 83, 132, 133, 160, 9, 157, 89, 159, 91,
|
|
147, 93, 14, 95, 37, 105, 106, 147, 159, 126,
|
|
58, 59, 159, 105, 165, 110, 111, 14, 161, 159,
|
|
14, 69, 165, 14, 116, 117, 14, 79, 31, 14,
|
|
14, 31, 31, 125, 126, 127, 128, 129, 16, 156,
|
|
73, 16, 83, 16, 161, 16, 79, 16, 165, 16,
|
|
1, 16, 16, 86, 87, 88, 16, 90, 30, 92,
|
|
1, 94, 68, 31, 97, 157, 1, 159, 160, 102,
|
|
103, 104, 31, 73, 31, 108, 109, 31, 31, 79,
|
|
31, 114, 115, 69, 132, 133, 86, 87, 88, 122,
|
|
90, 31, 92, 1, 94, 31, 31, 97, 31, 147,
|
|
31, 31, 102, 103, 104, 1, 31, 159, 108, 109,
|
|
1, 159, 31, 165, 114, 115, 157, 37, 159, 152,
|
|
73, 31, 122, 31, 79, 31, 79, 31, 31, 0,
|
|
1, 31, 83, 86, 87, 88, 31, 90, 31, 92,
|
|
31, 94, 83, 115, 97, 35, 132, 133, 83, 102,
|
|
103, 104, 37, 73, 37, 108, 109, 35, 35, 79,
|
|
115, 114, 115, 135, 136, 35, 86, 87, 88, 122,
|
|
90, 35, 92, 159, 94, 83, 56, 97, 76, 81,
|
|
69, 69, 102, 103, 104, 81, 91, 79, 108, 109,
|
|
73, 88, 83, 115, 114, 115, 79, 81, 153, 154,
|
|
155, 82, 122, 86, 87, 88, 157, 90, 159, 92,
|
|
84, 94, 83, 89, 97, 37, 157, 84, 159, 102,
|
|
103, 104, 157, 95, 159, 108, 109, 93, 96, 130,
|
|
126, 114, 115, 96, 105, 81, 107, 96, 84, 122,
|
|
113, 112, 99, 132, 133, 116, 117, 69, 1, 157,
|
|
99, 159, 112, 147, 125, 126, 127, 128, 129, 81,
|
|
156, 73, 1, 85, 126, 161, 157, 79, 159, 165,
|
|
159, 126, 126, 131, 86, 87, 88, 148, 90, 130,
|
|
92, 156, 94, 144, 153, 97, 157, 152, 159, 160,
|
|
102, 103, 104, -1, 1, 147, 108, 109, 151, 145,
|
|
146, 144, 114, 115, 151, 147, 147, 147, 158, 157,
|
|
122, -1, 134, 135, 158, 137, 138, 139, 140, 141,
|
|
142, 157, 157, 157, 157, 157, 157, 149, 150, 157,
|
|
83, 157, 157, 157, 157, 162, 157, 157, 157, 161,
|
|
157, 157, 164, 165, 83, 158, 99, 100, 101, 157,
|
|
159, 158, 105, 158, 158, 161, 159, 159, 159, 159,
|
|
99, 100, 101, 116, 117, 159, 105, 69, 159, 159,
|
|
159, 159, 125, 126, 127, 128, 129, 116, 117, 81,
|
|
159, 159, 162, 85, 160, 160, 125, 126, 127, 128,
|
|
129, 160, 160, 100, 160, 160, 160, 160, 105, 160,
|
|
107, 160, 160, 160, 157, 112, 159, 160, 115, 116,
|
|
117, 118, 119, 120, 121, 160, 160, 160, 157, 160,
|
|
159, 160, 160, 160, 160, 160, 160, 160, 160, 160,
|
|
160, 160, -1, 135, 161, 137, 138, 139, 140, 141,
|
|
142, 161, 161, 161, 161, 161, 161, 149, 150, 161,
|
|
161, 161, 161, 160, 162, 161, 161, 161, 161, 161,
|
|
161, 161, 164, 165, 161, 161, 161, 161, 161, 161,
|
|
161, 161, 161, 161, 161, 161, 161, 161, 161, 161,
|
|
161, 161, -1, 162, 162, 162, 162, 162, 162, 162,
|
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
|
162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
|
|
162, -1, 163, 163, -1, 164, -1, 165
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, -2, 152, 558, 779, 897, 911, 499, 484, 414,
|
|
834, 303, 303, -57, 303, 303, 699, 742, 742, 759,
|
|
742, 609, 715, 709, 709, 709, 617, 617, 617, 617,
|
|
-58, -58, 96, 697, 730, 767, 650, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 838,
|
|
838, 838, 838, 838, 838, 838, 838, 838, 838, 52,
|
|
405, 365, 666, 999, 1005, 1001, 1006, 997, 996, 1000,
|
|
1002, 1007, 916, 917, 757, 918, 919, 920, 921, 1003,
|
|
846, 998, 1004, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 636,
|
|
38, 135, 56, 56, 56, 56, 56, 56, 56, 56,
|
|
56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
|
|
56, 56, 157, 157, 157, 204, 828, 828, 8, 602,
|
|
162, 948, 948, 948, 948, 948, 948, 948, 948, 948,
|
|
948, 351, 335, 438, 438, 438, 438, 438, 943, 439,
|
|
439, 439, 439, 533, 754, 507, 468, 399, 398, 307,
|
|
307, 678, 678, 16, 16, 16, 16, -60, -60, -60,
|
|
-103, 74, 437, 390, 57, 695, 598, 598, 598, 598,
|
|
695, 695, 695, 695, 807, 1011, 695, 695, 695, 394,
|
|
503, 503, 510, 295, 295, 295, 503, 504, 783, 804,
|
|
504, 804, 15, 412, 728, 97, 114, 288, 728, 664,
|
|
761, 141, 19, 781, 472, 781, 776, 842, 872, 1008,
|
|
234, 793, 914, 801, 915, 84, 651, 994, 994, 994,
|
|
994, 994, 994, 994, 994, 994, 994, 994, 1012, 995,
|
|
381, 1012, 1012, 1012, 555, 381, 104, 477, 381, 786,
|
|
995, 52, 798, 52, 52, 52, 52, 958, 52, 52,
|
|
52, 52, 52, 52, 963, 731, 725, 682, 333, 52,
|
|
405, 11, 11, 489, 32, 11, 11, 11, 11, 52,
|
|
52, 52, 472, 770, 797, 550, 803, 122, 770, 770,
|
|
770, 199, 23, 218, 29, 440, 758, 758, 765, 766,
|
|
933, 933, 758, 748, 758, 766, 940, 758, 765, 765,
|
|
933, 765, 775, 380, 563, 520, 528, 765, 765, 577,
|
|
933, 473, 765, 765, 758, 758, 758, 758, 765, 589,
|
|
758, 458, 427, 758, 758, 765, 765, 749, 746, 799,
|
|
277, 933, 933, 933, 799, 524, 792, 792, 792, 815,
|
|
816, 790, 744, 496, 488, 604, 342, 765, 744, 744,
|
|
758, 540, 790, 744, 790, 744, 785, 744, 744, 744,
|
|
790, 744, 758, 748, 557, 744, 683, 765, 592, 334,
|
|
744, 6, 941, 944, 647, 945, 938, 946, 969, 947,
|
|
949, 849, 956, 939, 950, 935, 934, 755, 672, 675,
|
|
808, 756, 932, 644, 644, 644, 930, 644, 644, 644,
|
|
644, 644, 644, 644, 644, 672, 800, 810, 788, 753,
|
|
959, 677, 679, 789, 875, 1009, 1010, 795, 796, 958,
|
|
989, 953, 802, 681, 975, 960, 874, 847, 961, 962,
|
|
976, 990, 991, 881, 762, 882, 884, 806, 964, 850,
|
|
644, 941, 949, 939, 950, 935, 934, 720, 719, 714,
|
|
717, 710, 696, 691, 693, 740, 923, 844, 837, 963,
|
|
931, 672, 843, 971, 841, 977, 978, 848, 787, 769,
|
|
845, 885, 965, 966, 967, 856, 992, 814, 972, 823,
|
|
979, 791, 886, 980, 981, 982, 983, 887, 859, 860,
|
|
861, 817, 774, 870, 778, 889, 638, 773, 780, 970,
|
|
653, 957, 862, 891, 892, 984, 985, 986, 893, 954,
|
|
818, 973, 784, 974, 942, 819, 822, 656, 760, 772,
|
|
659, 662, 905, 906, 907, 955, 747, 752, 824, 825,
|
|
993, 909, 665, 826, 685, 912, 988, 686, 690, 745,
|
|
871, 809, 777, 782, 968, 750, 827, 913, 829, 830,
|
|
831, 987, 833, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 452, 452, 452, 452, 452, 452, 303, 303, 303,
|
|
303, 0, 0, 303, 0, 0, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 452,
|
|
452, 452, 452, 452, 452, 452, 452, 452, 452, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 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, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
|
287, 287, 287, 287, 287, 287, 695, 695, 287, 0,
|
|
287, 695, 695, 695, 695, 695, 695, 695, 695, 695,
|
|
695, 287, 287, 287, 287, 287, 287, 287, 775, 295,
|
|
295, 295, 295, 695, 695, 695, 695, -37, -37, 295,
|
|
295, 695, 695, 695, 695, 695, 695, 695, 695, 695,
|
|
0, 0, 0, 381, 804, 0, 748, 748, 748, 748,
|
|
0, 0, 0, 0, 804, 804, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 381, 804, 0,
|
|
381, 0, 748, 748, 695, 775, 775, 310, 695, 0,
|
|
0, 0, 0, 381, 748, 381, 804, 11, 52, 310,
|
|
0, 481, 481, 481, 481, 0, 472, 775, 775, 775,
|
|
775, 775, 775, 775, 775, 775, 775, 775, 748, 775,
|
|
0, 748, 748, 748, 0, 0, 0, 0, 0, 748,
|
|
765, 0, 933, 0, 0, 0, 0, 758, 0, 0,
|
|
0, 0, 0, 0, 758, 940, 765, 765, 0, 0,
|
|
0, 0, 0, 0, 748, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 644, 787, 0, 787, 0, 644, 644,
|
|
644
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,32767, 100,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 98,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 561, 561, 561, 561,
|
|
241, 100,32767,32767,32767,32767, 437, 356, 356, 356,
|
|
32767,32767, 505, 505, 505, 505, 505, 505,32767,32767,
|
|
32767,32767,32767,32767, 437,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 98,32767,32767,32767,
|
|
35, 5, 6, 8, 9, 48, 15,32767,32767,32767,
|
|
32767,32767, 100,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 554,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 441, 420, 421, 423, 424, 355, 506,
|
|
560, 298, 557, 354, 143, 310, 300, 229, 301, 245,
|
|
442, 246, 443, 446, 447, 206, 272, 351, 147, 385,
|
|
438, 387, 436, 440, 386, 361, 366, 367, 368, 369,
|
|
370, 371, 372, 373, 374, 375, 376, 377, 378, 359,
|
|
360, 439, 417, 416, 415, 383,32767,32767, 384, 358,
|
|
388,32767,32767,32767,32767,32767,32767,32767,32767, 100,
|
|
32767, 390, 389, 406, 407, 404, 405, 408,32767, 409,
|
|
410, 411, 412,32767,32767,32767,32767, 336, 334, 397,
|
|
398, 289, 289,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 499, 414,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 100,32767, 98, 501,
|
|
380, 382, 469, 392, 393, 391, 362,32767, 476,32767,
|
|
100, 478,32767,32767,32767, 109,32767,32767,32767, 500,
|
|
32767, 507, 507,32767, 462, 98,32767,32767,32767,32767,
|
|
267,32767,32767,32767,32767, 568, 462, 108, 108, 108,
|
|
108, 108, 108, 108, 108, 108, 108, 108,32767, 108,
|
|
32767,32767,32767, 98, 186,32767, 255, 257, 100, 522,
|
|
191,32767, 481,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 474, 191, 191,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 462, 402, 136,32767, 136, 507, 394, 395,
|
|
396, 464, 507, 507, 507,32767,32767,32767, 191,32767,
|
|
479, 479, 98, 98, 98, 98, 474,32767, 191, 191,
|
|
32767, 191, 109, 97, 97, 97, 97, 191, 191, 97,
|
|
101, 99, 191, 191,32767,32767,32767,32767, 191, 97,
|
|
32767, 99, 99,32767,32767, 191, 191, 212, 203, 210,
|
|
99,32767, 526, 527, 210, 99, 214, 214, 214, 234,
|
|
234, 453, 291, 99, 97, 99, 99, 191, 291, 291,
|
|
32767, 99, 453, 291, 453, 291, 193, 291, 291, 291,
|
|
453, 291,32767,32767, 99, 291, 205, 191, 97, 97,
|
|
291,32767,32767,32767, 464,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 494,
|
|
32767, 511, 524, 400, 401, 403, 509, 425, 426, 427,
|
|
428, 429, 430, 431, 433, 556,32767, 468,32767,32767,
|
|
32767,32767, 309, 566,32767, 566,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 567,32767, 507,32767,32767,32767,32767,
|
|
399, 7, 74, 41, 42, 50, 56, 485, 486, 487,
|
|
488, 482, 483, 489, 484,32767, 490, 532,32767,32767,
|
|
508, 559,32767,32767,32767,32767,32767,32767, 136,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 494,
|
|
32767, 134,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 507,32767,32767,32767, 286, 288,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 507,32767,32767,32767, 274, 276,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 271,32767,32767, 350,32767,32767,
|
|
32767,32767, 330,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 149, 149, 3, 3, 312, 149, 149,
|
|
149, 312, 149, 312, 312, 312, 149, 149, 149, 149,
|
|
149, 149, 181, 249, 252, 234, 234, 149, 322, 149
|
|
);
|
|
|
|
protected $goto = array(
|
|
191, 191, 661, 403, 634, 453, 1237, 1238, 397, 300,
|
|
301, 321, 555, 306, 402, 322, 404, 613, 1038, 1039,
|
|
669, 315, 315, 315, 315, 162, 162, 162, 162, 188,
|
|
188, 172, 174, 215, 192, 210, 188, 188, 188, 188,
|
|
188, 189, 189, 189, 189, 189, 189, 183, 184, 185,
|
|
186, 187, 212, 210, 213, 513, 514, 393, 515, 517,
|
|
518, 519, 520, 521, 522, 523, 524, 1065, 163, 164,
|
|
165, 190, 166, 167, 168, 161, 169, 170, 171, 173,
|
|
209, 211, 214, 232, 235, 238, 240, 251, 252, 253,
|
|
254, 255, 256, 257, 259, 260, 261, 262, 269, 270,
|
|
303, 304, 305, 398, 399, 400, 560, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 175, 231, 176, 193, 194, 195, 233, 183,
|
|
184, 185, 186, 187, 212, 1065, 196, 177, 178, 179,
|
|
197, 193, 180, 234, 198, 160, 199, 200, 181, 201,
|
|
202, 203, 182, 204, 205, 206, 207, 208, 814, 586,
|
|
600, 603, 604, 605, 606, 625, 626, 627, 671, 811,
|
|
599, 599, 539, 530, 577, 1194, 1194, 1194, 1194, 1194,
|
|
1194, 1194, 1194, 1194, 1194, 280, 280, 280, 280, 997,
|
|
332, 819, 812, 867, 862, 863, 876, 845, 820, 864,
|
|
817, 865, 866, 818, 597, 631, 1144, 897, 788, 870,
|
|
1145, 1148, 898, 1149, 367, 530, 871, 539, 872, 1018,
|
|
1014, 1015, 792, 548, 549, 617, 617, 786, 374, 558,
|
|
1159, 987, 984, 985, 579, 915, 383, 668, 1212, 1212,
|
|
923, 593, 594, 1212, 1212, 1212, 1212, 1212, 1212, 1212,
|
|
1212, 1212, 1212, 904, 975, 982, 983, 1163, 1163, 1163,
|
|
979, 552, 792, 476, 792, 979, 979, 979, 979, 979,
|
|
979, 979, 979, 979, 329, 396, 422, 588, 5, 1163,
|
|
6, 422, 422, 14, 1163, 1163, 1163, 1163, 1160, 1252,
|
|
1163, 1163, 1163, 1244, 1244, 1244, 1244, 944, 802, 363,
|
|
335, 546, 551, 311, 295, 694, 612, 614, 883, 632,
|
|
335, 335, 884, 651, 655, 958, 659, 667, 954, 1161,
|
|
1220, 1221, 1239, 1240, 335, 335, 633, 335, 1113, 1279,
|
|
365, 369, 540, 578, 582, 323, 1262, 1262, 1210, 1210,
|
|
532, 804, 335, 1210, 1210, 1210, 1210, 1210, 1210, 1210,
|
|
1210, 1210, 1210, 1262, 409, 422, 422, 422, 422, 422,
|
|
422, 422, 422, 422, 422, 422, 832, 422, 1265, 373,
|
|
525, 525, 525, 525, 545, 1223, 829, 516, 516, 581,
|
|
966, 592, 516, 516, 516, 516, 516, 516, 516, 516,
|
|
516, 516, 609, 610, 381, 382, 807, 807, 1156, 640,
|
|
654, 641, 1003, 385, 386, 387, 628, 652, 642, 643,
|
|
644, 388, 697, 531, 543, 454, 327, 1263, 1263, 531,
|
|
841, 543, 442, 442, 366, 333, 334, 556, 591, 532,
|
|
1234, 1234, 1234, 442, 1263, 527, 527, 527, 1007, 1048,
|
|
267, 559, 447, 448, 449, 528, 528, 837, 928, 0,
|
|
1270, 1271, 458, 1246, 1246, 1246, 1246, 430, 477, 0,
|
|
478, 0, 917, 917, 917, 917, 485, 827, 430, 911,
|
|
918, 810, 839, 0, 0, 826, 0, 835, 0, 1230,
|
|
0, 0, 0, 947, 921, 921, 919, 921, 693, 486,
|
|
529, 956, 951, 840, 828, 1002, 0, 0, 1006, 1158,
|
|
888, 1053, 0, 807, 0, 0, 0, 0, 926, 596,
|
|
0, 0, 0, 0, 963, 1005, 0, 0, 1232, 1232,
|
|
1005, 0, 831, 0, 637, 942, 0, 0, 0, 0,
|
|
825, 576, 1031, 916, 672, 658, 658, 0, 664, 1029,
|
|
0, 0, 0, 1155, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 1046, 844, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
961, 961
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
41, 41, 71, 64, 64, 160, 160, 160, 64, 64,
|
|
64, 64, 64, 64, 64, 64, 64, 64, 130, 130,
|
|
8, 22, 22, 22, 22, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 14, 77,
|
|
77, 77, 77, 77, 77, 77, 77, 77, 77, 25,
|
|
102, 102, 74, 74, 116, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 102, 102, 23, 23, 23, 23, 113,
|
|
91, 14, 26, 14, 14, 14, 14, 44, 14, 14,
|
|
14, 14, 14, 14, 54, 54, 76, 76, 6, 14,
|
|
76, 76, 76, 76, 74, 74, 63, 74, 63, 14,
|
|
14, 14, 11, 74, 74, 109, 109, 5, 74, 74,
|
|
19, 109, 109, 109, 74, 87, 87, 87, 154, 154,
|
|
48, 74, 74, 154, 154, 154, 154, 154, 154, 154,
|
|
154, 154, 154, 85, 85, 85, 85, 71, 71, 71,
|
|
71, 156, 11, 74, 11, 71, 71, 71, 71, 71,
|
|
71, 71, 71, 71, 163, 12, 22, 12, 45, 71,
|
|
45, 22, 22, 74, 71, 71, 71, 71, 19, 165,
|
|
71, 71, 71, 8, 8, 8, 8, 97, 19, 60,
|
|
13, 47, 98, 153, 153, 47, 47, 47, 71, 47,
|
|
13, 13, 71, 47, 47, 47, 47, 47, 47, 19,
|
|
19, 19, 162, 162, 13, 13, 62, 13, 137, 13,
|
|
57, 57, 57, 57, 57, 28, 166, 166, 155, 155,
|
|
13, 17, 13, 155, 155, 155, 155, 155, 155, 155,
|
|
155, 155, 155, 166, 106, 22, 22, 22, 22, 22,
|
|
22, 22, 22, 22, 22, 22, 38, 22, 166, 27,
|
|
101, 101, 101, 101, 8, 13, 36, 157, 157, 101,
|
|
104, 8, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 81, 81, 78, 78, 21, 21, 146, 78,
|
|
13, 78, 115, 78, 78, 78, 82, 78, 82, 82,
|
|
82, 78, 93, 8, 8, 143, 78, 167, 167, 8,
|
|
40, 8, 135, 135, 8, 91, 91, 2, 2, 13,
|
|
116, 116, 116, 135, 167, 18, 18, 18, 118, 133,
|
|
23, 8, 8, 8, 8, 23, 23, 8, 90, -1,
|
|
8, 8, 80, 116, 116, 116, 116, 18, 141, -1,
|
|
141, -1, 18, 18, 18, 18, 141, 34, 18, 18,
|
|
18, 24, 34, -1, -1, 34, -1, 8, -1, 116,
|
|
-1, -1, -1, 24, 24, 24, 24, 24, 24, 8,
|
|
24, 24, 24, 15, 15, 15, -1, -1, 15, 13,
|
|
16, 16, -1, 21, -1, -1, -1, -1, 15, 16,
|
|
-1, -1, -1, -1, 16, 116, -1, -1, 116, 116,
|
|
116, -1, 16, -1, 16, 16, -1, -1, -1, -1,
|
|
16, 7, 7, 15, 7, 7, 7, -1, 7, 7,
|
|
-1, -1, -1, 16, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 15, 15, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
101, 101
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -248, 0, 0, 214, 199, 524, 7, 0,
|
|
0, -61, -48, 16, -170, 69, 59, 45, 172, -132,
|
|
0, 81, 18, 182, 467, 165, 188, 46, 52, 0,
|
|
0, 0, 0, 0, 117, 0, 51, 0, 56, 0,
|
|
8, -1, 0, 0, 185, -419, 0, -373, 218, 0,
|
|
0, 0, 0, 0, 166, 0, 0, 287, 0, 0,
|
|
259, 0, 89, 198, -233, 0, 0, 0, 0, 0,
|
|
0, -6, 0, 0, -204, 0, -175, -179, -74, 0,
|
|
-2, -65, -275, 0, 0, -20, 0, -56, 0, 0,
|
|
34, -270, 0, 32, 0, 0, 0, 266, 261, 0,
|
|
0, 344, -66, 0, 31, 0, 82, 0, 0, -46,
|
|
0, 0, 0, 187, 0, 49, 167, 0, 25, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
-249, 0, 0, 24, 0, 392, 0, 63, 0, 0,
|
|
0, -14, 0, 4, 0, 0, -10, 0, 0, 0,
|
|
0, 0, 0, -5, 2, 102, 234, 141, 0, 0,
|
|
-282, 0, -29, 246, 0, 260, 42, 123, 0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 491, 701, 4, 702, 776, 784, 575, 507, 670,
|
|
328, 601, 394, 1228, 869, 1052, 557, 803, 1172, 1180,
|
|
431, 806, 316, 330, 851, 852, 853, 370, 355, 361,
|
|
368, 623, 602, 471, 838, 425, 830, 463, 833, 424,
|
|
842, 159, 391, 489, 846, 3, 848, 534, 879, 356,
|
|
856, 357, 647, 858, 542, 860, 861, 364, 371, 372,
|
|
1057, 550, 598, 873, 239, 544, 874, 354, 875, 882,
|
|
359, 362, 656, 441, 483, 384, 1033, 585, 620, 437,
|
|
457, 608, 607, 595, 456, 638, 389, 913, 464, 439,
|
|
927, 331, 935, 699, 1064, 615, 466, 943, 616, 950,
|
|
953, 508, 509, 455, 965, 271, 467, 992, 639, 977,
|
|
618, 990, 450, 996, 426, 1004, 1216, 429, 1008, 258,
|
|
1011, 272, 390, 405, 1016, 1017, 8, 1023, 662, 663,
|
|
10, 268, 488, 1047, 657, 423, 1063, 410, 1132, 1134,
|
|
536, 468, 1152, 1151, 650, 484, 1157, 1219, 420, 510,
|
|
451, 302, 511, 294, 319, 299, 526, 281, 320, 512,
|
|
452, 1225, 1233, 317, 29, 1253, 1264, 326, 554, 590
|
|
);
|
|
|
|
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, 5, 5, 5, 6, 6, 6, 6,
|
|
6, 6, 6, 7, 7, 8, 9, 10, 10, 10,
|
|
11, 11, 12, 12, 13, 14, 14, 15, 15, 16,
|
|
16, 17, 17, 20, 20, 21, 22, 22, 23, 23,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 28, 28, 29, 29, 31, 33, 33, 27, 35,
|
|
35, 32, 37, 37, 34, 34, 36, 36, 38, 38,
|
|
30, 39, 39, 40, 42, 43, 43, 44, 45, 45,
|
|
47, 46, 46, 46, 46, 48, 48, 48, 48, 48,
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 24,
|
|
24, 67, 67, 70, 70, 69, 68, 68, 61, 73,
|
|
73, 74, 74, 75, 75, 76, 76, 25, 25, 26,
|
|
26, 26, 26, 84, 84, 86, 86, 79, 79, 79,
|
|
80, 80, 83, 83, 81, 81, 87, 88, 88, 55,
|
|
55, 63, 63, 66, 66, 66, 65, 89, 89, 90,
|
|
56, 56, 56, 56, 91, 91, 92, 92, 93, 93,
|
|
94, 95, 95, 96, 96, 97, 97, 53, 53, 49,
|
|
49, 99, 51, 51, 100, 50, 50, 52, 52, 62,
|
|
62, 62, 62, 77, 77, 103, 103, 105, 105, 105,
|
|
105, 104, 104, 104, 107, 107, 107, 85, 85, 109,
|
|
109, 109, 108, 108, 110, 110, 111, 111, 111, 106,
|
|
106, 78, 78, 78, 19, 19, 112, 112, 113, 113,
|
|
113, 113, 58, 114, 114, 115, 59, 117, 117, 118,
|
|
118, 119, 119, 82, 120, 120, 120, 120, 120, 120,
|
|
125, 125, 126, 126, 127, 127, 127, 127, 127, 128,
|
|
129, 129, 124, 124, 121, 121, 123, 123, 131, 131,
|
|
130, 130, 130, 130, 130, 130, 122, 132, 132, 134,
|
|
133, 133, 60, 98, 135, 135, 54, 54, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
142, 136, 136, 141, 141, 144, 145, 145, 146, 147,
|
|
147, 147, 18, 18, 71, 71, 71, 71, 137, 137,
|
|
137, 137, 149, 149, 138, 138, 140, 140, 140, 143,
|
|
143, 154, 154, 154, 154, 154, 154, 154, 154, 154,
|
|
155, 155, 102, 157, 157, 157, 157, 139, 139, 139,
|
|
139, 139, 139, 139, 139, 57, 57, 152, 152, 152,
|
|
152, 158, 158, 148, 148, 148, 159, 159, 159, 159,
|
|
159, 159, 72, 72, 64, 64, 64, 64, 116, 116,
|
|
116, 116, 162, 161, 151, 151, 151, 151, 151, 151,
|
|
151, 150, 150, 150, 160, 160, 160, 160, 101, 156,
|
|
164, 164, 163, 163, 165, 165, 165, 165, 165, 165,
|
|
165, 165, 153, 153, 153, 153, 167, 168, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 169, 169, 169, 169
|
|
);
|
|
|
|
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, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 0, 1, 0,
|
|
1, 1, 2, 1, 3, 4, 1, 2, 0, 1,
|
|
1, 1, 1, 1, 3, 5, 4, 3, 4, 2,
|
|
3, 1, 1, 7, 6, 2, 3, 1, 2, 3,
|
|
1, 2, 3, 1, 1, 3, 1, 3, 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, 2, 1, 1,
|
|
1, 0, 2, 1, 3, 8, 0, 4, 2, 1,
|
|
3, 0, 1, 0, 1, 3, 1, 8, 9, 8,
|
|
7, 6, 8, 0, 2, 0, 2, 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,
|
|
7, 0, 2, 1, 3, 3, 4, 1, 4, 0,
|
|
2, 5, 0, 2, 6, 0, 2, 0, 3, 1,
|
|
2, 1, 1, 2, 0, 1, 3, 0, 1, 1,
|
|
1, 6, 8, 6, 1, 2, 1, 1, 1, 1,
|
|
1, 1, 3, 3, 3, 3, 1, 2, 1, 0,
|
|
1, 0, 2, 2, 2, 4, 1, 3, 1, 2,
|
|
2, 3, 2, 3, 1, 1, 2, 3, 1, 1,
|
|
3, 2, 0, 1, 5, 5, 10, 3, 5, 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, 2, 3, 1, 0, 1, 1, 3,
|
|
3, 3, 4, 1, 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, 2, 8, 9, 8, 9, 9, 10, 9, 10,
|
|
8, 3, 2, 0, 4, 2, 1, 3, 2, 2,
|
|
2, 4, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
3, 1, 1, 1, 0, 3, 0, 1, 1, 0,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
3, 3, 3, 4, 1, 1, 3, 1, 1, 1,
|
|
1, 1, 3, 2, 3, 0, 1, 1, 3, 1,
|
|
1, 1, 1, 1, 3, 1, 1, 4, 4, 1,
|
|
4, 4, 0, 1, 1, 1, 3, 3, 1, 4,
|
|
2, 2, 1, 3, 1, 4, 4, 3, 3, 3,
|
|
3, 1, 3, 1, 1, 3, 1, 1, 4, 1,
|
|
1, 1, 3, 1, 1, 2, 1, 3, 4, 3,
|
|
2, 0, 2, 2, 1, 2, 1, 1, 1, 4,
|
|
3, 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($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
5 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
6 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
7 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
8 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
9 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
10 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
11 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
12 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
13 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
14 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
15 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
16 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
17 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
18 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
19 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
20 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
21 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
22 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
23 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
24 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
25 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
26 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
27 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
28 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
29 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
30 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
31 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
32 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
33 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
34 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
35 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
36 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
37 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
38 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
39 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
40 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
41 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
42 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
43 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
44 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
45 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
46 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
47 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
48 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
49 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
50 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
51 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
52 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
53 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
54 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
55 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
56 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
57 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
58 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
59 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
60 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
61 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
62 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
63 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
64 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
65 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
66 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
67 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
68 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
69 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
70 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
71 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
72 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
73 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
74 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
75 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
76 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
77 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
78 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
79 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
80 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
81 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
82 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
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 = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
85 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
86 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
87 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
88 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
89 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
90 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
91 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
92 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
93 => function ($stackPos) {
|
|
$this->semValue = new Name(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
94 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
95 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
96 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
97 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
98 => function ($stackPos) {
|
|
$this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
99 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
100 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
101 => function ($stackPos) {
|
|
$this->semValue = new Node\Attribute($this->semStack[$stackPos-(1-1)], [], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
102 => function ($stackPos) {
|
|
$this->semValue = new Node\Attribute($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
103 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
104 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
105 => function ($stackPos) {
|
|
$this->semValue = new Node\AttributeGroup($this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
106 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
107 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
108 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
109 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
110 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
111 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
112 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
113 => function ($stackPos) {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
114 => 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);
|
|
},
|
|
115 => 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);
|
|
},
|
|
116 => 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);
|
|
},
|
|
117 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
118 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
119 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
120 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
121 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
},
|
|
122 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
},
|
|
123 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
124 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
125 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
126 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
127 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
128 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
129 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
130 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
131 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
132 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
133 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
134 => 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));
|
|
},
|
|
135 => 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));
|
|
},
|
|
136 => 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));
|
|
},
|
|
137 => 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));
|
|
},
|
|
138 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
},
|
|
139 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
140 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
141 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
142 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
143 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
144 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
145 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
146 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
147 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
148 => 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)]; };
|
|
},
|
|
149 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
150 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
151 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
152 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
153 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
154 => function ($stackPos) {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
155 => 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(); }
|
|
}
|
|
|
|
},
|
|
156 => 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);
|
|
},
|
|
157 => 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);
|
|
},
|
|
158 => function ($stackPos) {
|
|
$this->semValue = new Stmt\While_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
159 => 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);
|
|
},
|
|
160 => 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);
|
|
},
|
|
161 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
162 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
163 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
164 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
165 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
166 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
167 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
168 => function ($stackPos) {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
169 => function ($stackPos) {
|
|
|
|
$e = $this->semStack[$stackPos-(2-1)];
|
|
if ($e instanceof Expr\Throw_) {
|
|
// For backwards-compatibility reasons, convert throw in statement position into
|
|
// Stmt\Throw_ rather than Stmt\Expression(Expr\Throw_).
|
|
$this->semValue = new Stmt\Throw_($e->expr, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
} else {
|
|
$this->semValue = new Stmt\Expression($e, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
},
|
|
170 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
171 => 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);
|
|
},
|
|
172 => 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);
|
|
},
|
|
173 => 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);
|
|
},
|
|
174 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
175 => 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);
|
|
},
|
|
176 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
177 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
178 => function ($stackPos) {
|
|
$this->semValue = array(); /* means: no statement */
|
|
},
|
|
179 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
180 => 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 */
|
|
},
|
|
181 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
182 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
183 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
184 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
185 => function ($stackPos) {
|
|
$this->semValue = 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);
|
|
},
|
|
186 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
187 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
188 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
189 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
190 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
191 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
192 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
193 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
194 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
195 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
196 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
197 => 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)], 'attrGroups' => []], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
198 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Function_($this->semStack[$stackPos-(9-4)], ['byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-6)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)], 'attrGroups' => $this->semStack[$stackPos-(9-1)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
199 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Class_($this->semStack[$stackPos-(8-3)], ['type' => $this->semStack[$stackPos-(8-2)], 'extends' => $this->semStack[$stackPos-(8-4)], 'implements' => $this->semStack[$stackPos-(8-5)], 'stmts' => $this->semStack[$stackPos-(8-7)], 'attrGroups' => $this->semStack[$stackPos-(8-1)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
$this->checkClass($this->semValue, $stackPos-(8-3));
|
|
},
|
|
200 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Interface_($this->semStack[$stackPos-(7-3)], ['extends' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)], 'attrGroups' => $this->semStack[$stackPos-(7-1)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
$this->checkInterface($this->semValue, $stackPos-(7-3));
|
|
},
|
|
201 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Trait_($this->semStack[$stackPos-(6-3)], ['stmts' => $this->semStack[$stackPos-(6-5)], 'attrGroups' => $this->semStack[$stackPos-(6-1)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
202 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Enum_($this->semStack[$stackPos-(8-3)], ['scalarType' => $this->semStack[$stackPos-(8-4)], 'implements' => $this->semStack[$stackPos-(8-5)], 'stmts' => $this->semStack[$stackPos-(8-7)], 'attrGroups' => $this->semStack[$stackPos-(8-1)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
$this->checkEnum($this->semValue, $stackPos-(8-3));
|
|
},
|
|
203 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
204 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
205 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
206 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
207 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
208 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
209 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
210 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
211 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
212 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
213 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
214 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
215 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
216 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
217 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
218 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
219 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
220 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
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 = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
224 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
225 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
226 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
227 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
228 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
229 => function ($stackPos) {
|
|
$this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
230 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
231 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
232 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
233 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(5-3)];
|
|
},
|
|
234 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
235 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
236 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
237 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
238 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
239 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
240 => function ($stackPos) {
|
|
$this->semValue = new Expr\Match_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-6)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
241 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
242 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
243 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
244 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
245 => function ($stackPos) {
|
|
$this->semValue = new Node\MatchArm($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
246 => function ($stackPos) {
|
|
$this->semValue = new Node\MatchArm(null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
247 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
248 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
249 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
250 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
251 => function ($stackPos) {
|
|
$this->semValue = 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);
|
|
},
|
|
252 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
253 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
254 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
255 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
256 => 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);
|
|
},
|
|
257 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
258 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
259 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
260 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-2)], true);
|
|
},
|
|
261 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
262 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
263 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
264 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
265 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-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 = 0;
|
|
},
|
|
268 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
},
|
|
269 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
},
|
|
270 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
},
|
|
271 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(6-6)], null, $this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes, $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-1)]);
|
|
$this->checkParam($this->semValue);
|
|
},
|
|
272 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(8-6)], $this->semStack[$stackPos-(8-8)], $this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-4)], $this->semStack[$stackPos-(8-5)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes, $this->semStack[$stackPos-(8-2)], $this->semStack[$stackPos-(8-1)]);
|
|
$this->checkParam($this->semValue);
|
|
},
|
|
273 => function ($stackPos) {
|
|
$this->semValue = new Node\Param(new Expr\Error($this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes), null, $this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes, $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-1)]);
|
|
},
|
|
274 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
275 => function ($stackPos) {
|
|
$this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
276 => function ($stackPos) {
|
|
$this->semValue = new Node\UnionType($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
277 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
278 => function ($stackPos) {
|
|
$this->semValue = new Node\Name('static', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
279 => function ($stackPos) {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
280 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
281 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
282 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]);
|
|
},
|
|
283 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
284 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]);
|
|
},
|
|
285 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
286 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
287 => function ($stackPos) {
|
|
$this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
288 => function ($stackPos) {
|
|
$this->semValue = new Node\UnionType($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
289 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
290 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
291 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
292 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
293 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
294 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
295 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
296 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
297 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
298 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
299 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
300 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
301 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(3-3)], false, false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->semStack[$stackPos-(3-1)]);
|
|
},
|
|
302 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
303 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
304 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
305 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
306 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
307 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
308 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
309 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
310 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
311 => 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)]; }
|
|
},
|
|
312 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
313 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
314 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Property($this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes, $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-1)]);
|
|
$this->checkProperty($this->semValue, $stackPos-(5-2));
|
|
},
|
|
315 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassConst($this->semStack[$stackPos-(5-4)], $this->semStack[$stackPos-(5-2)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes, $this->semStack[$stackPos-(5-1)]);
|
|
$this->checkClassConst($this->semValue, $stackPos-(5-2));
|
|
},
|
|
316 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassMethod($this->semStack[$stackPos-(10-5)], ['type' => $this->semStack[$stackPos-(10-2)], 'byRef' => $this->semStack[$stackPos-(10-4)], 'params' => $this->semStack[$stackPos-(10-7)], 'returnType' => $this->semStack[$stackPos-(10-9)], 'stmts' => $this->semStack[$stackPos-(10-10)], 'attrGroups' => $this->semStack[$stackPos-(10-1)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
$this->checkClassMethod($this->semValue, $stackPos-(10-2));
|
|
},
|
|
317 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
318 => function ($stackPos) {
|
|
$this->semValue = new Stmt\EnumCase($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->semStack[$stackPos-(5-1)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
319 => function ($stackPos) {
|
|
$this->semValue = null; /* will be skipped */
|
|
},
|
|
320 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
321 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
322 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
323 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
324 => 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);
|
|
},
|
|
325 => 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);
|
|
},
|
|
326 => 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);
|
|
},
|
|
327 => 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);
|
|
},
|
|
328 => 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);
|
|
},
|
|
329 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]);
|
|
},
|
|
330 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
331 => function ($stackPos) {
|
|
$this->semValue = array(null, $this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
332 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
333 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
334 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
335 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
336 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
337 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
338 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
339 => 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)];
|
|
},
|
|
340 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
},
|
|
341 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
},
|
|
342 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
},
|
|
343 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
},
|
|
344 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
345 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
346 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
347 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
348 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
349 => function ($stackPos) {
|
|
$this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
350 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
351 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
352 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
353 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
354 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
355 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
356 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
357 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
358 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
359 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
360 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
361 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
362 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
363 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
364 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
365 => function ($stackPos) {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
366 => 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);
|
|
},
|
|
367 => 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);
|
|
},
|
|
368 => 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);
|
|
},
|
|
369 => 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);
|
|
},
|
|
370 => 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);
|
|
},
|
|
371 => 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);
|
|
},
|
|
372 => 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);
|
|
},
|
|
373 => 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);
|
|
},
|
|
374 => 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);
|
|
},
|
|
375 => 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);
|
|
},
|
|
376 => 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);
|
|
},
|
|
377 => 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);
|
|
},
|
|
378 => 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);
|
|
},
|
|
379 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
380 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
381 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
382 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
383 => 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);
|
|
},
|
|
384 => 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);
|
|
},
|
|
385 => 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);
|
|
},
|
|
386 => 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);
|
|
},
|
|
387 => 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);
|
|
},
|
|
388 => 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);
|
|
},
|
|
389 => 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);
|
|
},
|
|
390 => 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);
|
|
},
|
|
391 => 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);
|
|
},
|
|
392 => 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);
|
|
},
|
|
393 => 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);
|
|
},
|
|
394 => 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);
|
|
},
|
|
395 => 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);
|
|
},
|
|
396 => 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);
|
|
},
|
|
397 => 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);
|
|
},
|
|
398 => 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);
|
|
},
|
|
399 => 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);
|
|
},
|
|
400 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
401 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
402 => function ($stackPos) {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
403 => function ($stackPos) {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
404 => 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);
|
|
},
|
|
405 => 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);
|
|
},
|
|
406 => 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);
|
|
},
|
|
407 => 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);
|
|
},
|
|
408 => 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);
|
|
},
|
|
409 => 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);
|
|
},
|
|
410 => 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);
|
|
},
|
|
411 => 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);
|
|
},
|
|
412 => 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);
|
|
},
|
|
413 => function ($stackPos) {
|
|
$this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
414 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
415 => 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);
|
|
},
|
|
416 => 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);
|
|
},
|
|
417 => 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);
|
|
},
|
|
418 => function ($stackPos) {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
419 => function ($stackPos) {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
420 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
421 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
422 => function ($stackPos) {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
423 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
424 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
425 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
426 => 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);
|
|
},
|
|
427 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
428 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
429 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
430 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
431 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
432 => 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);
|
|
},
|
|
433 => function ($stackPos) {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
434 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
435 => function ($stackPos) {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
436 => function ($stackPos) {
|
|
$this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
437 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
438 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
439 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
440 => function ($stackPos) {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
441 => function ($stackPos) {
|
|
$this->semValue = new Expr\Throw_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
442 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-4)], 'returnType' => $this->semStack[$stackPos-(8-6)], 'expr' => $this->semStack[$stackPos-(8-8)], 'attrGroups' => []], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
443 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-5)], 'returnType' => $this->semStack[$stackPos-(9-7)], 'expr' => $this->semStack[$stackPos-(9-9)], 'attrGroups' => []], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
444 => 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)], 'attrGroups' => []], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
445 => 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)], 'attrGroups' => []], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
446 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-5)], 'returnType' => $this->semStack[$stackPos-(9-7)], 'expr' => $this->semStack[$stackPos-(9-9)], 'attrGroups' => $this->semStack[$stackPos-(9-1)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
447 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $this->semStack[$stackPos-(10-4)], 'params' => $this->semStack[$stackPos-(10-6)], 'returnType' => $this->semStack[$stackPos-(10-8)], 'expr' => $this->semStack[$stackPos-(10-10)], 'attrGroups' => $this->semStack[$stackPos-(10-1)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
448 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => false, '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)], 'attrGroups' => $this->semStack[$stackPos-(9-1)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
},
|
|
449 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(10-4)], 'params' => $this->semStack[$stackPos-(10-6)], 'uses' => $this->semStack[$stackPos-(10-8)], 'returnType' => $this->semStack[$stackPos-(10-9)], 'stmts' => $this->semStack[$stackPos-(10-10)], 'attrGroups' => $this->semStack[$stackPos-(10-1)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
450 => function ($stackPos) {
|
|
$this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$stackPos-(8-4)], 'implements' => $this->semStack[$stackPos-(8-5)], 'stmts' => $this->semStack[$stackPos-(8-7)], 'attrGroups' => $this->semStack[$stackPos-(8-1)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes), $this->semStack[$stackPos-(8-3)]);
|
|
$this->checkClass($this->semValue[0], -1);
|
|
},
|
|
451 => function ($stackPos) {
|
|
$this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
452 => function ($stackPos) {
|
|
list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
453 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
454 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
455 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
456 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
457 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
458 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
459 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
460 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
461 => 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);
|
|
},
|
|
462 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
463 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
464 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
465 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
466 => function ($stackPos) {
|
|
$this->semValue = new Name\FullyQualified(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
467 => function ($stackPos) {
|
|
$this->semValue = new Name\Relative(substr($this->semStack[$stackPos-(1-1)], 10), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
468 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
469 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
470 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
471 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
472 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
473 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
474 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
475 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
476 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
477 => function ($stackPos) {
|
|
$this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
478 => 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)];
|
|
},
|
|
479 => function ($stackPos) {
|
|
$this->semValue = array();
|
|
},
|
|
480 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
481 => function ($stackPos) {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
482 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
483 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
484 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
485 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
486 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
487 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
488 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
489 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
490 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
491 => 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;
|
|
},
|
|
492 => 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);
|
|
},
|
|
493 => 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);
|
|
},
|
|
494 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
495 => 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);
|
|
},
|
|
496 => 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);
|
|
},
|
|
497 => function ($stackPos) {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
498 => function ($stackPos) {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
499 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
500 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
501 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
502 => 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);
|
|
},
|
|
503 => 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);
|
|
},
|
|
504 => 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);
|
|
},
|
|
505 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
506 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
507 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
508 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
509 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
510 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
511 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
512 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
513 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
514 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
515 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
516 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
517 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
518 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
519 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
520 => 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);
|
|
},
|
|
521 => function ($stackPos) {
|
|
$this->semValue = new Expr\NullsafeMethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
522 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
523 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
524 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
525 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
526 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
527 => function ($stackPos) {
|
|
$this->semValue = new Expr\NullsafePropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
528 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
529 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
530 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
531 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable(new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
532 => function ($stackPos) {
|
|
$var = $this->semStack[$stackPos-(1-1)]->name; $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var;
|
|
},
|
|
533 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
534 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
535 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
536 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
537 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
538 => function ($stackPos) {
|
|
$this->semValue = new Expr\NullsafePropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
539 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
540 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
541 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
542 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
543 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
544 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
545 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
546 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
547 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
548 => function ($stackPos) {
|
|
$this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
549 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) array_pop($this->semValue);
|
|
},
|
|
550 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
551 => function ($stackPos) {
|
|
/* do nothing -- prevent default action of $$=$this->semStack[$1]. See $551. */
|
|
},
|
|
552 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
553 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
554 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
555 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
556 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
557 => 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);
|
|
},
|
|
558 => 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);
|
|
},
|
|
559 => 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);
|
|
},
|
|
560 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
561 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
562 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
563 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
564 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
565 => function ($stackPos) {
|
|
$this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]);
|
|
},
|
|
566 => function ($stackPos) {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
567 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
568 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
569 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
570 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
571 => function ($stackPos) {
|
|
$this->semValue = new Expr\NullsafePropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
572 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
573 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
574 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
575 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
576 => function ($stackPos) {
|
|
$this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
577 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
578 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
579 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
];
|
|
}
|
|
}
|