mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-15 02:47:04 +01:00
2869 lines
136 KiB
PHP
2869 lines
136 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 = 891;
|
|
protected $gotoTableSize = 429;
|
|
|
|
protected $invalidSymbol = 157;
|
|
protected $errorSymbol = 1;
|
|
protected $defaultAction = -32766;
|
|
protected $unexpectedTokenRule = 32767;
|
|
|
|
protected $YY2TBLSTATE = 328;
|
|
protected $YYNLSTATES = 576;
|
|
|
|
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(
|
|
581, 582, 583, 584, 585, 0, 586, 587, 588, 624,
|
|
625, 477, 27, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
|
|
97, 361, 239, 263, -282,-32766,-32766,-32766, -488, -487,
|
|
1079, 542, 1082, 1080, 98,-32766, 272,-32766,-32766,-32766,
|
|
-32766,-32766, 589, 899, 901,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 240,-32766, 662, 590, 591, 592, 593,
|
|
594, 595, 596,-32766, 289, 656, 867, 868, 869, 866,
|
|
865, 864, 597, 598, 599, 600, 601, 602, 603, 604,
|
|
605, 606, 607, 627, 628, 629, 630, 631, 619, 620,
|
|
621, 622, 623, 608, 609, 610, 611, 612, 613, 614,
|
|
650, 651, 652, 653, 654, 655, 615, 616, 617, 618,
|
|
648, 639, 637, 638, 634, 635, 215, 626, 632, 633,
|
|
640, 641, 643, 642, 644, 645, 42, 43, 390, 44,
|
|
45, 636, 647, 646, 224, 46, 47, 982, 48,-32767,
|
|
-32767,-32767,-32767, 90, 91, 92, 93, 94, 258, 440,
|
|
22, 867, 868, 869, 866, 865, 864, 859,-32766,-32766,
|
|
-32766, 1071, 1032, 1032, 1070, 1049, 998, 293, -443, 246,
|
|
287, 49, 50, -488, -487, -488, -487, 51,-32766, 52,
|
|
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
125, 22, 232, 61, 345, 975,-32766,-32766,-32766, 999,
|
|
1000, 658, 661, 1032, 28, -477, 1012, 998,-32766,-32766,
|
|
-32766, 737, 407, 408, 246, 1032,-32766, 246,-32766,-32766,
|
|
-32766,-32766, 25, 222, 373, 385, 349, 226,-32766, -443,
|
|
-32766,-32766,-32766, 1035, 65, 342, 416, 216, 41, 264,
|
|
264, 1046, 7, -443, 403, 404, 120, 21, 975, 24,
|
|
-443, 822, -446, 407, 408, -227, 1004, 1005, 1006, 1007,
|
|
1001, 1002, 243, 116, -442, -441, 265, 417, 1008, 1003,
|
|
347, 816, 817, 1076, 994, 63, 369, 255, 362, 260,
|
|
264, 391, -133, -133, -133, -4, 737, 392, 658, 224,
|
|
-441, 727, 264, -88, 32, 17, 393, -133, 394, -133,
|
|
395, -133, 396, -133, 128, 397, -133, -133, -133, 34,
|
|
35, 398, 346, 122, 36, 399, 816, 817, 62, 816,
|
|
817, 286, 288, 400, 401, -442, -441, 465, -251, 402,
|
|
38, 40, 713, 758, 405, 406, -172, 22, -232, -442,
|
|
-441,-32766,-32766,-32766, 374, -173, -442, -441, -445, 1032,
|
|
-477, -441, 1032, 998, 417, -479, 391, 347, 739, 547,
|
|
-133,-32766, 392,-32766,-32766, -441, 727, 678, 679, 32,
|
|
17, 393, -441, 394, 276, 395, 357, 396, 789, 549,
|
|
397, 71, 975, 1050, 34, 35, 398, 346, 335, 36,
|
|
399, 247, 248, 62, 254, 737, 286, 288, 400, 401,
|
|
408, 120, 131, 530, 402, 982, 306, 670, 758, 405,
|
|
406, 337, 113, 115,-32766,-32766, 72, 73, 74, 242,
|
|
529, 65, 121, 553, 502, 18, 264, 126, 274, 264,
|
|
-32766,-32766,-32766, 739, 547, -4, 26, 751, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 111, 239, 118, 737, 391, 92, 93, 94, 531,
|
|
112, 392, 347, -251, 98, 727, 845, 124, 32, 17,
|
|
393, -172, 394, 1032, 395, 130, 396, 515, 516, 397,
|
|
-173, 117, 554, 34, 35, 398, 737, 790, 36, 399,
|
|
-479, 736, 62, 383, 6, 286, 288,-32766,-32766,-32766,
|
|
127, 311, 114, 402, 678, 679, 975, 495, 496, 816,
|
|
817, 856, 565, 119, 552, 844, 575, 343, 223, 564,
|
|
559, 221, 225, 239, 391, 98, 658, 439, 39, 525,
|
|
392, 659, 775, 547, 727, 435, 971, 32, 17, 393,
|
|
358, 394, 356, 395, 299, 396, 319, 694, 397, 1074,
|
|
264, 451, 34, 35, 398, 737, 391, 36, 399, 453,
|
|
511, 62, 392, 449, 286, 288, 727, 499, 540, 32,
|
|
17, 393, 402, 394, 438, 395, 1081, 396, 354, 444,
|
|
397,-32766, 493, 551, 34, 35, 398, 737, 503, 36,
|
|
399, 526, -80, 62, 759, 507, 286, 288, 214, 456,
|
|
10, 739, 547, 519, 402, 508, 975, 257, 15, 0,
|
|
338, 0, 0, 259, 1011, 560, 760, 1014, 262, 0,
|
|
0, 0, 0, 0, 0, 391, 0, 0, 0, 0,
|
|
0, 392, 0, 739, 547, 727, 227, 256, 32, 17,
|
|
393, 0, 394, 0, 395, 0, 396, 0, 0, 397,
|
|
3, 0, 9, 34, 35, 398, 737, 391, 36, 399,
|
|
305, -400, 62, 392, 753, 286, 288, 727, 22, 339,
|
|
32, 17, 393, 402, 394, 327, 395, 324, 396, 316,
|
|
1032, 397, 323, 357, 998, 34, 35, 398, 446, 773,
|
|
36, 399, 31, 573, 62, 574, 718, 286, 288, 840,
|
|
850, 792, 739, 547, 30, 402, 849, 852, 851, 848,
|
|
771, 776, 716, 975, 784, 841, 783, 19, 548, 333,
|
|
550, 555, 557, 558, 270, 271, 391, 332, 571, 570,
|
|
407, 408, 392, 568, 739, 547, 727, 566, 563, 32,
|
|
17, 393, 562, 394, 757, 395, 756, 396, 755, 963,
|
|
397, -444, 65, 857, 34, 35, 398, 264, 744, 36,
|
|
399, 962, 961, 62, 754, 746, 286, 288,-32766,-32766,
|
|
-32766, 681, 1077, 680, 402, 683, 682, 672, 673, 782,
|
|
567, 714, 1078, 781, 1047, 1044, 1039, 1026,-32766, 1033,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 1075, 250, 739, 547, -467, 955, -446, -445, 20,
|
|
23, 29, 33, 37, 64, 336, 334, 273, 238, 237,
|
|
236, 235, 218, 217, 132, 129, 123, 70, 69, 68,
|
|
67, 66, -469, 0, 308, 473, 939, 489, 539, -230,
|
|
942, 11, 967, 823, 996, 938, 986, 536, 388, -88,
|
|
381, 378, 375, 309, 16, 14, 13, 12, -227, -228,
|
|
0, -412, 0, 995, 501, 1073, 1038, 1025, 1024, 0,
|
|
1013
|
|
);
|
|
|
|
protected $actionCheck = array(
|
|
2, 3, 4, 5, 6, 0, 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, 7, 54, 7, 79, 8, 9, 10, 7, 7,
|
|
77, 77, 79, 80, 66, 28, 7, 30, 31, 32,
|
|
33, 34, 54, 56, 57, 28, 8, 30, 31, 32,
|
|
33, 34, 35, 7, 109, 1, 68, 69, 70, 71,
|
|
72, 73, 74, 118, 7, 77, 112, 113, 114, 115,
|
|
116, 117, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 13, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
|
|
6, 143, 144, 145, 35, 11, 12, 1, 14, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 109, 82,
|
|
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
|
|
10, 79, 79, 79, 82, 1, 83, 7, 67, 28,
|
|
7, 47, 48, 152, 152, 154, 154, 53, 28, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
67, 67, 68, 69, 70, 112, 8, 9, 10, 75,
|
|
76, 77, 148, 79, 13, 7, 139, 83, 8, 9,
|
|
10, 1, 129, 130, 28, 79, 28, 28, 30, 31,
|
|
32, 33, 140, 141, 29, 7, 102, 7, 28, 128,
|
|
30, 31, 32, 1, 151, 7, 112, 13, 7, 156,
|
|
156, 77, 7, 142, 120, 121, 147, 7, 112, 7,
|
|
149, 152, 151, 129, 130, 152, 132, 133, 134, 135,
|
|
136, 137, 138, 7, 67, 67, 67, 143, 144, 145,
|
|
146, 130, 131, 150, 1, 151, 7, 153, 7, 155,
|
|
156, 71, 72, 73, 74, 0, 1, 77, 77, 35,
|
|
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 15, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 149, 104, 105, 130, 131, 108, 130,
|
|
131, 111, 112, 113, 114, 128, 128, 128, 7, 119,
|
|
67, 67, 122, 123, 124, 125, 7, 67, 152, 142,
|
|
142, 8, 9, 10, 149, 7, 149, 149, 151, 79,
|
|
152, 128, 79, 83, 143, 7, 71, 146, 148, 149,
|
|
150, 28, 77, 30, 31, 142, 81, 102, 103, 84,
|
|
85, 86, 149, 88, 33, 90, 146, 92, 29, 149,
|
|
95, 149, 112, 152, 99, 100, 101, 102, 103, 104,
|
|
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
|
|
130, 147, 15, 77, 119, 1, 142, 122, 123, 124,
|
|
125, 146, 149, 149, 8, 9, 8, 9, 10, 29,
|
|
79, 151, 149, 29, 72, 73, 156, 29, 143, 156,
|
|
8, 9, 10, 148, 149, 150, 28, 35, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 15, 54, 15, 1, 71, 47, 48, 49, 143,
|
|
15, 77, 146, 152, 66, 81, 150, 15, 84, 85,
|
|
86, 152, 88, 79, 90, 15, 92, 72, 73, 95,
|
|
152, 15, 29, 99, 100, 101, 1, 148, 104, 105,
|
|
152, 29, 108, 102, 103, 111, 112, 8, 9, 10,
|
|
97, 98, 13, 119, 102, 103, 112, 106, 107, 130,
|
|
131, 148, 149, 29, 29, 148, 149, 123, 35, 29,
|
|
29, 35, 35, 54, 71, 66, 77, 77, 67, 74,
|
|
77, 77, 148, 149, 81, 77, 79, 84, 85, 86,
|
|
77, 88, 77, 90, 77, 92, 78, 77, 95, 77,
|
|
156, 77, 99, 100, 101, 1, 71, 104, 105, 77,
|
|
79, 108, 77, 86, 111, 112, 81, 79, 89, 84,
|
|
85, 86, 119, 88, 79, 90, 80, 92, 102, 82,
|
|
95, 82, 109, 29, 99, 100, 101, 1, 87, 104,
|
|
105, 91, 94, 108, 123, 93, 111, 112, 94, 94,
|
|
94, 148, 149, 96, 119, 96, 112, 127, 152, -1,
|
|
146, -1, -1, 110, 139, 29, 123, 139, 126, -1,
|
|
-1, -1, -1, -1, -1, 71, -1, -1, -1, -1,
|
|
-1, 77, -1, 148, 149, 81, 35, 126, 84, 85,
|
|
86, -1, 88, -1, 90, -1, 92, -1, -1, 95,
|
|
142, -1, 142, 99, 100, 101, 1, 71, 104, 105,
|
|
142, 142, 108, 77, 147, 111, 112, 81, 67, 146,
|
|
84, 85, 86, 119, 88, 146, 90, 146, 92, 146,
|
|
79, 95, 146, 146, 83, 99, 100, 101, 146, 148,
|
|
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
|
|
148, 148, 148, 149, 148, 119, 148, 148, 148, 148,
|
|
148, 148, 148, 112, 148, 148, 148, 152, 149, 149,
|
|
149, 149, 149, 149, 149, 149, 71, 149, 149, 149,
|
|
129, 130, 77, 149, 148, 149, 81, 149, 149, 84,
|
|
85, 86, 149, 88, 150, 90, 150, 92, 150, 150,
|
|
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
|
|
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
|
|
10, 150, 150, 150, 119, 150, 150, 150, 150, 150,
|
|
150, 150, 150, 150, 150, 150, 150, 150, 28, 150,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 150, 152, 148, 149, 151, 153, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 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, -1, 154, 154, 154, 154, 154, 154, -1,
|
|
155
|
|
);
|
|
|
|
protected $actionBase = array(
|
|
0, 220, 295, 283, 336, 572, -2, -2, -2, -2,
|
|
-36, 505, 473, 606, 473, 574, 404, 675, 675, 675,
|
|
109, 264, 506, 506, 506, 488, 504, 503, 507, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 64, 64, 359, 201, 670, 708, 703,
|
|
476, 709, 524, 702, 704, 234, 671, 659, 408, 657,
|
|
656, 655, 654, 705, 730, 585, 706, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 48, 509, 416, 432, 432, 432, 432,
|
|
432, 432, 432, 432, 432, 432, 432, 432, 432, 432,
|
|
432, 432, 432, 432, 432, 160, 160, 160, 343, 210,
|
|
208, 198, 17, 233, 27, 780, 780, 780, 780, 780,
|
|
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
|
|
280, 280, 280, 280, 280, 280, 280, 280, 614, 616,
|
|
618, 619, 414, 429, 429, 196, 196, 196, 196, 146,
|
|
151, -45, 199, 77, 498, 735, 399, 174, 174, 111,
|
|
207, -22, -22, -22, 275, 517, 514, 514, 514, 514,
|
|
92, 92, 514, 514, 242, -37, 233, 233, 274, 233,
|
|
422, 422, 422, 221, 240, 519, 221, 591, 529, 653,
|
|
527, 649, 273, 31, 32, 484, 94, 543, 496, 94,
|
|
421, 362, 425, 717, 64, 539, 64, 64, 64, 64,
|
|
64, 64, 64, 64, 64, 94, 94, 64, 205, 64,
|
|
387, 359, 383, 489, 502, 209, 595, 339, 241, 133,
|
|
489, 489, 489, 596, 598, 331, 113, 590, 348, 411,
|
|
358, 351, 469, 469, 412, 478, 494, 469, 469, 469,
|
|
469, 508, 469, 678, 678, 682, 412, 469, 678, 412,
|
|
266, 24, 173, 67, 412, 281, 531, 469, 512, 512,
|
|
279, 478, 515, 230, 250, 500, 678, 678, 500, 494,
|
|
56, 412, 26, 565, 567, 493, 537, 39, 400, 400,
|
|
238, 493, 228, 412, 400, 508, 245, 170, 400, 5,
|
|
683, 700, 482, 699, 680, 698, 684, 697, 487, 589,
|
|
491, 513, 692, 691, 696, 470, 485, 681, 679, 562,
|
|
483, 456, 465, 528, 481, 620, 496, 557, 479, 479,
|
|
479, 481, 676, 479, 479, 479, 479, 479, 479, 479,
|
|
479, 729, 252, 538, 497, 486, 553, 525, 458, 608,
|
|
495, 562, 562, 651, 728, 673, 474, 690, 714, 695,
|
|
576, 472, 722, 689, 650, 556, 490, 551, 688, 721,
|
|
713, 604, 456, 712, 652, 492, 562, 648, 479, 674,
|
|
701, 734, 733, 677, 732, 720, 549, 516, 731, 647,
|
|
711, 600, 599, 564, 725, 707, 719, 646, 718, 568,
|
|
521, 727, 522, 685, 501, 686, 592, 645, 643, 299,
|
|
571, 642, 694, 573, 724, 723, 726, 583, 588, 593,
|
|
594, 480, 641, 397, 587, 693, 511, 475, 520, 586,
|
|
477, 710, 635, 613, 687, 584, 561, 634, 632, 715,
|
|
518, 557, 530, 523, 526, 499, 609, 631, 716, 510,
|
|
582, 581, 580, 579, 628, 578, 623, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 134, 134, -2,
|
|
-2, -2, 0, 0, 0, 0, -2, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
|
|
134, 134, 134, 134, 134, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, -3, 418, 418, -3,
|
|
418, 418, 418, 418, 418, 418, -22, -22, -22, -22,
|
|
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
|
221, 221, 221, 221, 49, 49, 49, 49, 221, -22,
|
|
-22, 221, 221, 221, 221, 221, 221, 49, 221, 92,
|
|
92, 92, 221, 94, 94, 0, 0, 0, 0, 0,
|
|
469, 92, 221, 221, 221, 221, 0, 0, 221, 221,
|
|
94, 0, 0, 0, 0, 0, 469, 469, 469, 0,
|
|
469, 92, 0, 64, 423, 423, 423, 423, 0, 0,
|
|
0, 469, 0, 469, 515, 0, 0, 0, 0, 412,
|
|
0, 678, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 479,
|
|
690, 0, 474, 0, 0, 0, 479, 479, 479, 474,
|
|
474, 0, 0, 474
|
|
);
|
|
|
|
protected $actionDefault = array(
|
|
3,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, 132, 132, 263, 164, 263, 217,
|
|
263, 263, 220, 209, 209, 270
|
|
);
|
|
|
|
protected $goto = array(
|
|
163, 163, 136, 136, 136, 146, 148, 179, 164, 161,
|
|
161, 161, 161, 145, 162, 162, 162, 162, 162, 162,
|
|
162, 145, 157, 158, 159, 160, 176, 174, 177, 418,
|
|
419, 313, 420, 423, 424, 425, 426, 427, 428, 429,
|
|
430, 886, 134, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
233, 234, 251, 252, 253, 320, 321, 322, 468, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
|
|
168, 151, 152, 153, 169, 154, 197, 135, 170, 155,
|
|
171, 172, 156, 532, 200, 436, 734, 704, 469, 855,
|
|
545, 279, 200, 524, 853, 470, 710, 667, 5, 462,
|
|
669, 441, 441, 441, 261, 441, 791, 462, 770, 245,
|
|
569, 668, 434, 800, 795, 543, 457, 454, 441, 774,
|
|
572, 490, 492, 518, 522, 788, 527, 528, 802, 535,
|
|
787, 537, 544, 798, 546, 422, 422, 422, 422, 422,
|
|
422, 422, 422, 422, 422, 422, 422, 422, 422, 421,
|
|
421, 421, 421, 421, 421, 421, 421, 421, 421, 421,
|
|
421, 421, 421, 441, 441, 486, 488, 538, 455, 476,
|
|
441, 441, 972, 441, 229, 731, 230, 231, 442, 298,
|
|
301, 448, 471, 472, 474, 766, 310, 541, 466, 485,
|
|
485, 997, 997, 997, 997, 997, 997, 997, 997, 997,
|
|
997, 997, 997, 699, 687, 829, 433, 833, 463, 695,
|
|
1066, 1066, 777, 433, 825, 747, 480, 483, 504, 1059,
|
|
314, 296, 807, 447, 767, 973, 505, 1066, 458, 671,
|
|
768, 768, 768, 768, 870, 1051, 762, 769, 703, 968,
|
|
695, 1069, 695, 974, 1028, 376, 676, 460, 726, 721,
|
|
722, 735, 677, 723, 674, 724, 725, 8, 933, 675,
|
|
810, 729, 1067, 1067, 821, 326, 506, 330, 317, 317,
|
|
266, 267, 283, 464, 269, 325, 284, 328, 491, 1067,
|
|
805, 805, 1056, 467, 479, 814, 1040, 686, 686, 285,
|
|
280, 281, 696, 696, 696, 698, 510, 685, 497, 277,
|
|
691, 523, 307, 688, 830, 312, 556, 969, 964, 512,
|
|
368, 976, 482, 684, 815, 815, 815, 815, 976, 815,
|
|
700, 815, 834, 779, 1037, 815, 384, 872, 0, 863,
|
|
0, 1037, 0, 0, 0, 976, 976, 976, 976, 1048,
|
|
1048, 976, 976, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 742, 0, 0, 743, 1034, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 832, 0,
|
|
0, 832, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 1041, 1042
|
|
);
|
|
|
|
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, 33, 7, 7,
|
|
7, 76, 53, 7, 7, 93, 13, 13, 106, 81,
|
|
15, 8, 8, 8, 128, 8, 13, 81, 13, 128,
|
|
13, 14, 13, 13, 13, 5, 8, 36, 8, 37,
|
|
36, 36, 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, 8, 8, 64, 64, 64, 8, 8,
|
|
8, 8, 88, 8, 69, 52, 69, 69, 8, 46,
|
|
46, 46, 46, 46, 46, 72, 72, 72, 8, 82,
|
|
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
|
|
82, 82, 82, 11, 11, 11, 71, 11, 130, 23,
|
|
139, 139, 11, 71, 90, 11, 11, 43, 43, 138,
|
|
62, 49, 11, 62, 11, 88, 51, 139, 62, 10,
|
|
71, 71, 71, 71, 11, 136, 71, 71, 11, 11,
|
|
23, 139, 23, 88, 88, 62, 10, 50, 10, 10,
|
|
10, 10, 10, 10, 10, 10, 10, 62, 112, 10,
|
|
84, 10, 140, 140, 86, 53, 53, 53, 53, 53,
|
|
53, 53, 53, 53, 53, 53, 53, 53, 53, 140,
|
|
81, 81, 81, 2, 2, 87, 133, 23, 23, 17,
|
|
76, 76, 23, 23, 23, 23, 65, 23, 21, 9,
|
|
27, 65, 16, 25, 92, 65, 78, 121, 118, 20,
|
|
67, 60, 68, 12, 60, 60, 60, 60, 60, 60,
|
|
29, 60, 95, 75, 93, 60, 116, 109, -1, 106,
|
|
-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, -236, 0, 0, 135, 0, 115, -139, 55,
|
|
-18, -118, -37, 125, 139, 128, 47, 65, 0, 0,
|
|
6, 57, 0, -15, 0, 46, 0, 58, 0, -11,
|
|
-20, 0, 0, 110, 0, 0, -401, 133, 0, 0,
|
|
0, 0, 0, 217, 0, 0, 174, 0, 0, 219,
|
|
59, 41, 191, 81, 0, 0, 0, 0, 0, 0,
|
|
109, 0, -96, 0, -41, -53, 0, -19, -26, -364,
|
|
0, 4, -42, 0, 0, -16, -253, 0, 25, 0,
|
|
0, 96, 5, 0, 50, 0, 52, 69, -93, 0,
|
|
223, 0, 45, 122, 0, -10, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 118, 0, 0, -28,
|
|
0, 0, 49, 0, 0, 0, -25, 0, -6, 0,
|
|
0, 3, 0, 0, 0, 0, 0, 0, -121, -35,
|
|
215, -49, 0, 68, 0, 0, 224, 0, 225, -4,
|
|
48, 0, 0
|
|
);
|
|
|
|
protected $gotoDefault = array(
|
|
-32768, 389, 577, 2, 578, 649, 657, 513, 409, 437,
|
|
728, 875, 690, 772, 711, 712, 302, 340, 294, 300,
|
|
498, 487, 380, 697, 352, 689, 377, 692, 351, 701,
|
|
133, 514, 386, 705, 1, 707, 443, 738, 291, 715,
|
|
292, 517, 717, 450, 719, 720, 297, 303, 304, 879,
|
|
459, 484, 730, 203, 452, 732, 290, 733, 741, 331,
|
|
295, 363, 520, 494, 475, 509, 410, 365, 481, 228,
|
|
461, 983, 764, 372, 360, 778, 278, 786, 561, 794,
|
|
797, 411, 412, 370, 809, 371, 819, 813, 991, 364,
|
|
824, 353, 831, 1023, 355, 835, 838, 341, 500, 329,
|
|
842, 843, 4, 847, 533, 534, 862, 241, 382, 871,
|
|
350, 885, 344, 952, 954, 445, 379, 965, 359, 521,
|
|
387, 970, 1027, 348, 413, 366, 268, 282, 244, 414,
|
|
431, 249, 415, 367, 1030, 318, 1052, 432, 1060, 1068,
|
|
275, 315, 478
|
|
);
|
|
|
|
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);
|
|
}
|
|
}
|