mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 02:07:59 +01:00
2765 lines
132 KiB
PHP
2765 lines
132 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 = 884;
|
|
protected $gotoTableSize = 429;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 337;
|
|
protected $YYNLSTATES = 564;
|
|
|
|
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(
|
|
569, 570, 571, 572, 573, 215, 574, 575, 576, 612,
|
|
613, 1004, 27, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
|
|
97, 0, 239, 24, -267,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 530, 116, 114, 98,-32766, 265,-32766,-32766,-32766,
|
|
-32766,-32766, 577, 870, 872,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 224,-32766, 714, 578, 579, 580, 581,
|
|
582, 583, 584,-32766, 286, 644, 840, 841, 842, 839,
|
|
838, 837, 585, 586, 587, 588, 589, 590, 591, 592,
|
|
593, 594, 595, 615, 616, 617, 618, 619, 607, 608,
|
|
609, 610, 611, 596, 597, 598, 599, 600, 601, 602,
|
|
638, 639, 640, 641, 642, 643, 603, 604, 605, 606,
|
|
636, 627, 625, 626, 622, 623, 241, 614, 620, 621,
|
|
628, 629, 631, 630, 632, 633, 42, 43, 381, 44,
|
|
45, 624, 635, 634, -214, 46, 47, 952, 48,-32767,
|
|
-32767,-32767,-32767, 90, 91, 92, 93, 94, 268, 71,
|
|
22, 840, 841, 842, 839, 838, 837, 832,-32766,-32766,
|
|
-32766, 1040, 1001, 1001, 1039, 120, 967, 436, -424, 246,
|
|
797, 49, 50, 660, 661, 344, 361, 51,-32766, 52,
|
|
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
1018, 22, 232, 61, 351, 945,-32766,-32766,-32766, 968,
|
|
969, 646, 705, 1001, 28, -458, 125, 967,-32766,-32766,
|
|
-32766, 715, 398, 399, 274, 1001,-32766, 339,-32766,-32766,
|
|
-32766,-32766, 25, 222, 981, 226, 355, 378,-32766, -424,
|
|
-32766,-32766,-32766, 121, 65, 1048, 408, 1050, 1049, 258,
|
|
258, 216, 246, -424, 394, 395, 358, 519, 945, 537,
|
|
-424, 112, -427, 398, 399, 128, 973, 974, 975, 976,
|
|
970, 971, 243, 369, -423, -422, 1015, 409, 977, 972,
|
|
353, 791, 792, 362, -238, 63, 131, 255, 547, 256,
|
|
258, 382, -122, -122, -122, -4, 715, 383, 646, 1045,
|
|
40, 704, 258, -219, 33, 17, 384, -122, 385, -122,
|
|
386, -122, 387, -122, 130, 388, -122, -122, -122, 34,
|
|
35, 389, 352, 520, 36, 390, 353, 659, 62, 117,
|
|
818, 287, 288, 391, 392, -423, -422, -460, 350, 393,
|
|
38, -422, 690, 735, 396, 397, 367, 22, 122, -423,
|
|
-422,-32766,-32766,-32766, 791, 792, -423, -422, -426, 1001,
|
|
-458, 248, 41, 967, 409, 21, 382, 353, 717, 535,
|
|
-122,-32766, 383,-32766,-32766, 295, 704, -469, 813, 33,
|
|
17, 384, 115, 385, -468, 386, 7, 387, -162, 289,
|
|
388, -161, 945, 370, 34, 35, 389, 352, 345, 36,
|
|
390, 247, -422, 62, 254, 715, 287, 288, 391, 392,
|
|
399,-32766,-32766,-32766, 393, 952, -422, 652, 735, 396,
|
|
397, 1001, 113, -422, 702, 126, 72, 73, 74, -238,
|
|
764, 65, 111, 548, 224, 118, 258, 124, 271, 92,
|
|
93, 94, 552, 717, 535, -4, 26, 223, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 275, 239, 119, 715, 382, 713, 276,-32766,-32766,
|
|
242, 383, -460, 938, 98, 704, 127, 297, 33, 17,
|
|
384, 16, 385, 1001, 386, 221, 387, 225, 258, 388,
|
|
494, 18, 542, 34, 35, 389, 715, 1019, 36, 390,
|
|
798, 728, 62, 505, 506, 287, 288, 518, 376, 6,
|
|
791, 792, -469, 393, -469, 239, 945, 814, 39, -468,
|
|
701, -468, 98, -162, 541, 448, -161, 346, 459, 660,
|
|
661, 490, 491, 514, 382, 1043, 120, 440, 529, 765,
|
|
383, 430, 717, 535, 704, 653, 538, 33, 17, 384,
|
|
429, 385, 359, 386, 357, 387, 435, 449, 388, 646,
|
|
258, 647, 34, 35, 389, 715, 382, 36, 390, 817,
|
|
563, 62, 383, 673, 287, 288, 704, 829, 553, 33,
|
|
17, 384, 393, 385, 315, 386, 941, 387, 503, 492,
|
|
388, 434, 495, 540, 34, 35, 389, 715,-32766, 36,
|
|
390, 445, 515, 62, 500, 356, 287, 288, -80, 509,
|
|
499, 717, 535, 452, 393, 10, 214, 736, 266, 273,
|
|
737, 730, 983, 3, 980, 539, 267, 488, -382, 294,
|
|
270, 9, 493, 0, 340, 382, 309, 320, 0, 0,
|
|
0, 383, 0, 751, 535, 704, 227, 442, 33, 17,
|
|
384, 338, 385, 264, 386, 982, 387, 0, 0, 388,
|
|
0, 0, 0, 34, 35, 389, 715, 382, 36, 390,
|
|
358, 325, 62, 383, 321, 287, 288, 704, 22, 341,
|
|
33, 17, 384, 393, 385, 703, 386, 821, 387, 656,
|
|
1001, 388, 823, 657, 967, 34, 35, 389, 31, 711,
|
|
36, 390, 561, 562, 62, 658, 32, 287, 288, 822,
|
|
825, 824, 717, 535, 747, 393, 749, 693, 759, 758,
|
|
752, 767, 695, 945, 706, 700, 712, 699, 698, 1007,
|
|
263, 536, 543, 559, 558, 556, 382, 554, 551, 550,
|
|
398, 399, 383, 546, 717, 535, 704, 545, 337, 33,
|
|
17, 384, 934, 385, 830, 386, 722, 387, 663, 662,
|
|
388, 37, 65, 757, 34, 35, 389, 258, 732, 36,
|
|
390, 733, 665, 62, 664, 756, 287, 288,-32766,-32766,
|
|
-32766, 555, 691, 1047, 393, 1044, 1002, 995, 1008, 1013,
|
|
1016, 734, 933, 932, 731, 724, 1046, 654,-32766, 655,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, -448, -427, 717, 535, 348, 926, 343, 269, 238,
|
|
237, 236, 235, -426, -425, 20, 218, 23, 29, 217,
|
|
132, 30, 64, 66, 129, 67, 68, 123, 70, 69,
|
|
-450, 0, 11, 15, 19, 910, 250, 296, 467, 909,
|
|
472, 484, 528, 913, -215, -217, 965, 956, 525, 379,
|
|
375, 373, 371, 14, 13, 12, -214, 0, -394, 0,
|
|
1042, 993, 994, 964
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 13, 8, 9, 10, 11,
|
|
12, 1, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
|
|
52, 0, 54, 7, 79, 8, 9, 10, 8, 9,
|
|
10, 77, 7, 13, 66, 28, 7, 30, 31, 32,
|
|
33, 34, 54, 56, 57, 28, 8, 30, 31, 32,
|
|
33, 34, 35, 35, 109, 1, 68, 69, 70, 71,
|
|
72, 73, 74, 118, 7, 77, 112, 113, 114, 115,
|
|
116, 117, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 7, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
|
|
6, 143, 144, 145, 152, 11, 12, 1, 14, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 109, 149,
|
|
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
|
|
10, 79, 79, 79, 82, 147, 83, 82, 67, 28,
|
|
152, 47, 48, 102, 103, 7, 7, 53, 28, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
1, 67, 68, 69, 70, 112, 8, 9, 10, 75,
|
|
76, 77, 148, 79, 13, 7, 67, 83, 8, 9,
|
|
10, 1, 129, 130, 7, 79, 28, 146, 30, 31,
|
|
32, 33, 140, 141, 139, 7, 102, 7, 28, 128,
|
|
30, 31, 32, 149, 151, 77, 112, 79, 80, 156,
|
|
156, 13, 28, 142, 120, 121, 146, 77, 112, 149,
|
|
149, 15, 151, 129, 130, 15, 132, 133, 134, 135,
|
|
136, 137, 138, 29, 67, 67, 77, 143, 144, 145,
|
|
146, 130, 131, 7, 7, 151, 15, 153, 29, 155,
|
|
156, 71, 72, 73, 74, 0, 1, 77, 77, 150,
|
|
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 15, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 143, 104, 105, 146, 148, 108, 15,
|
|
150, 111, 112, 113, 114, 128, 128, 7, 7, 119,
|
|
67, 67, 122, 123, 124, 125, 7, 67, 149, 142,
|
|
142, 8, 9, 10, 130, 131, 149, 149, 151, 79,
|
|
152, 128, 7, 83, 143, 7, 71, 146, 148, 149,
|
|
150, 28, 77, 30, 31, 142, 81, 7, 148, 84,
|
|
85, 86, 149, 88, 7, 90, 7, 92, 7, 7,
|
|
95, 7, 112, 149, 99, 100, 101, 102, 103, 104,
|
|
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
|
|
130, 8, 9, 10, 119, 1, 142, 122, 123, 124,
|
|
125, 79, 149, 149, 148, 29, 8, 9, 10, 152,
|
|
29, 151, 15, 29, 35, 15, 156, 15, 143, 47,
|
|
48, 49, 29, 148, 149, 150, 28, 35, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 33, 54, 29, 1, 71, 29, 67, 8, 9,
|
|
29, 77, 152, 152, 66, 81, 97, 98, 84, 85,
|
|
86, 152, 88, 79, 90, 35, 92, 35, 156, 95,
|
|
72, 73, 29, 99, 100, 101, 1, 152, 104, 105,
|
|
152, 35, 108, 72, 73, 111, 112, 79, 102, 103,
|
|
130, 131, 152, 119, 154, 54, 112, 148, 67, 152,
|
|
148, 154, 66, 152, 29, 77, 152, 123, 128, 102,
|
|
103, 106, 107, 74, 71, 77, 147, 82, 89, 148,
|
|
77, 77, 148, 149, 81, 148, 149, 84, 85, 86,
|
|
77, 88, 77, 90, 77, 92, 77, 77, 95, 77,
|
|
156, 77, 99, 100, 101, 1, 71, 104, 105, 148,
|
|
149, 108, 77, 77, 111, 112, 81, 148, 149, 84,
|
|
85, 86, 119, 88, 78, 90, 79, 92, 79, 79,
|
|
95, 79, 87, 29, 99, 100, 101, 1, 82, 104,
|
|
105, 86, 91, 108, 96, 102, 111, 112, 94, 96,
|
|
93, 148, 149, 94, 119, 94, 94, 123, 126, 126,
|
|
123, 147, 139, 142, 139, 29, 127, 109, 142, 142,
|
|
110, 142, 154, -1, 146, 71, 146, 146, -1, -1,
|
|
-1, 77, -1, 148, 149, 81, 35, 146, 84, 85,
|
|
86, 149, 88, 149, 90, 155, 92, -1, -1, 95,
|
|
-1, -1, -1, 99, 100, 101, 1, 71, 104, 105,
|
|
146, 146, 108, 77, 146, 111, 112, 81, 67, 146,
|
|
84, 85, 86, 119, 88, 148, 90, 148, 92, 148,
|
|
79, 95, 148, 148, 83, 99, 100, 101, 148, 148,
|
|
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
|
|
148, 148, 148, 149, 148, 119, 148, 148, 148, 148,
|
|
148, 148, 148, 112, 148, 148, 148, 148, 148, 154,
|
|
149, 149, 149, 149, 149, 149, 71, 149, 149, 149,
|
|
129, 130, 77, 149, 148, 149, 81, 149, 149, 84,
|
|
85, 86, 150, 88, 150, 90, 150, 92, 150, 150,
|
|
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
|
|
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
|
|
10, 150, 150, 150, 119, 150, 150, 150, 150, 150,
|
|
150, 150, 150, 150, 150, 150, 150, 150, 28, 150,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 151, 151, 148, 149, 151, 153, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, -1, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
|
|
152, 152, 152, 152, 152, 152, 152, -1, 153, -1,
|
|
154, 154, 154, 154
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 220, 295, 94, 180, 554, -2, -2, -2, -2,
|
|
-36, 574, 473, 404, 473, 606, 505, 675, 675, 675,
|
|
28, 399, 460, 460, 460, 516, 444, 412, 462, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 401, 64, 201, 561, 704, 711, 706,
|
|
701, 700, 532, 705, 703, 238, 645, 646, 396, 647,
|
|
648, 649, 650, 709, 488, 702, 710, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 48, 30, 470, 403, 403, 403, 403,
|
|
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
|
|
403, 403, 403, 403, 403, 160, 160, 160, 343, 210,
|
|
208, 198, 17, 274, 27, 780, 780, 780, 780, 780,
|
|
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
|
|
280, 280, 280, 280, 280, 280, 280, 280, 651, 631,
|
|
628, 612, 414, 392, 392, 151, 151, 151, 151, 146,
|
|
-45, 224, 224, 95, 493, 510, 390, 199, 199, 111,
|
|
207, -22, -22, -22, 81, 465, 92, 92, 10, 274,
|
|
274, 233, 274, 437, 437, 437, 221, 221, 221, 221,
|
|
221, 110, 526, 221, 221, 221, 168, 518, 635, 431,
|
|
523, 623, 273, 370, 377, 498, 543, 342, 513, 342,
|
|
435, 428, 441, 496, 342, 342, 244, 401, 439, 471,
|
|
547, 490, 179, 551, 382, 276, 410, 407, 339, 591,
|
|
555, 708, 384, 707, 355, 149, 471, 471, 471, 358,
|
|
514, 609, 277, -8, 634, 512, 381, 416, 330, 632,
|
|
619, 230, 618, 379, 331, 438, 549, 492, 492, 492,
|
|
492, 492, 492, 476, 492, 474, 684, 684, 458, 520,
|
|
476, 620, 476, 492, 684, 476, 476, 502, 492, 503,
|
|
503, 474, 522, 509, 684, 684, 509, 458, 476, 564,
|
|
565, 528, 484, 451, 451, 528, 476, 451, 520, 451,
|
|
31, 691, 692, 447, 694, 687, 695, 674, 698, 483,
|
|
592, 504, 507, 688, 685, 697, 489, 487, 690, 686,
|
|
511, 567, 485, 417, 246, 491, 461, 683, 513, 534,
|
|
466, 466, 466, 461, 671, 466, 466, 466, 466, 466,
|
|
466, 466, 466, 729, 26, 497, 525, 590, 589, 588,
|
|
314, 587, 500, 529, 420, 598, 495, 511, 511, 642,
|
|
725, 673, 494, 681, 715, 696, 560, 35, 422, 680,
|
|
641, 501, 506, 538, 679, 596, 417, 714, 643, 468,
|
|
511, 659, 466, 670, 699, 727, 728, 682, 585, 720,
|
|
119, 535, 586, 217, 726, 657, 595, 594, 568, 723,
|
|
713, 719, 718, 217, 584, 515, 712, 527, 676, 519,
|
|
677, 593, 250, 656, 693, 583, 722, 721, 724, 582,
|
|
581, 608, 604, 299, 271, 689, 259, 469, 521, 580,
|
|
517, 655, 600, 678, 579, 578, 654, 653, 716, 524,
|
|
534, 499, 530, 531, 459, 599, 652, 717, 413, 576,
|
|
573, 572, 616, 571, 614, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 134, 134, -2, -2, -2,
|
|
0, 0, 0, 0, -2, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, -3, 418, 418, -3, 418, 418,
|
|
418, 418, 418, 418, -22, -22, -22, -22, 221, 221,
|
|
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
|
221, 221, 49, 49, 49, 49, 221, -22, -22, 221,
|
|
221, 221, 221, 221, 49, 221, 221, 92, 92, 92,
|
|
221, 342, 342, 0, 0, 0, 0, 0, 492, 92,
|
|
0, 0, 342, 0, 0, 0, 0, 492, 492, 492,
|
|
0, 0, 0, 0, 0, 492, 92, 0, 0, 0,
|
|
0, 389, 389, 217, 389, 389, 0, 0, 0, 492,
|
|
492, 0, 522, 0, 0, 0, 0, 684, 0, 0,
|
|
0, 0, 0, 466, 35, 681, 0, 67, 0, 0,
|
|
0, 0, 0, 494, 67, 228, 0, 228, 0, 0,
|
|
466, 466, 466, 0, 494, 494, 0, 0, 39, 494,
|
|
0, 0, 0, 39, 178, 0, 178, 0, 0, 0,
|
|
217
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 470, 470, 470,32767,32767,32767,32767, 285,
|
|
462, 285, 285,32767, 420, 420, 420, 420, 420, 420,
|
|
420, 462,32767,32767,32767,32767,32767, 364,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 467,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 347, 348, 350,
|
|
351, 284, 421, 237, 466, 283, 116, 246, 239, 191,
|
|
282, 223, 119, 312, 365, 314, 363, 367, 313, 290,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 288, 289, 366, 344, 343, 342, 310, 311,
|
|
287, 315, 317, 287, 316, 333, 334, 331, 332, 335,
|
|
336, 337, 338, 339,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 269, 269,
|
|
269, 269,32767, 324, 325, 229, 229, 229, 229,32767,
|
|
270, 229,32767,32767,32767,32767,32767,32767,32767, 414,
|
|
341, 319, 320, 318,32767, 393,32767, 395,32767, 307,
|
|
309, 387, 291,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 390, 422, 422,32767,32767,32767, 381,32767,
|
|
159, 210, 212, 398,32767,32767,32767,32767,32767, 329,
|
|
32767,32767,32767,32767,32767,32767, 477,32767,32767,32767,
|
|
32767,32767, 422,32767,32767,32767, 321, 322, 323,32767,
|
|
32767,32767, 422, 422,32767,32767, 422,32767, 422,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 163,32767,32767, 396, 396,32767,32767,
|
|
163, 391, 163,32767,32767, 163, 163, 176,32767, 174,
|
|
174,32767,32767, 178,32767, 436, 178,32767, 163, 196,
|
|
196, 373, 165, 231, 231, 373, 163, 231,32767, 231,
|
|
32767,32767,32767, 82,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
383,32767,32767,32767, 402,32767, 415, 434, 381,32767,
|
|
327, 328, 330,32767, 424, 352, 353, 354, 355, 356,
|
|
357, 358, 360,32767, 463, 386,32767,32767,32767,32767,
|
|
32767,32767, 84, 108, 245,32767, 475, 84, 384,32767,
|
|
475,32767,32767,32767,32767,32767,32767, 286,32767,32767,
|
|
32767, 84,32767, 84,32767,32767, 459,32767, 422,32767,
|
|
385,32767, 326, 399, 441,32767,32767, 423,32767,32767,
|
|
218, 84,32767, 177,32767,32767,32767,32767,32767,32767,
|
|
402,32767,32767, 179,32767,32767, 422,32767,32767,32767,
|
|
32767,32767, 281,32767,32767,32767,32767,32767, 422,32767,
|
|
32767,32767,32767, 222,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 82,
|
|
60,32767, 263,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 121, 121, 3, 3, 121,
|
|
121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
|
|
121, 121, 121, 121, 248, 154, 248, 204, 248, 248,
|
|
207, 196, 196, 255
|
|
);
|
|
|
|
protected $goto = array(
|
|
163, 163, 135, 135, 135, 146, 148, 179, 164, 161,
|
|
145, 161, 161, 161, 162, 162, 162, 162, 162, 162,
|
|
162, 145, 157, 158, 159, 160, 176, 174, 177, 410,
|
|
411, 299, 412, 415, 416, 417, 418, 419, 420, 421,
|
|
422, 857, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
233, 234, 251, 252, 253, 316, 317, 318, 462, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
|
|
168, 151, 152, 153, 169, 154, 197, 133, 170, 155,
|
|
171, 172, 156, 521, 200, 257, 245, 432, 463, 828,
|
|
533, 687, 649, 513, 826, 200, 437, 437, 437, 278,
|
|
650, 766, 5, 746, 437, 557, 464, 426, 775, 770,
|
|
428, 431, 444, 465, 466, 468, 651, 450, 453, 437,
|
|
560, 485, 487, 508, 511, 763, 516, 517, 777, 524,
|
|
762, 526, 532, 773, 534, 480, 480, 966, 966, 966,
|
|
966, 966, 966, 966, 966, 966, 966, 966, 966, 413,
|
|
413, 413, 413, 413, 413, 413, 413, 413, 413, 413,
|
|
413, 413, 413, 301, 942, 681, 443, 454, 1036, 1036,
|
|
437, 437, 451, 471, 437, 437, 674, 437, 456, 372,
|
|
502, 1036, 531, 512, 708, 298, 438, 8, 800, 456,
|
|
750, 460, 414, 414, 414, 414, 414, 414, 414, 414,
|
|
414, 414, 414, 414, 414, 414, 457, 674, 674, 1035,
|
|
1035, 483, 279, 229, 336, 230, 231, 481, 482, 527,
|
|
425, 1028, 1035, 478, 496, 943, 300, 425, 461, 475,
|
|
1020, 497, 313, 904, 785, 944, 997, 1038, 796, 1009,
|
|
285, 789, 670, 329, 307, 310, 804, 668, 544, 332,
|
|
935, 940, 366, 807, 678, 477, 377, 754, 844, 667,
|
|
667, 675, 675, 675, 677, 0, 666, 0, 323, 498,
|
|
328, 312, 312, 259, 260, 283, 458, 262, 322, 284,
|
|
326, 486, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
280, 281, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 946, 0, 0, 790, 790, 790, 790, 946, 0,
|
|
790, 790, 0, 0, 0, 790, 0, 0, 0, 0,
|
|
0, 0, 836, 0, 0, 1006, 0, 0, 0, 0,
|
|
0, 0, 1006, 0, 0, 744, 744, 744, 720, 744,
|
|
1017, 1017, 739, 745, 721, 0, 0, 0, 0, 0,
|
|
0, 1003, 780, 780, 1025, 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,
|
|
806, 0, 806, 0, 0, 0, 0, 1010, 1011
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 52, 45, 112, 112, 8, 7, 7,
|
|
7, 10, 10, 7, 7, 45, 8, 8, 8, 64,
|
|
11, 10, 92, 10, 8, 10, 80, 10, 10, 10,
|
|
38, 38, 38, 38, 38, 38, 12, 28, 8, 8,
|
|
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
|
|
28, 28, 28, 28, 28, 70, 70, 70, 70, 70,
|
|
70, 70, 70, 70, 70, 70, 70, 70, 70, 113,
|
|
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
|
|
113, 113, 113, 53, 76, 25, 53, 53, 124, 124,
|
|
8, 8, 8, 8, 8, 8, 19, 8, 69, 53,
|
|
56, 124, 5, 56, 44, 56, 8, 53, 78, 69,
|
|
29, 8, 115, 115, 115, 115, 115, 115, 115, 115,
|
|
115, 115, 115, 115, 115, 115, 114, 19, 19, 123,
|
|
123, 62, 62, 60, 62, 60, 60, 55, 55, 55,
|
|
109, 122, 123, 35, 35, 76, 41, 109, 2, 2,
|
|
120, 43, 42, 96, 72, 76, 76, 123, 74, 117,
|
|
14, 75, 21, 18, 9, 13, 79, 20, 66, 17,
|
|
102, 104, 58, 81, 22, 59, 100, 63, 94, 19,
|
|
19, 19, 19, 19, 19, -1, 19, -1, 45, 45,
|
|
45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
|
|
45, 45, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
64, 64, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 52, -1, -1, 52, 52, 52, 52, 52, -1,
|
|
52, 52, -1, -1, -1, 52, -1, -1, -1, -1,
|
|
-1, -1, 92, -1, -1, 80, -1, -1, -1, -1,
|
|
-1, -1, 80, -1, -1, 52, 52, 52, 52, 52,
|
|
80, 80, 52, 52, 52, -1, -1, -1, -1, -1,
|
|
-1, 80, 69, 69, 69, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
80, -1, 80, -1, -1, -1, -1, 80, 80
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -279, 0, 0, 202, 0, 115, -137, 3,
|
|
120, 128, 144, -10, 16, 0, 0, -59, 9, -48,
|
|
-9, 7, -77, -20, 0, 188, 0, 0, -389, 204,
|
|
0, 0, 0, 0, 0, 222, 0, 0, 105, 0,
|
|
0, 223, 44, 46, 200, 84, 0, 0, 0, 0,
|
|
0, 0, 109, -159, 0, 11, -164, 0, -78, -81,
|
|
-313, 0, -26, -80, -241, 0, -19, 0, 0, 178,
|
|
-49, 0, 23, 0, 26, 25, -99, 0, 197, -13,
|
|
133, -79, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 122, 0, -90, 0, 24, 0, 0, 0,
|
|
-89, 0, -67, 0, -69, 0, 0, 0, 0, 18,
|
|
0, 0, -140, -35, 213, 8, 0, 21, 0, 0,
|
|
219, 0, 227, -5, -46, 0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 380, 565, 2, 566, 637, 645, 504, 400, 433,
|
|
748, 688, 689, 303, 342, 401, 302, 330, 324, 676,
|
|
669, 671, 679, 134, 333, 682, 1, 684, 439, 716,
|
|
291, 692, 292, 507, 694, 446, 696, 697, 427, 304,
|
|
305, 447, 311, 479, 707, 203, 308, 709, 290, 710,
|
|
719, 335, 293, 510, 489, 469, 501, 402, 363, 476,
|
|
228, 455, 473, 753, 277, 761, 549, 769, 772, 403,
|
|
404, 470, 784, 368, 794, 788, 961, 319, 799, 805,
|
|
992, 808, 811, 349, 331, 327, 815, 816, 4, 820,
|
|
522, 523, 835, 240, 843, 856, 347, 923, 925, 441,
|
|
374, 936, 360, 334, 939, 996, 354, 405, 364, 953,
|
|
261, 282, 244, 406, 423, 249, 407, 365, 999, 314,
|
|
1021, 424, 1029, 1037, 272, 306, 474
|
|
);
|
|
|
|
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, 8, 9, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 14, 14, 15, 15,
|
|
15, 15, 17, 17, 13, 13, 18, 18, 19, 19,
|
|
20, 20, 21, 21, 16, 16, 22, 24, 24, 25,
|
|
26, 26, 28, 27, 27, 27, 27, 29, 29, 29,
|
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
|
29, 29, 10, 10, 48, 48, 51, 51, 50, 49,
|
|
49, 42, 42, 53, 53, 54, 54, 11, 12, 12,
|
|
12, 57, 57, 57, 58, 58, 61, 61, 59, 59,
|
|
62, 62, 36, 36, 44, 44, 47, 47, 47, 46,
|
|
46, 63, 37, 37, 37, 37, 64, 64, 65, 65,
|
|
66, 66, 34, 34, 30, 30, 67, 32, 32, 68,
|
|
31, 31, 33, 33, 43, 43, 43, 43, 55, 55,
|
|
71, 71, 72, 72, 74, 74, 75, 75, 75, 73,
|
|
73, 56, 56, 76, 76, 77, 77, 78, 78, 78,
|
|
39, 39, 79, 40, 40, 81, 81, 60, 60, 82,
|
|
82, 82, 82, 87, 87, 88, 88, 89, 89, 89,
|
|
89, 89, 90, 91, 91, 86, 86, 83, 83, 85,
|
|
85, 93, 93, 92, 92, 92, 92, 92, 92, 84,
|
|
84, 94, 94, 41, 41, 35, 35, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
101, 95, 95, 100, 100, 103, 103, 104, 105, 105,
|
|
105, 109, 109, 52, 52, 52, 96, 96, 96, 107,
|
|
107, 97, 97, 99, 99, 99, 102, 102, 113, 113,
|
|
70, 115, 115, 115, 98, 98, 98, 98, 98, 98,
|
|
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
|
|
38, 38, 111, 111, 111, 106, 106, 106, 116, 116,
|
|
116, 116, 116, 116, 45, 45, 45, 80, 80, 80,
|
|
80, 118, 110, 110, 110, 110, 110, 110, 108, 108,
|
|
108, 117, 117, 117, 117, 69, 119, 119, 120, 120,
|
|
120, 120, 120, 114, 121, 121, 122, 122, 122, 122,
|
|
122, 112, 112, 112, 112, 124, 125, 123, 123, 123,
|
|
123, 123, 123, 123, 126, 126, 126
|
|
);
|
|
|
|
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, 3, 1, 1, 1, 1, 1, 3,
|
|
5, 4, 3, 4, 2, 3, 1, 1, 7, 8,
|
|
6, 7, 3, 1, 3, 1, 3, 1, 1, 3,
|
|
1, 2, 1, 2, 3, 1, 3, 3, 1, 3,
|
|
2, 0, 1, 1, 1, 1, 1, 3, 7, 10,
|
|
5, 7, 9, 5, 3, 3, 3, 3, 3, 3,
|
|
1, 2, 5, 7, 9, 5, 6, 3, 3, 2,
|
|
2, 1, 1, 1, 0, 2, 1, 3, 8, 0,
|
|
4, 1, 3, 0, 1, 0, 1, 10, 7, 6,
|
|
5, 1, 2, 2, 0, 2, 0, 2, 0, 2,
|
|
1, 3, 1, 4, 1, 4, 1, 1, 4, 1,
|
|
3, 3, 3, 4, 4, 5, 0, 2, 4, 3,
|
|
1, 1, 1, 4, 0, 2, 5, 0, 2, 6,
|
|
0, 2, 0, 3, 1, 2, 1, 1, 1, 0,
|
|
1, 3, 4, 6, 1, 2, 1, 1, 1, 0,
|
|
1, 0, 2, 2, 3, 1, 3, 1, 2, 2,
|
|
3, 1, 1, 3, 1, 1, 3, 2, 0, 3,
|
|
4, 9, 3, 1, 3, 0, 2, 4, 5, 4,
|
|
4, 4, 3, 1, 1, 1, 3, 1, 1, 0,
|
|
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
|
|
3, 1, 3, 3, 1, 0, 1, 1, 3, 3,
|
|
3, 4, 1, 2, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 2, 2, 2, 2,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 2, 2, 2,
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 5, 4, 3, 4, 4, 2, 2, 4,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 1, 3, 2, 1, 2, 4, 2, 10, 11,
|
|
7, 3, 2, 0, 4, 1, 3, 2, 2, 2,
|
|
4, 1, 1, 1, 2, 3, 1, 1, 1, 1,
|
|
1, 0, 3, 0, 1, 1, 0, 1, 1, 3,
|
|
3, 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, 3, 1, 4, 4, 3, 3, 3, 1, 3,
|
|
1, 1, 3, 1, 1, 4, 3, 1, 1, 1,
|
|
3, 3, 0, 1, 3, 1, 3, 1, 4, 2,
|
|
0, 2, 2, 1, 2, 1, 1, 1, 4, 3,
|
|
3, 3, 6, 3, 1, 1, 1
|
|
);
|
|
|
|
protected function reduceRule0() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule1() {
|
|
$this->semValue = $this->handleNamespaces($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule2() {
|
|
if (is_array($this->semStack[$this->stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); } else { $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function reduceRule3() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule4() {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$this->stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule5() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule6() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule7() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule8() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule9() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule10() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule11() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule12() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule13() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule14() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule15() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule16() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule17() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule18() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule19() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule20() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule21() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule22() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule23() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule24() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule25() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule26() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule27() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule28() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule29() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule30() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule31() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule32() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule33() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule34() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule35() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule36() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule37() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule38() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule39() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule40() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule41() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule42() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule43() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule44() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule45() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule46() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule47() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule48() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule49() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule50() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule51() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule52() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule53() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule54() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule55() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule56() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule57() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule58() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule59() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule60() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule61() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule62() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule63() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule64() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule65() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule66() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule67() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule68() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule69() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule70() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule71() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule72() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule73() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule74() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule75() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule76() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule77() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule78() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule79() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule80() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule81() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule82() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule83() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule84() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule85() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule86() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule87() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule88() {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule89() {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$this->stackPos-(3-2)], null, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule90() {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$this->stackPos-(5-2)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule91() {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); $this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule92() {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$this->stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule93() {
|
|
$this->semValue = new Stmt\Use_($this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule94() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule95() {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule96() {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
}
|
|
|
|
protected function reduceRule97() {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
}
|
|
|
|
protected function reduceRule98() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(7-3)], $this->startAttributeStack[$this->stackPos-(7-3)] + $this->endAttributeStack[$this->stackPos-(7-3)]), $this->semStack[$this->stackPos-(7-6)], $this->semStack[$this->stackPos-(7-2)], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule99() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(8-4)], $this->startAttributeStack[$this->stackPos-(8-4)] + $this->endAttributeStack[$this->stackPos-(8-4)]), $this->semStack[$this->stackPos-(8-7)], $this->semStack[$this->stackPos-(8-2)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule100() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-2)] + $this->endAttributeStack[$this->stackPos-(6-2)]), $this->semStack[$this->stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule101() {
|
|
$this->semValue = new Stmt\GroupUse(new Name($this->semStack[$this->stackPos-(7-3)], $this->startAttributeStack[$this->stackPos-(7-3)] + $this->endAttributeStack[$this->stackPos-(7-3)]), $this->semStack[$this->stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule102() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule103() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule104() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule105() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule106() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule107() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule108() {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$this->stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $this->stackPos-(1-1));
|
|
}
|
|
|
|
protected function reduceRule109() {
|
|
$this->semValue = new Stmt\UseUse($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $this->stackPos-(3-3));
|
|
}
|
|
|
|
protected function reduceRule110() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule111() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule112() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
}
|
|
|
|
protected function reduceRule113() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)]; $this->semValue->type = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule114() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule115() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule116() {
|
|
$this->semValue = new Node\Const_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule117() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule118() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule119() {
|
|
$this->semValue = new Node\Const_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule120() {
|
|
if (is_array($this->semStack[$this->stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]); } else { $this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function reduceRule121() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule122() {
|
|
$startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $nop = null; };
|
|
if ($nop !== null) { $this->semStack[$this->stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule123() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule124() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule125() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule126() {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule127() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)]; $attrs = $this->startAttributeStack[$this->stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments']) && isset($stmts[0])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
}
|
|
|
|
protected function reduceRule128() {
|
|
$this->semValue = new Stmt\If_($this->semStack[$this->stackPos-(7-3)], ['stmts' => is_array($this->semStack[$this->stackPos-(7-5)]) ? $this->semStack[$this->stackPos-(7-5)] : array($this->semStack[$this->stackPos-(7-5)]), 'elseifs' => $this->semStack[$this->stackPos-(7-6)], 'else' => $this->semStack[$this->stackPos-(7-7)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule129() {
|
|
$this->semValue = new Stmt\If_($this->semStack[$this->stackPos-(10-3)], ['stmts' => $this->semStack[$this->stackPos-(10-6)], 'elseifs' => $this->semStack[$this->stackPos-(10-7)], 'else' => $this->semStack[$this->stackPos-(10-8)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule130() {
|
|
$this->semValue = new Stmt\While_($this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule131() {
|
|
$this->semValue = new Stmt\Do_($this->semStack[$this->stackPos-(7-5)], is_array($this->semStack[$this->stackPos-(7-2)]) ? $this->semStack[$this->stackPos-(7-2)] : array($this->semStack[$this->stackPos-(7-2)]), $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule132() {
|
|
$this->semValue = new Stmt\For_(['init' => $this->semStack[$this->stackPos-(9-3)], 'cond' => $this->semStack[$this->stackPos-(9-5)], 'loop' => $this->semStack[$this->stackPos-(9-7)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule133() {
|
|
$this->semValue = new Stmt\Switch_($this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule134() {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule135() {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule136() {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule137() {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule138() {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule139() {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule140() {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule141() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule142() {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$this->stackPos-(5-3)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule143() {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$this->stackPos-(7-3)], $this->semStack[$this->stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$this->stackPos-(7-5)][1], 'stmts' => $this->semStack[$this->stackPos-(7-7)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule144() {
|
|
$this->semValue = new Stmt\Foreach_($this->semStack[$this->stackPos-(9-3)], $this->semStack[$this->stackPos-(9-7)][0], ['keyVar' => $this->semStack[$this->stackPos-(9-5)], 'byRef' => $this->semStack[$this->stackPos-(9-7)][1], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule145() {
|
|
$this->semValue = new Stmt\Declare_($this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule146() {
|
|
$this->semValue = new Stmt\TryCatch($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-5)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); $this->checkTryCatch($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule147() {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule148() {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule149() {
|
|
$this->semValue = new Stmt\Label($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule150() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule151() {
|
|
$this->semValue = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function reduceRule152() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule153() {
|
|
$startAttributes = $this->startAttributeStack[$this->stackPos-(1-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $this->semValue = null; };
|
|
if ($this->semValue === null) $this->semValue = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function reduceRule154() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule155() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule156() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule157() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule158() {
|
|
$this->semValue = new Stmt\Catch_($this->semStack[$this->stackPos-(8-3)], substr($this->semStack[$this->stackPos-(8-4)], 1), $this->semStack[$this->stackPos-(8-7)], $this->startAttributeStack[$this->stackPos-(8-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule159() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule160() {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule161() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule162() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule163() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule164() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule165() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule166() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule167() {
|
|
$this->semValue = new Stmt\Function_($this->semStack[$this->stackPos-(10-3)], ['byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-5)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule168() {
|
|
$this->semValue = new Stmt\Class_($this->semStack[$this->stackPos-(7-2)], ['type' => $this->semStack[$this->stackPos-(7-1)], 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes);
|
|
$this->checkClass($this->semValue, $this->stackPos-(7-2));
|
|
}
|
|
|
|
protected function reduceRule169() {
|
|
$this->semValue = new Stmt\Interface_($this->semStack[$this->stackPos-(6-2)], ['extends' => $this->semStack[$this->stackPos-(6-3)], 'stmts' => $this->semStack[$this->stackPos-(6-5)]], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes);
|
|
$this->checkInterface($this->semValue, $this->stackPos-(6-2));
|
|
}
|
|
|
|
protected function reduceRule170() {
|
|
$this->semValue = new Stmt\Trait_($this->semStack[$this->stackPos-(5-2)], ['stmts' => $this->semStack[$this->stackPos-(5-4)]], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule171() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule172() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule173() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule174() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule175() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule176() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule177() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule178() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule179() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule180() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule181() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule182() {
|
|
$this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule183() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule184() {
|
|
$this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule185() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule186() {
|
|
$this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule187() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule188() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule189() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule190() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule191() {
|
|
$this->semValue = new Stmt\DeclareDeclare($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule192() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule193() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule194() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule195() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(5-3)];
|
|
}
|
|
|
|
protected function reduceRule196() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule197() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule198() {
|
|
$this->semValue = new Stmt\Case_($this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule199() {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule200() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule201() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule202() {
|
|
$this->semValue = is_array($this->semStack[$this->stackPos-(1-1)]) ? $this->semStack[$this->stackPos-(1-1)] : array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule203() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule204() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule205() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule206() {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(5-3)], is_array($this->semStack[$this->stackPos-(5-5)]) ? $this->semStack[$this->stackPos-(5-5)] : array($this->semStack[$this->stackPos-(5-5)]), $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule207() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule208() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule209() {
|
|
$this->semValue = new Stmt\ElseIf_($this->semStack[$this->stackPos-(6-3)], $this->semStack[$this->stackPos-(6-6)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule210() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule211() {
|
|
$this->semValue = new Stmt\Else_(is_array($this->semStack[$this->stackPos-(2-2)]) ? $this->semStack[$this->stackPos-(2-2)] : array($this->semStack[$this->stackPos-(2-2)]), $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule212() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule213() {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule214() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule215() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-2)], true);
|
|
}
|
|
|
|
protected function reduceRule216() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule217() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule218() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule219() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule220() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule221() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule222() {
|
|
$this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(4-4)], 1), null, $this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-2)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule223() {
|
|
$this->semValue = new Node\Param(substr($this->semStack[$this->stackPos-(6-4)], 1), $this->semStack[$this->stackPos-(6-6)], $this->semStack[$this->stackPos-(6-1)], $this->semStack[$this->stackPos-(6-2)], $this->semStack[$this->stackPos-(6-3)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes); $this->checkParam($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule224() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule225() {
|
|
$this->semValue = new Node\NullableType($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule226() {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule227() {
|
|
$this->semValue = 'array';
|
|
}
|
|
|
|
protected function reduceRule228() {
|
|
$this->semValue = 'callable';
|
|
}
|
|
|
|
protected function reduceRule229() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule230() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule231() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule232() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule233() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule234() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule235() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule236() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule237() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule238() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule239() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule240() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule241() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule242() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule243() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule244() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule245() {
|
|
$this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule246() {
|
|
$this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule247() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule248() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule249() {
|
|
$this->semValue = new Stmt\Property($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); $this->checkProperty($this->semValue, $this->stackPos-(3-1));
|
|
}
|
|
|
|
protected function reduceRule250() {
|
|
$this->semValue = new Stmt\ClassConst($this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-1)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes); $this->checkClassConst($this->semValue, $this->stackPos-(4-1));
|
|
}
|
|
|
|
protected function reduceRule251() {
|
|
$this->semValue = new Stmt\ClassMethod($this->semStack[$this->stackPos-(9-4)], ['type' => $this->semStack[$this->stackPos-(9-1)], 'byRef' => $this->semStack[$this->stackPos-(9-3)], 'params' => $this->semStack[$this->stackPos-(9-6)], 'returnType' => $this->semStack[$this->stackPos-(9-8)], 'stmts' => $this->semStack[$this->stackPos-(9-9)]], $this->startAttributeStack[$this->stackPos-(9-1)] + $this->endAttributes);
|
|
$this->checkClassMethod($this->semValue, $this->stackPos-(9-1));
|
|
}
|
|
|
|
protected function reduceRule252() {
|
|
$this->semValue = new Stmt\TraitUse($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule253() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule254() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule255() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule256() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule257() {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule258() {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(5-1)][0], $this->semStack[$this->stackPos-(5-1)][1], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-4)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule259() {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], $this->semStack[$this->stackPos-(4-3)], null, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule260() {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule261() {
|
|
$this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$this->stackPos-(4-1)][0], $this->semStack[$this->stackPos-(4-1)][1], null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule262() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]);
|
|
}
|
|
|
|
protected function reduceRule263() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule264() {
|
|
$this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule265() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule266() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule267() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule268() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule269() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule270() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule271() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule272() {
|
|
$this->checkModifier($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->stackPos-(2-2)); $this->semValue = $this->semStack[$this->stackPos-(2-1)] | $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule273() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function reduceRule274() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function reduceRule275() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function reduceRule276() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function reduceRule277() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule278() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule279() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule280() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule281() {
|
|
$this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule282() {
|
|
$this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(3-1)], 1), $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule283() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule284() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule285() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule286() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule287() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule288() {
|
|
$this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule289() {
|
|
$this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule290() {
|
|
$this->semValue = new Expr\Assign($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule291() {
|
|
$this->semValue = new Expr\AssignRef($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule292() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule293() {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule294() {
|
|
$this->semValue = new Expr\AssignOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule295() {
|
|
$this->semValue = new Expr\AssignOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule296() {
|
|
$this->semValue = new Expr\AssignOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule297() {
|
|
$this->semValue = new Expr\AssignOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule298() {
|
|
$this->semValue = new Expr\AssignOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule299() {
|
|
$this->semValue = new Expr\AssignOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule300() {
|
|
$this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule301() {
|
|
$this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule302() {
|
|
$this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule303() {
|
|
$this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule304() {
|
|
$this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule305() {
|
|
$this->semValue = new Expr\AssignOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule306() {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule307() {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule308() {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule309() {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule310() {
|
|
$this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule311() {
|
|
$this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule312() {
|
|
$this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule313() {
|
|
$this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule314() {
|
|
$this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule315() {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule316() {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule317() {
|
|
$this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule318() {
|
|
$this->semValue = new Expr\BinaryOp\Concat($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule319() {
|
|
$this->semValue = new Expr\BinaryOp\Plus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule320() {
|
|
$this->semValue = new Expr\BinaryOp\Minus($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule321() {
|
|
$this->semValue = new Expr\BinaryOp\Mul($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule322() {
|
|
$this->semValue = new Expr\BinaryOp\Div($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule323() {
|
|
$this->semValue = new Expr\BinaryOp\Mod($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule324() {
|
|
$this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule325() {
|
|
$this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule326() {
|
|
$this->semValue = new Expr\BinaryOp\Pow($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule327() {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule328() {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule329() {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule330() {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule331() {
|
|
$this->semValue = new Expr\BinaryOp\Identical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule332() {
|
|
$this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule333() {
|
|
$this->semValue = new Expr\BinaryOp\Equal($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule334() {
|
|
$this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule335() {
|
|
$this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule336() {
|
|
$this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule337() {
|
|
$this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule338() {
|
|
$this->semValue = new Expr\BinaryOp\Greater($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule339() {
|
|
$this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule340() {
|
|
$this->semValue = new Expr\Instanceof_($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule341() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule342() {
|
|
$this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(5-1)], $this->semStack[$this->stackPos-(5-3)], $this->semStack[$this->stackPos-(5-5)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule343() {
|
|
$this->semValue = new Expr\Ternary($this->semStack[$this->stackPos-(4-1)], null, $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule344() {
|
|
$this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule345() {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule346() {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule347() {
|
|
$this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule348() {
|
|
$this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule349() {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule350() {
|
|
$this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule351() {
|
|
$this->semValue = new Expr\Include_($this->semStack[$this->stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule352() {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule353() {
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule354() {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule355() {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule356() {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule357() {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule358() {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule359() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes;
|
|
$attrs['kind'] = strtolower($this->semStack[$this->stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
|
|
$this->semValue = new Expr\Exit_($this->semStack[$this->stackPos-(2-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule360() {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule361() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule362() {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule363() {
|
|
$this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule364() {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule365() {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule366() {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-2)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule367() {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule368() {
|
|
$this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$this->stackPos-(10-2)], 'params' => $this->semStack[$this->stackPos-(10-4)], 'uses' => $this->semStack[$this->stackPos-(10-6)], 'returnType' => $this->semStack[$this->stackPos-(10-7)], 'stmts' => $this->semStack[$this->stackPos-(10-9)]], $this->startAttributeStack[$this->stackPos-(10-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule369() {
|
|
$this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$this->stackPos-(11-3)], 'params' => $this->semStack[$this->stackPos-(11-5)], 'uses' => $this->semStack[$this->stackPos-(11-7)], 'returnType' => $this->semStack[$this->stackPos-(11-8)], 'stmts' => $this->semStack[$this->stackPos-(11-10)]], $this->startAttributeStack[$this->stackPos-(11-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule370() {
|
|
$this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$this->stackPos-(7-3)], 'implements' => $this->semStack[$this->stackPos-(7-4)], 'stmts' => $this->semStack[$this->stackPos-(7-6)]], $this->startAttributeStack[$this->stackPos-(7-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(7-2)]);
|
|
$this->checkClass($this->semValue[0], -1);
|
|
}
|
|
|
|
protected function reduceRule371() {
|
|
$this->semValue = new Expr\New_($this->semStack[$this->stackPos-(3-2)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule372() {
|
|
list($class, $ctorArgs) = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule373() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule374() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule375() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule376() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule377() {
|
|
$this->semValue = new Expr\ClosureUse(substr($this->semStack[$this->stackPos-(2-2)], 1), $this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule378() {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule379() {
|
|
$this->semValue = new Expr\FuncCall($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule380() {
|
|
$this->semValue = new Expr\StaticCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule381() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule382() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule383() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule384() {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule385() {
|
|
$this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule386() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule387() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule388() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule389() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule390() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule391() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule392() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule393() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule394() {
|
|
$this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$this->stackPos-(1-1)], '`'), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes));
|
|
}
|
|
|
|
protected function reduceRule395() {
|
|
foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule396() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule397() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule398() {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule399() {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule400() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_SHORT;
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(3-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule401() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_LONG;
|
|
$this->semValue = new Expr\Array_($this->semStack[$this->stackPos-(4-3)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule402() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule403() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$this->stackPos-(1-1)][0] === "'" || ($this->semStack[$this->stackPos-(1-1)][1] === "'" && ($this->semStack[$this->stackPos-(1-1)][0] === 'b' || $this->semStack[$this->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[$this->stackPos-(1-1)]), $attrs);
|
|
}
|
|
|
|
protected function reduceRule404() {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule405() {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule406() {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule407() {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule408() {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule409() {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule410() {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule411() {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule412() {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule413() {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule414() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule415() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule416() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->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[$this->stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_(Scalar\String_::parseDocString($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-2)]), $attrs);
|
|
}
|
|
|
|
protected function reduceRule417() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->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[$this->stackPos-(2-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
$this->semValue = new Scalar\String_('', $attrs);
|
|
}
|
|
|
|
protected function reduceRule418() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED;
|
|
foreach ($this->semStack[$this->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[$this->stackPos-(3-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule419() {
|
|
$attrs = $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = strpos($this->semStack[$this->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[$this->stackPos-(3-1)], $matches); $attrs['docLabel'] = $matches[1];;
|
|
foreach ($this->semStack[$this->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[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $attrs);
|
|
}
|
|
|
|
protected function reduceRule420() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule421() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule422() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule423() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule424() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule425() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule426() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule427() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule428() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule429() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule430() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule431() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule432() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule433() {
|
|
$this->semValue = new Expr\MethodCall($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->semStack[$this->stackPos-(4-4)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule434() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule435() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule436() {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule437() {
|
|
$this->semValue = substr($this->semStack[$this->stackPos-(1-1)], 1);
|
|
}
|
|
|
|
protected function reduceRule438() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule439() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule440() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule441() {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule442() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule443() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule444() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule445() {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule446() {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule447() {
|
|
$this->semValue = new Expr\StaticPropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule448() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule449() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule450() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule451() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule452() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule453() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule454() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule455() {
|
|
$this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule456() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule457() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule458() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule459() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule460() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule461() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule462() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule463() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) unset($this->semValue[$end]);
|
|
}
|
|
|
|
protected function reduceRule464() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule465() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule466() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(3-3)], $this->semStack[$this->stackPos-(3-1)], false, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule467() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule468() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(4-4)], $this->semStack[$this->stackPos-(4-1)], true, $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule469() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule470() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule471() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule472() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule473() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule474() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]);
|
|
}
|
|
|
|
protected function reduceRule475() {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule476() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule477() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule478() {
|
|
$this->semValue = new Expr\ArrayDimFetch($this->semStack[$this->stackPos-(4-1)], $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule479() {
|
|
$this->semValue = new Expr\PropertyFetch($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule480() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule481() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule482() {
|
|
$this->semValue = new Expr\ArrayDimFetch(new Expr\Variable($this->semStack[$this->stackPos-(6-2)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes), $this->semStack[$this->stackPos-(6-4)], $this->startAttributeStack[$this->stackPos-(6-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule483() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule484() {
|
|
$this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule485() {
|
|
$this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule486() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
}
|