mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 23:28:15 +01:00
03caf4cc99
Add hooks subnode to Stmt\Property and Param, which contains an array of PropertyHook. The property hook support is considered experimental and subject to change. RFC: https://wiki.php.net/rfc/property-hooks
2776 lines
180 KiB
PHP
2776 lines
180 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_VAR = 360;
|
|
public const T_UNSET = 361;
|
|
public const T_ISSET = 362;
|
|
public const T_EMPTY = 363;
|
|
public const T_HALT_COMPILER = 364;
|
|
public const T_CLASS = 365;
|
|
public const T_TRAIT = 366;
|
|
public const T_INTERFACE = 367;
|
|
public const T_ENUM = 368;
|
|
public const T_EXTENDS = 369;
|
|
public const T_IMPLEMENTS = 370;
|
|
public const T_OBJECT_OPERATOR = 371;
|
|
public const T_NULLSAFE_OBJECT_OPERATOR = 372;
|
|
public const T_LIST = 373;
|
|
public const T_ARRAY = 374;
|
|
public const T_CALLABLE = 375;
|
|
public const T_CLASS_C = 376;
|
|
public const T_TRAIT_C = 377;
|
|
public const T_METHOD_C = 378;
|
|
public const T_FUNC_C = 379;
|
|
public const T_PROPERTY_C = 380;
|
|
public const T_LINE = 381;
|
|
public const T_FILE = 382;
|
|
public const T_START_HEREDOC = 383;
|
|
public const T_END_HEREDOC = 384;
|
|
public const T_DOLLAR_OPEN_CURLY_BRACES = 385;
|
|
public const T_CURLY_OPEN = 386;
|
|
public const T_PAAMAYIM_NEKUDOTAYIM = 387;
|
|
public const T_NAMESPACE = 388;
|
|
public const T_NS_C = 389;
|
|
public const T_DIR = 390;
|
|
public const T_NS_SEPARATOR = 391;
|
|
public const T_ELLIPSIS = 392;
|
|
public const T_NAME_FULLY_QUALIFIED = 393;
|
|
public const T_NAME_QUALIFIED = 394;
|
|
public const T_NAME_RELATIVE = 395;
|
|
public const T_ATTRIBUTE = 396;
|
|
|
|
protected int $tokenToSymbolMapSize = 397;
|
|
protected int $actionTableSize = 1278;
|
|
protected int $gotoTableSize = 660;
|
|
|
|
protected int $invalidSymbol = 169;
|
|
protected int $errorSymbol = 1;
|
|
protected int $defaultAction = -32766;
|
|
protected int $unexpectedTokenRule = 32767;
|
|
|
|
protected int $YY2TBLSTATE = 442;
|
|
protected int $numNonLeafStates = 754;
|
|
|
|
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_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, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 56, 167, 169, 168, 55, 169, 169,
|
|
162, 163, 53, 51, 8, 52, 48, 54, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 31, 160,
|
|
44, 16, 46, 30, 68, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 70, 169, 161, 36, 169, 166, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 164, 35, 165, 58, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
169, 169, 169, 169, 169, 169, 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
|
|
);
|
|
|
|
protected array $action = array(
|
|
131, 132, 133, 592, 134, 135, 1338, 766, 767, 768,
|
|
136, 38,-32766,-32766,-32766, 1005,-32766,-32766,-32766,-32766,
|
|
-32766, 389, 388, 841,-32767,-32767,-32767,-32767, 102, 103,
|
|
104, 430, 956,-32766, 0, 760, 759,-32766, 852,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
|
|
-32767,-32766,-32766,-32766, 24, 769,-32766,-32766,-32766, 1128,
|
|
1129, 1130, 1127, 1126, 1125, 1131, -328, 1104, 843, 263,
|
|
137, 411, 773, 774, 775, 776, 1120,-32766, 436,-32766,
|
|
-32766,-32766,-32766,-32766, 158, 830, 777, 778, 779, 780,
|
|
781, 782, 783, 784, 785, 786, 806, 593, 807, 808,
|
|
809, 810, 798, 799, 345, 346, 801, 802, 787, 788,
|
|
789, 791, 792, 793, 360, 833, 834, 835, 836, 837,
|
|
594, 794, 795, 595, 596, -194, 818, 816, 817, 829,
|
|
813, 814,-32766, 1042, 597, 598, 812, 599, 600, 601,
|
|
602, -193, 603, 604, 1006, 845, 466, 467, 468, 815,
|
|
605, 606, 723, 138, 1051, 131, 132, 133, 592, 134,
|
|
135, 1075, 766, 767, 768, 136, 38, -110, 850, 82,
|
|
-85, 1372, -110, 322, -110,-32766,-32766,-32766, 291, 304,
|
|
760, 759, -110, -110, -110, -110, -110, -110, -110, -110,
|
|
760, 759,-32766,-32766,-32766, 736,-32766, 851,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766, 105, 106, 107, 108, 109,
|
|
769, 273, 237,-32766, 2,-32766,-32766,-32766,-32766, 103,
|
|
104, -328, 1297, 110, 263, 137, 411, 773, 774, 775,
|
|
776, -342, 751, 436, 36, 247, -85, 877, 846, 878,
|
|
830, 777, 778, 779, 780, 781, 782, 783, 784, 785,
|
|
786, 806, 593, 807, 808, 809, 810, 798, 799, 345,
|
|
346, 801, 802, 787, 788, 789, 791, 792, 793, 360,
|
|
833, 834, 835, 836, 837, 594, 794, 795, 595, 596,
|
|
-194, 818, 816, 817, 829, 813, 814, 849, -562, 597,
|
|
598, 812, 599, 600, 601, 602, -193, 603, 604,-32766,
|
|
83, 84, 85, 850, 815, 605, 606, 162, 147, 790,
|
|
761, 762, 763, 764, 765, 847, 766, 767, 768, 803,
|
|
804, 37, 26, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 1048, 273,-32766,
|
|
-32766,-32766, -562, -562, 616, 387, 388,-32766,-32766,-32766,
|
|
110, -272, 126, 35, 769, 430, 974, 975, -562, 1051,
|
|
-32766, 976,-32766,-32766,-32766, 490, 127, 970, 770, 771,
|
|
772, 773, 774, 775, 776, 139, 1105, 839, 143, 322,
|
|
749, 436, 1275, 282, 830, 777, 778, 779, 780, 781,
|
|
782, 783, 784, 785, 786, 806, 828, 807, 808, 809,
|
|
810, 798, 799, 800, 827, 801, 802, 787, 788, 789,
|
|
791, 792, 793, 832, 833, 834, 835, 836, 837, 838,
|
|
794, 795, 796, 797, 149, 818, 816, 817, 829, 813,
|
|
814, 566, -565, 805, 811, 812, 819, 820, 822, 821,
|
|
236, 823, 824, 1144,-32766,-32766,-32766, 741, 815, 826,
|
|
825, 50, 51, 52, 522, 53, 54, 1270, 1269, 1271,
|
|
-32766, 55, 56, 850, 57,-32766, 1106,-32766,-32766, 1048,
|
|
150, 292, 1128, 1129, 1130, 1127, 1126, 1125, 1131, 250,
|
|
974, 975, 1051, 1357, 308, 976, -563, -601, 1353, -601,
|
|
1356, 1051, -368, 1309, -368, 1074, -565, -565, 491, 310,
|
|
58, 59, 622, 319, 935, 60, 958, 61, 244, 245,
|
|
62, 63, 64, 65, 66, 67, 68, 69,-32766, 28,
|
|
265, 70, 451, 523, 286,-32766,-32766, 1303, 1304, 524,
|
|
1382, 850, 48, 1383, 726, 1301, 42, 19, 525, 935,
|
|
526, 339, 527, 75, 528, 935, 361, 529, 530, 322,
|
|
-563, -563, 44, 45, 452, 384, 383,-32766, 46, 531,
|
|
1038, 1037, 1036, 1039, 373, 338, -563, 841, 340, 727,
|
|
398, 1261, 7, 533, 534, 535, 1268, -561, -569, 1051,
|
|
760, 759, 323,-32766, -560, 537, 538, 925, 1289, 1290,
|
|
1291, 1292, 1294, 1286, 1287, 296, 298, 299, 877, 958,
|
|
878, 1293, 1288, 291,-32766, 1270, 1269, 1271, 297, 375,
|
|
1048, 71, 1266, 28, 266, 317, 318, 322, 381, -153,
|
|
-153, -153, 925, 935, 396, 850, 666, 20, 925, 1301,
|
|
685, 686, 1051, 1050, -153, 447, -153, 448, -153, 366,
|
|
-153, -561, -561, 148, 414, 152, 475, 476, -560, -560,
|
|
382, 140, 1270, 1269, 1271, 322, 282, -561, 385, 386,
|
|
449, 974, 975, 937, -560, 1261, 532, 721, 450, -568,
|
|
856, 911, 970, -110, -110, -110, -567, 390, 391, 537,
|
|
538, 153, 1289, 1290, 1291, 1292, 1294, 1286, 1287, 657,
|
|
658, 760, 759, 154, 286, 1293, 1288, 156, 937, 33,
|
|
-78, -87, 721, -559, 937, 73, 925, 49, 721, -153,
|
|
318, 322, 32, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, -58, -57,-32766, 124,
|
|
-4, 935, 292, 125, 1268, 128, 129, 142, 760, 759,
|
|
157,-32766,-32766,-32766, 699,-32766, -84,-32766, 159,-32766,
|
|
160, 161,-32766, -78, 935, 1177, 1179,-32766,-32766,-32766,
|
|
-73, 935, -72,-32766,-32766, 287, -559, -559, -559,-32766,
|
|
427, 300, 301, -71, -70,-32766, -69, -68,-32766, -67,
|
|
700, 1268, 937, -559, 728, -66, 721, 380,-32766,-32766,
|
|
-32766, 731,-32766, 935,-32766, -65,-32766, -46, -18,-32766,
|
|
146, 701, 702, 272,-32766,-32766,-32766, 283, 737, 74,
|
|
-32766,-32766, 740, 934, 925, 145,-32766, 427,-32766, 273,
|
|
1270, 1269, 1271, 738, -302,-32766, 282, 288, -298, 280,
|
|
-559, -559, 281, 28, 265, 284, 382, 925, 443, 285,
|
|
1051, 328, 293, 295, 925, 850, -559, 974, 975, 1301,
|
|
294, 695, 532, 952, 110, 841, 144, 536, 970, -110,
|
|
-110, -110, 850, 710, 291, 712, 28, 266, 571, 1135,
|
|
673, 1384, 688, 305, 655, 970, 925, 971, 850, 577,
|
|
-32766, 10, 1301, 302, 309, 1261, 1308, 672, 667, 303,
|
|
937, 1310,-32766, 954, 721, -4, 23, 849, 472, 501,
|
|
538, 1298, 1289, 1290, 1291, 1292, 1294, 1286, 1287, 689,
|
|
-50, 620, -595, 991, 0, 1293, 1288, 721, 1261, 861,
|
|
937, -523, 0, 0, 721, 73, 1325, 297, 0, 0,
|
|
318, 322, 0, 538, 0, 1289, 1290, 1291, 1292, 1294,
|
|
1286, 1287, 130, 0, 0, 0, 0, 0, 1293, 1288,
|
|
0, 0, 937,-32766, 0, 0, 721, -513, 73, 1268,
|
|
8, 27, 379, 318, 322, -594,-32766,-32766,-32766, 1342,
|
|
-32766, 0,-32766, 0,-32766, 1375, 40,-32766, 41, 746,
|
|
747, 869,-32766,-32766,-32766,-32766, 916, 1015,-32766,-32766,
|
|
992, 1268, 999, 935,-32766, 427, 989, 1000,-32766,-32766,
|
|
-32766, 914,-32766,-32766,-32766, 987,-32766, 1109, 1112,-32766,
|
|
1113, 1110, 935, 1146,-32766,-32766,-32766,-32766, 1111, 1117,
|
|
-32766,-32766, 660, 1268, -593, -569,-32766, 427, -568, -567,
|
|
-32766,-32766,-32766, -566,-32766,-32766,-32766, -507,-32766, 1,
|
|
29,-32766, 30, 39, 43, 496,-32766,-32766,-32766,-32766,
|
|
47, 72,-32766,-32766, 76, 1268, 584, 77,-32766, 427,
|
|
78, 79,-32766,-32766,-32766, 80,-32766,-32766,-32766, 81,
|
|
-32766, 141, 151,-32766, 155, 242, 925, 324,-32766,-32766,
|
|
-32766, 361, 362, 1275,-32766,-32766, 363, 364, 365, 366,
|
|
-32766, 427, -250, -250, -250, 925, 367, 368, 382,-32766,
|
|
1275, 369, 370, 371, 374, 1302, 444, 565, 372, 974,
|
|
975, -249, -249, -249, 532, -275, -273, 382, -272, 911,
|
|
970, -110, -110, -110, 12, 13, 14, 15, 974, 975,
|
|
-16, 17, 355, 532, 413, 492, 493, 500, 911, 970,
|
|
-110, -110, -110, 503, 504, 505, 506, 510,-32766, 511,
|
|
512, 519, 937, 582, 1268, 34, 721, -250, 705, 1279,
|
|
1217,-32766,-32766,-32766, 850,-32766, 1299,-32766, 1077,-32766,
|
|
1076, 937,-32766, 1057, 743, 721, -249,-32766,-32766,-32766,
|
|
1256, 850, 1053,-32766,-32766, -277, -102, 11, 16,-32766,
|
|
427, 21, 313, 412, 613, 617, 646, 711,-32766, -110,
|
|
-110, 1221, 1274, 1218, -110, 1354, 912, 316, 376, 722,
|
|
-110, 725, 729, 730, 732, 733, -110, -110, 734,-32766,
|
|
735, -110, 739, 751, 724, 752, 0, -110, 1379, 1381,
|
|
872, 871, 880, 964, 1007, 879,-32766, 1380, 963, 322,
|
|
961, 297, 962, 965, 75, 1249, 945, 0, 955, 943,
|
|
322, 1145, 1141, 1098, 997, 998, 644, 1378, 297, 1336,
|
|
1351, 75, 1234, 0, 0, 0, 0, 322
|
|
);
|
|
|
|
protected array $actionCheck = array(
|
|
2, 3, 4, 5, 6, 7, 1, 9, 10, 11,
|
|
12, 13, 9, 10, 11, 31, 9, 10, 11, 9,
|
|
10, 106, 107, 80, 44, 45, 46, 47, 48, 49,
|
|
50, 116, 1, 30, 0, 37, 38, 30, 1, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 9, 10, 11, 101, 57, 9, 10, 11, 116,
|
|
117, 118, 119, 120, 121, 122, 8, 1, 80, 71,
|
|
72, 73, 74, 75, 76, 77, 123, 30, 80, 32,
|
|
33, 34, 35, 36, 16, 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, 8, 128, 129, 130, 131,
|
|
132, 133, 116, 1, 136, 137, 138, 139, 140, 141,
|
|
142, 8, 144, 145, 160, 157, 129, 130, 131, 151,
|
|
152, 153, 164, 155, 138, 2, 3, 4, 5, 6,
|
|
7, 163, 9, 10, 11, 12, 13, 101, 82, 164,
|
|
31, 85, 106, 168, 108, 9, 10, 11, 162, 113,
|
|
37, 38, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
37, 38, 9, 10, 11, 164, 30, 160, 32, 33,
|
|
34, 35, 36, 37, 38, 51, 52, 53, 54, 55,
|
|
57, 57, 14, 30, 8, 32, 33, 34, 35, 49,
|
|
50, 163, 1, 69, 71, 72, 73, 74, 75, 76,
|
|
77, 165, 164, 80, 148, 149, 97, 106, 80, 108,
|
|
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,
|
|
163, 128, 129, 130, 131, 132, 133, 156, 70, 136,
|
|
137, 138, 139, 140, 141, 142, 163, 144, 145, 9,
|
|
9, 10, 11, 82, 151, 152, 153, 14, 155, 2,
|
|
3, 4, 5, 6, 7, 157, 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, 116, 57, 9,
|
|
10, 11, 134, 135, 1, 106, 107, 9, 10, 11,
|
|
69, 163, 14, 8, 57, 116, 117, 118, 150, 138,
|
|
30, 122, 32, 33, 34, 31, 8, 128, 71, 72,
|
|
73, 74, 75, 76, 77, 164, 160, 80, 8, 168,
|
|
164, 80, 1, 162, 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, 14, 128, 129, 130, 131, 132,
|
|
133, 85, 70, 136, 137, 138, 139, 140, 141, 142,
|
|
97, 144, 145, 160, 9, 10, 11, 164, 151, 152,
|
|
153, 2, 3, 4, 5, 6, 7, 156, 157, 158,
|
|
116, 12, 13, 82, 15, 30, 165, 32, 33, 116,
|
|
14, 30, 116, 117, 118, 119, 120, 121, 122, 8,
|
|
117, 118, 138, 1, 8, 122, 70, 161, 1, 163,
|
|
8, 138, 106, 147, 108, 1, 134, 135, 164, 8,
|
|
51, 52, 52, 8, 1, 56, 122, 58, 59, 60,
|
|
61, 62, 63, 64, 65, 66, 67, 68, 137, 70,
|
|
71, 72, 73, 74, 30, 51, 52, 78, 79, 80,
|
|
80, 82, 70, 83, 31, 86, 87, 88, 89, 1,
|
|
91, 8, 93, 162, 95, 1, 162, 98, 99, 168,
|
|
134, 135, 103, 104, 105, 106, 107, 116, 109, 110,
|
|
119, 120, 121, 122, 115, 116, 150, 80, 8, 31,
|
|
106, 122, 108, 124, 125, 126, 80, 70, 162, 138,
|
|
37, 38, 70, 116, 70, 136, 137, 84, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 134, 135, 106, 122,
|
|
108, 152, 153, 162, 137, 156, 157, 158, 159, 8,
|
|
116, 162, 116, 70, 71, 166, 167, 168, 8, 75,
|
|
76, 77, 84, 1, 8, 82, 75, 76, 84, 86,
|
|
75, 76, 138, 137, 90, 8, 92, 8, 94, 162,
|
|
96, 134, 135, 101, 102, 14, 134, 135, 134, 135,
|
|
106, 164, 156, 157, 158, 168, 162, 150, 106, 107,
|
|
8, 117, 118, 160, 150, 122, 122, 164, 8, 162,
|
|
8, 127, 128, 129, 130, 131, 162, 106, 107, 136,
|
|
137, 14, 139, 140, 141, 142, 143, 144, 145, 111,
|
|
112, 37, 38, 14, 30, 152, 153, 14, 160, 14,
|
|
16, 31, 164, 70, 160, 162, 84, 70, 164, 165,
|
|
167, 168, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 16, 16, 74, 16,
|
|
0, 1, 30, 16, 80, 16, 16, 16, 37, 38,
|
|
16, 87, 88, 89, 80, 91, 31, 93, 16, 95,
|
|
16, 16, 98, 31, 1, 59, 60, 103, 104, 105,
|
|
31, 1, 31, 109, 110, 37, 70, 134, 135, 115,
|
|
116, 134, 135, 31, 31, 74, 31, 31, 124, 31,
|
|
116, 80, 160, 150, 31, 31, 164, 150, 87, 88,
|
|
89, 31, 91, 1, 93, 31, 95, 31, 31, 98,
|
|
31, 137, 138, 31, 103, 104, 105, 31, 31, 155,
|
|
109, 110, 31, 31, 84, 31, 115, 116, 116, 57,
|
|
156, 157, 158, 31, 35, 124, 162, 37, 35, 35,
|
|
134, 135, 35, 70, 71, 35, 106, 84, 108, 35,
|
|
138, 35, 37, 113, 84, 82, 150, 117, 118, 86,
|
|
37, 77, 122, 38, 69, 80, 70, 127, 128, 129,
|
|
130, 131, 82, 80, 162, 92, 70, 71, 89, 82,
|
|
100, 83, 94, 114, 113, 128, 84, 128, 82, 154,
|
|
85, 151, 86, 132, 132, 122, 147, 96, 90, 133,
|
|
160, 147, 137, 155, 164, 165, 97, 156, 97, 97,
|
|
137, 161, 139, 140, 141, 142, 143, 144, 145, 100,
|
|
31, 154, 162, 160, -1, 152, 153, 164, 122, 161,
|
|
160, 150, -1, -1, 164, 162, 161, 159, -1, -1,
|
|
167, 168, -1, 137, -1, 139, 140, 141, 142, 143,
|
|
144, 145, 31, -1, -1, -1, -1, -1, 152, 153,
|
|
-1, -1, 160, 74, -1, -1, 164, 150, 162, 80,
|
|
150, 150, 150, 167, 168, 162, 87, 88, 89, 161,
|
|
91, -1, 93, -1, 95, 161, 160, 98, 160, 160,
|
|
160, 160, 103, 104, 105, 74, 160, 160, 109, 110,
|
|
160, 80, 160, 1, 115, 116, 160, 160, 87, 88,
|
|
89, 160, 91, 124, 93, 160, 95, 160, 160, 98,
|
|
160, 160, 1, 160, 103, 104, 105, 74, 160, 160,
|
|
109, 110, 161, 80, 162, 162, 115, 116, 162, 162,
|
|
87, 88, 89, 162, 91, 124, 93, 162, 95, 162,
|
|
162, 98, 162, 162, 162, 102, 103, 104, 105, 74,
|
|
162, 162, 109, 110, 162, 80, 81, 162, 115, 116,
|
|
162, 162, 87, 88, 89, 162, 91, 124, 93, 162,
|
|
95, 162, 162, 98, 162, 162, 84, 162, 103, 104,
|
|
105, 162, 162, 1, 109, 110, 162, 162, 162, 162,
|
|
115, 116, 100, 101, 102, 84, 162, 162, 106, 124,
|
|
1, 162, 162, 162, 162, 167, 162, 162, 162, 117,
|
|
118, 100, 101, 102, 122, 163, 163, 106, 163, 127,
|
|
128, 129, 130, 131, 163, 163, 163, 163, 117, 118,
|
|
31, 163, 163, 122, 163, 163, 163, 163, 127, 128,
|
|
129, 130, 131, 163, 163, 163, 163, 163, 74, 163,
|
|
163, 163, 160, 163, 80, 164, 164, 165, 163, 163,
|
|
163, 87, 88, 89, 82, 91, 163, 93, 163, 95,
|
|
163, 160, 98, 163, 165, 164, 165, 103, 104, 105,
|
|
163, 82, 163, 109, 110, 163, 163, 163, 163, 115,
|
|
116, 163, 163, 163, 163, 163, 163, 163, 124, 117,
|
|
118, 163, 163, 163, 122, 163, 165, 164, 164, 164,
|
|
128, 164, 164, 164, 164, 164, 117, 118, 164, 137,
|
|
164, 122, 164, 164, 164, 164, -1, 128, 165, 165,
|
|
165, 165, 165, 165, 165, 165, 137, 165, 165, 168,
|
|
165, 159, 165, 165, 162, 165, 165, -1, 165, 165,
|
|
168, 165, 165, 165, 165, 165, 165, 165, 159, 165,
|
|
165, 162, 166, -1, -1, -1, -1, 168
|
|
);
|
|
|
|
protected array $actionBase = array(
|
|
0, -2, 153, 554, 740, 1002, 1021, 674, 221, 311,
|
|
-12, 548, 770, 770, 802, 770, 513, 763, 868, 632,
|
|
632, 632, 793, -57, 307, 307, 793, 307, 664, 664,
|
|
664, 664, 711, 711, 953, 953, 985, 921, 889, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084,
|
|
1084, 1084, 1084, 37, -16, 353, 1069, 695, 1039, 1048,
|
|
1041, 1049, 1035, 1034, 1040, 1042, 1050, 1102, 1104, 794,
|
|
1101, 1105, 1043, 871, 1038, 1044, 863, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 291, 291, 290, 348, 10, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
42, 42, 42, 42, 42, 42, 553, 553, 3, 3,
|
|
3, 445, 806, 773, 806, 806, 806, 806, 806, 806,
|
|
806, 806, 340, 183, 47, 706, 166, 166, 7, 7,
|
|
7, 7, 7, 1109, 66, 1092, 1092, -20, -20, -20,
|
|
-20, 451, 504, 391, -47, 143, 396, 170, 712, 249,
|
|
231, 231, 363, 363, 16, 16, 363, 363, 363, 154,
|
|
154, 354, 354, 354, 354, 131, 356, 765, 497, 497,
|
|
497, 497, 765, 765, 765, 765, 754, 948, 765, 765,
|
|
765, 426, 517, 524, 484, 484, 502, 86, 86, 502,
|
|
757, 86, 5, 460, 477, 759, -85, 336, 477, 956,
|
|
218, 643, 643, 647, 643, 643, 643, 751, 562, 751,
|
|
1033, 394, 805, 805, 487, 776, 739, 869, 1070, 1052,
|
|
780, 1099, 819, 1100, 1071, 293, 17, 372, 472, 522,
|
|
732, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032,
|
|
1032, 1032, 1032, 1081, 143, 1033, 158, 1097, 1098, 1081,
|
|
1081, 1081, 143, 143, 143, 143, 143, 143, 143, 143,
|
|
143, 143, 588, 158, 561, 565, 158, 816, 143, 37,
|
|
817, 37, 37, 37, 37, 37, 37, 37, 37, 37,
|
|
37, 777, 344, 37, -16, 31, 31, 226, 132, 31,
|
|
31, 31, 68, 31, 37, 37, 37, 562, 772, 735,
|
|
581, 767, 133, 772, 772, 772, 139, 58, 198, 117,
|
|
799, 803, 474, 785, 785, 797, 887, 785, 790, 785,
|
|
797, 898, 785, 785, 887, 887, 778, 887, 368, 637,
|
|
543, 620, 639, 887, 486, 785, 785, 785, 785, 762,
|
|
887, 662, 785, 481, 380, 785, 785, 762, 761, 786,
|
|
206, 766, 887, 887, 887, 762, 611, 766, 766, 766,
|
|
829, 830, 771, 782, 505, 501, 672, 355, 825, 782,
|
|
782, 785, 626, 771, 782, 771, 782, 748, 782, 782,
|
|
782, 771, 782, 790, 570, 782, 734, 670, 314, 782,
|
|
785, 34, 899, 902, 680, 905, 891, 908, 954, 909,
|
|
913, 1055, 885, 923, 892, 917, 955, 890, 888, 792,
|
|
723, 727, 820, 781, 881, 795, 795, 795, 873, 876,
|
|
795, 795, 795, 795, 795, 795, 795, 795, 723, 750,
|
|
822, 789, 930, 729, 730, 1000, 749, 1051, 1106, 929,
|
|
1006, 919, 826, 731, 978, 934, 1019, 1053, 935, 936,
|
|
981, 1007, 831, 1013, 1073, 796, 1074, 1075, 768, 944,
|
|
1057, 795, 899, 913, 725, 892, 917, 890, 888, 774,
|
|
764, 756, 758, 755, 753, 741, 752, 779, 1015, 872,
|
|
760, 775, 937, 877, 723, 818, 971, 1001, 982, 983,
|
|
1054, 811, 798, 824, 1076, 945, 949, 950, 1058, 1017,
|
|
1059, 828, 972, 962, 984, 812, 1077, 990, 991, 992,
|
|
993, 1060, 1078, 1061, 813, 1064, 836, 808, 963, 801,
|
|
1079, 420, 810, 814, 823, 952, 466, 925, 1066, 1080,
|
|
1082, 994, 996, 997, 1083, 1085, 920, 837, 973, 788,
|
|
974, 965, 840, 842, 641, 815, 1020, 804, 807, 800,
|
|
677, 689, 1087, 1088, 1090, 922, 787, 784, 846, 847,
|
|
1027, 738, 1029, 1091, 693, 851, 1093, 1005, 742, 744,
|
|
694, 721, 720, 745, 783, 1068, 821, 769, 809, 951,
|
|
744, 791, 855, 1094, 857, 858, 860, 998, 861, 979,
|
|
1096, 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, 459, 459, 459, 459, 459,
|
|
459, 307, 307, 307, 307, 459, 459, 459, 459, 459,
|
|
459, 459, 307, 459, 459, 459, 307, 307, 0, 0,
|
|
307, 0, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 459, 459, 459,
|
|
459, 459, 459, 459, 459, 459, 459, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 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, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
506, 506, 291, 291, 291, 291, 506, 506, 506, 506,
|
|
506, 506, 506, 506, 506, 506, 291, 291, 291, 0,
|
|
291, 291, 291, 291, 291, 291, 291, 506, 778, 506,
|
|
506, 154, 154, 154, 154, 506, 506, 506, 366, 366,
|
|
366, 154, 506, 778, 506, 506, 506, 506, 506, 506,
|
|
506, 506, 506, 0, 0, 506, 506, 506, 506, 158,
|
|
86, 506, 790, 790, 790, 790, 506, 506, 506, 506,
|
|
86, 86, 506, 506, 506, 0, 0, 0, 154, 154,
|
|
158, 0, 0, 158, 373, 0, 790, 790, 506, 373,
|
|
778, 492, 506, 293, 0, 0, 0, 0, 0, 0,
|
|
0, 158, 790, 158, 143, 785, 86, 86, 785, 143,
|
|
143, 31, 37, 492, 552, 552, 552, 552, 37, 0,
|
|
0, 0, 0, 0, 562, 778, 778, 778, 778, 778,
|
|
778, 778, 778, 778, 778, 778, 778, 790, 0, 778,
|
|
0, 778, 778, 790, 790, 790, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 790, 0, 0, 887, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 898, 0, 0, 0, 0,
|
|
0, 0, 790, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 795, 811, 0, 811, 0, 795, 795, 795,
|
|
0, 0, 0, 0, 815, 738
|
|
);
|
|
|
|
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, 613, 613,
|
|
613, 613,32767,32767, 254, 102,32767,32767, 482, 399,
|
|
399, 399,32767,32767, 557, 557, 557, 557, 557, 557,
|
|
32767,32767,32767,32767,32767,32767, 482,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, 100,32767,32767,
|
|
32767, 36, 7, 8, 10, 11, 49, 17, 324,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,32767, 386, 606,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 486, 465, 466,
|
|
468, 469, 398, 558, 612, 327, 609, 397, 145, 339,
|
|
329, 242, 330, 258, 487, 259, 488, 491, 492, 215,
|
|
383, 149, 150, 429, 483, 431, 481, 485, 430, 404,
|
|
410, 411, 412, 413, 414, 415, 416, 417, 418, 419,
|
|
420, 421, 422, 402, 403, 484,32767,32767, 462, 461,
|
|
460, 427,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
102,32767, 428, 432, 435, 401, 433, 434, 451, 452,
|
|
449, 450, 453,32767,32767,32767,32767, 454, 455, 456,
|
|
457, 316,32767,32767, 367, 195, 365, 436, 316, 111,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 442,
|
|
443,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 102,32767,
|
|
100, 499, 551, 459, 437, 438,32767, 526,32767, 102,
|
|
32767, 528,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
553, 424, 426, 519, 607, 405, 610,32767, 512, 100,
|
|
195,32767,32767, 527,32767, 195, 195,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 552,32767, 620,
|
|
512, 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,
|
|
195, 195, 190,32767, 268, 270, 102, 575, 195,32767,
|
|
531,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 524,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767, 386,32767,32767,32767,32767, 512, 447, 138,
|
|
32767, 138, 559, 439, 440, 441, 514, 559, 559, 559,
|
|
312, 289,32767,32767,32767,32767, 529, 100, 100, 100,
|
|
100, 524,32767,32767,32767,32767, 111, 498, 99, 99,
|
|
99, 99, 99, 103, 101,32767,32767,32767,32767, 223,
|
|
32767, 99,32767, 101, 101,32767,32767, 223, 225, 212,
|
|
101, 227,32767, 579, 580, 223, 101, 227, 227, 227,
|
|
247, 247, 501, 318, 101, 99, 101, 101, 197, 318,
|
|
318,32767, 101, 501, 318, 501, 318, 199, 318, 318,
|
|
318, 501, 318,32767, 101, 318, 214, 99, 99, 318,
|
|
32767,32767,32767,32767, 514,32767,32767,32767,32767,32767,
|
|
32767,32767, 222,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 546,32767, 564, 577, 445, 446, 448, 563, 561,
|
|
470, 471, 472, 473, 474, 475, 476, 478, 608,32767,
|
|
518,32767,32767,32767, 338,32767, 618,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 619,32767, 559,32767,32767,32767,
|
|
32767, 444, 9, 74, 507, 42, 43, 51, 57, 535,
|
|
536, 537, 538, 532, 533, 539, 534,32767,32767, 541,
|
|
585,32767,32767, 560, 611,32767,32767,32767,32767,32767,
|
|
32767, 138,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 546,32767, 136,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 542,32767,32767,32767, 559,32767,
|
|
32767,32767,32767, 314, 311,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 559,32767,32767,32767,32767,32767, 291,32767, 308,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 382, 514,
|
|
294, 296, 297,32767,32767,32767,32767, 361,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 152, 152, 3, 3, 341, 152, 152, 152, 341,
|
|
341, 152, 341, 341, 341, 152, 152, 152, 152, 152,
|
|
152, 152, 280, 185, 262, 265, 247, 247, 152, 353,
|
|
152, 384, 384, 393
|
|
);
|
|
|
|
protected array $goto = array(
|
|
195, 195, 1049, 928, 706, 929, 1080, 438, 671, 279,
|
|
279, 279, 279, 432, 335, 331, 332, 334, 586, 437,
|
|
336, 439, 648, 908, 866, 908, 908, 167, 167, 167,
|
|
167, 219, 196, 192, 192, 177, 179, 214, 192, 192,
|
|
192, 192, 192, 193, 193, 193, 193, 193, 193, 187,
|
|
188, 189, 190, 191, 216, 214, 217, 545, 546, 428,
|
|
547, 550, 551, 552, 553, 554, 555, 556, 557, 1163,
|
|
168, 169, 170, 194, 171, 172, 173, 165, 174, 175,
|
|
176, 178, 213, 215, 218, 238, 241, 252, 253, 254,
|
|
256, 257, 258, 259, 260, 261, 262, 267, 268, 269,
|
|
270, 277, 289, 290, 314, 315, 433, 434, 435, 591,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 197, 198, 199, 239,
|
|
187, 188, 189, 190, 191, 216, 1163, 200, 180, 181,
|
|
182, 201, 197, 183, 240, 202, 200, 164, 203, 204,
|
|
184, 205, 206, 207, 185, 208, 209, 166, 210, 211,
|
|
212, 186, 715, 870, 610, 1014, 848, 867, 986, 1097,
|
|
744, 342, 576, 561, 1023, 1018, 745, 647, 649, 1055,
|
|
1054, 669, 863, 868, 359, 693, 696, 1025, 704, 713,
|
|
1021, 720, 343, 342, 359, 359, 1052, 1052, 691, 967,
|
|
631, 668, 1044, 1060, 1061, 359, 359, 487, 848, 359,
|
|
848, 1385, 990, 351, 875, 489, 924, 919, 920, 933,
|
|
876, 921, 873, 922, 923, 874, 564, 426, 927, 863,
|
|
359, 359, 403, 406, 570, 611, 615, 520, 842, 1103,
|
|
1099, 1100, 619, 634, 637, 638, 639, 640, 661, 662,
|
|
663, 717, 719, 356, 356, 356, 356, 508, 1267, 509,
|
|
1267, 1267, 1123, 1148, 1124, 515, 1049, 1049, 1267, 456,
|
|
456, 456, 456, 1049, 901, 1049, 1049, 1049, 1049, 1049,
|
|
1049, 1049, 1049, 1049, 465, 1330, 1049, 1049, 1049, 1049,
|
|
664, 665, 1267, 682, 683, 684, 583, 1267, 1267, 1267,
|
|
1267, 349, 470, 1267, 1267, 1267, 422, 569, 562, 1212,
|
|
248, 248, 558, 558, 558, 558, 431, 614, 621, 941,
|
|
633, 633, 5, 942, 6, 446, 1300, 1300, 1300, 1300,
|
|
1300, 1300, 1300, 1300, 1300, 1300, 564, 246, 246, 246,
|
|
246, 243, 249, 1358, 341, 562, 569, 578, 579, 344,
|
|
589, 612, 626, 627, 1011, 474, 474, 1243, 959, 863,
|
|
25, 1244, 1247, 960, 474, 1248, 401, 456, 456, 456,
|
|
456, 456, 456, 456, 456, 456, 456, 456, 456, 1368,
|
|
1368, 456, 581, 456, 456, 670, 560, 1160, 560, 560,
|
|
484, 1343, 1344, 1073, 1368, 445, 560, 1319, 1319, 703,
|
|
692, 1260, 844, 1319, 1319, 1319, 1319, 1319, 1319, 1319,
|
|
1319, 1319, 1319, 676, 703, 1371, 1371, 860, 703, 1341,
|
|
463, 1341, 1341, 321, 307, 984, 984, 984, 984, 1341,
|
|
337, 463, 978, 985, 888, 1316, 1316, 1350, 1350, 1350,
|
|
1350, 1316, 1316, 1316, 1316, 1316, 1316, 1316, 1316, 1316,
|
|
1316, 973, 549, 549, 1352, 1352, 1352, 1352, 549, 549,
|
|
549, 549, 549, 549, 549, 549, 549, 549, 352, 353,
|
|
982, 417, 714, 641, 643, 645, 548, 548, 1337, 410,
|
|
957, 625, 548, 957, 548, 548, 548, 548, 548, 548,
|
|
548, 548, 415, 416, 1262, 1058, 1059, 680, 885, 681,
|
|
1143, 419, 420, 421, 1258, 694, 1086, 883, 423, 1033,
|
|
946, 1150, 347, 320, 274, 320, 320, 629, 587, 624,
|
|
1028, 1028, 748, 1030, 895, 1345, 1346, 882, 897, 1088,
|
|
1090, 887, 1040, 674, 1009, 1339, 1339, 1088, 995, 881,
|
|
1284, 378, 1134, 0, 0, 251, 251, 0, 1263, 1264,
|
|
0, 1257, 609, 1116, 0, 0, 0, 858, 896, 884,
|
|
1085, 1089, 718, 0, 0, 0, 0, 0, 516, 709,
|
|
993, 1114, 0, 0, 0, 0, 1265, 1327, 1328, 0,
|
|
0, 0, 563, 573, 0, 0, 563, 0, 573, 0,
|
|
0, 404, 469, 0, 983, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 477, 590, 478, 479, 0, 0,
|
|
0, 893, 440, 0, 1376, 1377, 1132, 900, 0, 440,
|
|
0, 0, 0, 0, 0, 1056, 1056, 753, 753, 0,
|
|
0, 0, 675, 1067, 1063, 1064, 0, 0, 0, 0,
|
|
891, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 329
|
|
);
|
|
|
|
protected array $gotoCheck = array(
|
|
42, 42, 73, 65, 73, 65, 128, 66, 66, 23,
|
|
23, 23, 23, 66, 66, 66, 66, 66, 66, 66,
|
|
66, 66, 66, 25, 25, 25, 25, 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, 42, 9, 15, 131, 50, 12, 26, 50, 15,
|
|
50, 175, 48, 50, 50, 50, 48, 48, 48, 119,
|
|
119, 48, 22, 27, 14, 48, 48, 48, 48, 48,
|
|
48, 48, 175, 175, 14, 14, 89, 89, 89, 89,
|
|
56, 56, 89, 89, 89, 14, 14, 84, 12, 14,
|
|
12, 14, 49, 97, 15, 84, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 14, 43, 15, 22,
|
|
14, 14, 59, 59, 59, 59, 59, 76, 6, 15,
|
|
15, 15, 81, 81, 81, 81, 81, 81, 81, 81,
|
|
81, 81, 81, 24, 24, 24, 24, 160, 73, 160,
|
|
73, 73, 146, 146, 146, 160, 73, 73, 73, 23,
|
|
23, 23, 23, 73, 45, 73, 73, 73, 73, 73,
|
|
73, 73, 73, 73, 83, 14, 73, 73, 73, 73,
|
|
86, 86, 73, 86, 86, 86, 179, 73, 73, 73,
|
|
73, 186, 156, 73, 73, 73, 14, 76, 76, 156,
|
|
5, 5, 107, 107, 107, 107, 13, 107, 13, 73,
|
|
108, 108, 46, 73, 46, 83, 108, 108, 108, 108,
|
|
108, 108, 108, 108, 108, 108, 14, 5, 5, 5,
|
|
5, 5, 5, 188, 76, 76, 76, 76, 76, 76,
|
|
76, 76, 76, 76, 103, 154, 154, 79, 79, 22,
|
|
76, 79, 79, 79, 154, 79, 62, 23, 23, 23,
|
|
23, 23, 23, 23, 23, 23, 23, 23, 23, 189,
|
|
189, 23, 104, 23, 23, 64, 19, 155, 19, 19,
|
|
183, 183, 183, 115, 189, 113, 19, 177, 177, 7,
|
|
117, 14, 7, 177, 177, 177, 177, 177, 177, 177,
|
|
177, 177, 177, 121, 7, 189, 189, 18, 7, 131,
|
|
19, 131, 131, 176, 176, 19, 19, 19, 19, 131,
|
|
29, 19, 19, 19, 39, 178, 178, 9, 9, 9,
|
|
9, 178, 178, 178, 178, 178, 178, 178, 178, 178,
|
|
178, 92, 180, 180, 131, 131, 131, 131, 180, 180,
|
|
180, 180, 180, 180, 180, 180, 180, 180, 97, 97,
|
|
93, 93, 93, 85, 85, 85, 163, 163, 131, 28,
|
|
9, 80, 163, 9, 163, 163, 163, 163, 163, 163,
|
|
163, 163, 82, 82, 20, 120, 120, 82, 37, 82,
|
|
153, 82, 82, 82, 167, 82, 130, 35, 82, 110,
|
|
17, 17, 82, 24, 24, 24, 24, 17, 2, 2,
|
|
107, 107, 99, 17, 35, 185, 185, 35, 41, 131,
|
|
133, 17, 114, 17, 17, 131, 131, 131, 96, 17,
|
|
20, 138, 149, -1, -1, 5, 5, -1, 20, 20,
|
|
-1, 17, 8, 8, -1, -1, -1, 20, 16, 16,
|
|
16, 16, 8, -1, -1, -1, -1, -1, 8, 8,
|
|
16, 8, -1, -1, -1, -1, 20, 20, 20, -1,
|
|
-1, -1, 9, 9, -1, -1, 9, -1, 9, -1,
|
|
-1, 9, 9, -1, 16, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 9, 9, 9, 9, -1, -1,
|
|
-1, 9, 118, -1, 9, 9, 16, 16, -1, 118,
|
|
-1, -1, -1, -1, -1, 118, 118, 24, 24, -1,
|
|
-1, -1, 118, 118, 118, 118, -1, -1, -1, -1,
|
|
9, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 9
|
|
);
|
|
|
|
protected array $gotoBase = array(
|
|
0, 0, -205, 0, 0, 309, 215, 392, 544, 139,
|
|
0, 0, -129, -21, -112, -185, 99, 37, 109, 123,
|
|
94, 0, -97, 6, 250, 20, 163, 179, 142, 135,
|
|
0, 0, 0, 0, 0, 131, 0, 159, 0, 115,
|
|
0, 81, -1, 205, 0, 248, -426, 0, -550, 195,
|
|
154, 0, 0, 0, 0, 0, 160, 0, 0, 187,
|
|
0, 0, 324, 0, 148, -10, -229, 0, 0, 0,
|
|
0, 0, 0, -5, 0, 0, -38, 0, 0, -58,
|
|
137, -120, -7, 5, -270, -14, -439, 0, 0, -84,
|
|
0, 0, 126, 167, 0, 0, 89, -278, 0, 108,
|
|
0, 0, 0, 319, 339, 0, 0, 284, 84, 0,
|
|
134, 0, 0, 117, 110, 121, 0, 118, 341, -101,
|
|
211, 122, 0, 0, 0, 0, 0, 0, 4, 0,
|
|
125, 156, 0, 82, 0, 0, 0, 0, -211, 0,
|
|
0, 0, 0, 0, 0, 0, -12, 0, 0, 92,
|
|
0, 0, 0, 145, 321, 144, 36, 0, 0, 0,
|
|
-246, 0, 0, 240, 0, 0, 0, 130, 0, 0,
|
|
0, 0, 0, 0, 0, -125, 106, 161, 199, 267,
|
|
216, 0, 0, 91, 0, 146, 271, 0, 312, 73,
|
|
0, 0
|
|
);
|
|
|
|
protected array $gotoDefault = array(
|
|
-32768, 521, 755, 4, 756, 950, 831, 840, 607, 539,
|
|
716, 348, 635, 429, 1335, 926, 1149, 588, 859, 1276,
|
|
1250, 464, 862, 326, 742, 938, 909, 910, 407, 393,
|
|
399, 405, 659, 636, 502, 894, 460, 886, 494, 889,
|
|
459, 898, 163, 425, 518, 902, 3, 905, 567, 936,
|
|
988, 394, 913, 395, 687, 915, 572, 917, 918, 402,
|
|
408, 409, 1154, 580, 632, 930, 255, 574, 931, 392,
|
|
932, 940, 397, 400, 697, 473, 513, 507, 418, 1118,
|
|
575, 618, 656, 453, 481, 630, 642, 628, 488, 441,
|
|
424, 325, 972, 980, 495, 471, 994, 350, 1002, 750,
|
|
1162, 650, 497, 1010, 651, 1017, 1020, 540, 541, 486,
|
|
1032, 271, 1035, 498, 1041, 22, 677, 1046, 1047, 678,
|
|
652, 1069, 653, 679, 654, 1071, 480, 608, 1079, 461,
|
|
1087, 1324, 462, 1091, 264, 1094, 278, 354, 377, 442,
|
|
1101, 1102, 9, 1108, 707, 708, 18, 276, 517, 1133,
|
|
698, 1139, 275, 1142, 458, 1161, 457, 1231, 1233, 568,
|
|
499, 1251, 485, 311, 1254, 690, 514, 1259, 454, 1326,
|
|
455, 542, 482, 333, 543, 1369, 306, 357, 330, 559,
|
|
312, 358, 544, 483, 1332, 1340, 327, 31, 1359, 1370,
|
|
585, 623
|
|
);
|
|
|
|
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, 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, 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, 163, 163, 164, 155,
|
|
155, 160, 160, 165, 166, 166, 167, 168, 169, 169,
|
|
169, 169, 19, 19, 73, 73, 73, 73, 156, 156,
|
|
156, 156, 171, 171, 157, 157, 159, 159, 159, 162,
|
|
162, 177, 177, 177, 177, 177, 177, 177, 177, 177,
|
|
177, 178, 178, 178, 108, 180, 180, 180, 180, 158,
|
|
158, 158, 158, 158, 158, 158, 158, 59, 59, 174,
|
|
174, 174, 174, 174, 181, 181, 170, 170, 170, 170,
|
|
182, 182, 182, 182, 182, 74, 74, 66, 66, 66,
|
|
66, 131, 131, 131, 131, 185, 184, 173, 173, 173,
|
|
173, 173, 173, 172, 172, 172, 183, 183, 183, 183,
|
|
107, 179, 187, 187, 186, 186, 188, 188, 188, 188,
|
|
188, 188, 188, 188, 176, 176, 176, 176, 175, 190,
|
|
189, 189, 189, 189, 189, 189, 189, 189, 191, 191,
|
|
191, 191
|
|
);
|
|
|
|
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, 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, 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, 3, 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::READONLY;
|
|
},
|
|
286 => 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);
|
|
},
|
|
287 => 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);
|
|
},
|
|
288 => 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)]);
|
|
},
|
|
289 => null,
|
|
290 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
291 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
292 => null,
|
|
293 => null,
|
|
294 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
295 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->handleBuiltinTypes($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
296 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier('array', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
297 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\Identifier('callable', $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
298 => null,
|
|
299 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
300 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
301 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
302 => null,
|
|
303 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
304 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
305 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
306 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
307 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
308 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
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 => null,
|
|
313 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
314 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
315 => null,
|
|
316 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
317 => null,
|
|
318 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
319 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(2-2)];
|
|
},
|
|
320 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
321 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
322 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-2)];
|
|
},
|
|
323 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-2)]);
|
|
},
|
|
324 => static function ($self, $stackPos) {
|
|
$self->semValue = new Node\VariadicPlaceholder($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
325 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
326 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
327 => 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]));
|
|
},
|
|
328 => 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]));
|
|
},
|
|
329 => 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]));
|
|
},
|
|
330 => 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)]);
|
|
},
|
|
331 => null,
|
|
332 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
333 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
334 => null,
|
|
335 => null,
|
|
336 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
337 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
338 => 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]));
|
|
},
|
|
339 => 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]));
|
|
},
|
|
340 => 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)]; }
|
|
},
|
|
341 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
342 => 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)];
|
|
},
|
|
343 => 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)]);
|
|
},
|
|
344 => 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));
|
|
},
|
|
345 => 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));
|
|
},
|
|
346 => 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));
|
|
},
|
|
347 => 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));
|
|
},
|
|
348 => 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]));
|
|
},
|
|
349 => 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]));
|
|
},
|
|
350 => static function ($self, $stackPos) {
|
|
$self->semValue = null; /* will be skipped */
|
|
},
|
|
351 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
352 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
353 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
354 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
355 => 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]));
|
|
},
|
|
356 => 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]));
|
|
},
|
|
357 => 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]));
|
|
},
|
|
358 => 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]));
|
|
},
|
|
359 => 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]));
|
|
},
|
|
360 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3)]);
|
|
},
|
|
361 => null,
|
|
362 => static function ($self, $stackPos) {
|
|
$self->semValue = array(null, $self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
363 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
364 => null,
|
|
365 => null,
|
|
366 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
367 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
368 => null,
|
|
369 => null,
|
|
370 => 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)];
|
|
},
|
|
371 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PUBLIC;
|
|
},
|
|
372 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PROTECTED;
|
|
},
|
|
373 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::PRIVATE;
|
|
},
|
|
374 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::STATIC;
|
|
},
|
|
375 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::ABSTRACT;
|
|
},
|
|
376 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::FINAL;
|
|
},
|
|
377 => static function ($self, $stackPos) {
|
|
$self->semValue = Modifiers::READONLY;
|
|
},
|
|
378 => null,
|
|
379 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
380 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
381 => 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]));
|
|
},
|
|
382 => 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]));
|
|
},
|
|
383 => 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]));
|
|
},
|
|
384 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
385 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
386 => static function ($self, $stackPos) {
|
|
$self->semValue = [];
|
|
},
|
|
387 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)]; $self->checkPropertyHookList($self->semStack[$stackPos-(3-2)], $stackPos-(3-1));
|
|
},
|
|
388 => 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);
|
|
},
|
|
389 => 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));
|
|
},
|
|
390 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
391 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
392 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
393 => static function ($self, $stackPos) {
|
|
$self->semValue = 0;
|
|
},
|
|
394 => 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)];
|
|
},
|
|
395 => null,
|
|
396 => null,
|
|
397 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
398 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
399 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
400 => null,
|
|
401 => null,
|
|
402 => 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]));
|
|
},
|
|
403 => 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]));
|
|
},
|
|
404 => 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]));
|
|
},
|
|
405 => 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]));
|
|
},
|
|
406 => 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])));
|
|
}
|
|
|
|
},
|
|
407 => null,
|
|
408 => null,
|
|
409 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Clone_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
410 => 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]));
|
|
},
|
|
411 => 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]));
|
|
},
|
|
412 => 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]));
|
|
},
|
|
413 => 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]));
|
|
},
|
|
414 => 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]));
|
|
},
|
|
415 => 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]));
|
|
},
|
|
416 => 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]));
|
|
},
|
|
417 => 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]));
|
|
},
|
|
418 => 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]));
|
|
},
|
|
419 => 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]));
|
|
},
|
|
420 => 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]));
|
|
},
|
|
421 => 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]));
|
|
},
|
|
422 => 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]));
|
|
},
|
|
423 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PostInc($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
424 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PreInc($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
425 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PostDec($self->semStack[$stackPos-(2-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
426 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\PreDec($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
427 => 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]));
|
|
},
|
|
428 => 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]));
|
|
},
|
|
429 => 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]));
|
|
},
|
|
430 => 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]));
|
|
},
|
|
431 => 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]));
|
|
},
|
|
432 => 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]));
|
|
},
|
|
433 => 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]));
|
|
},
|
|
434 => 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]));
|
|
},
|
|
435 => 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]));
|
|
},
|
|
436 => 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]));
|
|
},
|
|
437 => 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]));
|
|
},
|
|
438 => 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]));
|
|
},
|
|
439 => 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]));
|
|
},
|
|
440 => 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]));
|
|
},
|
|
441 => 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]));
|
|
},
|
|
442 => 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]));
|
|
},
|
|
443 => 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]));
|
|
},
|
|
444 => 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]));
|
|
},
|
|
445 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\UnaryPlus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
446 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
447 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BooleanNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
448 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\BitwiseNot($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
449 => 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]));
|
|
},
|
|
450 => 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]));
|
|
},
|
|
451 => 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]));
|
|
},
|
|
452 => 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]));
|
|
},
|
|
453 => 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]));
|
|
},
|
|
454 => 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]));
|
|
},
|
|
455 => 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]));
|
|
},
|
|
456 => 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]));
|
|
},
|
|
457 => 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]));
|
|
},
|
|
458 => 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]));
|
|
},
|
|
459 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
460 => 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]));
|
|
},
|
|
461 => 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]));
|
|
},
|
|
462 => 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]));
|
|
},
|
|
463 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Isset_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
464 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Empty_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
465 => 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]));
|
|
},
|
|
466 => 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]));
|
|
},
|
|
467 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Eval_($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
468 => 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]));
|
|
},
|
|
469 => 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]));
|
|
},
|
|
470 => 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]));
|
|
},
|
|
471 => 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);
|
|
},
|
|
472 => 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]));
|
|
},
|
|
473 => 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]));
|
|
},
|
|
474 => 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]));
|
|
},
|
|
475 => 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]));
|
|
},
|
|
476 => 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]));
|
|
},
|
|
477 => static function ($self, $stackPos) {
|
|
$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]);
|
|
$attrs['kind'] = strtolower($self->semStack[$stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
|
|
$self->semValue = new Expr\Exit_($self->semStack[$stackPos-(2-2)], $attrs);
|
|
},
|
|
478 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ErrorSuppress($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
479 => null,
|
|
480 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ShellExec($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
481 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Print_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
482 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Yield_(null, null, $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
483 => 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]));
|
|
},
|
|
484 => 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]));
|
|
},
|
|
485 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\YieldFrom($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
486 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
487 => 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]));
|
|
},
|
|
488 => 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]));
|
|
},
|
|
489 => 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]));
|
|
},
|
|
490 => 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]));
|
|
},
|
|
491 => 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]));
|
|
},
|
|
492 => 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]));
|
|
},
|
|
493 => 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]));
|
|
},
|
|
494 => 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]));
|
|
},
|
|
495 => 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);
|
|
},
|
|
496 => 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]));
|
|
},
|
|
497 => 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]));
|
|
},
|
|
498 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\New_($self->semStack[$stackPos-(2-2)], [], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
499 => null,
|
|
500 => null,
|
|
501 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
502 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(4-3)];
|
|
},
|
|
503 => null,
|
|
504 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
505 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
506 => 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]));
|
|
},
|
|
507 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
508 => 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]));
|
|
},
|
|
509 => 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]));
|
|
},
|
|
510 => 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]));
|
|
},
|
|
511 => 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]));
|
|
},
|
|
512 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
513 => null,
|
|
514 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
515 => static function ($self, $stackPos) {
|
|
$self->semValue = new Name($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
516 => 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]));
|
|
},
|
|
517 => 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]));
|
|
},
|
|
518 => null,
|
|
519 => null,
|
|
520 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
521 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
522 => null,
|
|
523 => null,
|
|
524 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
525 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
526 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
527 => 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()); } };
|
|
},
|
|
528 => 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)];
|
|
},
|
|
529 => static function ($self, $stackPos) {
|
|
$self->semValue = array();
|
|
},
|
|
530 => null,
|
|
531 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\ConstFetch($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
532 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
533 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
534 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
535 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Class_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
536 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
537 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Method($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
538 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Function_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
539 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Namespace_($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
540 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\MagicConst\Property($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
541 => 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]));
|
|
},
|
|
542 => 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]));
|
|
},
|
|
543 => 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;
|
|
},
|
|
544 => 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);
|
|
},
|
|
545 => 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);
|
|
},
|
|
546 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(1-1)]; $self->createdArrays->attach($self->semValue);
|
|
},
|
|
547 => 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());
|
|
},
|
|
548 => 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);
|
|
},
|
|
549 => 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());
|
|
},
|
|
550 => static function ($self, $stackPos) {
|
|
$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
551 => null,
|
|
552 => null,
|
|
553 => null,
|
|
554 => 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);
|
|
},
|
|
555 => 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);
|
|
},
|
|
556 => 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);
|
|
},
|
|
557 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
558 => null,
|
|
559 => null,
|
|
560 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
561 => null,
|
|
562 => null,
|
|
563 => null,
|
|
564 => null,
|
|
565 => null,
|
|
566 => null,
|
|
567 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
568 => null,
|
|
569 => null,
|
|
570 => null,
|
|
571 => 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]));
|
|
},
|
|
572 => null,
|
|
573 => 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]));
|
|
},
|
|
574 => 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]));
|
|
},
|
|
575 => static function ($self, $stackPos) {
|
|
$self->semValue = null;
|
|
},
|
|
576 => null,
|
|
577 => null,
|
|
578 => null,
|
|
579 => 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]));
|
|
},
|
|
580 => 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]));
|
|
},
|
|
581 => null,
|
|
582 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(4-3)], $self->getAttributes($self->tokenStartStack[$stackPos-(4-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
583 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
584 => 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;
|
|
},
|
|
585 => 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;
|
|
},
|
|
586 => 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]));
|
|
},
|
|
587 => null,
|
|
588 => 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]));
|
|
},
|
|
589 => 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]));
|
|
},
|
|
590 => 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]));
|
|
},
|
|
591 => 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]));
|
|
},
|
|
592 => 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]));
|
|
},
|
|
593 => null,
|
|
594 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
595 => null,
|
|
596 => null,
|
|
597 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
598 => null,
|
|
599 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos])); $self->errorState = 2;
|
|
},
|
|
600 => 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);
|
|
},
|
|
601 => 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);
|
|
},
|
|
602 => null,
|
|
603 => static function ($self, $stackPos) {
|
|
/* do nothing -- prevent default action of $$=$self->semStack[$1]. See $551. */
|
|
},
|
|
604 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(3-1)][] = $self->semStack[$stackPos-(3-3)]; $self->semValue = $self->semStack[$stackPos-(3-1)];
|
|
},
|
|
605 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
606 => 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]));
|
|
},
|
|
607 => 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]));
|
|
},
|
|
608 => 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]));
|
|
},
|
|
609 => 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]));
|
|
},
|
|
610 => 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]));
|
|
},
|
|
611 => 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]));
|
|
},
|
|
612 => 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);
|
|
},
|
|
613 => 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);
|
|
},
|
|
614 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
615 => static function ($self, $stackPos) {
|
|
$self->semStack[$stackPos-(2-1)][] = $self->semStack[$stackPos-(2-2)]; $self->semValue = $self->semStack[$stackPos-(2-1)];
|
|
},
|
|
616 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(1-1)]);
|
|
},
|
|
617 => static function ($self, $stackPos) {
|
|
$self->semValue = array($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(2-2)]);
|
|
},
|
|
618 => 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);
|
|
},
|
|
619 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
620 => null,
|
|
621 => 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]));
|
|
},
|
|
622 => 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]));
|
|
},
|
|
623 => 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]));
|
|
},
|
|
624 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
625 => static function ($self, $stackPos) {
|
|
$self->semValue = new Expr\Variable($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
626 => 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]));
|
|
},
|
|
627 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->semStack[$stackPos-(3-2)];
|
|
},
|
|
628 => static function ($self, $stackPos) {
|
|
$self->semValue = new Scalar\String_($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
629 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseNumString($self->semStack[$stackPos-(1-1)], $self->getAttributes($self->tokenStartStack[$stackPos-(1-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
630 => static function ($self, $stackPos) {
|
|
$self->semValue = $self->parseNumString('-' . $self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stackPos]));
|
|
},
|
|
631 => null,
|
|
];
|
|
}
|
|
}
|