2800 lines
182 KiB
PHP
2800 lines
182 KiB
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Parser;
|
|
|
|
use PhpParser\Error;
|
|
use PhpParser\Modifiers;
|
|
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 file grammar/php.y
|
|
* * the skeleton file grammar/parser.template
|
|
* * the preprocessing script grammar/rebuildParsers.php
|
|
*/
|
|
class Php8 extends \PhpParser\ParserAbstract
|
|
{
|
|
public const YYERRTOK = 256;
|
|
public const T_THROW = 257;
|
|
public const T_INCLUDE = 258;
|
|
public const T_INCLUDE_ONCE = 259;
|
|
public const T_EVAL = 260;
|
|
public const T_REQUIRE = 261;
|
|
public const T_REQUIRE_ONCE = 262;
|
|
public const T_LOGICAL_OR = 263;
|
|
public const T_LOGICAL_XOR = 264;
|
|
public const T_LOGICAL_AND = 265;
|
|
public const T_PRINT = 266;
|
|
public const T_YIELD = 267;
|
|
public const T_DOUBLE_ARROW = 268;
|
|
public const T_YIELD_FROM = 269;
|
|
public const T_PLUS_EQUAL = 270;
|
|
public const T_MINUS_EQUAL = 271;
|
|
public const T_MUL_EQUAL = 272;
|
|
public const T_DIV_EQUAL = 273;
|
|
public const T_CONCAT_EQUAL = 274;
|
|
public const T_MOD_EQUAL = 275;
|
|
public const T_AND_EQUAL = 276;
|
|
public const T_OR_EQUAL = 277;
|
|
public const T_XOR_EQUAL = 278;
|
|
public const T_SL_EQUAL = 279;
|
|
public const T_SR_EQUAL = 280;
|
|
public const T_POW_EQUAL = 281;
|
|
public const T_COALESCE_EQUAL = 282;
|
|
public const T_COALESCE = 283;
|
|
public const T_BOOLEAN_OR = 284;
|
|
public const T_BOOLEAN_AND = 285;
|
|
public const T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG = 286;
|
|
public const T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG = 287;
|
|
public const T_IS_EQUAL = 288;
|
|
public const T_IS_NOT_EQUAL = 289;
|
|
public const T_IS_IDENTICAL = 290;
|
|
public const T_IS_NOT_IDENTICAL = 291;
|
|
public const T_SPACESHIP = 292;
|
|
public const T_IS_SMALLER_OR_EQUAL = 293;
|
|
public const T_IS_GREATER_OR_EQUAL = 294;
|
|
public const T_SL = 295;
|
|
public const T_SR = 296;
|
|
public const T_INSTANCEOF = 297;
|
|
public const T_INC = 298;
|
|
public const T_DEC = 299;
|
|
public const T_INT_CAST = 300;
|
|
public const T_DOUBLE_CAST = 301;
|
|
public const T_STRING_CAST = 302;
|
|
public const T_ARRAY_CAST = 303;
|
|
public const T_OBJECT_CAST = 304;
|
|
public const T_BOOL_CAST = 305;
|
|
public const T_UNSET_CAST = 306;
|
|
public const T_POW = 307;
|
|
public const T_NEW = 308;
|
|
public const T_CLONE = 309;
|
|
public const T_EXIT = 310;
|
|
public const T_IF = 311;
|
|
public const T_ELSEIF = 312;
|
|
public const T_ELSE = 313;
|
|
public const T_ENDIF = 314;
|
|
public const T_LNUMBER = 315;
|
|
public const T_DNUMBER = 316;
|
|
public const T_STRING = 317;
|
|
public const T_STRING_VARNAME = 318;
|
|
public const T_VARIABLE = 319;
|
|
public const T_NUM_STRING = 320;
|
|
public const T_INLINE_HTML = 321;
|
|
public const T_ENCAPSED_AND_WHITESPACE = 322;
|
|
public const T_CONSTANT_ENCAPSED_STRING = 323;
|
|
public const T_ECHO = 324;
|
|
public const T_DO = 325;
|
|
public const T_WHILE = 326;
|
|
public const T_ENDWHILE = 327;
|
|
public const T_FOR = 328;
|
|
public const T_ENDFOR = 329;
|
|
public const T_FOREACH = 330;
|
|
public const T_ENDFOREACH = 331;
|
|
public const T_DECLARE = 332;
|
|
public const T_ENDDECLARE = 333;
|
|
public const T_AS = 334;
|
|
public const T_SWITCH = 335;
|
|
public const T_MATCH = 336;
|
|
public const T_ENDSWITCH = 337;
|
|
public const T_CASE = 338;
|
|
public const T_DEFAULT = 339;
|
|
public const T_BREAK = 340;
|
|
public const T_CONTINUE = 341;
|
|
public const T_GOTO = 342;
|
|
public const T_FUNCTION = 343;
|
|
public const T_FN = 344;
|
|
public const T_CONST = 345;
|
|
public const T_RETURN = 346;
|
|
public const T_TRY = 347;
|
|
public const T_CATCH = 348;
|
|
public const T_FINALLY = 349;
|
|
public const T_USE = 350;
|
|
public const T_INSTEADOF = 351;
|
|
public const T_GLOBAL = 352;
|
|
public const T_STATIC = 353;
|
|
public const T_ABSTRACT = 354;
|
|
public const T_FINAL = 355;
|
|
public const T_PRIVATE = 356;
|
|
public const T_PROTECTED = 357;
|
|
public const T_PUBLIC = 358;
|
|
public const T_READONLY = 359;
|
|
public const T_PUBLIC_SET = 360;
|
|
public const T_PROTECTED_SET = 361;
|
|
public const T_PRIVATE_SET = 362;
|
|
public const T_VAR = 363;
|
|
public const T_UNSET = 364;
|
|
public const T_ISSET = 365;
|
|
public const T_EMPTY = 366;
|
|
public const T_HALT_COMPILER = 367;
|
|
public const T_CLASS = 368;
|
|
public const T_TRAIT = 369;
|
|
public const T_INTERFACE = 370;
|
|
public const T_ENUM = 371;
|
|
public const T_EXTENDS = 372;
|
|
public const T_IMPLEMENTS = 373;
|
|
public const T_OBJECT_OPERATOR = 374;
|
|
public const T_NULLSAFE_OBJECT_OPERATOR = 375;
|
|
public const T_LIST = 376;
|
|
public const T_ARRAY = 377;
|
|
public const T_CALLABLE = 378;
|
|
public const T_CLASS_C = 379;
|
|
public const T_TRAIT_C = 380;
|
|
public const T_METHOD_C = 381;
|
|
public const T_FUNC_C = 382;
|
|
public const T_PROPERTY_C = 383;
|
|
public const T_LINE = 384;
|
|
public const T_FILE = 385;
|
|
public const T_START_HEREDOC = 386;
|
|
public const T_END_HEREDOC = 387;
|
|
public const T_DOLLAR_OPEN_CURLY_BRACES = 388;
|
|
public const T_CURLY_OPEN = 389;
|
|
public const T_PAAMAYIM_NEKUDOTAYIM = 390;
|
|
public const T_NAMESPACE = 391;
|
|
public const T_NS_C = 392;
|
|
public const T_DIR = 393;
|
|
public const T_NS_SEPARATOR = 394;
|
|
public const T_ELLIPSIS = 395;
|
|
public const T_NAME_FULLY_QUALIFIED = 396;
|
|
public const T_NAME_QUALIFIED = 397;
|
|
public const T_NAME_RELATIVE = 398;
|
|
public const T_ATTRIBUTE = 399;
|
|
|
|
protected int $tokenToSymbolMapSize = 400;
|
|
protected int $actionTableSize = 1289;
|
|
protected int $gotoTableSize = 685;
|
|
|
|
protected int $invalidSymbol = 172;
|
|
protected int $errorSymbol = 1;
|
|
protected int $defaultAction = -32766;
|
|
protected int $unexpectedTokenRule = 32767;
|
|
|
|
protected int $YY2TBLSTATE = 441;
|
|
protected int $numNonLeafStates = 752;
|
|
|
|
protected array $symbolToName = array(
|
|
"EOF",
|
|
"error",
|
|
"T_THROW",
|
|
"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_EQUAL",
|
|
"'?'",
|
|
"':'",
|
|
"T_COALESCE",
|
|
"T_BOOLEAN_OR",
|
|
"T_BOOLEAN_AND",
|
|
"'|'",
|
|
"'^'",
|
|
"T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG",
|
|
"T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG",
|
|
"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_MATCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_FN",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"T_USE",
|
|
"T_INSTEADOF",
|
|
"T_GLOBAL",
|
|
"T_STATIC",
|
|
"T_ABSTRACT",
|
|
"T_FINAL",
|
|
"T_PRIVATE",
|
|
"T_PROTECTED",
|
|
"T_PUBLIC",
|
|
"T_READONLY",
|
|
"T_PUBLIC_SET",
|
|
"T_PROTECTED_SET",
|
|
"T_PRIVATE_SET",
|
|
"T_VAR",
|
|
"T_UNSET",
|
|
"T_ISSET",
|
|
"T_EMPTY",
|
|
"T_HALT_COMPILER",
|
|
"T_CLASS",
|
|
"T_TRAIT",
|
|
"T_INTERFACE",
|
|
"T_ENUM",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_NULLSAFE_OBJECT_OPERATOR",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_C",
|
|
"T_TRAIT_C",
|
|
"T_METHOD_C",
|
|
"T_FUNC_C",
|
|
"T_PROPERTY_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",
|
|
"T_NAME_FULLY_QUALIFIED",
|
|
"T_NAME_QUALIFIED",
|
|
"T_NAME_RELATIVE",
|
|
"T_ATTRIBUTE",
|
|
"';'",
|
|
"']'",
|
|
"'('",
|
|
"')'",
|
|
"'{'",
|
|
"'}'",
|
|
"'`'",
|
|
"'\"'",
|
|
"'$'"
|
|
);
|
|
|
|
protected array $tokenToSymbol = array(
|
|
0, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 56, 170, 172, 171, 55, 172, 172,
|
|
165, 166, 53, 51, 8, 52, 48, 54, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 31, 163,
|
|
44, 16, 46, 30, 68, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 70, 172, 164, 36, 172, 169, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 167, 35, 168, 58, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
172, 172, 172, 172, 172, 172, 1, 2, 3, 4,
|
|
5, 6, 7, 9, 10, 11, 12, 13, 14, 15,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 32, 33, 34, 37, 38, 39, 40,
|
|
41, 42, 43, 45, 47, 49, 50, 57, 59, 60,
|
|
61, 62, 63, 64, 65, 66, 67, 69, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 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, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162
|
|
);
|
|
|
|
protected array $action = array(
|
|
126, 127, 128, 569, 129, 130, 954, 764, 765, 766,
|
|
131, 38, 848, -85,-32766, 1374,-32766,-32766,-32766, 0,
|
|
839, 1132, 1133, 1134, 1128, 1127, 1126, 1135, 1129, 1130,
|
|
1131,-32766,-32766,-32766, 850, 758, 757,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767, 1003,-32766, 1043, -569, 767, 1132, 1133, 1134, 1128,
|
|
1127, 1126, 1135, 1129, 1130, 1131, 388, 387, 841, 263,
|
|
132, 389, 771, 772, 773, 774, 429,-32766, 430, -85,
|
|
956, 36, 246, 47, 291, 828, 775, 776, 777, 778,
|
|
779, 780, 781, 782, 783, 784, 804, 570, 805, 806,
|
|
807, 808, 796, 797, 343, 344, 799, 800, 785, 786,
|
|
787, 789, 790, 791, 359, 831, 832, 833, 834, 835,
|
|
571, -569, -569, 360, 792, 793, 572, 573, -331, 816,
|
|
814, 815, 827, 811, 812, 2, -194, 574, 575, 810,
|
|
576, 577, 578, 579, 322, 580, 581, 875, 843, 876,
|
|
297, 298, 813, 582, 583, 721, 133, 236, 126, 127,
|
|
128, 569, 129, 130, 1076, 764, 765, 766, 131, 38,
|
|
-32766, 26, 734, 1036, 1035, 1034, 1040, 1037, 1038, 1039,
|
|
-32766,-32766,-32766, 1004, 104, 105, 106, 107, 108, 35,
|
|
275, 956,-32766, 758, 757, 1052, 849,-32766,-32766,-32766,
|
|
847,-32766, 109,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
148, 475, 476, 767,-32766,-32766,-32766, 1052,-32766, 290,
|
|
-32766,-32766,-32766,-32766,-32766, 615, 134, 263, 132, 389,
|
|
771, 772, 773, 774, 365,-32766, 430,-32766,-32766,-32766,
|
|
-32766, 290, 143, 828, 775, 776, 777, 778, 779, 780,
|
|
781, 782, 783, 784, 804, 570, 805, 806, 807, 808,
|
|
796, 797, 343, 344, 799, 800, 785, 786, 787, 789,
|
|
790, 791, 359, 831, 832, 833, 834, 835, 571,-32766,
|
|
-32766,-32766, 792, 793, 572, 573, -331, 816, 814, 815,
|
|
827, 811, 812, 1299, -194, 574, 575, 810, 576, 577,
|
|
578, 579, 844, 580, 581, 149, 82, 83, 84, -272,
|
|
813, 582, 583, 249, 146, 788, 759, 760, 761, 762,
|
|
763, 235, 764, 765, 766, 801, 802, 37, 307, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 157, 275,-32766,-32766,-32766,-32767,-32767,
|
|
-32767,-32767, 101, 102, 103, 1106, 109, 309, 621, 747,
|
|
767,-32766,-32766,-32766, 848, 318,-32766, 1105,-32766,-32766,
|
|
-32766, 338, 845, 1355, 768, 769, 770, 771, 772, 773,
|
|
774, 339,-32766, 837,-32766,-32766, 1384, 374, 1279, 1385,
|
|
828, 775, 776, 777, 778, 779, 780, 781, 782, 783,
|
|
784, 804, 826, 805, 806, 807, 808, 796, 797, 798,
|
|
825, 799, 800, 785, 786, 787, 789, 790, 791, 830,
|
|
831, 832, 833, 834, 835, 836, 1075, 430, -566, 792,
|
|
793, 794, 795, 1359, 816, 814, 815, 827, 811, 812,
|
|
1358, -193, 803, 809, 810, 817, 818, 820, 819, 138,
|
|
821, 822, 839, 321, 380, 285, 24, 813, 824, 823,
|
|
49, 50, 51, 521, 52, 53, -371, -110, -371, 848,
|
|
54, 55, -110, 56, -110,-32766,-32766,-32766, 1340, 303,
|
|
125, 1121, -110, -110, -110, -110, -110, -110, -110, -110,
|
|
-110, -110, -110, 161, 749, -566, -566, 291, 972, 973,
|
|
465, 466, 467, 974, 396, 285, 1274, 1273, 1275, 57,
|
|
58, -566, 565, 447, 59, 1107, 60, 243, 244, 61,
|
|
62, 63, 64, 65, 66, 67, 68,-32766, 28, 265,
|
|
69, 445, 522, 489, -345, 448, 1305, 1306, 523, 139,
|
|
848, 1049, 449, 321, 1303, 42, 20, 524, 933, 525,
|
|
933, 526, 74, 527, -567, 697, 528, 529, 321, 386,
|
|
387, 44, 45, 451, 383, 382, 1052, 46, 530, 429,
|
|
972, 973, 450, 372, 337, 974, 1279, 1311, 724, 933,
|
|
1265,-32766,-32766,-32766, 968, 532, 533, 534, 854, 933,
|
|
281, 698, -78, -565, 1272, 758, 757, 536, 537, -193,
|
|
1291, 1292, 1293, 1294, 1296, 1288, 1289, 295, 1052, 725,
|
|
398, 151, 7, 1295, 1290, 699, 700, 1274, 1273, 1275,
|
|
296, -567, -567, 70, -153, -153, -153, 316, 317, 321,
|
|
1270, 923, 290, 923, 1274, 1273, 1275, -567, 1049, -153,
|
|
281, -153, 1148, -153, 81, -153, 739, 152, 321, -573,
|
|
153, 758, 757,-32766, 1051, 381, 875, 848, 876, 155,
|
|
-565, -565, 923, 1052, 1049, 33, 972, 973, -58, 490,
|
|
-57, 531, 923, 1274, 1273, 1275, -565, 123, 1052, 909,
|
|
968, -110, -110, -110, 28, 266, 124, 281, -572, 1052,
|
|
102, 103, -110, -110,-32766,-32766, 848, -110, 135, -563,
|
|
1303, 136, -605, 142, -605, 156, -110, 664, 21, 158,
|
|
935, 159, 935, 160, 719,-32766, 719, -153, -305, 48,
|
|
32, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 683, 684, 1265, 296, 758, 757,
|
|
74, 935, -87, 933, -84, 719, 321, -4, 933, -78,
|
|
933, 935, -73, 536, 537, 719, 1291, 1292, 1293, 1294,
|
|
1296, 1288, 1289, 1181, 1183, 933, -563, -563, -564, 1295,
|
|
1290, 758, 757, 726, -563,-32766, 147, 413, -301, 72,
|
|
729, 1272, -563, -72, 317, 321, 299, 300,-32766,-32766,
|
|
-32766, -71,-32766, -70,-32766, 736,-32766, 384, 385,-32766,
|
|
390, 391, 379, -69,-32766,-32766,-32766, -68,-32766, -67,
|
|
-32766,-32766, -66, -65, 1272, -46,-32766, 426, 28, 265,
|
|
-18,-32766,-32766,-32766, 140,-32766, 923,-32766,-32766,-32766,
|
|
848, 923,-32766, 923, 1303, -564, -564,-32766,-32766,-32766,
|
|
274, -563, -563,-32766,-32766, 282, 655, 656, 923,-32766,
|
|
426, -564, 735, 381, 738, 442, 932, -563, 145, 73,
|
|
294,-32766, 950, -571, 972, 973, 279, 280, 283, 531,
|
|
1265, 28, 266, 284, 327, 275, 109, 535, 968, -110,
|
|
-110, -110, 286, 848, 287, 292, 293, 1303, 537, 144,
|
|
1291, 1292, 1293, 1294, 1296, 1288, 1289, 693, 848, 1139,
|
|
-32766, 11, 839, 1295, 1290, 989, 708, 686, 670, 719,
|
|
935, 1386, 935, 72, 719, -4, 719, 653, 317, 321,
|
|
-50, 710, 304, 1265, 586, 968, 665, 935, 969, 1310,
|
|
671, 719, 302, 301, 10, 308, 1312, 472, 500,-32766,
|
|
-529, 537, 687, 1291, 1292, 1293, 1294, 1296, 1288, 1289,
|
|
952, 40, 592, 137, 41, -519, 1295, 1290, 8, 27,
|
|
619, 321, 0,-32766, 378, 0, 72, 0, 0, 1272,
|
|
0, 317, 321, 744, 0, 0,-32766,-32766,-32766, 0,
|
|
-32766, 0,-32766, 0,-32766, 0, 0,-32766, 0, 0,
|
|
0, 0,-32766,-32766,-32766, 933,-32766, 745,-32766,-32766,
|
|
0, 0, 1272, 847,-32766, 426, 867, 0, 296,-32766,
|
|
-32766,-32766, 0,-32766, 914,-32766,-32766,-32766, 933, 1013,
|
|
-32766, 990, 997, 987, 998,-32766,-32766,-32766, 912,-32766,
|
|
985,-32766,-32766, 1110, 1113, 1272, 1114,-32766, 426, 1111,
|
|
1150, 1112,-32766,-32766,-32766, 1118,-32766, 1300,-32766,-32766,
|
|
-32766, 859, 1327,-32766, 1344, 1377, 658, 495,-32766,-32766,
|
|
-32766, -599,-32766, -598,-32766,-32766, -597, -573, 1272, 599,
|
|
-32766, 426, -572, -571, -570,-32766,-32766,-32766, 923,-32766,
|
|
-513,-32766,-32766,-32766, 1, 29,-32766, -275, 30, 39,
|
|
43,-32766,-32766,-32766, -250, -250, -250,-32766,-32766, 71,
|
|
381, 923, 75,-32766, 426, 76, 77, 78, 1279, 79,
|
|
80, 972, 973, 141, 150,-32766, 531, -249, -249, -249,
|
|
-273, 154, 241, 381, 909, 968, -110, -110, -110, 323,
|
|
360, 361, 362, 363, 972, 973, 364, 365, -16, 531,
|
|
366, 367, 368, 369, 370, 373, 443, 909, 968, -110,
|
|
-110, -110,-32766, -272, 564, 371, 1304, 935, 1272, 13,
|
|
741, 719, -250, 14, 15,-32766,-32766,-32766, 16,-32766,
|
|
18,-32766, 354,-32766, 412, 491,-32766, 492, 499, 502,
|
|
935,-32766,-32766,-32766, 719, -249, 503,-32766,-32766, 848,
|
|
504, 505, 509,-32766, 426, 510, 511, 518, 597, 703,
|
|
1078, 1221, 1301, 1077, 1058,-32766, 1260, 1054, -277, -102,
|
|
12, 17, 22, 312, 411, 611, 616, 644, 709, 1225,
|
|
1278, 1222, 1356, 0, -110, -110, 34, 315, 375, -110,
|
|
720, 723, 727, 728, 730, 731, 732, 733, -110, 737,
|
|
749, 722, 750, 0, 910, 1381, 0,-32766, 1383, 870,
|
|
869, 878, 962, 1005, 877, 1382, 961, 959, 960, 963,
|
|
1253, 943, 953, 941, 1149, 1145, 1099, 995, 996, 296,
|
|
642, 1380, 74, 1338, 1353, 0, 0, 1238, 321
|
|
);
|
|
|
|
protected array $actionCheck = array(
|
|
2, 3, 4, 5, 6, 7, 1, 9, 10, 11,
|
|
12, 13, 82, 31, 116, 85, 9, 10, 11, 0,
|
|
80, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 9, 10, 11, 1, 37, 38, 30, 140, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 31, 30, 1, 70, 57, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 106, 107, 80, 71,
|
|
72, 73, 74, 75, 76, 77, 116, 9, 80, 97,
|
|
122, 151, 152, 70, 30, 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, 137, 138, 165, 126, 127, 128, 129, 8, 131,
|
|
132, 133, 134, 135, 136, 8, 8, 139, 140, 141,
|
|
142, 143, 144, 145, 70, 147, 148, 106, 160, 108,
|
|
137, 138, 154, 155, 156, 167, 158, 14, 2, 3,
|
|
4, 5, 6, 7, 166, 9, 10, 11, 12, 13,
|
|
116, 8, 167, 119, 120, 121, 122, 123, 124, 125,
|
|
9, 10, 11, 163, 51, 52, 53, 54, 55, 8,
|
|
57, 122, 116, 37, 38, 141, 163, 9, 10, 11,
|
|
159, 30, 69, 32, 33, 34, 35, 36, 37, 38,
|
|
14, 137, 138, 57, 9, 10, 11, 141, 30, 165,
|
|
32, 33, 34, 35, 36, 1, 8, 71, 72, 73,
|
|
74, 75, 76, 77, 165, 30, 80, 32, 33, 34,
|
|
35, 165, 8, 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, 9,
|
|
10, 11, 126, 127, 128, 129, 166, 131, 132, 133,
|
|
134, 135, 136, 1, 166, 139, 140, 141, 142, 143,
|
|
144, 145, 80, 147, 148, 14, 9, 10, 11, 166,
|
|
154, 155, 156, 8, 158, 2, 3, 4, 5, 6,
|
|
7, 97, 9, 10, 11, 12, 13, 30, 8, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 16, 57, 9, 10, 11, 44, 45,
|
|
46, 47, 48, 49, 50, 163, 69, 8, 52, 167,
|
|
57, 9, 10, 11, 82, 8, 30, 1, 32, 33,
|
|
34, 8, 160, 1, 71, 72, 73, 74, 75, 76,
|
|
77, 8, 30, 80, 32, 33, 80, 8, 1, 83,
|
|
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, 1, 80, 70, 126,
|
|
127, 128, 129, 1, 131, 132, 133, 134, 135, 136,
|
|
8, 8, 139, 140, 141, 142, 143, 144, 145, 167,
|
|
147, 148, 80, 171, 8, 30, 101, 154, 155, 156,
|
|
2, 3, 4, 5, 6, 7, 106, 101, 108, 82,
|
|
12, 13, 106, 15, 108, 9, 10, 11, 1, 113,
|
|
14, 126, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 14, 167, 137, 138, 30, 117, 118,
|
|
132, 133, 134, 122, 8, 30, 159, 160, 161, 51,
|
|
52, 153, 85, 8, 56, 168, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 140, 70, 71,
|
|
72, 73, 74, 31, 168, 8, 78, 79, 80, 167,
|
|
82, 116, 8, 171, 86, 87, 88, 89, 1, 91,
|
|
1, 93, 165, 95, 70, 80, 98, 99, 171, 106,
|
|
107, 103, 104, 105, 106, 107, 141, 109, 110, 116,
|
|
117, 118, 8, 115, 116, 122, 1, 150, 31, 1,
|
|
122, 9, 10, 116, 131, 127, 128, 129, 8, 1,
|
|
165, 116, 16, 70, 80, 37, 38, 139, 140, 166,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 141, 31,
|
|
106, 14, 108, 155, 156, 140, 141, 159, 160, 161,
|
|
162, 137, 138, 165, 75, 76, 77, 169, 170, 171,
|
|
116, 84, 165, 84, 159, 160, 161, 153, 116, 90,
|
|
165, 92, 163, 94, 167, 96, 167, 14, 171, 165,
|
|
14, 37, 38, 116, 140, 106, 106, 82, 108, 14,
|
|
137, 138, 84, 141, 116, 14, 117, 118, 16, 167,
|
|
16, 122, 84, 159, 160, 161, 153, 16, 141, 130,
|
|
131, 132, 133, 134, 70, 71, 16, 165, 165, 141,
|
|
49, 50, 117, 118, 51, 52, 82, 122, 16, 70,
|
|
86, 16, 164, 16, 166, 16, 131, 75, 76, 16,
|
|
163, 16, 163, 16, 167, 140, 167, 168, 35, 70,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 75, 76, 122, 162, 37, 38,
|
|
165, 163, 31, 1, 31, 167, 171, 0, 1, 31,
|
|
1, 163, 31, 139, 140, 167, 142, 143, 144, 145,
|
|
146, 147, 148, 59, 60, 1, 137, 138, 70, 155,
|
|
156, 37, 38, 31, 70, 74, 101, 102, 35, 165,
|
|
31, 80, 153, 31, 170, 171, 137, 138, 87, 88,
|
|
89, 31, 91, 31, 93, 31, 95, 106, 107, 98,
|
|
106, 107, 153, 31, 103, 104, 105, 31, 74, 31,
|
|
109, 110, 31, 31, 80, 31, 115, 116, 70, 71,
|
|
31, 87, 88, 89, 31, 91, 84, 93, 127, 95,
|
|
82, 84, 98, 84, 86, 137, 138, 103, 104, 105,
|
|
31, 137, 138, 109, 110, 31, 111, 112, 84, 115,
|
|
116, 153, 31, 106, 31, 108, 31, 153, 31, 158,
|
|
113, 127, 38, 165, 117, 118, 35, 35, 35, 122,
|
|
122, 70, 71, 35, 35, 57, 69, 130, 131, 132,
|
|
133, 134, 37, 82, 37, 37, 37, 86, 140, 70,
|
|
142, 143, 144, 145, 146, 147, 148, 77, 82, 82,
|
|
85, 154, 80, 155, 156, 163, 80, 94, 96, 167,
|
|
163, 83, 163, 165, 167, 168, 167, 113, 170, 171,
|
|
31, 92, 114, 122, 89, 131, 90, 163, 131, 150,
|
|
100, 167, 136, 135, 97, 135, 150, 97, 97, 140,
|
|
153, 140, 100, 142, 143, 144, 145, 146, 147, 148,
|
|
158, 163, 157, 31, 163, 153, 155, 156, 153, 153,
|
|
157, 171, -1, 74, 153, -1, 165, -1, -1, 80,
|
|
-1, 170, 171, 163, -1, -1, 87, 88, 89, -1,
|
|
91, -1, 93, -1, 95, -1, -1, 98, -1, -1,
|
|
-1, -1, 103, 104, 105, 1, 74, 163, 109, 110,
|
|
-1, -1, 80, 159, 115, 116, 163, -1, 162, 87,
|
|
88, 89, -1, 91, 163, 93, 127, 95, 1, 163,
|
|
98, 163, 163, 163, 163, 103, 104, 105, 163, 74,
|
|
163, 109, 110, 163, 163, 80, 163, 115, 116, 163,
|
|
163, 163, 87, 88, 89, 163, 91, 164, 93, 127,
|
|
95, 164, 164, 98, 164, 164, 164, 102, 103, 104,
|
|
105, 165, 74, 165, 109, 110, 165, 165, 80, 81,
|
|
115, 116, 165, 165, 165, 87, 88, 89, 84, 91,
|
|
165, 93, 127, 95, 165, 165, 98, 166, 165, 165,
|
|
165, 103, 104, 105, 100, 101, 102, 109, 110, 165,
|
|
106, 84, 165, 115, 116, 165, 165, 165, 1, 165,
|
|
165, 117, 118, 165, 165, 127, 122, 100, 101, 102,
|
|
166, 165, 165, 106, 130, 131, 132, 133, 134, 165,
|
|
165, 165, 165, 165, 117, 118, 165, 165, 31, 122,
|
|
165, 165, 165, 165, 165, 165, 165, 130, 131, 132,
|
|
133, 134, 74, 166, 165, 165, 170, 163, 80, 166,
|
|
168, 167, 168, 166, 166, 87, 88, 89, 166, 91,
|
|
166, 93, 166, 95, 166, 166, 98, 166, 166, 166,
|
|
163, 103, 104, 105, 167, 168, 166, 109, 110, 82,
|
|
166, 166, 166, 115, 116, 166, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 127, 166, 166, 166, 166,
|
|
166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
|
|
166, 166, 166, -1, 117, 118, 167, 167, 167, 122,
|
|
167, 167, 167, 167, 167, 167, 167, 167, 131, 167,
|
|
167, 167, 167, -1, 168, 168, -1, 140, 168, 168,
|
|
168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
|
|
168, 168, 168, 168, 168, 168, 168, 168, 168, 162,
|
|
168, 168, 165, 168, 168, -1, -1, 169, 171
|
|
);
|
|
|
|
protected array $actionBase = array(
|
|
0, -2, 156, 559, 757, 1004, 1027, 485, 292, 357,
|
|
-60, -12, 588, 759, 759, 774, 759, 557, 752, 888,
|
|
598, 598, 598, 836, 313, 313, 836, 313, 711, 711,
|
|
711, 711, 744, 744, 965, 965, 998, 932, 899, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1088,
|
|
1088, 1088, 33, 20, 224, 1083, 661, 1057, 1063, 1059,
|
|
1064, 1055, 1054, 1058, 1060, 1065, 1113, 1115, 837, 1112,
|
|
1116, 1061, 902, 1056, 1062, 887, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 68, 476, 582, 270, 270, 270, 270, 270,
|
|
270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
|
|
270, 270, 270, 270, 270, 624, 624, 22, 22, 22,
|
|
362, 811, 758, 811, 811, 811, 811, 811, 811, 811,
|
|
811, 346, 205, 188, 714, 171, 171, 7, 7, 7,
|
|
7, 7, 376, 1117, 54, 585, 585, 314, 314, 314,
|
|
314, 365, 568, 370, 435, 397, 651, 477, 463, 532,
|
|
532, 558, 558, 76, 76, 558, 558, 558, 133, 133,
|
|
547, 547, 547, 547, 41, 437, 809, 382, 382, 382,
|
|
382, 809, 809, 809, 809, 796, 996, 809, 809, 809,
|
|
494, 533, 708, 653, 653, 560, -70, -70, 560, 804,
|
|
-70, 487, 316, -102, 807, -40, 548, -102, 1000, 368,
|
|
639, 639, 659, 639, 639, 639, 854, 701, 854, 1053,
|
|
-42, 825, 825, 794, 731, 69, 892, 1084, 1066, 840,
|
|
1109, 852, 1110, 1085, 489, 378, -16, 13, 74, 728,
|
|
1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052, 1052,
|
|
1052, 1052, 800, 568, 1053, 222, 1107, 1108, 800, 800,
|
|
800, 568, 568, 568, 568, 568, 568, 568, 568, 799,
|
|
568, 568, 745, 222, 642, 669, 222, 849, 568, 33,
|
|
812, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 512, 33, 20, 5, 5, 202, 52, 5, 5,
|
|
5, 337, 5, 33, 33, 33, 701, 828, 805, 704,
|
|
-18, 813, 443, 828, 828, 828, 120, 143, 128, 693,
|
|
753, 514, 832, 832, 827, 929, 929, 832, 826, 832,
|
|
827, 832, 832, 929, 929, 856, 929, 218, 515, 373,
|
|
456, 537, 929, 320, 832, 832, 832, 832, 810, 929,
|
|
127, 544, 832, 305, 234, 832, 832, 810, 808, 824,
|
|
806, 929, 929, 929, 810, 389, 806, 806, 806, 820,
|
|
844, 814, 819, 367, 359, 590, 181, 834, 819, 819,
|
|
832, 506, 814, 819, 814, 819, 802, 819, 819, 819,
|
|
814, 819, 826, 383, 819, 699, 574, 163, 819, 832,
|
|
19, 944, 947, 721, 950, 934, 951, 991, 952, 954,
|
|
1073, 925, 967, 935, 955, 999, 933, 930, 835, 671,
|
|
680, 815, 797, 919, 817, 817, 817, 912, 917, 817,
|
|
817, 817, 817, 817, 817, 817, 817, 671, 893, 821,
|
|
845, 976, 692, 695, 1042, 789, 1086, 1118, 975, 944,
|
|
954, 723, 935, 955, 933, 930, 792, 791, 786, 788,
|
|
782, 772, 762, 770, 803, 1044, 958, 798, 697, 1014,
|
|
977, 1002, 1070, 978, 981, 1018, 1045, 853, 1046, 1087,
|
|
829, 1090, 1091, 897, 985, 1074, 817, 911, 906, 898,
|
|
982, 918, 671, 900, 1047, 1003, 1069, 1019, 1021, 1071,
|
|
850, 838, 901, 1092, 986, 987, 988, 1075, 1076, 801,
|
|
1007, 931, 1022, 851, 1093, 1023, 1030, 1034, 1035, 1077,
|
|
1094, 1078, 908, 1079, 861, 846, 964, 822, 1095, 196,
|
|
843, 848, 859, 990, 291, 974, 1080, 1096, 1097, 1036,
|
|
1039, 1040, 1098, 1099, 959, 866, 1008, 823, 1012, 997,
|
|
868, 869, 607, 858, 1048, 841, 842, 857, 643, 646,
|
|
1100, 1101, 1102, 966, 831, 830, 870, 871, 1050, 855,
|
|
1051, 1103, 655, 875, 1104, 1043, 703, 705, 586, 664,
|
|
662, 707, 839, 1082, 816, 818, 847, 989, 705, 833,
|
|
877, 1105, 880, 881, 883, 1041, 886, 1016, 1106, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 468, 468, 468, 468, 468, 468, 313,
|
|
313, 313, 313, 313, 468, 468, 468, 468, 468, 468,
|
|
468, 313, 468, 468, 468, 313, 0, 0, 313, 0,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 468, 468, 468, 468, 468, 468,
|
|
468, 468, 468, 468, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 297, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
|
297, 297, 297, 297, 297, 297, 297, 524, 524, 297,
|
|
297, 297, 297, 524, 524, 524, 524, 524, 524, 524,
|
|
524, 524, 524, 297, 297, 297, 0, 297, 297, 297,
|
|
297, 297, 297, 297, 856, 524, 524, 524, 524, 133,
|
|
133, 133, 133, -95, -95, -95, 524, 524, 133, 524,
|
|
856, 524, 524, 524, 524, 524, 524, 524, 524, 524,
|
|
0, 0, 524, 524, 524, 524, 222, -70, 524, 826,
|
|
826, 826, 826, 524, 524, 524, 524, -70, -70, 524,
|
|
524, 524, 0, 0, 0, 133, 133, 222, 0, 0,
|
|
222, 391, 0, 826, 826, 524, 391, 856, 442, 524,
|
|
489, 0, 0, 0, 0, 0, 0, 0, 222, 826,
|
|
222, 568, 832, -70, -70, 568, 568, 832, 5, 33,
|
|
442, 685, 685, 685, 685, 33, 0, 0, 0, 0,
|
|
0, 701, 856, 856, 856, 856, 856, 856, 856, 856,
|
|
856, 856, 856, 856, 826, 0, 856, 0, 856, 856,
|
|
826, 826, 826, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 929, 0, 0, 0, 0, 0, 0, 0, 826,
|
|
0, 0, 929, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 826,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 817,
|
|
850, 0, 0, 850, 0, 817, 817, 817, 0, 0,
|
|
0, 858, 855
|
|
);
|
|
|
|
protected array $actionDefault = array(
|
|
3,32767, 102,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 100,32767, 617, 617,
|
|
617, 617,32767,32767, 254, 102,32767,32767, 488, 405,
|
|
405, 405,32767,32767, 561, 561, 561, 561, 561,32767,
|
|
32767,32767,32767,32767,32767, 488,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 36, 7, 8, 10,
|
|
11, 49, 17, 327, 100,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 102,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 392, 610,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 492, 471, 472, 474,
|
|
475, 404, 562, 616, 330, 613, 332, 403, 145, 342,
|
|
333, 242, 258, 493, 259, 494, 497, 498, 215, 389,
|
|
149, 150, 435, 489, 437, 487, 491, 436, 410, 416,
|
|
417, 418, 419, 420, 421, 422, 423, 424, 425, 426,
|
|
427, 428, 408, 409, 490,32767,32767, 468, 467, 466,
|
|
433,32767,32767,32767,32767,32767,32767,32767,32767, 102,
|
|
32767, 434, 438, 441, 407, 439, 440, 457, 458, 455,
|
|
456, 459,32767,32767, 319,32767,32767, 460, 461, 462,
|
|
463, 370, 195, 368,32767,32767, 442, 319, 111,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 448, 449,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 102,32767, 100,
|
|
505, 555, 465, 443, 444,32767, 530,32767, 102,32767,
|
|
532,32767,32767,32767,32767,32767,32767,32767,32767, 557,
|
|
430, 432, 525, 611, 411, 614,32767, 518, 100, 195,
|
|
32767,32767, 531, 195, 195,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 556,32767, 624, 518,
|
|
110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
|
|
110, 110,32767, 195, 110,32767, 110, 110,32767,32767,
|
|
100, 195, 195, 195, 195, 195, 195, 195, 195, 533,
|
|
195, 195, 190,32767, 268, 270, 102, 579, 195,32767,
|
|
535,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 392,32767,32767,32767,32767, 518, 453, 138,32767,
|
|
520, 138, 563, 445, 446, 447, 563, 563, 563, 315,
|
|
292,32767,32767,32767,32767, 533, 533, 100, 100, 100,
|
|
100,32767,32767,32767,32767, 111, 504, 99, 99, 99,
|
|
99, 99, 103, 101,32767,32767,32767,32767, 223,32767,
|
|
101, 99,32767, 101, 101,32767,32767, 223, 225, 212,
|
|
227,32767, 583, 584, 223, 101, 227, 227, 227, 247,
|
|
247, 507, 321, 101, 99, 101, 101, 197, 321, 321,
|
|
32767, 101, 507, 321, 507, 321, 199, 321, 321, 321,
|
|
507, 321,32767, 101, 321, 214, 99, 99, 321,32767,
|
|
32767,32767,32767, 520,32767,32767,32767,32767,32767,32767,
|
|
32767, 222,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
550,32767, 568, 581, 451, 452, 454, 567, 565, 476,
|
|
477, 478, 479, 480, 481, 482, 484, 612,32767, 524,
|
|
32767,32767,32767, 341,32767, 622,32767,32767,32767, 9,
|
|
74, 513, 42, 43, 51, 57, 539, 540, 541, 542,
|
|
536, 537, 543, 538,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 623,
|
|
32767, 563,32767,32767,32767,32767, 450, 545, 589,32767,
|
|
32767, 564, 615,32767,32767,32767,32767,32767,32767,32767,
|
|
138,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 550,32767, 136,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 546,32767,32767,32767, 563,32767,32767,32767,
|
|
32767, 317, 314,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 563,
|
|
32767,32767,32767,32767,32767, 294,32767, 311,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 388, 520, 297, 299,
|
|
300,32767,32767,32767,32767, 364,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 152,
|
|
152, 3, 3, 344, 152, 152, 152, 344, 344, 152,
|
|
344, 344, 344, 152, 152, 152, 152, 152, 152, 152,
|
|
280, 185, 262, 265, 247, 247, 152, 356, 152, 390,
|
|
390, 399
|
|
);
|
|
|
|
protected array $goto = array(
|
|
194, 194, 1050, 486, 704, 278, 278, 278, 278, 1081,
|
|
488, 547, 547, 906, 864, 906, 906, 547, 713, 547,
|
|
547, 547, 547, 547, 547, 547, 547, 166, 166, 166,
|
|
166, 218, 195, 191, 191, 176, 178, 213, 191, 191,
|
|
191, 191, 191, 192, 192, 192, 192, 192, 186, 187,
|
|
188, 189, 190, 215, 213, 216, 544, 545, 427, 546,
|
|
549, 550, 551, 552, 553, 554, 555, 556, 1167, 167,
|
|
168, 169, 193, 170, 171, 172, 164, 173, 174, 175,
|
|
177, 212, 214, 217, 237, 240, 251, 252, 253, 255,
|
|
256, 257, 258, 259, 260, 261, 267, 268, 269, 270,
|
|
276, 288, 289, 313, 314, 433, 434, 435, 606, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 186, 187, 188, 189, 190,
|
|
215, 1167, 196, 197, 198, 199, 238, 179, 180, 200,
|
|
181, 201, 197, 182, 239, 196, 163, 202, 203, 183,
|
|
204, 205, 206, 184, 207, 208, 165, 209, 210, 211,
|
|
185, 868, 247, 247, 591, 474, 474, 1098, 743, 645,
|
|
647, 865, 608, 667, 474, 866, 469, 691, 694, 1023,
|
|
702, 711, 1019, 718, 464, 1216, 881, 358, 840, 245,
|
|
245, 245, 245, 242, 248, 1370, 1370, 358, 358, 350,
|
|
557, 557, 557, 557, 893, 612, 341, 880, 358, 358,
|
|
1370, 988, 358, 873, 1387, 922, 917, 918, 931, 874,
|
|
919, 871, 920, 921, 872, 446, 925, 342, 341, 563,
|
|
425, 1373, 1373, 358, 358, 899, 861, 1104, 1100, 1101,
|
|
437, 669, 403, 406, 609, 613, 432, 334, 330, 331,
|
|
333, 601, 436, 335, 438, 646, 629, 666, 1271, 1050,
|
|
1271, 1271, 1056, 1055, 455, 455, 598, 455, 455, 1050,
|
|
1271, 348, 1050, 519, 1050, 1050, 1050, 1050, 1050, 1050,
|
|
1050, 1050, 1050, 861, 1360, 1050, 1050, 1050, 1050, 1332,
|
|
1009, 1271, 507, 926, 508, 927, 1271, 1271, 1271, 1271,
|
|
514, 401, 1271, 1271, 1271, 1352, 1352, 1352, 1352, 421,
|
|
355, 355, 355, 355, 1124, 1152, 1125, 596, 939, 631,
|
|
631, 668, 940, 439, 1164, 1302, 1302, 1302, 1302, 1302,
|
|
1302, 1302, 1302, 1302, 1302, 1074, 439, 483, 1345, 1346,
|
|
563, 444, 1057, 1057, 568, 561, 1059, 1060, 955, 673,
|
|
1068, 1064, 1065, 955, 662, 663, 846, 680, 681, 682,
|
|
320, 306, 455, 455, 455, 455, 455, 455, 455, 455,
|
|
455, 455, 455, 455, 690, 5, 455, 6, 455, 455,
|
|
602, 623, 340, 561, 568, 593, 594, 345, 604, 610,
|
|
674, 625, 626, 980, 416, 712, 250, 250, 846, 25,
|
|
846, 1347, 1348, 559, 1264, 559, 559, 1026, 1026, 336,
|
|
1321, 1321, 431, 861, 620, 559, 1321, 1321, 1321, 1321,
|
|
1321, 1321, 1321, 1321, 1321, 1321, 858, 1343, 886, 1343,
|
|
1343, 639, 641, 643, 410, 971, 462, 883, 1262, 1343,
|
|
624, 982, 982, 982, 982, 1031, 1147, 462, 976, 983,
|
|
562, 588, 701, 351, 352, 562, 842, 588, 1087, 404,
|
|
468, 1354, 1354, 1354, 1354, 746, 1041, 895, 701, 1138,
|
|
484, 701, 477, 605, 478, 479, 1091, 377, 993, 0,
|
|
891, 1318, 1318, 1378, 1379, 1339, 0, 1318, 1318, 1318,
|
|
1318, 1318, 1318, 1318, 1318, 1318, 1318, 0, 0, 0,
|
|
0, 0, 0, 548, 548, 1266, 0, 0, 889, 548,
|
|
548, 548, 548, 548, 548, 548, 548, 548, 548, 414,
|
|
415, 0, 0, 0, 678, 0, 679, 328, 418, 419,
|
|
420, 0, 692, 0, 0, 422, 1089, 0, 0, 346,
|
|
0, 0, 1341, 1341, 1089, 618, 632, 635, 636, 637,
|
|
638, 659, 660, 661, 715, 717, 0, 0, 1267, 1268,
|
|
0, 1254, 894, 882, 1086, 1090, 0, 856, 0, 271,
|
|
319, 0, 319, 319, 1254, 991, 614, 1247, 957, 944,
|
|
1154, 1248, 1251, 958, 0, 1252, 1269, 1329, 1330, 0,
|
|
0, 1028, 0, 0, 0, 0, 0, 0, 981, 885,
|
|
0, 672, 1007, 1053, 1053, 689, 965, 879, 0, 1045,
|
|
1061, 1062, 607, 1117, 0, 0, 0, 0, 0, 1261,
|
|
1136, 898, 0, 716, 0, 0, 0, 1012, 515, 707,
|
|
984, 1115, 742, 0, 0, 560, 1021, 1016, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 751, 751
|
|
);
|
|
|
|
protected array $gotoCheck = array(
|
|
42, 42, 73, 84, 73, 23, 23, 23, 23, 128,
|
|
84, 162, 162, 25, 25, 25, 25, 162, 9, 162,
|
|
162, 162, 162, 162, 162, 162, 162, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 15, 5, 5, 48, 154, 154, 15, 48, 48,
|
|
48, 26, 131, 48, 154, 27, 156, 48, 48, 48,
|
|
48, 48, 48, 48, 83, 156, 35, 14, 6, 5,
|
|
5, 5, 5, 5, 5, 188, 188, 14, 14, 97,
|
|
107, 107, 107, 107, 35, 107, 174, 35, 14, 14,
|
|
188, 49, 14, 15, 14, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 83, 15, 174, 174, 14,
|
|
43, 188, 188, 14, 14, 45, 22, 15, 15, 15,
|
|
66, 66, 59, 59, 59, 59, 66, 66, 66, 66,
|
|
66, 66, 66, 66, 66, 66, 56, 56, 73, 73,
|
|
73, 73, 119, 119, 23, 23, 178, 23, 23, 73,
|
|
73, 185, 73, 76, 73, 73, 73, 73, 73, 73,
|
|
73, 73, 73, 22, 187, 73, 73, 73, 73, 14,
|
|
103, 73, 160, 65, 160, 65, 73, 73, 73, 73,
|
|
160, 62, 73, 73, 73, 9, 9, 9, 9, 14,
|
|
24, 24, 24, 24, 146, 146, 146, 104, 73, 108,
|
|
108, 64, 73, 118, 155, 108, 108, 108, 108, 108,
|
|
108, 108, 108, 108, 108, 115, 118, 182, 182, 182,
|
|
14, 113, 118, 118, 76, 76, 120, 120, 9, 118,
|
|
118, 118, 118, 9, 86, 86, 12, 86, 86, 86,
|
|
175, 175, 23, 23, 23, 23, 23, 23, 23, 23,
|
|
23, 23, 23, 23, 117, 46, 23, 46, 23, 23,
|
|
2, 2, 76, 76, 76, 76, 76, 76, 76, 76,
|
|
121, 76, 76, 93, 93, 93, 5, 5, 12, 76,
|
|
12, 184, 184, 19, 14, 19, 19, 107, 107, 29,
|
|
176, 176, 13, 22, 13, 19, 176, 176, 176, 176,
|
|
176, 176, 176, 176, 176, 176, 18, 131, 39, 131,
|
|
131, 85, 85, 85, 28, 92, 19, 37, 166, 131,
|
|
80, 19, 19, 19, 19, 110, 153, 19, 19, 19,
|
|
9, 9, 7, 97, 97, 9, 7, 9, 130, 9,
|
|
9, 131, 131, 131, 131, 99, 114, 41, 7, 149,
|
|
157, 7, 9, 9, 9, 9, 133, 138, 96, -1,
|
|
9, 177, 177, 9, 9, 131, -1, 177, 177, 177,
|
|
177, 177, 177, 177, 177, 177, 177, -1, -1, -1,
|
|
-1, -1, -1, 179, 179, 20, -1, -1, 9, 179,
|
|
179, 179, 179, 179, 179, 179, 179, 179, 179, 82,
|
|
82, -1, -1, -1, 82, -1, 82, 9, 82, 82,
|
|
82, -1, 82, -1, -1, 82, 131, -1, -1, 82,
|
|
-1, -1, 131, 131, 131, 81, 81, 81, 81, 81,
|
|
81, 81, 81, 81, 81, 81, -1, -1, 20, 20,
|
|
-1, 20, 16, 16, 16, 16, -1, 20, -1, 24,
|
|
24, -1, 24, 24, 20, 16, 17, 79, 79, 17,
|
|
17, 79, 79, 79, -1, 79, 20, 20, 20, -1,
|
|
-1, 17, -1, -1, -1, -1, -1, -1, 16, 17,
|
|
-1, 17, 17, 89, 89, 89, 89, 17, -1, 89,
|
|
89, 89, 8, 8, -1, -1, -1, -1, -1, 17,
|
|
16, 16, -1, 8, -1, -1, -1, 50, 8, 8,
|
|
50, 8, 50, -1, -1, 50, 50, 50, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 24, 24
|
|
);
|
|
|
|
protected array $gotoBase = array(
|
|
0, 0, -341, 0, 0, 161, 178, 445, 604, 8,
|
|
0, 0, 62, 76, -108, -186, 104, 106, 119, 140,
|
|
105, 0, -42, 2, 307, 10, 167, 171, 98, 115,
|
|
0, 0, 0, 0, 0, -189, 0, 99, 0, 110,
|
|
0, 20, -1, 207, 0, 209, -371, 0, -556, 193,
|
|
615, 0, 0, 0, 0, 0, 216, 0, 0, 197,
|
|
0, 0, 259, 0, 85, 279, 5, 0, 0, 0,
|
|
0, 0, 0, -5, 0, 0, 1, 0, 0, 163,
|
|
95, 184, 21, -94, -474, -55, -373, 0, 0, 324,
|
|
0, 0, 111, 91, 0, 0, 29, -291, 0, 52,
|
|
0, 0, 0, 255, 274, 0, 0, 172, 84, 0,
|
|
71, 0, 0, 64, 45, 61, 0, 93, 59, -17,
|
|
63, 100, 0, 0, 0, 0, 0, 0, 7, 0,
|
|
78, 164, 0, 28, 0, 0, 0, 0, -273, 0,
|
|
0, 0, 0, 0, 0, 0, 43, 0, 0, 19,
|
|
0, 0, 0, 92, 131, 82, -90, 24, 0, 0,
|
|
-210, 0, -224, 0, 0, 0, 65, 0, 0, 0,
|
|
0, 0, 0, 0, -89, 44, 175, 246, 237, 268,
|
|
0, 0, 39, 0, 23, 241, 0, 253, -110, 0,
|
|
0
|
|
);
|
|
|
|
protected array $gotoDefault = array(
|
|
-32768, 520, 753, 4, 754, 948, 829, 838, 584, 538,
|
|
714, 347, 633, 428, 1337, 924, 1153, 603, 857, 1280,
|
|
1286, 463, 860, 325, 740, 936, 907, 908, 407, 393,
|
|
399, 405, 657, 634, 501, 892, 459, 884, 493, 887,
|
|
458, 896, 162, 424, 517, 900, 3, 903, 566, 934,
|
|
986, 394, 911, 395, 685, 913, 587, 915, 916, 402,
|
|
408, 409, 1158, 595, 630, 928, 254, 589, 929, 392,
|
|
930, 938, 397, 400, 695, 473, 512, 506, 417, 1119,
|
|
590, 617, 654, 452, 480, 628, 640, 627, 487, 440,
|
|
423, 324, 970, 978, 494, 471, 992, 349, 1000, 748,
|
|
1166, 648, 496, 1008, 649, 1015, 1018, 539, 540, 485,
|
|
1030, 264, 1033, 497, 1042, 23, 675, 1047, 1048, 676,
|
|
650, 1070, 651, 677, 652, 1072, 470, 585, 1080, 460,
|
|
1088, 1326, 461, 1092, 262, 1095, 277, 353, 376, 441,
|
|
1102, 1103, 9, 1109, 705, 706, 19, 273, 516, 1137,
|
|
696, 1143, 272, 1146, 457, 1165, 456, 1235, 1237, 567,
|
|
498, 1255, 310, 1258, 688, 513, 1263, 453, 1328, 454,
|
|
541, 481, 332, 542, 1371, 305, 356, 329, 558, 311,
|
|
357, 543, 482, 1334, 1342, 326, 31, 1361, 1372, 600,
|
|
622
|
|
);
|
|
|
|
protected array $ruleToNonTerminal = array(
|
|
0, 1, 3, 3, 2, 5, 5, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
|
6, 6, 6, 6, 6, 6, 6, 7, 7, 7,
|
|
7, 7, 7, 7, 7, 8, 8, 9, 10, 11,
|
|
11, 11, 12, 12, 13, 13, 14, 15, 15, 16,
|
|
16, 17, 17, 18, 18, 21, 21, 22, 23, 23,
|
|
24, 24, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 29, 29, 30, 30, 32, 34, 34,
|
|
28, 36, 36, 33, 38, 38, 35, 35, 37, 37,
|
|
39, 39, 31, 40, 40, 41, 43, 44, 44, 45,
|
|
45, 46, 46, 48, 47, 47, 47, 47, 49, 49,
|
|
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
|
|
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
|
|
49, 49, 25, 25, 50, 69, 69, 72, 72, 71,
|
|
70, 70, 63, 75, 75, 76, 76, 77, 77, 78,
|
|
78, 79, 79, 80, 80, 26, 26, 27, 27, 27,
|
|
27, 27, 88, 88, 90, 90, 83, 83, 91, 91,
|
|
92, 92, 92, 84, 84, 87, 87, 85, 85, 93,
|
|
94, 94, 57, 57, 65, 65, 68, 68, 68, 67,
|
|
95, 95, 96, 58, 58, 58, 58, 97, 97, 98,
|
|
98, 99, 99, 100, 101, 101, 102, 102, 103, 103,
|
|
55, 55, 51, 51, 105, 53, 53, 106, 52, 52,
|
|
54, 54, 64, 64, 64, 64, 81, 81, 109, 109,
|
|
111, 111, 112, 112, 112, 112, 112, 112, 112, 110,
|
|
110, 110, 115, 115, 115, 115, 89, 89, 118, 118,
|
|
118, 119, 119, 116, 116, 120, 120, 122, 122, 123,
|
|
123, 117, 124, 124, 121, 125, 125, 125, 125, 113,
|
|
113, 82, 82, 82, 20, 20, 20, 127, 126, 126,
|
|
128, 128, 128, 128, 60, 129, 129, 130, 61, 132,
|
|
132, 133, 133, 134, 134, 86, 135, 135, 135, 135,
|
|
135, 135, 135, 135, 141, 141, 142, 142, 143, 143,
|
|
143, 143, 143, 144, 145, 145, 140, 140, 136, 136,
|
|
139, 139, 147, 147, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 137, 148, 148, 150, 149, 149,
|
|
138, 138, 114, 114, 151, 151, 153, 153, 153, 152,
|
|
152, 62, 104, 154, 154, 56, 56, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 161, 162, 162, 163, 155, 155, 160, 160, 164,
|
|
165, 165, 166, 167, 168, 168, 168, 168, 19, 19,
|
|
73, 73, 73, 73, 156, 156, 156, 156, 170, 170,
|
|
159, 159, 159, 157, 157, 176, 176, 176, 176, 176,
|
|
176, 176, 176, 176, 176, 177, 177, 177, 108, 179,
|
|
179, 179, 179, 158, 158, 158, 158, 158, 158, 158,
|
|
158, 59, 59, 173, 173, 173, 173, 173, 180, 180,
|
|
169, 169, 169, 169, 181, 181, 181, 181, 181, 74,
|
|
74, 66, 66, 66, 66, 131, 131, 131, 131, 184,
|
|
183, 172, 172, 172, 172, 172, 172, 171, 171, 171,
|
|
182, 182, 182, 182, 107, 178, 186, 186, 185, 185,
|
|
187, 187, 187, 187, 187, 187, 187, 187, 175, 175,
|
|
175, 175, 174, 189, 188, 188, 188, 188, 188, 188,
|
|
188, 188, 190, 190, 190, 190
|
|
);
|
|
|
|
protected array $ruleToLength = array(
|
|
1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
|
|
1, 0, 1, 1, 2, 1, 3, 4, 1, 2,
|
|
0, 1, 1, 1, 1, 4, 3, 5, 4, 3,
|
|
4, 2, 3, 1, 1, 7, 6, 2, 3, 1,
|
|
2, 3, 1, 2, 3, 1, 1, 3, 1, 3,
|
|
1, 2, 2, 3, 1, 3, 2, 3, 1, 3,
|
|
3, 2, 0, 1, 1, 1, 1, 1, 3, 7,
|
|
10, 5, 7, 9, 5, 3, 3, 3, 3, 3,
|
|
3, 1, 2, 5, 7, 9, 6, 5, 6, 3,
|
|
2, 1, 1, 1, 1, 0, 2, 1, 3, 8,
|
|
0, 4, 2, 1, 3, 0, 1, 0, 1, 0,
|
|
1, 3, 1, 1, 1, 8, 9, 7, 8, 7,
|
|
6, 8, 0, 2, 0, 2, 1, 2, 1, 2,
|
|
1, 1, 1, 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, 7, 0, 2, 1, 3, 3, 4,
|
|
1, 4, 0, 2, 5, 0, 2, 6, 0, 2,
|
|
0, 3, 1, 2, 1, 1, 2, 0, 1, 3,
|
|
0, 2, 1, 1, 1, 1, 1, 1, 1, 7,
|
|
9, 6, 1, 2, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 3, 3, 3, 1, 3, 3, 3, 3,
|
|
3, 1, 3, 3, 1, 1, 2, 1, 1, 0,
|
|
1, 0, 2, 2, 2, 4, 3, 1, 1, 3,
|
|
1, 2, 2, 3, 2, 3, 1, 1, 2, 3,
|
|
1, 1, 3, 2, 0, 1, 5, 7, 5, 6,
|
|
10, 3, 5, 1, 1, 3, 0, 2, 4, 5,
|
|
4, 4, 4, 3, 1, 1, 1, 1, 1, 1,
|
|
0, 1, 1, 2, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 2, 1, 3, 1, 1, 3,
|
|
0, 2, 0, 3, 5, 8, 1, 3, 3, 0,
|
|
2, 2, 2, 3, 1, 0, 1, 1, 3, 3,
|
|
3, 4, 4, 1, 1, 2, 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, 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, 2, 8, 9, 8, 9, 9, 10, 9,
|
|
10, 8, 3, 2, 2, 1, 1, 0, 4, 2,
|
|
1, 3, 2, 1, 2, 2, 2, 4, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 3, 1, 1, 1,
|
|
0, 1, 1, 0, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 3, 5, 3, 3, 4,
|
|
1, 1, 3, 1, 1, 1, 1, 1, 3, 2,
|
|
3, 0, 1, 1, 3, 1, 1, 1, 1, 1,
|
|
1, 3, 1, 1, 1, 4, 1, 4, 4, 0,
|
|
1, 1, 1, 3, 3, 1, 4, 2, 2, 1,
|
|
3, 1, 4, 3, 3, 3, 3, 1, 3, 1,
|
|
1, 3, 1, 1, 4, 1, 1, 1, 3, 1,
|
|
1, 2, 1, 3, 4, 3, 2, 0, 2, 2,
|
|
1, 2, 1, 1, 1, 4, 3, 3, 3, 3,
|
|
6, 3, 1, 1, 2, 1
|
|
);
|
|
|
|
protected function initReduceCallbacks(): void {
|
|
$this->reduceCallbacks = [
|
|
0 => null,
|
|
1 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->handleNamespaces($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
2 => static function ($self, $stackPos) {
|
|
if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; } $self->semValue = $self->semStack[$stackPos-(2-1)];;
|
|
},
|
|
3 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
4 => static function ($self, $stackPos) {
|
|
$nop = $self->maybeCreateZeroLengthNop($self->tokenPos);;
|
|
if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)];
|
|
},
|
|
5 => null,
|
|
6 => null,
|
|
7 => null,
|
|
8 => null,
|
|
9 => null,
|
|
10 => null,
|
|
11 => null,
|
|
12 => null,
|
|
13 => null,
|
|
14 => null,
|
|
15 => null,
|
|
16 => null,
|
|
17 => null,
|
|
18 => null,
|
|
19 => null,
|
|
20 => null,
|
|
21 => null,
|
|
22 => null,
|
|
23 => null,
|
|
24 => null,
|
|
25 => null,
|
|
26 => null,
|
|
27 => null,
|
|
28 => null,
|
|
29 => null,
|
|
30 => null,
|
|
31 => null,
|
|
32 => null,
|
|
33 => null,
|
|
34 => null,
|
|
35 => null,
|
|
36 => null,
|
|
37 => null,
|
|
38 => null,
|
|
39 => null,
|
|
40 => null,
|
|
41 => null,
|
|
42 => null,
|
|
43 => null,
|
|
44 => null,
|
|
45 => null,
|
|
46 => null,
|
|
47 => null,
|
|
48 => null,
|
|
49 => null,
|
|
50 => null,
|
|
51 => null,
|
|
52 => null,
|
|
53 => null,
|
|
54 => null,
|
|
55 => null,
|
|
56 => null,
|
|
57 => null,
|
|
58 => null,
|
|
59 => null,
|
|
60 => null,
|
|
61 => null,
|
|
62 => null,
|
|
63 => null,
|
|
64 => null,
|
|
65 => null,
|
|
66 => null,
|
|
67 => null,
|
|
68 => null,
|
|
69 => null,
|
|
70 => null,
|
|
71 => null,
|
|
72 => null,
|
|
73 => null,
|
|
74 => null,
|
|
75 => null,
|
|
76 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)]; if ($self->semValue === "<?=") $self->emitError(new Error('Cannot use "<?=" as an identifier', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])));
|
|
},
|
|
77 => null,
|
|
78 => null,
|
|
79 => null,
|
|
80 => null,
|
|
81 => null,
|
|
82 => null,
|
|
83 => null,
|
|
84 => null,
|
|
85 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
86 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
87 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
88 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
89 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
90 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
91 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
92 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
93 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
94 => null,
|
|
95 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
96 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
97 => static function ($self, $stackPos) {
|
|
/* nothing */
|
|
},
|
|
98 => static function ($self, $stackPos) {
|
|
/* nothing */
|
|
},
|
|
99 => static function ($self, $stackPos) {
|
|
/* nothing */
|
|
},
|
|
100 => static function ($self, $stackPos) {
|
|
$self->emitError(new Error('A trailing comma is not allowed here', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])));
|
|
},
|
|
101 => null,
|
|
102 => null,
|
|
103 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Attribute($self->semStack[$stackPos-(1-1)], [], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
104 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Attribute($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
105 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
106 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
107 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\AttributeGroup($self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
108 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
109 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
110 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
111 => null,
|
|
112 => null,
|
|
113 => null,
|
|
114 => null,
|
|
115 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\HaltCompiler($self->handleHaltCompiler(), $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
116 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Namespace_($self->semStack[$stackPos-(3-2)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON);
|
|
$self->checkNamespace($self->semValue);
|
|
},
|
|
117 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Namespace_($self->semStack[$stackPos-(5-2)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$self->checkNamespace($self->semValue);
|
|
},
|
|
118 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Namespace_(null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED);
|
|
$self->checkNamespace($self->semValue);
|
|
},
|
|
119 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Use_($self->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
120 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Use_($self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
121 => null,
|
|
122 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Const_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
123 => static function ($self, $stackPos) {
|
|
$self->semValue = Stmt\Use_::TYPE_FUNCTION;
|
|
},
|
|
124 => static function ($self, $stackPos) {
|
|
$self->semValue = Stmt\Use_::TYPE_CONSTANT;
|
|
},
|
|
125 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\GroupUse($self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-6)], $self->semStack[$stackPos-(7-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
126 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\GroupUse($self->semStack[$stackPos-(6-2)], $self->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
127 => null,
|
|
128 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
129 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
130 => null,
|
|
131 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
132 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
133 => null,
|
|
134 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
135 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
136 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UseItem($self->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(1-1));
|
|
},
|
|
137 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UseItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(3-3));
|
|
},
|
|
138 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UseItem($self->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(1-1));
|
|
},
|
|
139 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UseItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->checkUseUse($self->semValue, $stackPos-(3-3));
|
|
},
|
|
140 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)]; $self->semValue->type = Stmt\Use_::TYPE_NORMAL;
|
|
},
|
|
141 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)]; $self->semValue->type = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
142 => null,
|
|
143 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
144 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
145 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Const_($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
146 => null,
|
|
147 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
148 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
149 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Const_(new Node\Identifier($self->semStack[$stackPos-(3-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
150 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Const_(new Node\Identifier($self->semStack[$stackPos-(3-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
151 => static function ($self, $stackPos) {
|
|
if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; } $self->semValue = $self->semStack[$stackPos-(2-1)];;
|
|
},
|
|
152 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
153 => static function ($self, $stackPos) {
|
|
$nop = $self->maybeCreateZeroLengthNop($self->tokenPos);;
|
|
if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)];
|
|
},
|
|
154 => null,
|
|
155 => null,
|
|
156 => null,
|
|
157 => static function ($self, $stackPos) {
|
|
throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
158 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
159 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\If_($self->semStack[$stackPos-(7-3)], ['stmts' => $self->semStack[$stackPos-(7-5)], 'elseifs' => $self->semStack[$stackPos-(7-6)], 'else' => $self->semStack[$stackPos-(7-7)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
160 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\If_($self->semStack[$stackPos-(10-3)], ['stmts' => $self->semStack[$stackPos-(10-6)], 'elseifs' => $self->semStack[$stackPos-(10-7)], 'else' => $self->semStack[$stackPos-(10-8)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
161 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\While_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
162 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Do_($self->semStack[$stackPos-(7-5)], $self->semStack[$stackPos-(7-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
163 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\For_(['init' => $self->semStack[$stackPos-(9-3)], 'cond' => $self->semStack[$stackPos-(9-5)], 'loop' => $self->semStack[$stackPos-(9-7)], 'stmts' => $self->semStack[$stackPos-(9-9)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
164 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Switch_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
165 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Break_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
166 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Continue_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
167 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
168 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Global_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
169 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Static_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
170 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Echo_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
171 => static function ($self, $stackPos) {
|
|
|
|
$self->semValue = new Stmt\InlineHTML($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->semValue->setAttribute('hasLeadingNewline', $self->inlineHtmlHasLeadingNewline($stackPos-(1-1)));
|
|
|
|
},
|
|
172 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Expression($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
173 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Unset_($self->semStack[$stackPos-(5-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
174 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $self->semStack[$stackPos-(7-5)][1], 'stmts' => $self->semStack[$stackPos-(7-7)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
175 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(9-3)], $self->semStack[$stackPos-(9-7)][0], ['keyVar' => $self->semStack[$stackPos-(9-5)], 'byRef' => $self->semStack[$stackPos-(9-7)][1], 'stmts' => $self->semStack[$stackPos-(9-9)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
176 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Foreach_($self->semStack[$stackPos-(6-3)], new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(6-4)], $self->tokenEndStack[$stackPos-(6-4)])), ['stmts' => $self->semStack[$stackPos-(6-6)]], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
177 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Declare_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
178 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TryCatch($self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-5)], $self->semStack[$stackPos-(6-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); $self->checkTryCatch($self->semValue);
|
|
},
|
|
179 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Goto_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
180 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Label($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
181 => static function ($self, $stackPos) {
|
|
$self->semValue = null; /* means: no statement */
|
|
},
|
|
182 => null,
|
|
183 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->maybeCreateNop($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]);
|
|
},
|
|
184 => static function ($self, $stackPos) {
|
|
if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$stackPos-(1-1)]->stmts; } else if ($self->semStack[$stackPos-(1-1)] === null) { $self->semValue = []; } else { $self->semValue = [$self->semStack[$stackPos-(1-1)]]; };
|
|
},
|
|
185 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
186 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
187 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
188 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
189 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Catch_($self->semStack[$stackPos-(8-3)], $self->semStack[$stackPos-(8-4)], $self->semStack[$stackPos-(8-7)], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
190 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
191 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Finally_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
192 => null,
|
|
193 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
194 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
195 => static function ($self, $stackPos) {
|
|
$self->semValue = false;
|
|
},
|
|
196 => static function ($self, $stackPos) {
|
|
$self->semValue = true;
|
|
},
|
|
197 => static function ($self, $stackPos) {
|
|
$self->semValue = false;
|
|
},
|
|
198 => static function ($self, $stackPos) {
|
|
$self->semValue = true;
|
|
},
|
|
199 => static function ($self, $stackPos) {
|
|
$self->semValue = false;
|
|
},
|
|
200 => static function ($self, $stackPos) {
|
|
$self->semValue = true;
|
|
},
|
|
201 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
202 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
203 => null,
|
|
204 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
205 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Function_($self->semStack[$stackPos-(8-3)], ['byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-5)], 'returnType' => $self->semStack[$stackPos-(8-7)], 'stmts' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
206 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Function_($self->semStack[$stackPos-(9-4)], ['byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-6)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
207 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Class_($self->semStack[$stackPos-(7-2)], ['type' => $self->semStack[$stackPos-(7-1)], 'extends' => $self->semStack[$stackPos-(7-3)], 'implements' => $self->semStack[$stackPos-(7-4)], 'stmts' => $self->semStack[$stackPos-(7-6)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkClass($self->semValue, $stackPos-(7-2));
|
|
},
|
|
208 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Class_($self->semStack[$stackPos-(8-3)], ['type' => $self->semStack[$stackPos-(8-2)], 'extends' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkClass($self->semValue, $stackPos-(8-3));
|
|
},
|
|
209 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Interface_($self->semStack[$stackPos-(7-3)], ['extends' => $self->semStack[$stackPos-(7-4)], 'stmts' => $self->semStack[$stackPos-(7-6)], 'attrGroups' => $self->semStack[$stackPos-(7-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkInterface($self->semValue, $stackPos-(7-3));
|
|
},
|
|
210 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Trait_($self->semStack[$stackPos-(6-3)], ['stmts' => $self->semStack[$stackPos-(6-5)], 'attrGroups' => $self->semStack[$stackPos-(6-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
211 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkEnum($self->semValue, $stackPos-(8-3));
|
|
},
|
|
212 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
213 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
214 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
215 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
216 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
217 => null,
|
|
218 => null,
|
|
219 => static function ($self, $stackPos) {
|
|
$self->checkClassModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
220 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::ABSTRACT;
|
|
},
|
|
221 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::FINAL;
|
|
},
|
|
222 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::READONLY;
|
|
},
|
|
223 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
224 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
225 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
226 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
227 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
228 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
229 => null,
|
|
230 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
231 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
232 => null,
|
|
233 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
234 => null,
|
|
235 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
236 => static function ($self, $stackPos) {
|
|
if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$stackPos-(1-1)]->stmts; } else if ($self->semStack[$stackPos-(1-1)] === null) { $self->semValue = []; } else { $self->semValue = [$self->semStack[$stackPos-(1-1)]]; };
|
|
},
|
|
237 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
238 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
239 => null,
|
|
240 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
241 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
242 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\DeclareItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
243 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
244 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-3)];
|
|
},
|
|
245 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
246 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(5-3)];
|
|
},
|
|
247 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
248 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
249 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Case_($self->semStack[$stackPos-(4-2)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
250 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Case_(null, $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
251 => null,
|
|
252 => null,
|
|
253 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Match_($self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
254 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
255 => null,
|
|
256 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
257 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
258 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\MatchArm($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
259 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\MatchArm(null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
260 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)];
|
|
},
|
|
261 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
262 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
263 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
264 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\ElseIf_($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
265 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
266 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
267 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\ElseIf_($self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-6)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])); $self->fixupAlternativeElse($self->semValue);
|
|
},
|
|
268 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
269 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
270 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
271 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->fixupAlternativeElse($self->semValue);
|
|
},
|
|
272 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
273 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(2-2)], true);
|
|
},
|
|
274 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)], false);
|
|
},
|
|
275 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->fixupArrayDestructuring($self->semStack[$stackPos-(1-1)]), false);
|
|
},
|
|
276 => null,
|
|
277 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
278 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
279 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
280 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
281 => static function ($self, $stackPos) {
|
|
$self->checkModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
282 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PUBLIC;
|
|
},
|
|
283 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PROTECTED;
|
|
},
|
|
284 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PRIVATE;
|
|
},
|
|
285 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PUBLIC_SET;
|
|
},
|
|
286 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PROTECTED_SET;
|
|
},
|
|
287 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PRIVATE_SET;
|
|
},
|
|
288 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::READONLY;
|
|
},
|
|
289 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Param($self->semStack[$stackPos-(7-6)], null, $self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-4)], $self->semStack[$stackPos-(7-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(7-2)], $self->semStack[$stackPos-(7-1)], $self->semStack[$stackPos-(7-7)]);
|
|
$self->checkParam($self->semValue);
|
|
},
|
|
290 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Param($self->semStack[$stackPos-(9-6)], $self->semStack[$stackPos-(9-8)], $self->semStack[$stackPos-(9-3)], $self->semStack[$stackPos-(9-4)], $self->semStack[$stackPos-(9-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(9-2)], $self->semStack[$stackPos-(9-1)], $self->semStack[$stackPos-(9-9)]);
|
|
$self->checkParam($self->semValue);
|
|
},
|
|
291 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Param(new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos])), null, $self->semStack[$stackPos-(6-3)], $self->semStack[$stackPos-(6-4)], $self->semStack[$stackPos-(6-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(6-2)], $self->semStack[$stackPos-(6-1)]);
|
|
},
|
|
292 => null,
|
|
293 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
294 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
295 => null,
|
|
296 => null,
|
|
297 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
298 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->handleBuiltinTypes($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
299 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier('array', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
300 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier('callable', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
301 => null,
|
|
302 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
303 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
304 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
305 => null,
|
|
306 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
307 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
308 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
309 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
310 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
311 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
312 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
313 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
314 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
315 => null,
|
|
316 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
317 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
318 => null,
|
|
319 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
320 => null,
|
|
321 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
322 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
323 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
324 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
325 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
326 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-2)]);
|
|
},
|
|
327 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\VariadicPlaceholder($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
328 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
329 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
330 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Arg($self->semStack[$stackPos-(1-1)], false, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
331 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Arg($self->semStack[$stackPos-(2-2)], true, false, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
332 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Arg($self->semStack[$stackPos-(2-2)], false, true, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
333 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Arg($self->semStack[$stackPos-(3-3)], false, false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(3-1)]);
|
|
},
|
|
334 => null,
|
|
335 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
336 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
337 => null,
|
|
338 => null,
|
|
339 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
340 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
341 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\StaticVar($self->semStack[$stackPos-(1-1)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
342 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\StaticVar($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
343 => static function ($self, $stackPos) {
|
|
if ($self->semStack[$stackPos-(2-2)] !== null) { $self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)]; } else { $self->semValue = $self->semStack[$stackPos-(2-1)]; }
|
|
},
|
|
344 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
345 => static function ($self, $stackPos) {
|
|
$nop = $self->maybeCreateZeroLengthNop($self->tokenPos);;
|
|
if ($nop !== null) { $self->semStack[$stackPos-(1-1)][] = $nop; } $self->semValue = $self->semStack[$stackPos-(1-1)];
|
|
},
|
|
346 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Property($self->semStack[$stackPos-(5-2)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-1)]);
|
|
},
|
|
347 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\Property($self->semStack[$stackPos-(7-2)], $self->semStack[$stackPos-(7-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(7-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(7-3)], $self->semStack[$stackPos-(7-1)], $self->semStack[$stackPos-(7-6)]);
|
|
$self->checkPropertyHookList($self->semStack[$stackPos-(7-6)], $stackPos-(7-5));
|
|
},
|
|
348 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\ClassConst($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(5-1)]);
|
|
$self->checkClassConst($self->semValue, $stackPos-(5-2));
|
|
},
|
|
349 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\ClassConst($self->semStack[$stackPos-(6-5)], $self->semStack[$stackPos-(6-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]), $self->semStack[$stackPos-(6-1)], $self->semStack[$stackPos-(6-4)]);
|
|
$self->checkClassConst($self->semValue, $stackPos-(6-2));
|
|
},
|
|
350 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\ClassMethod($self->semStack[$stackPos-(10-5)], ['type' => $self->semStack[$stackPos-(10-2)], 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-7)], 'returnType' => $self->semStack[$stackPos-(10-9)], 'stmts' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkClassMethod($self->semValue, $stackPos-(10-2));
|
|
},
|
|
351 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
352 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\EnumCase($self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
353 => static function ($self, $stackPos) {
|
|
$self->semValue = null; /* will be skipped */
|
|
},
|
|
354 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
355 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
356 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
357 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
358 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUseAdaptation\Precedence($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
359 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(5-1)][0], $self->semStack[$stackPos-(5-1)][1], $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
360 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], $self->semStack[$stackPos-(4-3)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
361 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
362 => static function ($self, $stackPos) {
|
|
$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->semStack[$stackPos-(4-1)][1], null, $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
363 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
364 => null,
|
|
365 => static function ($self, $stackPos) {
|
|
$self->semValue = array(null, $self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
366 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
367 => null,
|
|
368 => null,
|
|
369 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
370 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
371 => null,
|
|
372 => null,
|
|
373 => static function ($self, $stackPos) {
|
|
$self->checkModifier($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
374 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PUBLIC;
|
|
},
|
|
375 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PROTECTED;
|
|
},
|
|
376 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PRIVATE;
|
|
},
|
|
377 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PUBLIC_SET;
|
|
},
|
|
378 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PROTECTED_SET;
|
|
},
|
|
379 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PRIVATE_SET;
|
|
},
|
|
380 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::STATIC;
|
|
},
|
|
381 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::ABSTRACT;
|
|
},
|
|
382 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::FINAL;
|
|
},
|
|
383 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::READONLY;
|
|
},
|
|
384 => null,
|
|
385 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
386 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
387 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\VarLikeIdentifier(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
388 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\PropertyItem($self->semStack[$stackPos-(1-1)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
389 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\PropertyItem($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
390 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
391 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
392 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
393 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)]; $self->checkPropertyHookList($self->semStack[$stackPos-(3-2)], $stackPos-(3-1));
|
|
},
|
|
394 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPos-(5-5)], ['flags' => $self->semStack[$stackPos-(5-2)], 'byRef' => $self->semStack[$stackPos-(5-3)], 'params' => [], 'attrGroups' => $self->semStack[$stackPos-(5-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkPropertyHook($self->semValue, null);
|
|
},
|
|
395 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(8-4)], $self->semStack[$stackPos-(8-8)], ['flags' => $self->semStack[$stackPos-(8-2)], 'byRef' => $self->semStack[$stackPos-(8-3)], 'params' => $self->semStack[$stackPos-(8-6)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
$self->checkPropertyHook($self->semValue, $stackPos-(8-5));
|
|
},
|
|
396 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
397 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
398 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
399 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
400 => static function ($self, $stackPos) {
|
|
$self->checkPropertyHookModifiers($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $self->semValue = $self->semStack[$stackPos-(2-1)] | $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
401 => null,
|
|
402 => null,
|
|
403 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
404 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
405 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
406 => null,
|
|
407 => null,
|
|
408 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
409 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Assign($self->fixupArrayDestructuring($self->semStack[$stackPos-(3-1)]), $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
410 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
411 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignRef($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
412 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignRef($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
if (!$self->phpVersion->allowsAssignNewByReference()) {
|
|
$self->emitError(new Error('Cannot assign new by reference', $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])));
|
|
}
|
|
|
|
},
|
|
413 => null,
|
|
414 => null,
|
|
415 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Clone_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
416 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
417 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Minus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
418 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Mul($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
419 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
420 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
421 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
422 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
423 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\BitwiseOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
424 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\BitwiseXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
425 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\ShiftLeft($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
426 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\ShiftRight($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
427 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Pow($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
428 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\AssignOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
429 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PostInc($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
430 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PreInc($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
431 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PostDec($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
432 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PreDec($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
433 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BooleanOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
434 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BooleanAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
435 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\LogicalOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
436 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\LogicalAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
437 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\LogicalXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
438 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BitwiseOr($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
439 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
440 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BitwiseAnd($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
441 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\BitwiseXor($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
442 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
443 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
444 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Minus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
445 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Mul($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
446 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
447 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
448 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\ShiftLeft($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
449 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\ShiftRight($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
450 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Pow($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
451 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\UnaryPlus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
452 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
453 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BooleanNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
454 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BitwiseNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
455 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Identical($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
456 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\NotIdentical($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
457 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Equal($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
458 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\NotEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
459 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Spaceship($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
460 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Smaller($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
461 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\SmallerOrEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
462 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Greater($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
463 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\GreaterOrEqual($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
464 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Instanceof_($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
465 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
466 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Ternary($self->semStack[$stackPos-(5-1)], $self->semStack[$stackPos-(5-3)], $self->semStack[$stackPos-(5-5)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
467 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Ternary($self->semStack[$stackPos-(4-1)], null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
468 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BinaryOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
469 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Isset_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
470 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Empty_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
471 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
472 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
473 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Eval_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
474 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
475 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Include_($self->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
476 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\Int_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
477 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]);
|
|
$attrs['kind'] = $self->getFloatCastKind($self->semStack[$stackPos-(2-1)]);
|
|
$self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs);
|
|
},
|
|
478 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\String_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
479 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\Array_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
480 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\Object_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
481 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\Bool_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
482 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Cast\Unset_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
483 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->createExitExpr($self->semStack[$stackPos-(2-1)], $stackPos-(2-1), $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
484 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ErrorSuppress($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
485 => null,
|
|
486 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ShellExec($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
487 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Print_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
488 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Yield_(null, null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
489 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(2-2)], null, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
490 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
491 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\YieldFrom($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
492 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
493 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-4)], 'returnType' => $self->semStack[$stackPos-(8-6)], 'expr' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
494 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'returnType' => $self->semStack[$stackPos-(9-7)], 'expr' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
495 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)], 'params' => $self->semStack[$stackPos-(8-4)], 'uses' => $self->semStack[$stackPos-(8-6)], 'returnType' => $self->semStack[$stackPos-(8-7)], 'stmts' => $self->semStack[$stackPos-(8-8)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
496 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'uses' => $self->semStack[$stackPos-(9-7)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => []], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
497 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'returnType' => $self->semStack[$stackPos-(9-7)], 'expr' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
498 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-6)], 'returnType' => $self->semStack[$stackPos-(10-8)], 'expr' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
499 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)], 'params' => $self->semStack[$stackPos-(9-5)], 'uses' => $self->semStack[$stackPos-(9-7)], 'returnType' => $self->semStack[$stackPos-(9-8)], 'stmts' => $self->semStack[$stackPos-(9-9)], 'attrGroups' => $self->semStack[$stackPos-(9-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(9-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
500 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)], 'params' => $self->semStack[$stackPos-(10-6)], 'uses' => $self->semStack[$stackPos-(10-8)], 'returnType' => $self->semStack[$stackPos-(10-9)], 'stmts' => $self->semStack[$stackPos-(10-10)], 'attrGroups' => $self->semStack[$stackPos-(10-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(10-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
501 => static function ($self, $stackPos) {
|
|
$self->semValue = array(new Stmt\Class_(null, ['type' => $self->semStack[$stackPos-(8-2)], 'extends' => $self->semStack[$stackPos-(8-4)], 'implements' => $self->semStack[$stackPos-(8-5)], 'stmts' => $self->semStack[$stackPos-(8-7)], 'attrGroups' => $self->semStack[$stackPos-(8-1)]], $self->getAttributes($self->tokenStartStack[$stackPos-(8-1)], $self->tokenEndStack[$stackPos])), $self->semStack[$stackPos-(8-3)]);
|
|
$self->checkClass($self->semValue[0], -1);
|
|
},
|
|
502 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\New_($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
503 => static function ($self, $stackPos) {
|
|
list($class, $ctorArgs) = $self->semStack[$stackPos-(2-2)]; $self->semValue = new Expr\New_($class, $ctorArgs, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
504 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\New_($self->semStack[$stackPos-(2-2)], [], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
505 => null,
|
|
506 => null,
|
|
507 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
508 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-3)];
|
|
},
|
|
509 => null,
|
|
510 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
511 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
512 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ClosureUse($self->semStack[$stackPos-(2-2)], $self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
513 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
514 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
515 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
516 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\FuncCall($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
517 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\StaticCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
518 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
519 => null,
|
|
520 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
521 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
522 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name\FullyQualified(substr($self->semStack[$stackPos-(1-1)], 1), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
523 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name\Relative(substr($self->semStack[$stackPos-(1-1)], 10), $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
524 => null,
|
|
525 => null,
|
|
526 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
527 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
528 => null,
|
|
529 => null,
|
|
530 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
531 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]); foreach ($self->semValue as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', $self->phpVersion->supportsUnicodeEscapes()); } };
|
|
},
|
|
532 => static function ($self, $stackPos) {
|
|
foreach ($self->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', $self->phpVersion->supportsUnicodeEscapes()); } }; $self->semValue = $self->semStack[$stackPos-(1-1)];
|
|
},
|
|
533 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
534 => null,
|
|
535 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ConstFetch($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
536 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
537 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
538 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
539 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Class_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
540 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
541 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Method($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
542 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Function_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
543 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Namespace_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
544 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Property($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
545 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
546 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(5-1)], $self->semStack[$stackPos-(5-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(5-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
547 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ClassConstFetch($self->semStack[$stackPos-(3-1)], new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)])), $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
548 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Expr\Array_::KIND_SHORT;
|
|
$self->semValue = new Expr\Array_($self->semStack[$stackPos-(3-2)], $attrs);
|
|
},
|
|
549 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Expr\Array_::KIND_LONG;
|
|
$self->semValue = new Expr\Array_($self->semStack[$stackPos-(4-3)], $attrs);
|
|
$self->createdArrays->attach($self->semValue);
|
|
},
|
|
550 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)]; $self->createdArrays->attach($self->semValue);
|
|
},
|
|
551 => static function ($self, $stackPos) {
|
|
$self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]), $self->phpVersion->supportsUnicodeEscapes());
|
|
},
|
|
552 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]); $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED;
|
|
foreach ($self->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', $self->phpVersion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semStack[$stackPos-(3-2)], $attrs);
|
|
},
|
|
553 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseLNumber($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]), $self->phpVersion->allowsInvalidOctals());
|
|
},
|
|
554 => static function ($self, $stackPos) {
|
|
$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
555 => null,
|
|
556 => null,
|
|
557 => null,
|
|
558 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseDocString($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)]), true);
|
|
},
|
|
559 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseDocString($self->semStack[$stackPos-(2-1)], '', $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(2-2)], $self->tokenEndStack[$stackPos-(2-2)]), true);
|
|
},
|
|
560 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseDocString($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]), $self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$stackPos-(3-3)]), true);
|
|
},
|
|
561 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
562 => null,
|
|
563 => null,
|
|
564 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
565 => null,
|
|
566 => null,
|
|
567 => null,
|
|
568 => null,
|
|
569 => null,
|
|
570 => null,
|
|
571 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
572 => null,
|
|
573 => null,
|
|
574 => null,
|
|
575 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
576 => null,
|
|
577 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\MethodCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
578 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\NullsafeMethodCall($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->semStack[$stackPos-(4-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
579 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
580 => null,
|
|
581 => null,
|
|
582 => null,
|
|
583 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
584 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
585 => null,
|
|
586 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
587 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
588 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable(new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])), $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
589 => static function ($self, $stackPos) {
|
|
$var = $self->semStack[$stackPos-(1-1)]->name; $self->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])) : $var;
|
|
},
|
|
590 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
591 => null,
|
|
592 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
593 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
594 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
595 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
596 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\StaticPropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
597 => null,
|
|
598 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
599 => null,
|
|
600 => null,
|
|
601 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
602 => null,
|
|
603 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
604 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\List_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos])); $self->semValue->setAttribute('kind', Expr\List_::KIND_LIST);
|
|
$self->postprocessList($self->semValue);
|
|
},
|
|
605 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)]; $end = count($self->semValue)-1; if ($self->semValue[$end]->value instanceof Expr\Error) array_pop($self->semValue);
|
|
},
|
|
606 => null,
|
|
607 => static function ($self, $stackPos) {
|
|
/* do nothing -- prevent default action of $$=$self->semStack[$1]. See $551. */
|
|
},
|
|
608 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
609 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
610 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(1-1)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
611 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(2-2)], null, true, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
612 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(1-1)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
613 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(3-3)], $self->semStack[$stackPos-(3-1)], false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
614 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-1)], true, $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
615 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(3-3)], $self->semStack[$stackPos-(3-1)], false, $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
616 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\ArrayItem($self->semStack[$stackPos-(2-2)], null, false, $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]), true);
|
|
},
|
|
617 => static function ($self, $stackPos) {
|
|
/* Create an Error node now to remember the position. We'll later either report an error,
|
|
or convert this into a null element, depending on whether this is a creation or destructuring context. */
|
|
$attrs = $self->createEmptyElemAttributes($self->tokenPos);
|
|
$self->semValue = new Node\ArrayItem(new Expr\Error($attrs), null, false, $attrs);
|
|
},
|
|
618 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
619 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
620 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
621 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)]);
|
|
},
|
|
622 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]); $attrs['rawValue'] = $self->semStack[$stackPos-(1-1)]; $self->semValue = new Node\InterpolatedStringPart($self->semStack[$stackPos-(1-1)], $attrs);
|
|
},
|
|
623 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
624 => null,
|
|
625 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(4-1)], $self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
626 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
627 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\NullsafePropertyFetch($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
628 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
629 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
630 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ArrayDimFetch($self->semStack[$stackPos-(6-2)], $self->semStack[$stackPos-(6-4)], $self->getAttributes($self->tokenStartStack[$stackPos-(6-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
631 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
632 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\String_($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
633 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseNumString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
634 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseNumString('-' . $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
635 => null,
|
|
];
|
|
}
|
|
}
|