mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
2376 lines
140 KiB
PHP
2376 lines
140 KiB
PHP
<?php
|
|
|
|
namespace PhpParser\Parser;
|
|
|
|
use PhpParser\Error;
|
|
use PhpParser\Node;
|
|
use PhpParser\Node\Expr;
|
|
use PhpParser\Node\Name;
|
|
use PhpParser\Node\Scalar;
|
|
use PhpParser\Node\Stmt;
|
|
|
|
/* This is an automatically GENERATED file, which should not be manually edited.
|
|
* Instead edit one of the following:
|
|
* * the grammar files grammar/php5.y or grammar/php7.y
|
|
* * the skeleton file grammar/parser.template
|
|
* * the preprocessing script grammar/rebuildParsers.php
|
|
*/
|
|
class Php7 extends \PhpParser\ParserAbstract
|
|
{
|
|
protected $tokenToSymbolMapSize = 392;
|
|
protected $actionTableSize = 885;
|
|
protected $gotoTableSize = 477;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 328;
|
|
protected $YYNLSTATES = 578;
|
|
|
|
protected $symbolToName = [
|
|
"EOF",
|
|
"error",
|
|
"T_INCLUDE",
|
|
"T_INCLUDE_ONCE",
|
|
"T_EVAL",
|
|
"T_REQUIRE",
|
|
"T_REQUIRE_ONCE",
|
|
"','",
|
|
"T_LOGICAL_OR",
|
|
"T_LOGICAL_XOR",
|
|
"T_LOGICAL_AND",
|
|
"T_PRINT",
|
|
"T_YIELD",
|
|
"T_DOUBLE_ARROW",
|
|
"T_YIELD_FROM",
|
|
"'='",
|
|
"T_PLUS_EQUAL",
|
|
"T_MINUS_EQUAL",
|
|
"T_MUL_EQUAL",
|
|
"T_DIV_EQUAL",
|
|
"T_CONCAT_EQUAL",
|
|
"T_MOD_EQUAL",
|
|
"T_AND_EQUAL",
|
|
"T_OR_EQUAL",
|
|
"T_XOR_EQUAL",
|
|
"T_SL_EQUAL",
|
|
"T_SR_EQUAL",
|
|
"T_POW_EQUAL",
|
|
"'?'",
|
|
"':'",
|
|
"T_COALESCE",
|
|
"T_BOOLEAN_OR",
|
|
"T_BOOLEAN_AND",
|
|
"'|'",
|
|
"'^'",
|
|
"'&'",
|
|
"T_IS_EQUAL",
|
|
"T_IS_NOT_EQUAL",
|
|
"T_IS_IDENTICAL",
|
|
"T_IS_NOT_IDENTICAL",
|
|
"T_SPACESHIP",
|
|
"'<'",
|
|
"T_IS_SMALLER_OR_EQUAL",
|
|
"'>'",
|
|
"T_IS_GREATER_OR_EQUAL",
|
|
"T_SL",
|
|
"T_SR",
|
|
"'+'",
|
|
"'-'",
|
|
"'.'",
|
|
"'*'",
|
|
"'/'",
|
|
"'%'",
|
|
"'!'",
|
|
"T_INSTANCEOF",
|
|
"'~'",
|
|
"T_INC",
|
|
"T_DEC",
|
|
"T_INT_CAST",
|
|
"T_DOUBLE_CAST",
|
|
"T_STRING_CAST",
|
|
"T_ARRAY_CAST",
|
|
"T_OBJECT_CAST",
|
|
"T_BOOL_CAST",
|
|
"T_UNSET_CAST",
|
|
"'@'",
|
|
"T_POW",
|
|
"'['",
|
|
"T_NEW",
|
|
"T_CLONE",
|
|
"T_EXIT",
|
|
"T_IF",
|
|
"T_ELSEIF",
|
|
"T_ELSE",
|
|
"T_ENDIF",
|
|
"T_LNUMBER",
|
|
"T_DNUMBER",
|
|
"T_STRING",
|
|
"T_STRING_VARNAME",
|
|
"T_VARIABLE",
|
|
"T_NUM_STRING",
|
|
"T_INLINE_HTML",
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
"T_ECHO",
|
|
"T_DO",
|
|
"T_WHILE",
|
|
"T_ENDWHILE",
|
|
"T_FOR",
|
|
"T_ENDFOR",
|
|
"T_FOREACH",
|
|
"T_ENDFOREACH",
|
|
"T_DECLARE",
|
|
"T_ENDDECLARE",
|
|
"T_AS",
|
|
"T_SWITCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"T_THROW",
|
|
"T_USE",
|
|
"T_INSTEADOF",
|
|
"T_GLOBAL",
|
|
"T_STATIC",
|
|
"T_ABSTRACT",
|
|
"T_FINAL",
|
|
"T_PRIVATE",
|
|
"T_PROTECTED",
|
|
"T_PUBLIC",
|
|
"T_VAR",
|
|
"T_UNSET",
|
|
"T_ISSET",
|
|
"T_EMPTY",
|
|
"T_HALT_COMPILER",
|
|
"T_CLASS",
|
|
"T_TRAIT",
|
|
"T_INTERFACE",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_C",
|
|
"T_TRAIT_C",
|
|
"T_METHOD_C",
|
|
"T_FUNC_C",
|
|
"T_LINE",
|
|
"T_FILE",
|
|
"T_START_HEREDOC",
|
|
"T_END_HEREDOC",
|
|
"T_DOLLAR_OPEN_CURLY_BRACES",
|
|
"T_CURLY_OPEN",
|
|
"T_PAAMAYIM_NEKUDOTAYIM",
|
|
"T_NAMESPACE",
|
|
"T_NS_C",
|
|
"T_DIR",
|
|
"T_NS_SEPARATOR",
|
|
"T_ELLIPSIS",
|
|
"';'",
|
|
"'{'",
|
|
"'}'",
|
|
"'('",
|
|
"')'",
|
|
"'`'",
|
|
"']'",
|
|
"'\"'",
|
|
"'$'"
|
|
];
|
|
|
|
protected $tokenToSymbol = [
|
|
0, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 53, 155, 157, 156, 52, 35, 157,
|
|
151, 152, 50, 47, 7, 48, 49, 51, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 29, 148,
|
|
41, 15, 43, 28, 65, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 67, 157, 154, 34, 157, 153, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 149, 33, 150, 55, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
|
|
157, 157, 157, 157, 157, 157, 1, 2, 3, 4,
|
|
5, 6, 8, 9, 10, 11, 12, 13, 14, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 30, 31, 32, 36, 37, 38, 39, 40, 42,
|
|
44, 45, 46, 54, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 66, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 157, 157,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 157, 157, 157, 157,
|
|
157, 157, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147
|
|
];
|
|
|
|
protected $action = [
|
|
583, 584, 585, 586, 587, 0, 588, 589, 590, 626,
|
|
627, 1040, 27, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
|
|
97, 272, 239, 666, -284,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 660, 291, 114, 98,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766, 591, 904, 906,-32766, 28,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 341,-32766, 344, 592, 593, 594, 595,
|
|
596, 597, 598,-32766, 224, 658, 871, 872, 873, 870,
|
|
869, 868, 599, 600, 601, 602, 603, 604, 605, 606,
|
|
607, 608, 609, 629, 630, 631, 632, 633, 621, 622,
|
|
623, 624, 625, 610, 611, 612, 613, 614, 615, 616,
|
|
652, 653, 654, 655, 656, 657, 617, 618, 619, 620,
|
|
650, 641, 639, 640, 636, 637, 215, 628, 634, 635,
|
|
642, 643, 645, 644, 646, 647, 42, 43, 397, 44,
|
|
45, 638, 649, 648, 224, 46, 47, 987, 48,-32767,
|
|
-32767,-32767,-32767, 90, 91, 92, 93, 94, 258, 71,
|
|
22, 871, 872, 873, 870, 869, 868, 863,-32766,-32766,
|
|
-32766, 664, 1037, 1037, 1076, 1055, 1003, 347, -446, 248,
|
|
665, 49, 50,-32766,-32766,-32766, 120, 51,-32766, 52,
|
|
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
444, 22, 232, 61, 348, 980,-32766,-32766,-32766, 1004,
|
|
1005, 661, 264, 1037, 216, -481, 481, 1003,-32766,-32766,
|
|
-32766, 741, 411, 412, 248, 1037,-32766, 248,-32766,-32766,
|
|
-32766,-32766, 24, 222, 379, 263, 356, 131,-32766, -446,
|
|
-32766,-32766,-32766, 41, 65, 1085, 420, 295, 1086, 265,
|
|
265, 660, 240, -446, 409, 410, 120, 1017, 980, 793,
|
|
-446, 826, -449, 411, 412, -229, 1009, 1010, 1011, 1012,
|
|
1006, 1007, 243, 370, -445, -444, -483, 421, 1013, 1008,
|
|
353, 820, 821, 364, 999, 63, 551, 255, 346, 260,
|
|
265, 398, -135, -135, -135, -4, 741, 399, 661, 345,
|
|
-444, 731, 265, -234, 32, 17, 400, -135, 401, -135,
|
|
402, -135, 403, -135, 226, 404, -135, -135, -135, 34,
|
|
35, 349, 350, 122, 36, 405, 820, 821, 62, 820,
|
|
821, 286, 287, 406, 407, -445, -444, 116, -175, 408,
|
|
38, 40, 717, 762, 351, 352, -253, 22, -90, -445,
|
|
-444,-32766,-32766,-32766, 380, -174, -445, -444, -448, 1037,
|
|
-481, -444, 1037, 1003, 421, 7, 398, 353, 743, 549,
|
|
-135,-32766, 399,-32766,-32766, -444, 731, -491, 794, 32,
|
|
17, 400, -444, 401, -492, 402, 740, 403, 1056, 21,
|
|
404, 111, 980, 25, 34, 35, 349, 350, 333, 36,
|
|
405, 246, 247, 62, 254, 741, 286, 287, 406, 407,
|
|
412,-32766,-32766, 532, 408, 987, 290, 674, 762, 351,
|
|
352, -483, 113, 115, 505, 18, 72, 73, 74, 682,
|
|
683, 65, 121, 562, 518, 519, 265, 288, 274, 265,
|
|
92, 93, 94, 743, 549, -4, 26, 118, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 117, 239, 337, 741, 398, 127, 312, 112, 533,
|
|
124, 399, 353, -175, 98, 731, 849, 130, 32, 17,
|
|
400, -253, 401, 1037, 402, 128, 403, 682, 683, 404,
|
|
-174, 276, 554, 34, 35, 349, 741, 566, 36, 405,
|
|
390, 6, 62, 498, 499, 286, 287, 820, 821, 848,
|
|
577, 119, -491, 408, -491, 561, 980, 126, 242, -492,
|
|
-82, -492, 860, 567, 556, 755, 239, 342, 225, 221,
|
|
98, 223, 125, 39, 398, 527, 660, 662, 448,-32766,
|
|
399, 506, 743, 549, 731, 467, 661, 32, 17, 400,
|
|
877, 401, 664, 402, 1087, 403, 497, 980, 404, 259,
|
|
265, 453, 34, 35, 349, 741, 398, 36, 405, 542,
|
|
528, 62, 399, 511, 286, 287, 731, 510, 361, 32,
|
|
17, 400, 408, 401, 3, 402, 368, 403, 757, 1019,
|
|
404, 10, -80, 555, 34, 35, 349, 741, 214, 36,
|
|
405, 522, 761, 62, 763, 257, 286, 287, 764, 262,
|
|
0, 743, 549, 256, 408, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 553, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 398, 0, 0, 1016, 0,
|
|
0, 399, 9, 743, 549, 731, 227, 364, 32, 17,
|
|
400, 289, 401, -403, 402, 30, 403, 557, 338, 404,
|
|
339, 317, 450, 34, 35, 349, 741, 398, 36, 405,
|
|
324, 327, 62, 399, 323, 286, 287, 731, 22, 777,
|
|
32, 17, 400, 408, 401, 575, 402, 854, 403, 576,
|
|
1037, 404, 722, 844, 1003, 34, 35, 349, 796, 780,
|
|
36, 405, 787, 31, 62, 853, 855, 286, 287, 856,
|
|
852, 775, 779, 549, 845, 408, 720, 788, 20, 550,
|
|
552, 332, 559, 980, 560, 564, 565, 270, 271, 331,
|
|
573, 572, 570, 568, 0, 760, 398, 759, 968, 569,
|
|
411, 412, 399, 786, 743, 549, 731, 861, 748, 32,
|
|
17, 400, 967, 401, 758, 402, 966, 403, 750, 685,
|
|
404, -473, 65, 1083, 34, 35, 349, 265, 684, 36,
|
|
405, 687, 686, 62, 676, 677, 286, 287,-32766,-32766,
|
|
-32766, 718, 1082, 1084, 408, 785, 1053, 1050, 1045, 1031,
|
|
1038, 1081, 0, -471, -449, -448, -447, 23,-32766, 29,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 33, 37, 743, 549, 64, 960, 66, 336, 334,
|
|
273, 238, 237, 236, 235, 218, 217, 132, 129, 123,
|
|
70, 69, 68, 67, 0, -232, 11, 15, 19, 250,
|
|
944, 309, 477, 493, 541, 947, 972, 827, 1001, 943,
|
|
991, 538, 395, -90, 388, 386, 381, 310, 16, 14,
|
|
13, 12, -229, -230, 0, -415, 0, 1000, 504, 1079,
|
|
1044, 1030, 1029, 0, 1018
|
|
];
|
|
|
|
protected $actionCheck = [
|
|
2, 3, 4, 5, 6, 0, 8, 9, 10, 11,
|
|
12, 1, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
|
|
52, 7, 54, 1, 79, 8, 9, 10, 8, 9,
|
|
10, 77, 7, 13, 66, 28, 8, 30, 31, 32,
|
|
33, 34, 54, 56, 57, 28, 13, 30, 31, 32,
|
|
33, 34, 35, 7, 109, 7, 68, 69, 70, 71,
|
|
72, 73, 74, 118, 35, 77, 112, 113, 114, 115,
|
|
116, 117, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 13, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
|
|
6, 143, 144, 145, 35, 11, 12, 1, 14, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 109, 149,
|
|
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
|
|
10, 79, 79, 79, 82, 1, 83, 7, 67, 28,
|
|
148, 47, 48, 8, 9, 10, 147, 53, 28, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
82, 67, 68, 69, 70, 112, 8, 9, 10, 75,
|
|
76, 77, 67, 79, 13, 7, 48, 83, 8, 9,
|
|
10, 1, 129, 130, 28, 79, 28, 28, 30, 31,
|
|
32, 33, 140, 141, 29, 7, 102, 15, 28, 128,
|
|
30, 31, 32, 7, 151, 77, 112, 7, 80, 156,
|
|
156, 77, 7, 142, 120, 121, 147, 139, 112, 29,
|
|
149, 152, 151, 129, 130, 152, 132, 133, 134, 135,
|
|
136, 137, 138, 128, 67, 67, 7, 143, 144, 145,
|
|
146, 130, 131, 146, 1, 151, 149, 153, 7, 155,
|
|
156, 71, 72, 73, 74, 0, 1, 77, 77, 7,
|
|
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 7, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 149, 104, 105, 130, 131, 108, 130,
|
|
131, 111, 112, 113, 114, 128, 128, 7, 7, 119,
|
|
67, 67, 122, 123, 124, 125, 7, 67, 152, 142,
|
|
142, 8, 9, 10, 149, 7, 149, 149, 151, 79,
|
|
152, 128, 79, 83, 143, 7, 71, 146, 148, 149,
|
|
150, 28, 77, 30, 31, 142, 81, 7, 148, 84,
|
|
85, 86, 149, 88, 7, 90, 29, 92, 152, 7,
|
|
95, 15, 112, 7, 99, 100, 101, 102, 103, 104,
|
|
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
|
|
130, 8, 9, 77, 119, 1, 142, 122, 123, 124,
|
|
125, 152, 149, 149, 72, 73, 8, 9, 10, 102,
|
|
103, 151, 149, 29, 72, 73, 156, 7, 143, 156,
|
|
47, 48, 49, 148, 149, 150, 28, 15, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 15, 54, 146, 1, 71, 97, 98, 15, 143,
|
|
15, 77, 146, 152, 66, 81, 150, 15, 84, 85,
|
|
86, 152, 88, 79, 90, 15, 92, 102, 103, 95,
|
|
152, 33, 29, 99, 100, 101, 1, 29, 104, 105,
|
|
102, 103, 108, 106, 107, 111, 112, 130, 131, 148,
|
|
149, 29, 152, 119, 154, 29, 112, 29, 29, 152,
|
|
29, 154, 148, 149, 29, 35, 54, 123, 35, 35,
|
|
66, 35, 67, 67, 71, 74, 77, 77, 82, 82,
|
|
77, 87, 148, 149, 81, 78, 77, 84, 85, 86,
|
|
79, 88, 79, 90, 80, 92, 109, 112, 95, 110,
|
|
156, 86, 99, 100, 101, 1, 71, 104, 105, 89,
|
|
91, 108, 77, 96, 111, 112, 81, 93, 102, 84,
|
|
85, 86, 119, 88, 142, 90, 94, 92, 147, 139,
|
|
95, 94, 94, 29, 99, 100, 101, 1, 94, 104,
|
|
105, 96, 150, 108, 123, 127, 111, 112, 123, 126,
|
|
-1, 148, 149, 126, 119, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 29, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 71, -1, -1, 139, -1,
|
|
-1, 77, 142, 148, 149, 81, 35, 146, 84, 85,
|
|
86, 142, 88, 142, 90, 148, 92, 149, 146, 95,
|
|
146, 146, 146, 99, 100, 101, 1, 71, 104, 105,
|
|
146, 146, 108, 77, 146, 111, 112, 81, 67, 148,
|
|
84, 85, 86, 119, 88, 148, 90, 148, 92, 148,
|
|
79, 95, 148, 148, 83, 99, 100, 101, 148, 148,
|
|
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
|
|
148, 148, 148, 149, 148, 119, 148, 148, 151, 149,
|
|
149, 149, 149, 112, 149, 149, 149, 149, 149, 149,
|
|
149, 149, 149, 149, -1, 150, 71, 150, 150, 150,
|
|
129, 130, 77, 150, 148, 149, 81, 150, 150, 84,
|
|
85, 86, 150, 88, 150, 90, 150, 92, 150, 150,
|
|
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
|
|
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
|
|
10, 150, 150, 150, 119, 150, 150, 150, 150, 150,
|
|
150, 150, -1, 151, 151, 151, 151, 151, 28, 151,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 151, 151, 148, 149, 151, 153, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, -1, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, -1, 153, -1, 154, 154, 154,
|
|
154, 154, 154, -1, 155
|
|
];
|
|
|
|
protected $actionBase = [
|
|
0, 220, 295, 283, 336, 549, -2, -2, -2, -2,
|
|
-36, 473, 505, 404, 505, 606, 574, 675, 675, 675,
|
|
109, 39, 504, 504, 477, 504, 492, 506, 503, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 32, 32, 230, 43, 697, 703, 700,
|
|
695, 694, 514, 699, 698, 201, 651, 650, 498, 649,
|
|
648, 647, 646, 701, 724, 696, 702, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 38, 30, 403, 175, 175, 175, 175,
|
|
175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
|
|
175, 175, 175, 175, 175, 160, 160, 160, 343, 210,
|
|
208, 198, 17, 233, 27, 780, 780, 780, 780, 780,
|
|
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
|
|
280, 280, 280, 280, 280, 280, 280, 280, 462, 595,
|
|
597, 598, 414, 393, 393, 151, 151, 151, 151, 146,
|
|
196, -45, 199, 118, 460, 729, 174, 174, 387, 111,
|
|
207, -22, -22, -22, 327, 466, 455, 455, 455, 455,
|
|
92, 92, 455, 455, 168, 10, 233, 233, 274, 233,
|
|
395, 395, 395, 221, 137, 467, 221, 581, 487, 645,
|
|
515, 603, 273, 377, 370, 522, 94, 486, 524, 94,
|
|
94, 94, 407, 352, 362, 711, 32, 521, 32, 32,
|
|
32, 32, 683, 32, 32, 32, 32, 32, 32, 205,
|
|
32, 371, 230, 468, 384, 482, 145, 588, 348, 236,
|
|
482, 482, 482, 589, 590, 339, 113, 582, 331, 408,
|
|
269, 479, 479, 469, 469, 481, 500, 479, 479, 479,
|
|
479, 479, 577, 577, 469, 483, 469, 481, 671, 469,
|
|
500, 469, 469, 479, 469, 577, 500, 330, 58, 430,
|
|
35, 500, 292, 497, 479, 493, 493, 281, 469, 307,
|
|
469, 382, 488, 577, 577, 488, 245, 500, 228, 547,
|
|
551, 457, 451, 24, 499, 483, 499, 56, 457, 170,
|
|
500, 499, 358, 483, 240, 499, 5, 674, 676, 501,
|
|
692, 658, 691, 678, 690, 580, 491, 495, 685, 684,
|
|
689, 670, 656, 357, 526, 376, 463, 452, 476, 655,
|
|
486, 511, 474, 474, 474, 476, 653, 474, 474, 474,
|
|
474, 474, 474, 474, 474, 723, 386, 519, 485, 456,
|
|
525, 502, 432, 594, 509, 526, 526, 641, 722, 673,
|
|
470, 683, 708, 688, 517, 465, 716, 682, 599, 538,
|
|
534, 681, 715, 707, 593, 376, 706, 642, 475, 643,
|
|
526, 635, 474, 652, 620, 728, 727, 654, 726, 714,
|
|
535, 484, 725, 634, 705, 592, 591, 565, 719, 693,
|
|
713, 632, 712, 554, 464, 721, 494, 677, 679, 518,
|
|
631, 628, 555, 480, 623, 687, 560, 718, 717, 720,
|
|
561, 564, 583, 472, 585, 619, 222, 576, 686, 496,
|
|
471, 489, 579, 704, 618, 586, 680, 578, 541, 616,
|
|
614, 709, 508, 511, 510, 459, 507, 490, 587, 612,
|
|
710, 478, 573, 572, 571, 568, 608, 567, 607, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 134,
|
|
134, -2, -2, -2, 0, 0, 0, 0, -2, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, -3, 418,
|
|
418, -3, 418, 418, 418, 418, 418, 418, -22, -22,
|
|
-22, -22, 221, 221, 221, 221, 221, 221, 221, 221,
|
|
221, 221, 221, 221, 221, 221, 49, 49, 49, 49,
|
|
221, -22, -22, 221, 221, 221, 221, 221, 221, 49,
|
|
221, 92, 92, 92, 94, 94, 221, 0, 0, 0,
|
|
0, 0, 479, 92, 221, 221, 221, 221, 0, 0,
|
|
221, 221, 483, 94, 0, 0, 0, 0, 479, 479,
|
|
479, 0, 479, 92, 0, 32, 379, 379, 379, 379,
|
|
0, 0, 0, 479, 0, 483, 479, 0, 0, 0,
|
|
0, 0, 0, 500, 0, 577, 0, 0, 0, 0,
|
|
469, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 483, 0, 474, 0, 470, 0, 0, 474, 474,
|
|
474, 470, 470, 0, 0, 470
|
|
];
|
|
|
|
protected $actionDefault = [
|
|
3,32767,32767,32767,32767,32767,32767, 90,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 90, 493, 493,32767, 493,32767,32767,32767, 305,
|
|
305, 305,32767, 485, 442, 442, 442, 442, 442, 442,
|
|
442, 485,32767,32767,32767,32767,32767, 384,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 90,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 490,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 367, 368, 370,
|
|
371, 304, 443, 252, 489, 303, 128, 263, 254, 206,
|
|
301, 238, 132, 332, 385, 334, 383, 387, 333, 310,
|
|
314, 315, 316, 317, 318, 319, 320, 321, 322, 323,
|
|
324, 325, 308, 309, 386, 364, 363, 362, 330, 331,
|
|
307, 335, 337, 307, 336, 353, 354, 351, 352, 355,
|
|
356, 357, 358, 359,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 90,32767, 286, 286,
|
|
286, 286,32767, 344, 345, 244, 244, 244, 244,32767,
|
|
244, 287,32767,32767,32767,32767,32767,32767,32767, 436,
|
|
361, 339, 340, 338,32767, 414,32767,32767,32767,32767,
|
|
32767, 416,32767, 90,32767,32767, 327, 329, 408, 311,
|
|
32767,32767, 92,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 411, 444, 444,32767,32767, 402, 90,32767,
|
|
32767, 90, 171, 225, 227, 176,32767, 419,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 349, 500,32767, 444,32767,
|
|
341, 342, 343,32767,32767, 444, 444,32767, 444,32767,
|
|
444,32767,32767,32767,32767,32767, 176,32767,32767,32767,
|
|
32767, 92, 417, 417, 90, 90, 90, 90, 412,32767,
|
|
176,32767,32767,32767,32767,32767, 176, 89, 89, 89,
|
|
89, 176, 89, 189,32767, 187, 187, 89,32767, 89,
|
|
32767, 89, 191,32767, 458, 191, 89, 176, 89, 211,
|
|
211, 393, 178, 91, 246,32767, 246, 91, 393, 89,
|
|
176, 246, 89,32767, 89, 246,32767,32767,32767, 83,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 404,32767, 424,32767, 437, 456,
|
|
402,32767, 347, 348, 350,32767, 446, 372, 373, 374,
|
|
375, 376, 377, 378, 380,32767, 486, 407,32767,32767,
|
|
85, 119, 262,32767, 498, 85, 405,32767, 498,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 85,
|
|
85,32767,32767,32767,32767, 482,32767, 499,32767, 444,
|
|
406,32767, 346, 420, 463,32767,32767, 445,32767,32767,
|
|
85,32767,32767,32767,32767,32767,32767,32767,32767, 424,
|
|
32767,32767,32767,32767,32767, 444,32767,32767,32767,32767,
|
|
32767,32767,32767, 300,32767,32767,32767,32767,32767, 444,
|
|
32767,32767,32767, 237,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 83, 60,32767, 280,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 134,
|
|
134, 3, 3, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 265, 166,
|
|
265, 219, 265, 265, 222, 211, 211, 272
|
|
];
|
|
|
|
protected $goto = [
|
|
163, 163, 136, 136, 146, 136, 148, 179, 164, 161,
|
|
161, 161, 161, 145, 162, 162, 162, 162, 162, 162,
|
|
162, 145, 157, 158, 159, 160, 176, 174, 177, 422,
|
|
423, 315, 424, 427, 428, 429, 430, 431, 432, 433,
|
|
434, 891, 134, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
233, 234, 251, 252, 253, 320, 321, 322, 472, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
|
|
168, 151, 152, 153, 169, 154, 197, 135, 170, 155,
|
|
171, 172, 156, 534, 200, 440, 545, 738, 229, 673,
|
|
230, 231, 200, 5, 714, 671, 279, 1073, 1073, 672,
|
|
977, 445, 445, 445, 795, 445, 774, 465, 571, 708,
|
|
438, 804, 799, 261, 1073, 465, 460, 458, 245, 445,
|
|
574, 494, 496, 521, 524, 792, 529, 530, 806, 537,
|
|
791, 539, 546, 802, 548, 426, 426, 426, 426, 426,
|
|
426, 426, 426, 426, 426, 426, 426, 426, 426, 699,
|
|
544, 474, 300, 304, 452, 475, 476, 478, 978, 473,
|
|
859, 547, 445, 445, 526, 857, 487, 507, 459, 480,
|
|
445, 445, 445, 514, 1047, 1048, 979, 1033, 525, 735,
|
|
699, 829, 314, 699, 446, 490, 492, 540, 770, 311,
|
|
543, 471, 483, 778, 466, 470, 489, 489, 1002, 1002,
|
|
1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002, 1002,
|
|
425, 425, 425, 425, 425, 425, 425, 425, 425, 425,
|
|
425, 425, 425, 425, 1065, 298, 690, 690, 1057, 508,
|
|
675, 463, 700, 700, 700, 702, 689, 938, 1046, 814,
|
|
818, 695, 825, 285, 500, 277, 308, 692, 834, 680,
|
|
558, 730, 725, 726, 739, 437, 681, 727, 678, 728,
|
|
729, 679, 437, 733, 515, 326, 509, 330, 318, 318,
|
|
266, 267, 283, 469, 269, 325, 284, 328, 495, 772,
|
|
772, 772, 772, 1088, 974, 766, 773, 969, 809, 809,
|
|
1062, 280, 281, 302, 876, 704, 375, 838, 486, 451,
|
|
783, 688, 0, 391, 461, 0, 442, 0, 1072, 1072,
|
|
0, 981, 0, 0, 819, 819, 819, 819, 981, 819,
|
|
382, 819, 1052, 1052, 867, 1072, 0, 819, 0, 0,
|
|
0, 0, 531, 8, 0, 981, 981, 981, 981, 1075,
|
|
0, 981, 981, 0, 0, 703, 691, 833, 0, 837,
|
|
0, 0, 746, 0, 781, 747, 751, 0, 484, 0,
|
|
0, 0, 0, 811, 442, 771, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 874, 0, 457, 707,
|
|
1043, 973, 0, 0, 0, 0, 0, 1043, 0, 0,
|
|
0, 0, 0, 0, 1054, 1054, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 513, 0, 0, 0, 0, 439,
|
|
455, 0, 976, 1039, 0, 0, 0, 0, 0, 0,
|
|
439, 0, 455, 0, 0, 301, 0, 443, 363, 0,
|
|
365, 0, 0, 0, 836, 0, 0, 1041, 1041, 836,
|
|
0, 0, 0, 0, 698, 0, 1080
|
|
];
|
|
|
|
protected $gotoCheck = [
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 62, 55, 9, 8, 12, 71, 17,
|
|
71, 71, 55, 108, 15, 15, 78, 144, 144, 16,
|
|
90, 9, 9, 9, 15, 9, 15, 83, 15, 35,
|
|
15, 15, 15, 131, 144, 83, 9, 38, 131, 9,
|
|
38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
|
|
38, 38, 38, 38, 38, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 25,
|
|
5, 95, 48, 48, 48, 48, 48, 48, 90, 7,
|
|
7, 7, 9, 9, 7, 7, 45, 45, 9, 9,
|
|
9, 9, 9, 67, 138, 138, 90, 90, 67, 54,
|
|
25, 92, 67, 25, 9, 66, 66, 66, 74, 74,
|
|
74, 2, 2, 39, 133, 9, 84, 84, 84, 84,
|
|
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
|
|
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
|
|
132, 132, 132, 132, 142, 51, 25, 25, 140, 53,
|
|
12, 52, 25, 25, 25, 25, 25, 115, 136, 86,
|
|
89, 29, 88, 19, 23, 10, 18, 27, 94, 12,
|
|
80, 12, 12, 12, 12, 73, 12, 12, 12, 12,
|
|
12, 12, 73, 12, 22, 55, 55, 55, 55, 55,
|
|
55, 55, 55, 55, 55, 55, 55, 55, 55, 73,
|
|
73, 73, 73, 11, 124, 73, 73, 121, 83, 83,
|
|
83, 78, 78, 64, 111, 31, 69, 97, 70, 64,
|
|
77, 14, -1, 119, 64, -1, 11, -1, 143, 143,
|
|
-1, 62, -1, -1, 62, 62, 62, 62, 62, 62,
|
|
64, 62, 8, 8, 108, 143, -1, 62, -1, -1,
|
|
-1, -1, 11, 64, -1, 62, 62, 62, 62, 143,
|
|
-1, 62, 62, -1, -1, 13, 13, 13, -1, 13,
|
|
-1, -1, 62, -1, 13, 62, 13, -1, 13, -1,
|
|
-1, -1, -1, 13, 11, 13, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 13, -1, 8, 13,
|
|
95, 13, -1, -1, -1, -1, -1, 95, -1, -1,
|
|
-1, -1, -1, -1, 95, 95, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 11, -1, -1, -1, -1, 8,
|
|
8, -1, 11, 95, -1, -1, -1, -1, -1, -1,
|
|
8, -1, 8, -1, -1, 8, -1, 8, 8, -1,
|
|
8, -1, -1, -1, 95, -1, -1, 95, 95, 95,
|
|
-1, -1, -1, -1, 8, -1, 8
|
|
];
|
|
|
|
protected $gotoBase = [
|
|
0, 0, -330, 0, 0, 170, 0, 186, 106, -139,
|
|
1, 49, -17, 17, -56, 123, 127, 117, -9, 19,
|
|
0, 0, -38, 3, 0, -75, 0, -11, 0, -1,
|
|
0, -19, -20, 0, 0, 132, 0, 0, -403, 207,
|
|
0, 0, 0, 0, 0, 166, 0, 0, 147, 0,
|
|
0, 223, 43, 44, 195, 81, 0, 0, 0, 0,
|
|
0, 0, 109, 0, -27, 0, -21, -183, 0, -40,
|
|
-47, -452, 0, 53, -39, 0, 0, -16, -254, 0,
|
|
-32, 0, 0, 104, 12, 0, 29, 0, 30, 22,
|
|
-167, 0, 190, 0, -13, 178, 0, -18, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 113, 0,
|
|
0, -23, 0, 0, 0, 28, 0, 0, 0, -55,
|
|
0, -26, 0, 0, -22, 0, 0, 0, 0, 0,
|
|
0, -112, 26, 201, -49, 0, 21, 0, -85, 0,
|
|
217, 0, 229, 94, -117, 0, 0
|
|
];
|
|
|
|
protected $gotoDefault = [
|
|
-32768, 396, 579, 2, 580, 651, 659, 516, 413, 414,
|
|
441, 316, 732, 880, 694, 776, 715, 716, 305, 340,
|
|
296, 303, 501, 491, 387, 701, 359, 693, 383, 696,
|
|
358, 705, 133, 517, 392, 709, 1, 711, 447, 742,
|
|
293, 719, 294, 520, 721, 454, 723, 724, 299, 306,
|
|
307, 884, 462, 488, 734, 203, 456, 736, 292, 737,
|
|
745, 313, 297, 369, 393, 385, 479, 512, 354, 372,
|
|
485, 228, 464, 988, 768, 378, 367, 782, 278, 790,
|
|
563, 798, 801, 415, 416, 376, 813, 377, 823, 817,
|
|
996, 371, 828, 360, 835, 1028, 362, 839, 842, 335,
|
|
502, 329, 846, 847, 4, 851, 535, 536, 866, 241,
|
|
389, 875, 503, 357, 890, 343, 957, 959, 449, 384,
|
|
970, 366, 523, 394, 975, 1032, 355, 417, 373, 268,
|
|
282, 244, 418, 435, 249, 419, 374, 1035, 1042, 319,
|
|
1058, 436, 1066, 1074, 275, 468, 482
|
|
];
|
|
|
|
protected $ruleToNonTerminal = [
|
|
0, 1, 3, 3, 2, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
|
|
7, 7, 8, 9, 9, 10, 11, 12, 12, 13,
|
|
13, 14, 14, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 19, 19, 20, 20, 20, 20,
|
|
22, 24, 24, 18, 26, 26, 23, 28, 28, 25,
|
|
25, 27, 27, 29, 29, 21, 30, 30, 31, 33,
|
|
34, 34, 35, 36, 36, 38, 37, 37, 37, 37,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 39, 39, 15, 15, 58, 58, 61, 61,
|
|
60, 59, 59, 52, 63, 63, 64, 64, 65, 65,
|
|
16, 17, 17, 17, 68, 68, 68, 69, 69, 72,
|
|
72, 70, 70, 74, 75, 75, 46, 46, 54, 54,
|
|
57, 57, 57, 56, 76, 76, 77, 47, 47, 47,
|
|
47, 78, 78, 79, 79, 80, 80, 44, 44, 40,
|
|
40, 81, 42, 42, 82, 41, 41, 43, 43, 53,
|
|
53, 53, 53, 66, 66, 85, 85, 86, 86, 88,
|
|
88, 89, 89, 89, 87, 87, 67, 67, 90, 90,
|
|
91, 91, 92, 92, 92, 49, 93, 93, 94, 50,
|
|
96, 96, 97, 97, 71, 71, 98, 98, 98, 98,
|
|
103, 103, 104, 104, 105, 105, 105, 105, 105, 106,
|
|
107, 107, 102, 102, 99, 99, 101, 101, 109, 109,
|
|
108, 108, 108, 108, 108, 108, 100, 110, 110, 112,
|
|
111, 111, 51, 113, 113, 45, 45, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
120, 114, 114, 119, 119, 122, 123, 123, 124, 125,
|
|
125, 125, 73, 73, 62, 62, 62, 115, 115, 115,
|
|
127, 127, 116, 116, 118, 118, 118, 121, 121, 132,
|
|
132, 132, 84, 134, 134, 134, 117, 117, 117, 117,
|
|
117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
|
|
117, 117, 48, 48, 130, 130, 130, 126, 126, 126,
|
|
135, 135, 135, 135, 135, 135, 55, 55, 55, 95,
|
|
95, 95, 95, 138, 137, 129, 129, 129, 129, 129,
|
|
129, 128, 128, 128, 136, 136, 136, 136, 83, 139,
|
|
139, 140, 140, 140, 140, 140, 133, 141, 141, 142,
|
|
142, 142, 142, 142, 131, 131, 131, 131, 144, 145,
|
|
143, 143, 143, 143, 143, 143, 143, 146, 146, 146,
|
|
146
|
|
];
|
|
|
|
protected $ruleToLength = [
|
|
1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 3, 1, 1, 1, 1, 0,
|
|
1, 0, 1, 1, 1, 1, 1, 3, 5, 4,
|
|
3, 4, 2, 3, 1, 1, 7, 8, 6, 7,
|
|
2, 3, 1, 2, 3, 1, 2, 3, 1, 1,
|
|
3, 1, 2, 1, 2, 2, 3, 1, 3, 2,
|
|
3, 1, 3, 2, 0, 1, 1, 1, 1, 1,
|
|
3, 7, 10, 5, 7, 9, 5, 3, 3, 3,
|
|
3, 3, 3, 1, 2, 5, 7, 9, 5, 6,
|
|
3, 3, 2, 1, 1, 1, 0, 2, 1, 3,
|
|
8, 0, 4, 2, 1, 3, 0, 1, 0, 1,
|
|
10, 7, 6, 5, 1, 2, 2, 0, 2, 0,
|
|
2, 0, 2, 2, 1, 3, 1, 4, 1, 4,
|
|
1, 1, 4, 2, 1, 3, 3, 3, 4, 4,
|
|
5, 0, 2, 4, 3, 1, 1, 1, 4, 0,
|
|
2, 5, 0, 2, 6, 0, 2, 0, 3, 1,
|
|
2, 1, 1, 2, 0, 1, 3, 4, 6, 1,
|
|
2, 1, 1, 1, 0, 1, 0, 2, 2, 4,
|
|
1, 3, 1, 2, 2, 2, 3, 1, 1, 2,
|
|
3, 1, 1, 3, 2, 0, 3, 4, 9, 3,
|
|
1, 3, 0, 2, 4, 5, 4, 4, 4, 3,
|
|
1, 1, 1, 3, 1, 1, 0, 1, 1, 2,
|
|
1, 1, 1, 1, 1, 1, 2, 1, 3, 1,
|
|
1, 3, 2, 3, 1, 0, 1, 1, 3, 3,
|
|
3, 4, 1, 2, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 2, 2, 2, 2,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 2, 2, 2,
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 5, 4, 3, 4, 4, 2, 2, 4,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 1, 3, 2, 1, 2, 4, 2, 10, 11,
|
|
7, 3, 2, 0, 4, 2, 1, 3, 2, 2,
|
|
2, 4, 1, 1, 1, 2, 3, 1, 1, 1,
|
|
1, 1, 0, 3, 0, 1, 1, 0, 1, 1,
|
|
3, 3, 3, 4, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 3, 2,
|
|
3, 3, 0, 1, 1, 3, 1, 1, 3, 1,
|
|
1, 4, 4, 4, 1, 4, 1, 1, 3, 1,
|
|
4, 2, 2, 1, 3, 1, 4, 4, 3, 3,
|
|
3, 1, 3, 1, 1, 3, 1, 1, 4, 3,
|
|
1, 1, 1, 3, 3, 0, 1, 3, 1, 3,
|
|
1, 4, 2, 0, 2, 2, 1, 2, 1, 1,
|
|
1, 4, 3, 3, 3, 6, 3, 1, 1, 2,
|
|
1
|
|
];
|
|
|
|
protected function initReduceCallbacks() {
|
|
$this->reduceCallbacks = [
|
|
0 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
1 => function ($stackPos) {
|
|
$this->semValue = $this->handleNamespaces($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
2 => function ($stackPos) {
|
|
if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; };
|
|
},
|
|
3 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
4 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
5 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
6 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
7 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
8 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
9 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
10 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
11 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
12 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
13 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
14 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
15 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
16 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
17 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
18 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
19 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
20 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
21 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
22 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
23 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
24 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
25 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
26 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
27 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
28 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
29 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
30 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
31 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
32 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
33 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
34 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
35 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
36 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
37 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
38 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
39 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
40 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
41 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
42 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
43 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
44 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
45 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
46 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
47 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
48 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
49 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
50 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
51 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
52 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
53 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
54 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
55 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
56 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
57 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
58 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
59 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
60 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
61 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
62 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
63 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
64 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
65 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
66 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
67 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
68 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
69 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
70 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
71 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
72 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
73 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
74 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
75 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
76 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
77 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
78 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
79 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
80 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
81 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
82 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
83 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
84 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
85 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
86 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
87 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
88 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
89 => function ($stackPos) {
|
|
/* nothing */
|
|
},
|
|
90 => function ($stackPos) {
|
|
$this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes));
|
|
},
|
|
91 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
92 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
93 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
94 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
95 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
96 => function ($stackPos) {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
97 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(3-2)], null, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
98 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
99 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
},
|
|
100 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
101 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
102 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
103 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
104 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
},
|
|
105 => function ($stackPos) {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
},
|
|
106 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
107 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(8-4)], $this->startAttributeStack[$stackPos-(8-4)] + $this->endAttributeStack[$stackPos-(8-4)]), $this->semStack[$stackPos-(8-7)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes);
|
|
},
|
|
108 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(6-2)], $this->startAttributeStack[$stackPos-(6-2)] + $this->endAttributeStack[$stackPos-(6-2)]), $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
109 => function ($stackPos) {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
110 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
111 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
112 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
113 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
114 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
115 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
116 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
117 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
118 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
119 => 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));
|
|
},
|
|
120 => 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));
|
|
},
|
|
121 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
122 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
123 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
},
|
|
124 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
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 = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
128 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
129 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
130 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
131 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
132 => function ($stackPos) {
|
|
$this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
133 => 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)]; };
|
|
},
|
|
134 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
135 => function ($stackPos) {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
136 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
137 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
138 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
139 => function ($stackPos) {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
140 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)]; $attrs = $this->startAttributeStack[$stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments']) && isset($stmts[0])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
},
|
|
141 => 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)] : [$this->semStack[$stackPos-(7-5)]], 'elseifs' => $this->semStack[$stackPos-(7-6)], 'else' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
142 => 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);
|
|
},
|
|
143 => function ($stackPos) {
|
|
$this->semValue = new Stmt\While_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
144 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Do_($this->semStack[$stackPos-(7-5)], is_array($this->semStack[$stackPos-(7-2)]) ? $this->semStack[$stackPos-(7-2)] : [$this->semStack[$stackPos-(7-2)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
},
|
|
145 => 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);
|
|
},
|
|
146 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
147 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
148 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
149 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
150 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
151 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
152 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
153 => function ($stackPos) {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
154 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
155 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
156 => 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);
|
|
},
|
|
157 => 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);
|
|
},
|
|
158 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
159 => 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);
|
|
},
|
|
160 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
161 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
162 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
163 => function ($stackPos) {
|
|
$this->semValue = []; /* means: no statement */
|
|
},
|
|
164 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
165 => 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 = []; /* means: no statement */
|
|
},
|
|
166 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
167 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
168 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
169 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
170 => 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);
|
|
},
|
|
171 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
172 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
173 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
174 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
175 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
176 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
177 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
178 => function ($stackPos) {
|
|
$this->semValue = false;
|
|
},
|
|
179 => function ($stackPos) {
|
|
$this->semValue = true;
|
|
},
|
|
180 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Function_($this->semStack[$stackPos-(10-3)], ['byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-5)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
181 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Class_($this->semStack[$stackPos-(7-2)], ['type' => $this->semStack[$stackPos-(7-1)], 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes);
|
|
$this->checkClass($this->semValue, $stackPos-(7-2));
|
|
},
|
|
182 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Interface_($this->semStack[$stackPos-(6-2)], ['extends' => $this->semStack[$stackPos-(6-3)], 'stmts' => $this->semStack[$stackPos-(6-5)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
$this->checkInterface($this->semValue, $stackPos-(6-2));
|
|
},
|
|
183 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Trait_($this->semStack[$stackPos-(5-2)], ['stmts' => $this->semStack[$stackPos-(5-4)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
184 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
185 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
186 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
187 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
188 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
189 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
190 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
191 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
192 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
193 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
194 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
195 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
196 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
197 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
198 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
199 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
200 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
201 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
202 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
203 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
204 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
205 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
206 => function ($stackPos) {
|
|
$this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
207 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
208 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
209 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
210 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(5-3)];
|
|
},
|
|
211 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
212 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
213 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
214 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
215 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
216 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos];
|
|
},
|
|
217 => function ($stackPos) {
|
|
$this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
218 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
219 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
220 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
221 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(5-3)], is_array($this->semStack[$stackPos-(5-5)]) ? $this->semStack[$stackPos-(5-5)] : [$this->semStack[$stackPos-(5-5)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes);
|
|
},
|
|
222 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
223 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
224 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
225 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
226 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : [$this->semStack[$stackPos-(2-2)]], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
227 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
228 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
229 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)], false];
|
|
},
|
|
230 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(2-2)], true];
|
|
},
|
|
231 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)], false];
|
|
},
|
|
232 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)], false];
|
|
},
|
|
233 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
234 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
235 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
236 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
237 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(4-4)], null, $this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
},
|
|
238 => function ($stackPos) {
|
|
$this->semValue = new Node\Param($this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-3)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
},
|
|
239 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
240 => function ($stackPos) {
|
|
$this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
241 => function ($stackPos) {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]);
|
|
},
|
|
242 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
243 => function ($stackPos) {
|
|
$this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
244 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
245 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
246 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
247 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-2)];
|
|
},
|
|
248 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
249 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-2)];
|
|
},
|
|
250 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
251 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
252 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
253 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
254 => function ($stackPos) {
|
|
$this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
255 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
256 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
257 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
258 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
259 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
260 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
261 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
262 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
263 => function ($stackPos) {
|
|
$this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
264 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
265 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
266 => function ($stackPos) {
|
|
$this->semValue = new Stmt\Property($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkProperty($this->semValue, $stackPos-(3-1));
|
|
},
|
|
267 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassConst($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-1)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkClassConst($this->semValue, $stackPos-(4-1));
|
|
},
|
|
268 => function ($stackPos) {
|
|
$this->semValue = new Stmt\ClassMethod($this->semStack[$stackPos-(9-4)], ['type' => $this->semStack[$stackPos-(9-1)], 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-6)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes);
|
|
$this->checkClassMethod($this->semValue, $stackPos-(9-1));
|
|
},
|
|
269 => function ($stackPos) {
|
|
$this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
270 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
271 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
272 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
273 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
274 => 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);
|
|
},
|
|
275 => 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);
|
|
},
|
|
276 => 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);
|
|
},
|
|
277 => 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);
|
|
},
|
|
278 => 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);
|
|
},
|
|
279 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]];
|
|
},
|
|
280 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
281 => function ($stackPos) {
|
|
$this->semValue = [null, $this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
282 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
283 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
284 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
285 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
286 => function ($stackPos) {
|
|
$this->semValue = 0;
|
|
},
|
|
287 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
288 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
289 => 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)];
|
|
},
|
|
290 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
},
|
|
291 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
},
|
|
292 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
},
|
|
293 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
},
|
|
294 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
},
|
|
295 => function ($stackPos) {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
},
|
|
296 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
297 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
298 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
299 => function ($stackPos) {
|
|
$this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
300 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
301 => function ($stackPos) {
|
|
$this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
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 = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
305 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
306 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
307 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
308 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
309 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
310 => function ($stackPos) {
|
|
$this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
311 => function ($stackPos) {
|
|
$this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
312 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
313 => function ($stackPos) {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
314 => 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);
|
|
},
|
|
315 => 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);
|
|
},
|
|
316 => 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);
|
|
},
|
|
317 => 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);
|
|
},
|
|
318 => 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);
|
|
},
|
|
319 => 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);
|
|
},
|
|
320 => 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);
|
|
},
|
|
321 => 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);
|
|
},
|
|
322 => 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);
|
|
},
|
|
323 => 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);
|
|
},
|
|
324 => 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);
|
|
},
|
|
325 => 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);
|
|
},
|
|
326 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
327 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
328 => function ($stackPos) {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
329 => function ($stackPos) {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
330 => 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);
|
|
},
|
|
331 => 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);
|
|
},
|
|
332 => 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);
|
|
},
|
|
333 => 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);
|
|
},
|
|
334 => 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);
|
|
},
|
|
335 => 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);
|
|
},
|
|
336 => 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);
|
|
},
|
|
337 => 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);
|
|
},
|
|
338 => 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);
|
|
},
|
|
339 => 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);
|
|
},
|
|
340 => 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);
|
|
},
|
|
341 => 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);
|
|
},
|
|
342 => 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);
|
|
},
|
|
343 => 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);
|
|
},
|
|
344 => 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);
|
|
},
|
|
345 => 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);
|
|
},
|
|
346 => 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);
|
|
},
|
|
347 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
348 => function ($stackPos) {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
349 => function ($stackPos) {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
350 => function ($stackPos) {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
351 => 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);
|
|
},
|
|
352 => 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);
|
|
},
|
|
353 => 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);
|
|
},
|
|
354 => 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);
|
|
},
|
|
355 => 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);
|
|
},
|
|
356 => 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);
|
|
},
|
|
357 => 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);
|
|
},
|
|
358 => 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);
|
|
},
|
|
359 => 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);
|
|
},
|
|
360 => function ($stackPos) {
|
|
$this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
361 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
362 => 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);
|
|
},
|
|
363 => 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);
|
|
},
|
|
364 => 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);
|
|
},
|
|
365 => function ($stackPos) {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
366 => function ($stackPos) {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
367 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
368 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
369 => function ($stackPos) {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
370 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
371 => function ($stackPos) {
|
|
$this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
372 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
373 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
374 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
375 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
376 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
377 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
378 => function ($stackPos) {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
379 => 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);
|
|
},
|
|
380 => function ($stackPos) {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
381 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
382 => function ($stackPos) {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
383 => function ($stackPos) {
|
|
$this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
384 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
385 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
386 => function ($stackPos) {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
387 => function ($stackPos) {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
388 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-4)], 'uses' => $this->semStack[$stackPos-(10-6)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes);
|
|
},
|
|
389 => function ($stackPos) {
|
|
$this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(11-3)], 'params' => $this->semStack[$stackPos-(11-5)], 'uses' => $this->semStack[$stackPos-(11-7)], 'returnType' => $this->semStack[$stackPos-(11-8)], 'stmts' => $this->semStack[$stackPos-(11-10)]], $this->startAttributeStack[$stackPos-(11-1)] + $this->endAttributes);
|
|
},
|
|
390 => function ($stackPos) {
|
|
$this->semValue = [new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes), $this->semStack[$stackPos-(7-2)]];
|
|
$this->checkClass($this->semValue[0], -1);
|
|
},
|
|
391 => function ($stackPos) {
|
|
$this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
392 => function ($stackPos) {
|
|
list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
393 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
394 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
395 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
396 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
397 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
398 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
399 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
400 => function ($stackPos) {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
401 => 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);
|
|
},
|
|
402 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
403 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
404 => function ($stackPos) {
|
|
$this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
405 => function ($stackPos) {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
406 => function ($stackPos) {
|
|
$this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
407 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
408 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
409 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
410 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
411 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
412 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
413 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
414 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
415 => function ($stackPos) {
|
|
$this->semValue = [new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)];
|
|
},
|
|
416 => 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)];
|
|
},
|
|
417 => function ($stackPos) {
|
|
$this->semValue = [];
|
|
},
|
|
418 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
419 => function ($stackPos) {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
420 => function ($stackPos) {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
421 => 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;
|
|
},
|
|
422 => 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);
|
|
},
|
|
423 => 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);
|
|
},
|
|
424 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
425 => 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);
|
|
},
|
|
426 => function ($stackPos) {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
427 => function ($stackPos) {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
428 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
429 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
430 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
431 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
432 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
433 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
434 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
435 => function ($stackPos) {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
436 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
437 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
438 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$stackPos-(3-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)]), $attrs);
|
|
},
|
|
439 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$stackPos-(2-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$stackPos-(2-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_('', $attrs);
|
|
},
|
|
440 => 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);
|
|
},
|
|
441 => function ($stackPos) {
|
|
$attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$stackPos-(3-1)], "'") === false ? Scalar\String_::KIND_HEREDOC : Scalar\String_::KIND_NOWDOC; preg_match('/\A[bB]?<<<[ \t]*[\'"]?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)[\'"]?(?:\r\n|\n|\r)\z/', $this->semStack[$stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
foreach ($this->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, true); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$stackPos-(3-2)], $attrs);
|
|
},
|
|
442 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
443 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
444 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
445 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
446 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
447 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
448 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
449 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
450 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
451 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
452 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
453 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
454 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
455 => 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);
|
|
},
|
|
456 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
457 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
458 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
459 => function ($stackPos) {
|
|
$this->semValue = substr($this->semStack[$stackPos-(1-1)], 1);
|
|
},
|
|
460 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(4-3)];
|
|
},
|
|
461 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
462 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
463 => function ($stackPos) {
|
|
$var = $this->semStack[$stackPos-(1-1)]; $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var;
|
|
},
|
|
464 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
465 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
466 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
467 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
468 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
469 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
470 => function ($stackPos) {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
471 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
472 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
473 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
474 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
475 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
476 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
477 => function ($stackPos) {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
},
|
|
478 => function ($stackPos) {
|
|
$this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
479 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
480 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
481 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
482 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
483 => 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);
|
|
},
|
|
484 => 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);
|
|
},
|
|
485 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
486 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) unset($this->semValue[$end]);
|
|
},
|
|
487 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)];
|
|
},
|
|
488 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
489 => 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);
|
|
},
|
|
490 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
491 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
492 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
493 => function ($stackPos) {
|
|
$this->semValue = null;
|
|
},
|
|
494 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
495 => function ($stackPos) {
|
|
$this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)];
|
|
},
|
|
496 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(1-1)]];
|
|
},
|
|
497 => function ($stackPos) {
|
|
$this->semValue = [$this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]];
|
|
},
|
|
498 => function ($stackPos) {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
499 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
500 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
501 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes);
|
|
},
|
|
502 => function ($stackPos) {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
503 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
504 => function ($stackPos) {
|
|
$this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes);
|
|
},
|
|
505 => function ($stackPos) {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes);
|
|
},
|
|
506 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(3-2)];
|
|
},
|
|
507 => function ($stackPos) {
|
|
$this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
508 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes);
|
|
},
|
|
509 => function ($stackPos) {
|
|
$this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes);
|
|
},
|
|
510 => function ($stackPos) {
|
|
$this->semValue = $this->semStack[$stackPos-(1-1)];
|
|
},
|
|
];
|
|
}
|
|
}
|