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