mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 02:07:59 +01:00
08215e7646
Fixes #469.
2873 lines
137 KiB
PHP
2873 lines
137 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 = 915;
|
|
protected $gotoTableSize = 429;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 330;
|
|
protected $YYNLSTATES = 578;
|
|
|
|
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(
|
|
583, 584, 585, 586, 587, 1037, 588, 589, 590, 626,
|
|
627, 479, 29, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112,-32766,-32766,-32766, 97, 98,
|
|
99, 0, 241, 387, -282,-32766,-32766,-32766,-32766, -487,
|
|
1081, 544, 1084, 1082, 100,-32766, 664,-32766,-32766,-32766,
|
|
-32766,-32766, 591, 901, 903,-32766, 30,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 1034,-32766, 295, 592, 593, 594, 595,
|
|
596, 597, 598,-32766, 274, 658, 869, 870, 871, 868,
|
|
867, 866, 599, 600, 601, 602, 603, 604, 605, 606,
|
|
607, 608, 609, 629, 630, 631, 632, 633, 621, 622,
|
|
623, 624, 625, 610, 611, 612, 613, 614, 615, 616,
|
|
652, 653, 654, 655, 656, 657, 617, 618, 619, 620,
|
|
650, 641, 639, 640, 636, 637, -251, 628, 634, 635,
|
|
642, 643, 645, 644, 646, 647, 74, 75, 76, 556,
|
|
266, 638, 649, 648, 739, 44, 45, 392, 46, 47,
|
|
375, 680, 681, 73, 48, 49, 28, 50, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 218, 241, 996, -487, -443, -487,-32766,-32766,-32766,
|
|
51, 52, 116, 663, 100, 339, 53, 242, 54, 221,
|
|
222, 55, 56, 57, 58, 59, 60, 61, 62, -173,
|
|
24, 234, 63, 347, 393,-32766,-32766,-32766, 1001, 1002,
|
|
394, 228, 1034, 217, 729,-32766, 1000, 34, 19, 395,
|
|
1051, 396, 127, 397, 118, 398, -442, 24, 399, 984,
|
|
43, 267, 36, 37, 400, 351, -443, 38, 401, 1034,
|
|
248, 64, 289, 1000, 288, 290, 248,-32766, 741, 226,
|
|
-443, 1034, 404, 405, 406, 442, 291, -443, 371, -446,
|
|
376, -251, 409, 410, 26, 1006, 1007, 1008, 1009, 1003,
|
|
1004, 245, 977,-32766,-32766,-32766, 419, 1010, 1005, 349,
|
|
-488, 226, 549, 278, 65,-32766, 257, -442, 262, 266,
|
|
410, 660, 467,-32766, 1073,-32766, 1048, 1072,-32766,-32766,
|
|
-32766, -442,-32766,-32766,-32766, 1078,-32766, 1034, -442,-32766,
|
|
-445, 67, 1014,-32766,-32766,-32766, 266,-32766,-32766,-32766,
|
|
-479, 123,-32766, 660, -172,-32766, 418,-32766, 266, 531,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 223,-32766, 560,
|
|
977,-32766, 818, 819, -173,-32766,-32766,-32766, 818, 819,
|
|
-32766,-32766, -227, 561,-32766, 27, 224,-32766, 418,-32766,
|
|
-32766, 122, -441,-32766, -232,-32766, 824, 40, 124, 227,
|
|
-88, 791, 265,-32766, 984, 1052,-32766,-32766,-32766, 660,
|
|
94, 95, 96,-32766, 266, 364,-32766,-32766,-32766, 42,
|
|
-32766, 553,-32766, 122,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 363, 532,
|
|
-32766, 660, 554,-32766, 418,-32766, -477, 9,-32766,-32766,
|
|
-32766,-32766,-32766, -441,-32766, -488,-32766, -488, 249,-32766,
|
|
248, 660, 121,-32766,-32766,-32766,-32766, -441,-32766,-32766,
|
|
359, 555,-32766, 551, -441,-32766, 418, 517, 518, 115,
|
|
250,-32766, 1034,-32766,-32767,-32767,-32767,-32767, 92, 93,
|
|
94, 95, 96, 23, 308, -479, 504, 20, 344, -172,
|
|
225, 117, 741, 126,-32766, 533, -441, 564, 349,-32766,
|
|
660, 133, 847,-32766,-32766, 977, 120,-32766,-32766,-32766,
|
|
792,-32766, 119,-32766, 114,-32766, 345, 419,-32766, 113,
|
|
349, 130,-32766,-32766,-32766, 132,-32766,-32766,-32766, 738,
|
|
741,-32766, 660, 241,-32766, 418,-32766, 244,-32766,-32766,
|
|
-32766,-32766,-32766,-32766, 128,-32766, 753,-32766, 527, 266,
|
|
-32766, 741, 818, 819,-32766,-32766,-32766, -441, 100,-32766,
|
|
-32766, 129, 313,-32766, 680, 681,-32766, 418, 41,-32766,
|
|
660, -441,-32766, 453,-32766, 660, 321,-32766, -441,-32766,
|
|
777, -477,-32766,-32766,-32766, 1083,-32766, 261,-32766, 441,
|
|
-32766, 385, 8,-32766, 437, 24, 360,-32766,-32766,-32766,
|
|
497, 498,-32766,-32766,-32766, 501,-32766, 1034,-32766,-32766,
|
|
418, 1000, 818, 819, 660, 846, 575,-32766,-32766, 358,
|
|
-4,-32766,-32766,-32766, 301,-32766, 1076,-32766, 661,-32766,
|
|
455, 696,-32766, 858, 565, 513,-32766,-32766,-32766, 440,
|
|
977,-32766,-32766, 973, 446,-32766, 505,-32766,-32766, 418,
|
|
-133, -133, -133,-32766,-32766,-32766,-32766, 409, 410, 451,
|
|
542, 528, 509, 521, 510, -133, 12, -133, -80, -133,
|
|
216, -133, 495,-32766, 458,-32766,-32766,-32766,-32766, 67,
|
|
348, 356, 259, 258, 266, 1016,-32766,-32766,-32766,-32766,
|
|
260, 402, 403, 869, 870, 871, 868, 867, 866, 861,
|
|
715, 760, 407, 408, 977, 761, 762,-32766, 11,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,
|
|
264, 229, 348, 337, 1013, 852, 741, 17, -133, 256,
|
|
-212, -212, -212, 402, 403, -400, 348, 5, 307, 775,
|
|
758, 21, 672, 760, 407, 408, 329, 402, 403, -211,
|
|
-211, -211, 448, 24, 326, 348, 715, 760, 407, 408,
|
|
341, 340, 318, 276, 325, 1034, 402, 403, 741, 1000,
|
|
-4,-32766,-32766,-32766, 359, 715, 760, 407, 408, 755,
|
|
552, 33, 741, 573, -212, 574, 720, 842, 794, 778,
|
|
32,-32766, 851,-32766,-32766, 854, 853, 850, 977, 773,
|
|
785, 741, 718, -211, 786, 843, 741, 252, 334, 550,
|
|
557, 558, 559, 562, 272, 409, 410, 273, 571, 570,
|
|
568, 566, 563, 335, 0, 757, 965, 783, 859, 0,
|
|
746, 964, 963, 756, 748, 683, 0, 67, 1079, 682,
|
|
685, 784, 266, 567, 716, 1080, 675, 674, 684, 759,
|
|
1049, 1046, 1041, 1077, 1035, 1028, 0, -444, -467, -446,
|
|
-445, 22, 25, 31, 35, 39, 66, 338, 336, 275,
|
|
240, 239, 238, 237, 220, 219, 134, 131, 125, 72,
|
|
71, 70, 69, 68, -469, 0, 310, 475, 941, 491,
|
|
541, 944, 13, 969, 825, 998, 940, 988, -230, -88,
|
|
538, 390, 383, 380, 377, 311, 18, 16, 15, 14,
|
|
-227, -228, 0, 957, -412, 0, 503, 0, 1040, 1075,
|
|
1026, 1027, 997, 0, 1015
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 1, 8, 9, 10, 11,
|
|
12, 48, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
|
|
52, 0, 54, 7, 79, 8, 9, 10, 8, 7,
|
|
77, 77, 79, 80, 66, 28, 1, 30, 31, 32,
|
|
33, 34, 54, 56, 57, 28, 13, 30, 31, 32,
|
|
33, 34, 35, 79, 109, 7, 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, 8, 9, 10, 29,
|
|
156, 143, 144, 145, 1, 2, 3, 4, 5, 6,
|
|
29, 102, 103, 149, 11, 12, 28, 14, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 13, 54, 1, 152, 67, 154, 8, 9, 10,
|
|
47, 48, 13, 148, 66, 146, 53, 7, 55, 56,
|
|
57, 58, 59, 60, 61, 62, 63, 64, 65, 7,
|
|
67, 68, 69, 70, 71, 8, 9, 10, 75, 76,
|
|
77, 7, 79, 13, 81, 1, 83, 84, 85, 86,
|
|
1, 88, 67, 90, 7, 92, 67, 67, 95, 1,
|
|
7, 67, 99, 100, 101, 102, 128, 104, 105, 79,
|
|
28, 108, 7, 83, 111, 112, 28, 1, 148, 35,
|
|
142, 79, 119, 120, 121, 82, 7, 149, 7, 151,
|
|
149, 152, 129, 130, 7, 132, 133, 134, 135, 136,
|
|
137, 138, 112, 8, 9, 10, 143, 144, 145, 146,
|
|
7, 35, 149, 33, 151, 71, 153, 128, 155, 156,
|
|
130, 77, 128, 28, 79, 81, 77, 82, 84, 85,
|
|
86, 142, 88, 1, 90, 150, 92, 79, 149, 95,
|
|
151, 151, 139, 99, 100, 101, 156, 71, 104, 105,
|
|
7, 149, 108, 77, 7, 111, 112, 81, 156, 79,
|
|
84, 85, 86, 119, 88, 1, 90, 35, 92, 29,
|
|
112, 95, 130, 131, 152, 99, 100, 101, 130, 131,
|
|
104, 105, 152, 29, 108, 140, 141, 111, 112, 8,
|
|
9, 147, 67, 149, 152, 119, 152, 67, 149, 35,
|
|
152, 29, 7, 71, 1, 152, 8, 9, 10, 77,
|
|
47, 48, 49, 81, 156, 7, 84, 85, 86, 67,
|
|
88, 29, 90, 147, 92, 149, 28, 95, 30, 31,
|
|
32, 99, 100, 101, 1, 71, 104, 105, 7, 77,
|
|
108, 77, 29, 111, 112, 81, 7, 7, 84, 85,
|
|
86, 119, 88, 128, 90, 152, 92, 154, 128, 95,
|
|
28, 77, 29, 99, 100, 101, 1, 142, 104, 105,
|
|
146, 29, 108, 149, 149, 111, 112, 72, 73, 149,
|
|
128, 149, 79, 119, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 7, 142, 152, 72, 73, 7, 152,
|
|
35, 149, 148, 15, 71, 143, 67, 29, 146, 1,
|
|
77, 15, 150, 149, 81, 112, 15, 84, 85, 86,
|
|
148, 88, 15, 90, 15, 92, 123, 143, 95, 15,
|
|
146, 15, 99, 100, 101, 15, 71, 104, 105, 29,
|
|
148, 108, 77, 54, 111, 112, 81, 29, 1, 84,
|
|
85, 86, 119, 88, 29, 90, 35, 92, 74, 156,
|
|
95, 148, 130, 131, 99, 100, 101, 128, 66, 104,
|
|
105, 97, 98, 108, 102, 103, 111, 112, 67, 71,
|
|
77, 142, 149, 77, 119, 77, 78, 82, 149, 81,
|
|
148, 152, 84, 85, 86, 80, 88, 110, 90, 77,
|
|
92, 102, 103, 95, 77, 67, 77, 99, 100, 101,
|
|
106, 107, 104, 105, 149, 79, 108, 79, 71, 111,
|
|
112, 83, 130, 131, 77, 148, 149, 119, 81, 77,
|
|
0, 84, 85, 86, 77, 88, 77, 90, 77, 92,
|
|
77, 77, 95, 148, 149, 79, 99, 100, 101, 79,
|
|
112, 104, 105, 79, 82, 108, 87, 149, 111, 112,
|
|
72, 73, 74, 8, 9, 10, 119, 129, 130, 86,
|
|
89, 91, 93, 96, 96, 87, 94, 89, 94, 91,
|
|
94, 93, 109, 28, 94, 30, 31, 32, 33, 151,
|
|
102, 102, 127, 126, 156, 139, 149, 8, 9, 10,
|
|
109, 113, 114, 112, 113, 114, 115, 116, 117, 118,
|
|
122, 123, 124, 125, 112, 123, 123, 28, 142, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
126, 35, 102, 103, 139, 148, 148, 152, 150, 109,
|
|
96, 97, 98, 113, 114, 142, 102, 142, 142, 148,
|
|
150, 152, 122, 123, 124, 125, 146, 113, 114, 96,
|
|
97, 98, 146, 67, 146, 102, 122, 123, 124, 125,
|
|
146, 146, 146, 143, 146, 79, 113, 114, 148, 83,
|
|
150, 8, 9, 10, 146, 122, 123, 124, 125, 147,
|
|
149, 148, 148, 148, 150, 148, 148, 148, 148, 148,
|
|
148, 28, 148, 30, 31, 148, 148, 148, 112, 148,
|
|
148, 148, 148, 150, 148, 148, 148, 152, 149, 149,
|
|
149, 149, 149, 149, 149, 129, 130, 149, 149, 149,
|
|
149, 149, 149, 149, -1, 150, 150, 150, 150, -1,
|
|
150, 150, 150, 150, 150, 150, -1, 151, 150, 150,
|
|
150, 150, 156, 150, 150, 150, 150, 150, 150, 150,
|
|
150, 150, 150, 150, 150, 150, -1, 151, 151, 151,
|
|
151, 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, 152, -1, 153, 153, -1, 154, -1, 154, 154,
|
|
154, 154, 154, -1, 155
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 568, 610, 624, 643, 182, 342, 567, -2, -2,
|
|
-2, -2, -36, 393, 110, 334, 110, 372, 422, 648,
|
|
648, 648, 224, 256, 312, 312, 312, 488, 413, 445,
|
|
344, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
|
|
527, 527, 527, 527, 527, 45, 45, 352, 43, 645,
|
|
729, 725, 565, 730, 566, 724, 726, 168, 693, 694,
|
|
505, 695, 692, 691, 690, 727, 752, 579, 728, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 30, 179, 361, 207, 207,
|
|
207, 207, 207, 207, 207, 207, 207, 207, 207, 207,
|
|
207, 207, 207, 207, 207, 207, 207, 275, 275, 275,
|
|
753, 378, 419, 635, 17, 305, 27, 669, 669, 669,
|
|
669, 669, 423, 423, 423, 423, 676, 676, 518, 170,
|
|
170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
|
|
689, 580, 665, 666, 383, 343, 343, 222, 222, 222,
|
|
222, 238, 228, -45, 412, 183, 536, 759, 472, 229,
|
|
229, 118, 169, -22, -22, -22, 49, 552, 582, 582,
|
|
582, 582, 225, 225, 582, 582, 4, -37, 305, 305,
|
|
332, 305, 452, 452, 452, 364, 304, 485, 364, 621,
|
|
558, 667, 557, 681, 310, 283, 32, 605, -16, 604,
|
|
569, -16, 484, 404, 385, 737, 45, 583, 45, 45,
|
|
45, 45, 45, 45, 45, 45, 45, -16, -16, 45,
|
|
121, 45, 457, 352, 475, 469, 543, 174, 655, 327,
|
|
233, 165, 469, 469, 469, 658, 649, 119, 210, 664,
|
|
202, 479, 323, 260, 483, 483, 501, 507, 486, 483,
|
|
483, 483, 483, 516, 483, 700, 700, 704, 501, 483,
|
|
700, 501, 227, 411, 245, 259, 501, 388, 547, 483,
|
|
584, 584, 261, 507, 550, 214, 466, 545, 700, 700,
|
|
545, 486, 190, 501, 375, 625, 627, 553, 622, 67,
|
|
498, 498, 471, 553, 26, 501, 498, 516, 420, 58,
|
|
498, 31, 705, 722, 490, 721, 702, 720, 706, 719,
|
|
537, 650, 572, 573, 714, 713, 718, 502, 532, 703,
|
|
701, 596, 509, 494, 489, 585, 491, 696, 569, 618,
|
|
482, 482, 482, 491, 698, 482, 482, 482, 482, 482,
|
|
482, 482, 482, 758, 267, 586, 563, 487, 606, 570,
|
|
481, 662, 575, 596, 596, 684, 751, 750, 541, 712,
|
|
735, 717, 632, 468, 744, 711, 683, 608, 544, 598,
|
|
710, 743, 734, 661, 494, 733, 685, 539, 596, 686,
|
|
482, 697, 723, 756, 757, 699, 754, 742, 590, 495,
|
|
755, 687, 732, 660, 659, 623, 747, 736, 741, 688,
|
|
740, 628, 549, 749, 559, 707, 546, 708, 651, 680,
|
|
679, 496, 629, 678, 716, 630, 746, 745, 748, 631,
|
|
642, 652, 653, 500, 675, 476, 647, 715, 320, 464,
|
|
560, 646, 554, 731, 674, 654, 709, 644, 581, 673,
|
|
672, 738, 564, 618, 556, 467, 562, 561, 663, 671,
|
|
739, 458, 641, 639, 638, 637, 670, 634, 668, 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, 143,
|
|
143, 143, 143, -2, -2, -2, 0, 0, 0, 0,
|
|
-2, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 143, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
|
|
-3, 128, 128, -3, 128, 128, 128, 128, 128, 128,
|
|
-22, -22, -22, -22, 364, 364, 364, 364, 364, 364,
|
|
364, 364, 364, 364, 364, 364, 364, 364, 571, 571,
|
|
571, 571, 364, -22, -22, 364, 364, 364, 364, 364,
|
|
364, 571, 364, 225, 225, 225, 364, -16, -16, 0,
|
|
0, 0, 0, 0, 483, 225, 364, 364, 364, 364,
|
|
0, 0, 364, 364, -16, 0, 0, 0, 0, 0,
|
|
483, 483, 483, 0, 483, 225, 0, 45, 454, 454,
|
|
454, 454, 0, 0, 0, 483, 0, 483, 550, 0,
|
|
0, 0, 0, 501, 0, 700, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 482, 712, 0, 541, 0, 0, 0,
|
|
482, 482, 482, 541, 541, 0, 0, 541
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,32767,32767,32767,32767,32767,32767,32767,32767, 88,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 88, 489, 489, 489,32767,32767,32767,
|
|
32767, 302, 302, 302,32767, 481, 439, 439, 439, 439,
|
|
439, 439, 439, 481,32767,32767,32767,32767,32767, 381,
|
|
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, 88,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 486,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 364,
|
|
365, 367, 368, 301, 440, 250, 485, 300, 126, 261,
|
|
252, 204, 298, 236, 130, 329, 382, 331, 380, 384,
|
|
330, 307, 311, 312, 313, 314, 315, 316, 317, 318,
|
|
319, 320, 321, 322, 305, 306, 383, 361, 360, 359,
|
|
327, 328, 304, 332, 334, 304, 333, 350, 351, 348,
|
|
349, 352, 353, 354, 355, 356,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 88,32767,
|
|
284, 284, 284, 284,32767, 341, 342, 242, 242, 242,
|
|
242,32767, 242, 285,32767,32767,32767,32767,32767,32767,
|
|
32767, 433, 358, 336, 337, 335,32767, 411,32767,32767,
|
|
32767,32767,32767, 413,32767, 88,32767,32767, 324, 326,
|
|
405, 308,32767,32767, 90,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 408, 441, 441,32767,32767, 88,
|
|
399, 88, 169, 223, 225, 174,32767, 416,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 346,32767, 496,32767, 441,
|
|
32767,32767, 338, 339, 340,32767,32767, 441, 441,32767,
|
|
441,32767, 441,32767,32767,32767, 174,32767,32767,32767,
|
|
32767,32767,32767,32767, 90, 414, 414, 409, 174,32767,
|
|
32767, 174, 87, 87, 87, 87, 174, 87, 187,32767,
|
|
185, 185, 87, 88, 88, 87, 87, 189,32767, 455,
|
|
189, 88, 87, 174, 87, 209, 209, 390, 176, 89,
|
|
244, 244, 89, 390, 87, 174, 244, 88, 87, 87,
|
|
244,32767,32767,32767, 82,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 401,32767,32767, 421,32767, 434, 453, 399,32767,
|
|
344, 345, 347,32767, 443, 369, 370, 371, 372, 373,
|
|
374, 375, 377,32767, 482, 404,32767,32767, 84, 117,
|
|
260,32767, 494, 84, 402,32767, 494,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 84,32767, 84,
|
|
32767,32767,32767,32767, 478,32767, 441,32767, 403,32767,
|
|
343, 417, 460,32767,32767, 442,32767,32767, 84,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 421,32767,32767,
|
|
32767,32767,32767, 441,32767,32767,32767,32767,32767,32767,
|
|
32767, 297,32767,32767,32767,32767,32767,32767, 441,32767,
|
|
32767,32767,32767, 235,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 82, 60,32767, 278,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 132,
|
|
132, 3, 3, 132, 132, 132, 132, 132, 132, 132,
|
|
132, 132, 132, 132, 132, 132, 263, 164, 263, 217,
|
|
263, 263, 220, 209, 209, 270, 132, 132
|
|
);
|
|
|
|
protected $goto = array(
|
|
165, 165, 138, 138, 138, 148, 150, 181, 166, 163,
|
|
163, 163, 163, 147, 164, 164, 164, 164, 164, 164,
|
|
164, 147, 159, 160, 161, 162, 178, 176, 179, 420,
|
|
421, 315, 422, 425, 426, 427, 428, 429, 430, 431,
|
|
432, 888, 136, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 149, 175, 177, 180, 197, 200, 201, 203, 204,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
235, 236, 253, 254, 255, 322, 323, 324, 470, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 151, 196, 152, 167, 168, 169, 198,
|
|
170, 153, 154, 155, 171, 156, 199, 137, 172, 157,
|
|
173, 174, 158, 534, 202, 438, 736, 281, 471, 857,
|
|
547, 7, 202, 526, 855, 472, 669, 231, 464, 232,
|
|
233, 443, 443, 443, 671, 443, 464, 793, 774, 772,
|
|
774, 569, 670, 436, 802, 797, 459, 456, 443, 545,
|
|
572, 492, 494, 520, 524, 529, 530, 804, 537, 539,
|
|
546, 800, 548, 424, 424, 424, 424, 424, 424, 424,
|
|
424, 424, 424, 424, 424, 424, 424, 423, 423, 423,
|
|
423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
|
|
423, 485, 506, 443, 443, 488, 490, 540, 457, 478,
|
|
443, 443, 974, 443, 768, 312, 543, 706, 444, 300,
|
|
303, 450, 473, 474, 476, 469, 481, 733, 468, 487,
|
|
487, 999, 999, 999, 999, 999, 999, 999, 999, 999,
|
|
999, 999, 999, 701, 689, 831, 435, 835, 776, 697,
|
|
1068, 1068, 779, 435, 263, 749, 482, 3, 4, 247,
|
|
316, 827, 809, 449, 769, 975, 465, 1068, 460, 673,
|
|
770, 770, 770, 770, 872, 1061, 764, 771, 705, 970,
|
|
697, 1071, 697, 976, 1030, 378, 678, 298, 728, 723,
|
|
724, 737, 679, 725, 676, 726, 727, 10, 1053, 677,
|
|
507, 731, 462, 935, 823, 328, 508, 332, 319, 319,
|
|
268, 269, 285, 466, 271, 327, 286, 330, 493, 807,
|
|
807, 1058, 1069, 1069, 282, 283, 812, 688, 688, 816,
|
|
1042, 512, 698, 698, 698, 700, 525, 687, 499, 1069,
|
|
314, 287, 693, 279, 309, 690, 832, 576, 966, 514,
|
|
370, 978, 971, 484, 817, 817, 817, 817, 978, 817,
|
|
836, 817, 865, 702, 1039, 817, 781, 686, 874, 386,
|
|
0, 1039, 0, 0, 0, 978, 978, 978, 978, 1050,
|
|
1050, 978, 978, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 744, 0, 0, 745, 1036, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 834, 0,
|
|
0, 834, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 1043, 1044
|
|
);
|
|
|
|
protected $gotoCheck = array(
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 60, 53, 8, 10, 76, 7, 7,
|
|
7, 106, 53, 7, 7, 93, 13, 69, 81, 69,
|
|
69, 8, 8, 8, 15, 8, 81, 13, 13, 13,
|
|
13, 13, 14, 13, 13, 13, 8, 36, 8, 5,
|
|
36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
|
|
36, 36, 36, 131, 131, 131, 131, 131, 131, 131,
|
|
131, 131, 131, 131, 131, 131, 131, 129, 129, 129,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 43, 43, 8, 8, 64, 64, 64, 8, 8,
|
|
8, 8, 88, 8, 72, 72, 72, 33, 8, 46,
|
|
46, 46, 46, 46, 46, 2, 2, 52, 8, 82,
|
|
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
|
|
82, 82, 82, 11, 11, 11, 71, 11, 37, 23,
|
|
139, 139, 11, 71, 128, 11, 11, 34, 34, 128,
|
|
62, 90, 11, 62, 11, 88, 130, 139, 62, 10,
|
|
71, 71, 71, 71, 11, 138, 71, 71, 11, 11,
|
|
23, 139, 23, 88, 88, 62, 10, 49, 10, 10,
|
|
10, 10, 10, 10, 10, 10, 10, 62, 136, 10,
|
|
51, 10, 50, 112, 86, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 81,
|
|
81, 81, 140, 140, 76, 76, 84, 23, 23, 87,
|
|
133, 65, 23, 23, 23, 23, 65, 23, 21, 140,
|
|
65, 17, 27, 9, 16, 25, 92, 78, 118, 20,
|
|
67, 60, 121, 68, 60, 60, 60, 60, 60, 60,
|
|
95, 60, 106, 29, 93, 60, 75, 12, 109, 116,
|
|
-1, 93, -1, -1, -1, 60, 60, 60, 60, 93,
|
|
93, 60, 60, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 60, -1, -1, 60, 93, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 93, -1,
|
|
-1, 93, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 93, 93
|
|
);
|
|
|
|
protected $gotoBase = array(
|
|
0, 0, -336, 0, 0, 137, 0, 113, -141, 57,
|
|
-20, -120, -25, 124, 140, 132, 47, 75, 0, 0,
|
|
4, 55, 0, -17, 0, 46, 0, 58, 0, -10,
|
|
-22, 0, 0, 198, -329, 0, -403, 220, 0, 0,
|
|
0, 0, 0, 159, 0, 0, 172, 0, 0, 243,
|
|
72, 73, 201, 79, 0, 0, 0, 0, 0, 0,
|
|
107, 0, -98, 0, -43, -60, 0, -21, -27, -441,
|
|
0, 2, -55, 0, 0, -15, -259, 0, 24, 0,
|
|
0, 93, 3, 0, 74, 0, 50, 71, -95, 0,
|
|
228, 0, 45, 120, 0, -14, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 109, 0, 0, -29,
|
|
0, 0, 52, 0, 0, 0, -24, 0, -8, 0,
|
|
0, 6, 0, 0, 0, 0, 0, 0, -13, -39,
|
|
231, -53, 0, 70, 0, 0, 245, 0, 239, -6,
|
|
66, 0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 391, 579, 2, 580, 651, 659, 515, 411, 439,
|
|
730, 877, 692, 712, 713, 714, 304, 342, 296, 302,
|
|
500, 489, 382, 699, 354, 691, 379, 694, 353, 703,
|
|
135, 516, 388, 707, 1, 709, 445, 740, 293, 717,
|
|
294, 519, 719, 452, 721, 722, 299, 305, 306, 881,
|
|
461, 486, 732, 205, 454, 734, 292, 735, 743, 333,
|
|
297, 365, 522, 496, 477, 511, 412, 367, 483, 230,
|
|
463, 985, 766, 374, 362, 780, 280, 788, 577, 796,
|
|
799, 413, 414, 372, 811, 373, 821, 815, 993, 366,
|
|
826, 355, 833, 1025, 357, 837, 840, 343, 502, 331,
|
|
844, 845, 6, 849, 535, 536, 864, 243, 384, 873,
|
|
352, 887, 346, 954, 956, 447, 381, 967, 361, 523,
|
|
389, 972, 1029, 350, 415, 368, 270, 284, 246, 416,
|
|
433, 251, 417, 369, 1032, 320, 1054, 434, 1062, 1070,
|
|
277, 317, 480
|
|
);
|
|
|
|
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, 10, 10, 11, 11, 12,
|
|
12, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 17, 17, 18, 18, 18, 18, 20, 22,
|
|
22, 16, 24, 24, 21, 26, 26, 23, 23, 25,
|
|
25, 27, 27, 19, 28, 28, 29, 31, 32, 32,
|
|
33, 34, 34, 36, 35, 35, 35, 35, 37, 37,
|
|
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
|
|
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
|
|
37, 37, 13, 13, 56, 56, 59, 59, 58, 57,
|
|
57, 50, 61, 61, 62, 62, 63, 63, 14, 15,
|
|
15, 15, 66, 66, 66, 67, 67, 70, 70, 68,
|
|
68, 72, 73, 73, 44, 44, 52, 52, 55, 55,
|
|
55, 54, 74, 74, 75, 45, 45, 45, 45, 76,
|
|
76, 77, 77, 78, 78, 42, 42, 38, 38, 79,
|
|
40, 40, 80, 39, 39, 41, 41, 51, 51, 51,
|
|
51, 64, 64, 83, 83, 84, 84, 86, 86, 87,
|
|
87, 87, 85, 85, 65, 65, 88, 88, 89, 89,
|
|
90, 90, 90, 47, 91, 91, 92, 48, 94, 94,
|
|
95, 95, 69, 69, 96, 96, 96, 96, 101, 101,
|
|
102, 102, 103, 103, 103, 103, 103, 104, 105, 105,
|
|
100, 100, 97, 97, 99, 99, 107, 107, 106, 106,
|
|
106, 106, 106, 106, 98, 108, 108, 109, 109, 49,
|
|
110, 110, 43, 43, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
|
30, 30, 30, 30, 30, 30, 30, 117, 111, 111,
|
|
116, 116, 119, 120, 120, 121, 122, 122, 122, 71,
|
|
71, 60, 60, 60, 112, 112, 112, 124, 124, 113,
|
|
113, 115, 115, 115, 118, 118, 129, 129, 129, 82,
|
|
131, 131, 131, 114, 114, 114, 114, 114, 114, 114,
|
|
114, 114, 114, 114, 114, 114, 114, 114, 114, 46,
|
|
46, 127, 127, 127, 123, 123, 123, 132, 132, 132,
|
|
132, 132, 132, 53, 53, 53, 93, 93, 93, 93,
|
|
134, 126, 126, 126, 126, 126, 126, 125, 125, 125,
|
|
133, 133, 133, 133, 81, 135, 135, 136, 136, 136,
|
|
136, 136, 130, 137, 137, 138, 138, 138, 138, 138,
|
|
128, 128, 128, 128, 140, 141, 139, 139, 139, 139,
|
|
139, 139, 139, 142, 142, 142, 142
|
|
);
|
|
|
|
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, 0, 1, 0,
|
|
1, 1, 1, 1, 1, 3, 5, 4, 3, 4,
|
|
2, 3, 1, 1, 7, 8, 6, 7, 2, 3,
|
|
1, 2, 3, 1, 2, 3, 1, 1, 3, 1,
|
|
2, 1, 2, 2, 3, 1, 3, 2, 3, 1,
|
|
3, 2, 0, 1, 1, 1, 1, 1, 3, 7,
|
|
10, 5, 7, 9, 5, 3, 3, 3, 3, 3,
|
|
3, 1, 2, 5, 7, 9, 5, 6, 3, 3,
|
|
2, 1, 1, 1, 0, 2, 1, 3, 8, 0,
|
|
4, 2, 1, 3, 0, 1, 0, 1, 10, 7,
|
|
6, 5, 1, 2, 2, 0, 2, 0, 2, 0,
|
|
2, 2, 1, 3, 1, 4, 1, 4, 1, 1,
|
|
4, 2, 1, 3, 3, 3, 4, 4, 5, 0,
|
|
2, 4, 3, 1, 1, 1, 4, 0, 2, 5,
|
|
0, 2, 6, 0, 2, 0, 3, 1, 2, 1,
|
|
1, 2, 0, 1, 3, 4, 6, 1, 2, 1,
|
|
1, 1, 0, 1, 0, 2, 2, 4, 1, 3,
|
|
1, 2, 2, 2, 3, 1, 1, 2, 3, 1,
|
|
1, 3, 2, 0, 3, 4, 9, 3, 1, 3,
|
|
0, 2, 4, 5, 4, 4, 4, 3, 1, 1,
|
|
1, 3, 1, 1, 0, 1, 1, 2, 1, 1,
|
|
1, 1, 1, 1, 2, 1, 3, 1, 3, 2,
|
|
3, 1, 0, 1, 1, 3, 3, 3, 4, 1,
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 2, 2, 2, 2, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 2, 2, 2, 2, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 5,
|
|
4, 3, 4, 4, 2, 2, 4, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 1, 3,
|
|
2, 1, 2, 4, 2, 10, 11, 7, 3, 2,
|
|
0, 4, 2, 1, 3, 2, 2, 2, 4, 1,
|
|
1, 1, 2, 3, 1, 1, 1, 1, 1, 0,
|
|
3, 0, 1, 1, 0, 1, 1, 3, 3, 3,
|
|
4, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 3, 2, 3, 3, 0,
|
|
1, 1, 3, 1, 1, 3, 1, 1, 4, 4,
|
|
4, 1, 4, 1, 1, 3, 1, 4, 2, 2,
|
|
3, 1, 4, 4, 3, 3, 3, 1, 3, 1,
|
|
1, 3, 1, 1, 4, 3, 1, 1, 1, 3,
|
|
3, 0, 1, 3, 1, 3, 1, 4, 2, 0,
|
|
2, 2, 1, 2, 1, 1, 1, 4, 3, 3,
|
|
3, 6, 3, 1, 1, 2, 1
|
|
);
|
|
|
|
protected function 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() {
|
|
/* nothing */
|
|
}
|
|
|
|
protected function reduceRule86() {
|
|
/* nothing */
|
|
}
|
|
|
|
protected function reduceRule87() {
|
|
/* nothing */
|
|
}
|
|
|
|
protected function reduceRule88() {
|
|
$this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes));
|
|
}
|
|
|
|
protected function reduceRule89() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule90() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule91() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule92() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule93() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule94() {
|
|
$this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule95() {
|
|
$this->semValue = new Stmt\Namespace_($this->semStack[$this->stackPos-(3-2)], null, $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule96() {
|
|
$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->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule97() {
|
|
$this->semValue = new Stmt\Namespace_(null, $this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
$this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$this->checkNamespace($this->semValue);
|
|
}
|
|
|
|
protected function reduceRule98() {
|
|
$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 reduceRule99() {
|
|
$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 reduceRule100() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule101() {
|
|
$this->semValue = new Stmt\Const_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule102() {
|
|
$this->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
}
|
|
|
|
protected function reduceRule103() {
|
|
$this->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
}
|
|
|
|
protected function reduceRule104() {
|
|
$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 reduceRule105() {
|
|
$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 reduceRule106() {
|
|
$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 reduceRule107() {
|
|
$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 reduceRule108() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule109() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule110() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule111() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule112() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule113() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule114() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule115() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule116() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule117() {
|
|
$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 reduceRule118() {
|
|
$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 reduceRule119() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule120() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule121() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
}
|
|
|
|
protected function reduceRule122() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)]; $this->semValue->type = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule123() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule124() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule125() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule126() {
|
|
$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 reduceRule127() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule128() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule129() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule130() {
|
|
$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 reduceRule131() {
|
|
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 reduceRule132() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule133() {
|
|
$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 reduceRule134() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule135() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule136() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule137() {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule138() {
|
|
|
|
if ($this->semStack[$this->stackPos-(3-2)]) {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)]; $attrs = $this->startAttributeStack[$this->stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments'])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); };
|
|
} else {
|
|
$startAttributes = $this->startAttributeStack[$this->stackPos-(3-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop(['comments' => $startAttributes['comments']]); } else { $this->semValue = null; };
|
|
if (null === $this->semValue) { $this->semValue = array(); }
|
|
}
|
|
|
|
}
|
|
|
|
protected function reduceRule139() {
|
|
$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 reduceRule140() {
|
|
$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 reduceRule141() {
|
|
$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 reduceRule142() {
|
|
$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 reduceRule143() {
|
|
$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 reduceRule144() {
|
|
$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 reduceRule145() {
|
|
$this->semValue = new Stmt\Break_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule146() {
|
|
$this->semValue = new Stmt\Continue_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule147() {
|
|
$this->semValue = new Stmt\Return_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule148() {
|
|
$this->semValue = new Stmt\Global_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule149() {
|
|
$this->semValue = new Stmt\Static_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule150() {
|
|
$this->semValue = new Stmt\Echo_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule151() {
|
|
$this->semValue = new Stmt\InlineHTML($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule152() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule153() {
|
|
$this->semValue = new Stmt\Unset_($this->semStack[$this->stackPos-(5-3)], $this->startAttributeStack[$this->stackPos-(5-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule154() {
|
|
$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 reduceRule155() {
|
|
$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 reduceRule156() {
|
|
$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 reduceRule157() {
|
|
$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 reduceRule158() {
|
|
$this->semValue = new Stmt\Throw_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule159() {
|
|
$this->semValue = new Stmt\Goto_($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule160() {
|
|
$this->semValue = new Stmt\Label($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule161() {
|
|
$this->semValue = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function reduceRule162() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule163() {
|
|
$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 reduceRule164() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule165() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule166() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule167() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule168() {
|
|
$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 reduceRule169() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule170() {
|
|
$this->semValue = new Stmt\Finally_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule171() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule172() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule173() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule174() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule175() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule176() {
|
|
$this->semValue = false;
|
|
}
|
|
|
|
protected function reduceRule177() {
|
|
$this->semValue = true;
|
|
}
|
|
|
|
protected function reduceRule178() {
|
|
$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 reduceRule179() {
|
|
$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 reduceRule180() {
|
|
$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 reduceRule181() {
|
|
$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 reduceRule182() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule183() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule184() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule185() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule186() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule187() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule188() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule189() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule190() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule191() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule192() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule193() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule194() {
|
|
$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 reduceRule195() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule196() {
|
|
$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 reduceRule197() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule198() {
|
|
$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 reduceRule199() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule200() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule201() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule202() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule203() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule204() {
|
|
$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 reduceRule205() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule206() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule207() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule208() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(5-3)];
|
|
}
|
|
|
|
protected function reduceRule209() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule210() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule211() {
|
|
$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 reduceRule212() {
|
|
$this->semValue = new Stmt\Case_(null, $this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule213() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule214() {
|
|
$this->semValue = $this->semStack[$this->stackPos];
|
|
}
|
|
|
|
protected function reduceRule215() {
|
|
$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 reduceRule216() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule217() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule218() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule219() {
|
|
$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 reduceRule220() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule221() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule222() {
|
|
$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 reduceRule223() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule224() {
|
|
$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 reduceRule225() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule226() {
|
|
$this->semValue = new Stmt\Else_($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule227() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule228() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-2)], true);
|
|
}
|
|
|
|
protected function reduceRule229() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule230() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function reduceRule231() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule232() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule233() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule234() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule235() {
|
|
$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 reduceRule236() {
|
|
$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 reduceRule237() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule238() {
|
|
$this->semValue = new Node\NullableType($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule239() {
|
|
$this->semValue = $this->handleBuiltinTypes($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule240() {
|
|
$this->semValue = 'array';
|
|
}
|
|
|
|
protected function reduceRule241() {
|
|
$this->semValue = 'callable';
|
|
}
|
|
|
|
protected function reduceRule242() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule243() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule244() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule245() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function reduceRule246() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule247() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function reduceRule248() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule249() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule250() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(1-1)], false, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule251() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], true, false, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule252() {
|
|
$this->semValue = new Node\Arg($this->semStack[$this->stackPos-(2-2)], false, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule253() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule254() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule255() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule256() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule257() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule258() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule259() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule260() {
|
|
$this->semValue = new Stmt\StaticVar(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule261() {
|
|
$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 reduceRule262() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule263() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule264() {
|
|
$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 reduceRule265() {
|
|
$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 reduceRule266() {
|
|
$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 reduceRule267() {
|
|
$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 reduceRule268() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule269() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule270() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule271() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule272() {
|
|
$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 reduceRule273() {
|
|
$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 reduceRule274() {
|
|
$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 reduceRule275() {
|
|
$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 reduceRule276() {
|
|
$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 reduceRule277() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(3-1)], $this->semStack[$this->stackPos-(3-3)]);
|
|
}
|
|
|
|
protected function reduceRule278() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule279() {
|
|
$this->semValue = array(null, $this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule280() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule281() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule282() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule283() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule284() {
|
|
$this->semValue = 0;
|
|
}
|
|
|
|
protected function reduceRule285() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule286() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule287() {
|
|
$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 reduceRule288() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function reduceRule289() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function reduceRule290() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function reduceRule291() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function reduceRule292() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function reduceRule293() {
|
|
$this->semValue = Stmt\Class_::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function reduceRule294() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule295() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule296() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule297() {
|
|
$this->semValue = new Stmt\PropertyProperty(substr($this->semStack[$this->stackPos-(1-1)], 1), null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule298() {
|
|
$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 reduceRule299() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule300() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule301() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule302() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule303() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule304() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule305() {
|
|
$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 reduceRule306() {
|
|
$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 reduceRule307() {
|
|
$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 reduceRule308() {
|
|
$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 reduceRule309() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule310() {
|
|
$this->semValue = new Expr\Clone_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule311() {
|
|
$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 reduceRule312() {
|
|
$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 reduceRule313() {
|
|
$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 reduceRule314() {
|
|
$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 reduceRule315() {
|
|
$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 reduceRule316() {
|
|
$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 reduceRule317() {
|
|
$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 reduceRule318() {
|
|
$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 reduceRule319() {
|
|
$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 reduceRule320() {
|
|
$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 reduceRule321() {
|
|
$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 reduceRule322() {
|
|
$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 reduceRule323() {
|
|
$this->semValue = new Expr\PostInc($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule324() {
|
|
$this->semValue = new Expr\PreInc($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule325() {
|
|
$this->semValue = new Expr\PostDec($this->semStack[$this->stackPos-(2-1)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule326() {
|
|
$this->semValue = new Expr\PreDec($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule327() {
|
|
$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 reduceRule328() {
|
|
$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 reduceRule329() {
|
|
$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 reduceRule330() {
|
|
$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 reduceRule331() {
|
|
$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 reduceRule332() {
|
|
$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 reduceRule333() {
|
|
$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 reduceRule334() {
|
|
$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 reduceRule335() {
|
|
$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 reduceRule336() {
|
|
$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 reduceRule337() {
|
|
$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 reduceRule338() {
|
|
$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 reduceRule339() {
|
|
$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 reduceRule340() {
|
|
$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 reduceRule341() {
|
|
$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 reduceRule342() {
|
|
$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 reduceRule343() {
|
|
$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 reduceRule344() {
|
|
$this->semValue = new Expr\UnaryPlus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule345() {
|
|
$this->semValue = new Expr\UnaryMinus($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule346() {
|
|
$this->semValue = new Expr\BooleanNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule347() {
|
|
$this->semValue = new Expr\BitwiseNot($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule348() {
|
|
$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 reduceRule349() {
|
|
$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 reduceRule350() {
|
|
$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 reduceRule351() {
|
|
$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 reduceRule352() {
|
|
$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 reduceRule353() {
|
|
$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 reduceRule354() {
|
|
$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 reduceRule355() {
|
|
$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 reduceRule356() {
|
|
$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 reduceRule357() {
|
|
$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 reduceRule358() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule359() {
|
|
$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 reduceRule360() {
|
|
$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 reduceRule361() {
|
|
$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 reduceRule362() {
|
|
$this->semValue = new Expr\Isset_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule363() {
|
|
$this->semValue = new Expr\Empty_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule364() {
|
|
$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 reduceRule365() {
|
|
$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 reduceRule366() {
|
|
$this->semValue = new Expr\Eval_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule367() {
|
|
$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 reduceRule368() {
|
|
$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 reduceRule369() {
|
|
$this->semValue = new Expr\Cast\Int_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule370() {
|
|
$this->semValue = new Expr\Cast\Double($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule371() {
|
|
$this->semValue = new Expr\Cast\String_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule372() {
|
|
$this->semValue = new Expr\Cast\Array_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule373() {
|
|
$this->semValue = new Expr\Cast\Object_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule374() {
|
|
$this->semValue = new Expr\Cast\Bool_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule375() {
|
|
$this->semValue = new Expr\Cast\Unset_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule376() {
|
|
$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 reduceRule377() {
|
|
$this->semValue = new Expr\ErrorSuppress($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule378() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule379() {
|
|
$this->semValue = new Expr\ShellExec($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule380() {
|
|
$this->semValue = new Expr\Print_($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule381() {
|
|
$this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule382() {
|
|
$this->semValue = new Expr\Yield_($this->semStack[$this->stackPos-(2-2)], null, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule383() {
|
|
$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 reduceRule384() {
|
|
$this->semValue = new Expr\YieldFrom($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule385() {
|
|
$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 reduceRule386() {
|
|
$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 reduceRule387() {
|
|
$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 reduceRule388() {
|
|
$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 reduceRule389() {
|
|
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 reduceRule390() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule391() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule392() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule393() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule394() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule395() {
|
|
$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 reduceRule396() {
|
|
$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 reduceRule397() {
|
|
$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 reduceRule398() {
|
|
$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 reduceRule399() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule400() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule401() {
|
|
$this->semValue = new Name($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule402() {
|
|
$this->semValue = new Name\FullyQualified($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule403() {
|
|
$this->semValue = new Name\Relative($this->semStack[$this->stackPos-(3-3)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule404() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule405() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule406() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule407() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule408() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule409() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule410() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule411() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule412() {
|
|
$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 reduceRule413() {
|
|
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 reduceRule414() {
|
|
$this->semValue = array();
|
|
}
|
|
|
|
protected function reduceRule415() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule416() {
|
|
$this->semValue = new Expr\ConstFetch($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule417() {
|
|
$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 reduceRule418() {
|
|
$this->semValue = new Expr\ClassConstFetch($this->semStack[$this->stackPos-(3-1)], new Expr\Error($this->startAttributeStack[$this->stackPos-(3-3)] + $this->endAttributeStack[$this->stackPos-(3-3)]), $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule419() {
|
|
$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 reduceRule420() {
|
|
$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 reduceRule421() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule422() {
|
|
$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 reduceRule423() {
|
|
$this->semValue = $this->parseLNumber($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule424() {
|
|
$this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$this->stackPos-(1-1)]), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule425() {
|
|
$this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule426() {
|
|
$this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule427() {
|
|
$this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule428() {
|
|
$this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule429() {
|
|
$this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule430() {
|
|
$this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule431() {
|
|
$this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule432() {
|
|
$this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule433() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule434() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule435() {
|
|
$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 reduceRule436() {
|
|
$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 reduceRule437() {
|
|
$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 reduceRule438() {
|
|
$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 reduceRule439() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule440() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule441() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule442() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule443() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule444() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule445() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule446() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule447() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule448() {
|
|
$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 reduceRule449() {
|
|
$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 reduceRule450() {
|
|
$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 reduceRule451() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule452() {
|
|
$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 reduceRule453() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule454() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule455() {
|
|
$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 reduceRule456() {
|
|
$this->semValue = substr($this->semStack[$this->stackPos-(1-1)], 1);
|
|
}
|
|
|
|
protected function reduceRule457() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function reduceRule458() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule459() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule460() {
|
|
$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 reduceRule461() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule462() {
|
|
$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 reduceRule463() {
|
|
$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 reduceRule464() {
|
|
$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 reduceRule465() {
|
|
$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 reduceRule466() {
|
|
$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 reduceRule467() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule468() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule469() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule470() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule471() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule472() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule473() {
|
|
$this->semValue = new Expr\Error($this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2;
|
|
}
|
|
|
|
protected function reduceRule474() {
|
|
$this->semValue = new Expr\List_($this->semStack[$this->stackPos-(4-3)], $this->startAttributeStack[$this->stackPos-(4-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule475() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule476() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule477() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule478() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule479() {
|
|
$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 reduceRule480() {
|
|
$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 reduceRule481() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule482() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) unset($this->semValue[$end]);
|
|
}
|
|
|
|
protected function reduceRule483() {
|
|
$this->semStack[$this->stackPos-(3-1)][] = $this->semStack[$this->stackPos-(3-3)]; $this->semValue = $this->semStack[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function reduceRule484() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule485() {
|
|
$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 reduceRule486() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(1-1)], null, false, $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule487() {
|
|
$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 reduceRule488() {
|
|
$this->semValue = new Expr\ArrayItem($this->semStack[$this->stackPos-(2-2)], null, true, $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule489() {
|
|
$this->semValue = null;
|
|
}
|
|
|
|
protected function reduceRule490() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule491() {
|
|
$this->semStack[$this->stackPos-(2-1)][] = $this->semStack[$this->stackPos-(2-2)]; $this->semValue = $this->semStack[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function reduceRule492() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function reduceRule493() {
|
|
$this->semValue = array($this->semStack[$this->stackPos-(2-1)], $this->semStack[$this->stackPos-(2-2)]);
|
|
}
|
|
|
|
protected function reduceRule494() {
|
|
$this->semValue = new Scalar\EncapsedStringPart($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule495() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule496() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function reduceRule497() {
|
|
$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 reduceRule498() {
|
|
$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 reduceRule499() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule500() {
|
|
$this->semValue = new Expr\Variable($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule501() {
|
|
$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 reduceRule502() {
|
|
$this->semValue = $this->semStack[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function reduceRule503() {
|
|
$this->semValue = new Scalar\String_($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule504() {
|
|
$this->semValue = $this->parseNumString($this->semStack[$this->stackPos-(1-1)], $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule505() {
|
|
$this->semValue = $this->parseNumString('-' . $this->semStack[$this->stackPos-(2-2)], $this->startAttributeStack[$this->stackPos-(2-1)] + $this->endAttributes);
|
|
}
|
|
|
|
protected function reduceRule506() {
|
|
$this->semValue = new Expr\Variable(substr($this->semStack[$this->stackPos-(1-1)], 1), $this->startAttributeStack[$this->stackPos-(1-1)] + $this->endAttributes);
|
|
}
|
|
}
|