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