mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
9e43acee2c
Directly creating the node isn't necessary anymore, the token only needs to be parsed. This makes it consistent with the other scalar parsing methods and removes the need to pass $arguments around.
2683 lines
118 KiB
PHP
2683 lines
118 KiB
PHP
<?php
|
|
|
|
/* This is an automatically GENERATED file, which should not be manually edited.
|
|
* Instead edit one of the following:
|
|
* * the grammar file grammar/zend_language_parser.phpy
|
|
* * the parser skeleton grammar/kymacc.php.parser
|
|
* * the preprocessing script grammar/rebuildParser.php
|
|
*
|
|
* The skeleton for this parser was written by Moriyoshi Koizumi and is based on
|
|
* the work by Masato Bito and is in the PUBLIC DOMAIN.
|
|
*/
|
|
class PHPParser_Parser
|
|
{
|
|
const TOKEN_NONE = -1;
|
|
const TOKEN_INVALID = 151;
|
|
|
|
const TOKEN_MAP_SIZE = 386;
|
|
|
|
const YYLAST = 1008;
|
|
const YY2TBLSTATE = 315;
|
|
const YYGLAST = 443;
|
|
const YYNLSTATES = 531;
|
|
const YYUNEXPECTED = 32767;
|
|
const YYDEFAULT = -32766;
|
|
|
|
// {{{ Tokens
|
|
const YYERRTOK = 256;
|
|
const T_INCLUDE = 257;
|
|
const T_INCLUDE_ONCE = 258;
|
|
const T_EVAL = 259;
|
|
const T_REQUIRE = 260;
|
|
const T_REQUIRE_ONCE = 261;
|
|
const T_LOGICAL_OR = 262;
|
|
const T_LOGICAL_XOR = 263;
|
|
const T_LOGICAL_AND = 264;
|
|
const T_PRINT = 265;
|
|
const T_YIELD = 266;
|
|
const T_PLUS_EQUAL = 267;
|
|
const T_MINUS_EQUAL = 268;
|
|
const T_MUL_EQUAL = 269;
|
|
const T_DIV_EQUAL = 270;
|
|
const T_CONCAT_EQUAL = 271;
|
|
const T_MOD_EQUAL = 272;
|
|
const T_AND_EQUAL = 273;
|
|
const T_OR_EQUAL = 274;
|
|
const T_XOR_EQUAL = 275;
|
|
const T_SL_EQUAL = 276;
|
|
const T_SR_EQUAL = 277;
|
|
const T_BOOLEAN_OR = 278;
|
|
const T_BOOLEAN_AND = 279;
|
|
const T_IS_EQUAL = 280;
|
|
const T_IS_NOT_EQUAL = 281;
|
|
const T_IS_IDENTICAL = 282;
|
|
const T_IS_NOT_IDENTICAL = 283;
|
|
const T_IS_SMALLER_OR_EQUAL = 284;
|
|
const T_IS_GREATER_OR_EQUAL = 285;
|
|
const T_SL = 286;
|
|
const T_SR = 287;
|
|
const T_INSTANCEOF = 288;
|
|
const T_INC = 289;
|
|
const T_DEC = 290;
|
|
const T_INT_CAST = 291;
|
|
const T_DOUBLE_CAST = 292;
|
|
const T_STRING_CAST = 293;
|
|
const T_ARRAY_CAST = 294;
|
|
const T_OBJECT_CAST = 295;
|
|
const T_BOOL_CAST = 296;
|
|
const T_UNSET_CAST = 297;
|
|
const T_NEW = 298;
|
|
const T_CLONE = 299;
|
|
const T_EXIT = 300;
|
|
const T_IF = 301;
|
|
const T_ELSEIF = 302;
|
|
const T_ELSE = 303;
|
|
const T_ENDIF = 304;
|
|
const T_LNUMBER = 305;
|
|
const T_DNUMBER = 306;
|
|
const T_STRING = 307;
|
|
const T_STRING_VARNAME = 308;
|
|
const T_VARIABLE = 309;
|
|
const T_NUM_STRING = 310;
|
|
const T_INLINE_HTML = 311;
|
|
const T_CHARACTER = 312;
|
|
const T_BAD_CHARACTER = 313;
|
|
const T_ENCAPSED_AND_WHITESPACE = 314;
|
|
const T_CONSTANT_ENCAPSED_STRING = 315;
|
|
const T_ECHO = 316;
|
|
const T_DO = 317;
|
|
const T_WHILE = 318;
|
|
const T_ENDWHILE = 319;
|
|
const T_FOR = 320;
|
|
const T_ENDFOR = 321;
|
|
const T_FOREACH = 322;
|
|
const T_ENDFOREACH = 323;
|
|
const T_DECLARE = 324;
|
|
const T_ENDDECLARE = 325;
|
|
const T_AS = 326;
|
|
const T_SWITCH = 327;
|
|
const T_ENDSWITCH = 328;
|
|
const T_CASE = 329;
|
|
const T_DEFAULT = 330;
|
|
const T_BREAK = 331;
|
|
const T_CONTINUE = 332;
|
|
const T_GOTO = 333;
|
|
const T_FUNCTION = 334;
|
|
const T_CONST = 335;
|
|
const T_RETURN = 336;
|
|
const T_TRY = 337;
|
|
const T_CATCH = 338;
|
|
const T_FINALLY = 339;
|
|
const T_THROW = 340;
|
|
const T_USE = 341;
|
|
const T_INSTEADOF = 342;
|
|
const T_GLOBAL = 343;
|
|
const T_STATIC = 344;
|
|
const T_ABSTRACT = 345;
|
|
const T_FINAL = 346;
|
|
const T_PRIVATE = 347;
|
|
const T_PROTECTED = 348;
|
|
const T_PUBLIC = 349;
|
|
const T_VAR = 350;
|
|
const T_UNSET = 351;
|
|
const T_ISSET = 352;
|
|
const T_EMPTY = 353;
|
|
const T_HALT_COMPILER = 354;
|
|
const T_CLASS = 355;
|
|
const T_TRAIT = 356;
|
|
const T_INTERFACE = 357;
|
|
const T_EXTENDS = 358;
|
|
const T_IMPLEMENTS = 359;
|
|
const T_OBJECT_OPERATOR = 360;
|
|
const T_DOUBLE_ARROW = 361;
|
|
const T_LIST = 362;
|
|
const T_ARRAY = 363;
|
|
const T_CALLABLE = 364;
|
|
const T_CLASS_C = 365;
|
|
const T_TRAIT_C = 366;
|
|
const T_METHOD_C = 367;
|
|
const T_FUNC_C = 368;
|
|
const T_LINE = 369;
|
|
const T_FILE = 370;
|
|
const T_COMMENT = 371;
|
|
const T_DOC_COMMENT = 372;
|
|
const T_OPEN_TAG = 373;
|
|
const T_OPEN_TAG_WITH_ECHO = 374;
|
|
const T_CLOSE_TAG = 375;
|
|
const T_WHITESPACE = 376;
|
|
const T_START_HEREDOC = 377;
|
|
const T_END_HEREDOC = 378;
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 379;
|
|
const T_CURLY_OPEN = 380;
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 381;
|
|
const T_NAMESPACE = 382;
|
|
const T_NS_C = 383;
|
|
const T_DIR = 384;
|
|
const T_NS_SEPARATOR = 385;
|
|
// }}}
|
|
|
|
/* @var array Map of token ids to their respective names */
|
|
protected static $terminals = array(
|
|
"EOF",
|
|
"error",
|
|
"T_INCLUDE",
|
|
"T_INCLUDE_ONCE",
|
|
"T_EVAL",
|
|
"T_REQUIRE",
|
|
"T_REQUIRE_ONCE",
|
|
"','",
|
|
"T_LOGICAL_OR",
|
|
"T_LOGICAL_XOR",
|
|
"T_LOGICAL_AND",
|
|
"T_PRINT",
|
|
"T_YIELD",
|
|
"'='",
|
|
"T_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_BOOLEAN_OR",
|
|
"T_BOOLEAN_AND",
|
|
"'|'",
|
|
"'^'",
|
|
"'&'",
|
|
"T_IS_EQUAL",
|
|
"T_IS_NOT_EQUAL",
|
|
"T_IS_IDENTICAL",
|
|
"T_IS_NOT_IDENTICAL",
|
|
"'<'",
|
|
"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_NEW",
|
|
"T_CLONE",
|
|
"T_EXIT",
|
|
"T_IF",
|
|
"T_ELSEIF",
|
|
"T_ELSE",
|
|
"T_ENDIF",
|
|
"T_LNUMBER",
|
|
"T_DNUMBER",
|
|
"T_STRING",
|
|
"T_STRING_VARNAME",
|
|
"T_VARIABLE",
|
|
"T_NUM_STRING",
|
|
"T_INLINE_HTML",
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
"T_ECHO",
|
|
"T_DO",
|
|
"T_WHILE",
|
|
"T_ENDWHILE",
|
|
"T_FOR",
|
|
"T_ENDFOR",
|
|
"T_FOREACH",
|
|
"T_ENDFOREACH",
|
|
"T_DECLARE",
|
|
"T_ENDDECLARE",
|
|
"T_AS",
|
|
"T_SWITCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"T_THROW",
|
|
"T_USE",
|
|
"T_INSTEADOF",
|
|
"T_GLOBAL",
|
|
"T_STATIC",
|
|
"T_ABSTRACT",
|
|
"T_FINAL",
|
|
"T_PRIVATE",
|
|
"T_PROTECTED",
|
|
"T_PUBLIC",
|
|
"T_VAR",
|
|
"T_UNSET",
|
|
"T_ISSET",
|
|
"T_EMPTY",
|
|
"T_HALT_COMPILER",
|
|
"T_CLASS",
|
|
"T_TRAIT",
|
|
"T_INTERFACE",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_DOUBLE_ARROW",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_C",
|
|
"T_TRAIT_C",
|
|
"T_METHOD_C",
|
|
"T_FUNC_C",
|
|
"T_LINE",
|
|
"T_FILE",
|
|
"T_START_HEREDOC",
|
|
"T_END_HEREDOC",
|
|
"T_DOLLAR_OPEN_CURLY_BRACES",
|
|
"T_CURLY_OPEN",
|
|
"T_PAAMAYIM_NEKUDOTAYIM",
|
|
"T_NAMESPACE",
|
|
"T_NS_C",
|
|
"T_DIR",
|
|
"T_NS_SEPARATOR",
|
|
"';'",
|
|
"'{'",
|
|
"'}'",
|
|
"'('",
|
|
"')'",
|
|
"'$'",
|
|
"'`'",
|
|
"']'",
|
|
"'\"'"
|
|
, "???"
|
|
);
|
|
|
|
/* @var array Map which translates lexer tokens to internal tokens */
|
|
protected static $translate = array(
|
|
0, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 48, 150, 151, 147, 47, 31, 151,
|
|
145, 146, 45, 42, 7, 43, 44, 46, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 26, 142,
|
|
36, 13, 38, 25, 60, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 61, 151, 149, 30, 151, 148, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 143, 29, 144, 50, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
|
|
151, 151, 151, 151, 151, 151, 1, 2, 3, 4,
|
|
5, 6, 8, 9, 10, 11, 12, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 27, 28,
|
|
32, 33, 34, 35, 37, 39, 40, 41, 49, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 151, 151, 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, 151, 151, 151, 151, 151, 151, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141
|
|
);
|
|
|
|
protected static $yyaction = array(
|
|
59, 60, 324, 61, 62,-32766,-32766,-32766, 215, 63,
|
|
64,-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102,
|
|
57, 915,-32766, 297,-32766,-32766, 41, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 267, 345,
|
|
65, 66, 925, 494, 927, 926, 67, 535, 68, 220,
|
|
221, 69, 70, 71, 72, 73, 74, 75, 76, 31,
|
|
232, 77, 317, 325, 730, 732, 461, 836, 837, 361,
|
|
323, 893, 339, 578, 506, 362, 46, 27, 326, 859,
|
|
363, 245, 364, 453, 365, 39, 223, 327,-32766,-32766,
|
|
-32766, 36, 37, 366, 332, 286, 38, 367, 328, 422,
|
|
78, 238, 122, 278, 279,-32766, 359,-32766, 35, 368,
|
|
369, 370, 371, 372, 388, 342, 680, 329, 560, 602,
|
|
373, 374, 375, 376, 848, 842, 843, 844, 845, 839,
|
|
840, 239, 82, 83, 84, -348, 388, 846, 841, 329,
|
|
584, 504, 280, 47, 227, 259, 243, 900, 247, 40,
|
|
350, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 788, 233, 576,-32766,-32766,-32766, 701, 702,
|
|
703, 700, 699, 698, 630, 0,-32766,-32766,-32766, 655,
|
|
656, 222,-32766, 261,-32766,-32766,-32766,-32766,-32766,-32767,
|
|
-32767,-32767,-32767,-32766, 788, 321, 328, 318, 347, 802,
|
|
-117, 257, 128, 277,-32766,-32766,-32766, 368, 369, 893,
|
|
693, 226, 666, 216, 123,-32766, 540, 602, 373, 374,
|
|
575, 535, 343,-32766, 535,-32766, 893, 375,-32766,-32766,
|
|
-32766, 675,-32766, 56,-32766, 321,-32766, 658, 263,-32766,
|
|
54, 257, 600,-32766,-32766,-32766, 788,-32766,-32766,-32766,
|
|
693, 34,-32766, 535, 897,-32766, 387,-32766, 349, 812,
|
|
-32766,-32766,-32766,-32766,-32766, 224,-32766, 544,-32766, 53,
|
|
126,-32766, 100, 101, 102,-32766,-32766,-32766, 788, 22,
|
|
-32766,-32766, 601, 259,-32766, 922, 217,-32766, 387, 887,
|
|
631, 388,-32766,-32766, 329,-32766, 321, 225, 333,-32766,
|
|
259, 915, 257, 503, 248, 535, 103, 104, 105,-32766,
|
|
233, 693,-32766,-32766,-32766, 120,-32766, 130,-32766, 344,
|
|
-32766, 451, 119,-32766,-32766,-32766, 127,-32766,-32766,-32766,
|
|
126,-32766,-32766,-32766, 213, 187,-32766, 535, 190,-32766,
|
|
387,-32766, 194, 599,-32766,-32766,-32766,-32766,-32766, 195,
|
|
-32766, 118,-32766, 788, 597,-32766, 189, -113, 117,-32766,
|
|
-32766,-32766, 848, 268,-32766,-32766, 188, 125,-32766,-32766,
|
|
-32766,-32766, 387, 509, 685, 858,-32766,-32766, 516,-32766,
|
|
328, 318, 356, 468, 520, 788, 528, 277, 352, 28,
|
|
129, 368, 369, 507,-32766,-32766,-32766, 131, 287, 233,
|
|
540, 602, 373, 374, 477, 478,-32766, 519,-32766,-32766,
|
|
588,-32766, 535,-32766,-32766,-32766,-32766, 655, 656,-32766,
|
|
-32766,-32766, 263,-32766, 526,-32766, 55,-32766, 542, 49,
|
|
-32766, 679, 525, 58,-32766,-32766,-32766, 50,-32766,-32766,
|
|
-32766, 690, 530,-32766, 535, 305,-32766, 387,-32766, 541,
|
|
511,-32766,-32766,-32766,-32766,-32766, 224,-32766, 51,-32766,
|
|
52, 482,-32766, 232, 805, 535,-32766,-32766,-32766, 788,
|
|
341,-32766,-32766, 502, 687,-32766, 491, 851,-32766, 387,
|
|
551, 920, 414,-32766,-32766, 338,-32766, 340, 549, 536,
|
|
-32766, 398, 399, 401, 413, 265, 535, 400, 471, 493,
|
|
-32766, 479, 475,-32766,-32766,-32766, -161,-32766, 266,-32766,
|
|
915,-32766, 604, 603,-32766,-32766,-32766, 456,-32766,-32766,
|
|
-32766, 788,-32766,-32766,-32766, 415, 444,-32766, 535, 229,
|
|
-32766, 387,-32766, -158, 212,-32766,-32766,-32766,-32766,-32766,
|
|
337,-32766, 473,-32766, 358, 336,-32766, 258, 406, 847,
|
|
-32766,-32766,-32766, 788, 121,-32766,-32766, 256, 193,-32766,
|
|
255, 786,-32766, 387, 246, 0, 0,-32766,-32766, 260,
|
|
-32766, 657, -348, -349,-32766, 244, 375, 42, 0, 480,
|
|
535, 0, 0, 0,-32766, 0, 0,-32766,-32766,-32766,
|
|
510,-32766, -282,-32766, 0,-32766, -290, -291,-32766, 568,
|
|
-32766, 499,-32766,-32766,-32766, 788,-32766,-32766,-32766, 462,
|
|
299,-32766, 535, 251,-32766, 387,-32766, 250, 339,-32766,
|
|
-32766,-32766,-32766,-32766, 577,-32766, 579,-32766, 684, 686,
|
|
-32766, 614, 616, 618,-32766,-32766,-32766, 563, 625,-32766,
|
|
-32766, 624, 633,-32766, 580, 565,-32766, 387, 587, 574,
|
|
513, 570,-32766, 512,-32766, 45, 44, 569,-32766, 571,
|
|
573, 586, 545, 683, 535, 676, 888, 515,-32766, 517,
|
|
522,-32766,-32766,-32766, 81,-32766, 124,-32766, 523,-32766,
|
|
524, 527,-32766,-32766,-32766, 505,-32766,-32766,-32766, 529,
|
|
-32766,-32766,-32766, 898, 668,-32766, 535, 827,-32766, 387,
|
|
-32766, 890, 878,-32766,-32766,-32766,-32766,-32766, 892,-32766,
|
|
894,-32766, 921, 355,-32766, 191, 192, 623,-32766,-32766,
|
|
-32766, 924, 622,-32766,-32766, 923, 791,-32766, 234, 32,
|
|
-32766, 387, 33, 320, 185, 572,-32766, 316,-32766, 43,
|
|
262, 237, 836, 837, 236,-32766,-32766, 48,-32766, 235,
|
|
838, 535, 30, 219, 218,-32766, 214, 186,-32766,-32766,
|
|
-32766, 80,-32766, 79,-32766, 768,-32766,-32766,-32766,-32766,
|
|
767, 829, 445,-32766,-32766,-32766, -114, 854,-32766,-32766,
|
|
659, 795,-32766, 792, 498,-32766, 387, 472, 436, 357,
|
|
353, 306, 288,-32766, 25, 24, 23, -113, 441, 0,
|
|
842, 843, 844, 845, 839, 840, 308, 872, 855, 919,
|
|
826, 889, 846, 841, 328, 318, 873, 877,-32766, 328,
|
|
-32766, 277,-32766,-32766, 891, 368, 369,-32766,-32766,-32766,
|
|
368, 369, 811, 799, 540, 602, 373, 374, 797, 560,
|
|
602, 373, 374, 328,-32766, 798,-32766,-32766,-32766,-32766,
|
|
-32766, 796, 0, 0, 368, 369, 263, 328, 0, 0,
|
|
0, 328, 543, 560, 602, 373, 374, 790, 368, 369,
|
|
0, 0, 368, 369, 328, 0, 0, 560, 602, 373,
|
|
374, 560, 602, 373, 374, 368, 369, 0, 0, 0,
|
|
328, 591, 0, 0, 560, 602, 373, 374, 0, 0,
|
|
0, 368, 369, 328, 0, 514, 0, 328, 501, 561,
|
|
560, 602, 373, 374, 368, 369, 0, 0, 368, 369,
|
|
0, 328, 598, 560, 602, 373, 374, 560, 602, 373,
|
|
374, 0, 368, 369, 492, 0, 0, 0, 593, 0,
|
|
486, 560, 602, 373, 374, 328, 0, 0, 0, 328,
|
|
0, 789, 0, 0, 0, 691, 368, 369, 0, 0,
|
|
368, 369,-32766,-32766,-32766, 560, 602, 373, 374, 560,
|
|
602, 373, 374, 0, 328, 0, 0, 0, 0,-32766,
|
|
0,-32766,-32766,-32766,-32766, 368, 369, 0, 0, 0,
|
|
0, 0, 0, 0, 560, 602, 373, 374
|
|
);
|
|
|
|
protected static $yycheck = array(
|
|
2, 3, 4, 5, 6, 8, 9, 10, 7, 11,
|
|
12, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
61, 76, 25, 73, 27, 28, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 61, 7,
|
|
42, 43, 71, 71, 73, 74, 48, 71, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 51, 52, 76, 69, 70, 71,
|
|
7, 73, 141, 75, 143, 77, 78, 79, 80, 134,
|
|
82, 122, 84, 81, 86, 135, 136, 89, 8, 9,
|
|
10, 93, 94, 95, 96, 7, 98, 99, 96, 122,
|
|
102, 7, 143, 105, 106, 25, 7, 27, 7, 107,
|
|
108, 113, 114, 115, 138, 26, 144, 141, 116, 117,
|
|
118, 119, 124, 125, 134, 127, 128, 129, 130, 131,
|
|
132, 133, 8, 9, 10, 122, 138, 139, 140, 141,
|
|
142, 143, 7, 145, 31, 147, 148, 146, 150, 25,
|
|
7, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 12, 49, 142, 8, 9, 10, 106, 107,
|
|
108, 109, 110, 111, 26, 0, 8, 9, 10, 125,
|
|
126, 31, 25, 7, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 25, 12, 97, 96, 97, 71, 146,
|
|
146, 103, 61, 103, 8, 9, 10, 107, 108, 73,
|
|
112, 7, 73, 31, 7, 65, 116, 117, 118, 119,
|
|
142, 71, 143, 8, 71, 75, 73, 124, 78, 79,
|
|
80, 142, 82, 61, 84, 97, 86, 146, 138, 89,
|
|
61, 103, 144, 93, 94, 95, 12, 65, 98, 99,
|
|
112, 7, 102, 71, 71, 105, 106, 75, 71, 106,
|
|
78, 79, 80, 113, 82, 31, 84, 142, 86, 61,
|
|
143, 89, 42, 43, 44, 93, 94, 95, 12, 146,
|
|
98, 99, 144, 147, 102, 144, 147, 105, 106, 73,
|
|
142, 138, 142, 143, 141, 113, 97, 31, 145, 65,
|
|
147, 76, 103, 71, 76, 71, 45, 46, 47, 75,
|
|
49, 112, 78, 79, 80, 143, 82, 143, 84, 7,
|
|
86, 147, 143, 89, 142, 143, 143, 93, 94, 95,
|
|
143, 65, 98, 99, 123, 7, 102, 71, 13, 105,
|
|
106, 75, 13, 144, 78, 79, 80, 113, 82, 13,
|
|
84, 143, 86, 12, 31, 89, 13, 146, 13, 93,
|
|
94, 95, 134, 147, 98, 99, 13, 26, 102, 8,
|
|
9, 105, 106, 26, 142, 150, 142, 143, 26, 113,
|
|
96, 97, 66, 67, 26, 12, 26, 103, 66, 67,
|
|
26, 107, 108, 26, 8, 9, 10, 91, 92, 49,
|
|
116, 117, 118, 119, 100, 101, 65, 26, 142, 143,
|
|
26, 25, 71, 27, 28, 29, 75, 125, 126, 78,
|
|
79, 80, 138, 82, 26, 84, 61, 86, 144, 61,
|
|
89, 142, 143, 61, 93, 94, 95, 61, 65, 98,
|
|
99, 142, 143, 102, 71, 72, 105, 106, 75, 142,
|
|
143, 78, 79, 80, 113, 82, 31, 84, 61, 86,
|
|
61, 68, 89, 62, 73, 71, 93, 94, 95, 12,
|
|
80, 98, 99, 71, 71, 102, 71, 71, 105, 106,
|
|
71, 71, 71, 142, 143, 71, 113, 71, 71, 71,
|
|
65, 71, 71, 71, 71, 76, 71, 73, 90, 73,
|
|
75, 73, 73, 78, 79, 80, 73, 82, 76, 84,
|
|
76, 86, 117, 117, 89, 142, 143, 90, 93, 94,
|
|
95, 12, 65, 98, 99, 88, 88, 102, 71, 88,
|
|
105, 106, 75, 88, 88, 78, 79, 80, 113, 82,
|
|
96, 84, 103, 86, 96, 141, 89, 104, 141, 134,
|
|
93, 94, 95, 12, 123, 98, 99, 121, 123, 102,
|
|
120, 148, 105, 106, 122, -1, -1, 142, 143, 120,
|
|
113, 146, 122, 122, 65, 122, 124, 123, -1, 149,
|
|
71, -1, -1, -1, 75, -1, -1, 78, 79, 80,
|
|
143, 82, 137, 84, -1, 86, 137, 137, 89, 142,
|
|
143, 137, 93, 94, 95, 12, 65, 98, 99, 137,
|
|
137, 102, 71, 137, 105, 106, 75, 137, 141, 78,
|
|
79, 80, 113, 82, 142, 84, 142, 86, 142, 142,
|
|
89, 142, 142, 142, 93, 94, 95, 142, 142, 98,
|
|
99, 142, 142, 102, 142, 142, 105, 106, 142, 142,
|
|
142, 142, 143, 142, 113, 142, 142, 142, 65, 142,
|
|
142, 142, 142, 142, 71, 142, 144, 143, 75, 143,
|
|
143, 78, 79, 80, 143, 82, 143, 84, 143, 86,
|
|
143, 143, 89, 142, 143, 143, 93, 94, 95, 143,
|
|
65, 98, 99, 144, 144, 102, 71, 144, 105, 106,
|
|
75, 144, 144, 78, 79, 80, 113, 82, 144, 84,
|
|
144, 86, 144, 144, 89, 42, 43, 144, 93, 94,
|
|
95, 144, 144, 98, 99, 144, 146, 102, 145, 145,
|
|
105, 106, 145, 145, 61, 142, 143, 145, 113, 145,
|
|
145, 145, 69, 70, 145, 65, 73, 145, 145, 145,
|
|
77, 71, 145, 145, 145, 75, 145, 145, 78, 79,
|
|
80, 145, 82, 145, 84, 146, 86, 142, 143, 89,
|
|
146, 146, 146, 93, 94, 95, 146, 146, 98, 99,
|
|
146, 146, 102, 146, 146, 105, 106, 146, 146, 146,
|
|
146, 146, 146, 113, 146, 146, 146, 146, 125, -1,
|
|
127, 128, 129, 130, 131, 132, 133, 149, 149, 149,
|
|
149, 149, 139, 140, 96, 97, 149, 149, 145, 96,
|
|
147, 103, 142, 143, 149, 107, 108, 8, 9, 10,
|
|
107, 108, 149, 149, 116, 117, 118, 119, 149, 116,
|
|
117, 118, 119, 96, 25, 149, 27, 28, 29, 30,
|
|
31, 149, -1, -1, 107, 108, 138, 96, -1, -1,
|
|
-1, 96, 144, 116, 117, 118, 119, 144, 107, 108,
|
|
-1, -1, 107, 108, 96, -1, -1, 116, 117, 118,
|
|
119, 116, 117, 118, 119, 107, 108, -1, -1, -1,
|
|
96, 144, -1, -1, 116, 117, 118, 119, -1, -1,
|
|
-1, 107, 108, 96, -1, 144, -1, 96, 83, 144,
|
|
116, 117, 118, 119, 107, 108, -1, -1, 107, 108,
|
|
-1, 96, 144, 116, 117, 118, 119, 116, 117, 118,
|
|
119, -1, 107, 108, 85, -1, -1, -1, 144, -1,
|
|
87, 116, 117, 118, 119, 96, -1, -1, -1, 96,
|
|
-1, 144, -1, -1, -1, 144, 107, 108, -1, -1,
|
|
107, 108, 8, 9, 10, 116, 117, 118, 119, 116,
|
|
117, 118, 119, -1, 96, -1, -1, -1, -1, 25,
|
|
-1, 27, 28, 29, 30, 107, 108, -1, -1, -1,
|
|
-1, -1, -1, -1, 116, 117, 118, 119
|
|
);
|
|
|
|
protected static $yybase = array(
|
|
0, 728, 294, 110, 775, 771, 2, 863, 859, 788,
|
|
817, 804, 733, 835, 757, 821, 888, 888, 888, 888,
|
|
888, 357, 362, 368, 370, 368, 377, -2, -2, -2,
|
|
435, 160, 160, 635, 160, 244, 467, 519, 603, 383,
|
|
351, 192, 276, 551, 551, 551, 551, 690, 690, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
|
|
551, 551, 158, 494, 441, 464, 525, 527, 528, 529,
|
|
590, 456, 629, 578, 576, 374, 574, 568, 567, 563,
|
|
560, 579, 559, 440, 532, 124, 124, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 225, 371, 206, 206, 206,
|
|
206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
|
|
206, 206, 178, 178, 80, 683, 683, 683, 683, 683,
|
|
683, 683, 683, 683, 683, 683, -3, 396, 964, 829,
|
|
167, 167, 167, 167, 13, -25, -25, -25, -25, 148,
|
|
108, 209, 113, 113, 462, 462, 411, 543, 163, 163,
|
|
163, 163, 163, 163, 163, 163, 163, 163, 443, 412,
|
|
240, 240, 613, 613, 64, 64, 64, 64, 302, 238,
|
|
-55, 235, -28, 429, 193, 193, 193, 442, 425, 444,
|
|
137, 197, 271, 271, 271, -24, -24, -24, -24, 541,
|
|
-24, -24, -24, -69, 189, -50, -50, -29, 184, 437,
|
|
588, 418, 583, 299, 470, -41, 317, 414, 149, 454,
|
|
414, 332, 326, 314, 465, 89, 149, 158, 309, 182,
|
|
492, 421, 530, 447, 135, 88, 32, -23, 218, 226,
|
|
143, 448, 636, 634, 1, 151, 461, 101, -10, 218,
|
|
221, 533, 99, 63, 531, 242, 333, 597, 431, 617,
|
|
433, 431, 438, 333, 612, 612, 612, 612, 333, 404,
|
|
617, 617, 333, 411, 617, 254, 404, 333, 450, 404,
|
|
459, 612, 521, 518, 431, 434, 446, 617, 617, 617,
|
|
433, 333, 612, 449, 338, 617, 612, 449, 333, 438,
|
|
185, 394, 378, 604, 628, 598, 430, 552, 406, 405,
|
|
619, 618, 626, 432, 424, 621, 594, 417, 517, 426,
|
|
355, 386, 407, 409, 490, 375, 463, 454, 487, 360,
|
|
460, 486, 460, 712, 483, 469, 452, 400, 516, 363,
|
|
353, 457, 417, 647, 655, 423, 428, 593, 652, 460,
|
|
706, 524, 217, 335, 614, 427, 460, 609, 460, 534,
|
|
460, 645, 420, 587, 417, 360, 360, 360, 644, 699,
|
|
694, 693, 685, 678, 677, 672, 382, 671, 513, 654,
|
|
94, 622, 465, 482, 419, 512, 186, 670, 460, 460,
|
|
536, 541, 460, 510, 523, 660, 509, 651, 439, 445,
|
|
669, 425, 416, 653, 460, 458, 668, 186, 391, 403,
|
|
640, 506, 537, 602, 545, 339, 641, 605, 547, 346,
|
|
591, 408, 505, 659, 658, 661, 501, 548, 415, 401,
|
|
436, 606, 500, 648, 455, 474, 453, 451, 556, 413,
|
|
656, 499, 497, 496, 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, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, 0, 0,
|
|
0, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
-2, -2, -2, 124, 124, 124, 124, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 124, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 124, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 124, 163, 163, 163, 163,
|
|
163, 163, 163, 163, 163, 163, 163, 124, 124, 124,
|
|
124, 124, 124, 124, 124, 0, 271, 271, 271, 271,
|
|
72, 72, 72, 163, 163, 163, 163, 163, 163, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 72,
|
|
72, 271, 271, 163, 163, -24, -24, -24, -24, -24,
|
|
-50, -50, -50, -24, -50, 146, 146, 146, -50, -50,
|
|
-50, 226, 226, 0, 0, 0, 0, 0, 0, 0,
|
|
146, 0, 0, 0, 404, 617, 0, 0, 0, 146,
|
|
316, 316, 316, 316, 186, 218, 0, 417, 404, 0,
|
|
434, 404, 0, 0, 0, 617, 0, 0, 0, 0,
|
|
0, 217, 593, 322, 417, 0, 0, 0, 0, 0,
|
|
0, 0, 417, 214, 214, 0, 0, 382, 0, 0,
|
|
0, 0, 322, 0, 0, 186
|
|
);
|
|
|
|
protected static $yydefault = array(
|
|
3,32767,32767, 1,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 106, 98, 112, 97,
|
|
108,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 375, 375,32767, 332,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 179, 179, 179,32767,32767,32767, 364,
|
|
364, 364, 364, 364, 364, 364, 364, 364, 364,32767,
|
|
32767,32767,32767,32767, 257,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, 262, 380,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 238, 239, 241, 242, 178,
|
|
365, 131, 263, 379, 177, 205, 207, 256, 206, 183,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 182, 235, 234, 203, 329, 329, 332,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 204, 208, 210, 209,
|
|
225, 226, 223, 224, 181, 227, 228, 229, 230, 163,
|
|
163, 163,32767,32767, 374, 374,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 164,32767,
|
|
217, 218, 292, 292, 122, 122, 122, 122, 122,32767,
|
|
32767,32767,32767, 300,32767,32767,32767,32767,32767, 302,
|
|
32767,32767, 212, 213, 211,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 337, 301,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 350, 288,32767,32767,32767, 281,
|
|
32767, 109, 111, 61, 318,32767,32767,32767,32767, 355,
|
|
32767,32767,32767, 17,32767,32767,32767, 387, 350,32767,
|
|
32767, 19,32767,32767,32767,32767, 233,32767,32767, 354,
|
|
348,32767,32767,32767,32767,32767, 65, 297,32767, 303,
|
|
32767,32767,32767, 65,32767,32767,32767,32767, 65,32767,
|
|
353, 352, 65,32767, 282, 331,32767, 65, 76,32767,
|
|
74,32767, 95, 95,32767,32767, 78, 326, 343,32767,
|
|
32767, 65,32767, 270, 331,32767,32767, 270, 65,32767,
|
|
32767, 4, 307,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 283,32767,32767,
|
|
32767, 253, 254, 339,32767, 340,32767, 281,32767, 221,
|
|
200,32767, 202,32767,32767, 286, 289,32767,32767,32767,
|
|
140,32767, 284,32767, 186,32767,32767,32767,32767, 382,
|
|
32767,32767, 180,32767,32767,32767, 136,32767, 63,32767,
|
|
372,32767,32767, 348, 285, 214, 215, 216,32767,32767,
|
|
32767,32767,32767,32767,32767,32767, 349,32767,32767,32767,
|
|
116,32767, 318,32767,32767,32767, 77,32767, 184, 132,
|
|
32767,32767, 381,32767,32767,32767,32767,32767,32767, 336,
|
|
32767,32767,32767,32767, 64,32767,32767, 79,32767,32767,
|
|
348,32767,32767,32767,32767, 120,32767,32767,32767, 175,
|
|
32767,32767,32767,32767,32767, 348,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 4,32767, 157,32767,32767,32767,
|
|
32767,32767,32767,32767, 25, 25, 3, 25, 103, 25,
|
|
143, 3, 95, 95, 58, 143, 25, 143, 25, 25,
|
|
25, 25, 25, 25, 25, 150, 25, 25, 25, 25,
|
|
25
|
|
);
|
|
|
|
protected static $yygoto = array(
|
|
161, 135, 135, 140, 135, 161, 136, 137, 138, 143,
|
|
145, 169, 163, 159, 159, 159, 159, 140, 140, 160,
|
|
160, 160, 160, 160, 160, 160, 160, 160, 160, 155,
|
|
156, 157, 158, 167, 134, 750, 751, 389, 753, 774,
|
|
775, 776, 777, 778, 779, 780, 782, 718, 139, 141,
|
|
142, 144, 165, 166, 168, 184, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 205, 206, 207, 208, 230, 231,
|
|
252, 253, 254, 425, 426, 427, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 146, 147,
|
|
148, 162, 149, 164, 150, 182, 151, 152, 153, 183,
|
|
154, 132, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 442, 442, 310, 485, 420, 420, 448, 416, 418,
|
|
418, 390, 392, 409, 423, 449, 452, 464, 470, 334,
|
|
334, 334, 334, 334, 334, 334, 334, 334, 334, 334,
|
|
334, 334, 334, 334, 334, 646, 646, 904, 904, 813,
|
|
813, 654, 654, 654, 654, 654, 404, 454, 483, 495,
|
|
443, 443, 443, 443, 443, 443, 443, 443, 443, 443,
|
|
443, 270, 611, 611, 611, 611, 582, 606, 612, 490,
|
|
391, 391, 391, 391, 391, 391, 391, 391, 391, 391,
|
|
391, 391, 391, 391, 391, 391, 538, 538, 538, 421,
|
|
394, 394, 5, 876, 16, 908, 6, 395, 395, 537,
|
|
537, 537, 661, 7, 290, 17, 18, 8, 19, 9,
|
|
10, 11, 476, 20, 12, 13, 14, 15, 864, 632,
|
|
617, 615, 613, 615, 508, 397, 641, 636, 850, 850,
|
|
850, 850, 850, 850, 850, 850, 850, 850, 850, 429,
|
|
430, 431, 432, 433, 434, 435, 437, 466, 835, 539,
|
|
539, 539, 291, 1, 484, 830, 407, 901, 2, 809,
|
|
810, 417, 771, 26, 21, 285, 554, 672, 621, 852,
|
|
853, 866, 652, 707, 276, 458, 807, 875, 807, 438,
|
|
884, 884, 488, 249, 808, 883, 883, 241, 293, 762,
|
|
29, 293, 914, 914, 481, 697, 315, 899, 899, 899,
|
|
917, 914, 396, 396, 298, 298, 298, 428, 303, 210,
|
|
403, 211, 882, 825, 824, 716, 546, 917, 917, 298,
|
|
457, 463, 500, 664, 403, 403, 650, 311, 309, 552,
|
|
271, 272, 467, 273, 314, 804, 518, 669, 620, 487,
|
|
402, 861, 705, 0, 0, 0, 0, 301, 0, 0,
|
|
424, 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, 408
|
|
);
|
|
|
|
protected static $yygcheck = array(
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 38, 38, 38, 38, 38, 38, 38, 38,
|
|
38, 38, 38, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 38,
|
|
38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
|
|
38, 38, 38, 38, 38, 53, 53, 53, 53, 38,
|
|
38, 38, 38, 38, 38, 38, 75, 21, 21, 38,
|
|
92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
|
|
92, 48, 38, 38, 38, 38, 31, 38, 38, 38,
|
|
89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
|
|
89, 89, 89, 89, 89, 89, 6, 6, 6, 83,
|
|
89, 89, 13, 57, 13, 111, 13, 92, 92, 5,
|
|
5, 5, 59, 13, 28, 13, 13, 13, 13, 13,
|
|
13, 13, 100, 13, 13, 13, 13, 13, 103, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 99, 99,
|
|
99, 99, 99, 99, 99, 99, 99, 99, 99, 84,
|
|
84, 84, 84, 84, 84, 84, 84, 84, 57, 7,
|
|
7, 7, 39, 2, 30, 15, 39, 109, 2, 57,
|
|
57, 39, 15, 15, 15, 15, 12, 12, 12, 12,
|
|
12, 12, 12, 12, 4, 39, 57, 57, 57, 15,
|
|
90, 90, 39, 98, 57, 91, 91, 98, 4, 76,
|
|
15, 4, 112, 112, 15, 72, 72, 91, 91, 91,
|
|
112, 112, 95, 95, 96, 96, 96, 25, 29, 44,
|
|
25, 44, 91, 97, 97, 75, 10, 112, 112, 96,
|
|
40, 40, 40, 60, 25, 25, 55, 9, 96, 11,
|
|
48, 48, 46, 46, 46, 87, 50, 61, 47, 82,
|
|
4, 102, 74, -1, -1, -1, -1, 4, -1, -1,
|
|
4, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 75
|
|
);
|
|
|
|
protected static $yygbase = array(
|
|
0, 0, -243, 0, 21, 208, 195, 258, 0, 16,
|
|
46, -5, 88, -303, 0, -52, 0, 0, 0, 0,
|
|
0, 113, 0, 0, -30, 287, 0, 0, 168, 99,
|
|
51, 151, -99, 0, 0, 0, 0, 0, -83, -66,
|
|
95, 0, 0, 0, -196, 0, 86, -2, -172, 0,
|
|
59, 0, 0, -67, 0, 98, 0, -61, 0, 177,
|
|
47, 2, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 77, 0, -7, 109, 66, 0, 0, 0,
|
|
0, 0, -8, 167, 199, 0, 0, 22, 0, -32,
|
|
58, 63, -25, 0, 0, 80, 70, 78, 50, 53,
|
|
36, 0, -3, 41, 0, 0, 0, 0, 0, 52,
|
|
0, 171, 62, 0
|
|
);
|
|
|
|
protected static $yygdefault = array(
|
|
-32768, 360, 3, 533, 377, 557, 558, 559, 294, 292,
|
|
547, 553, 459, 4, 555, 763, 281, 562, 282, 469,
|
|
564, 411, 566, 567, 133, 378, 295, 296, 412, 302,
|
|
455, 581, 204, 300, 583, 283, 585, 590, 284, 489,
|
|
439, 379, 346, 450, 209, 419, 446, 619, 269, 627,
|
|
521, 635, 638, 380, 440, 649, 351, 806, 307, 660,
|
|
665, 670, 673, 322, 312, 465, 677, 678, 242, 682,
|
|
496, 497, 696, 228, 704, 717, 319, 781, 783, 381,
|
|
382, 405, 474, 393, 410, 800, 313, 803, 383, 384,
|
|
330, 331, 821, 818, 275, 869, 274, 348, 240, 856,
|
|
460, 354, 907, 865, 264, 385, 386, 289, 304, 902,
|
|
335, 909, 916, 447
|
|
);
|
|
|
|
protected static $yylhs = array(
|
|
0, 1, 2, 2, 4, 4, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 8, 8, 10, 10, 10,
|
|
10, 9, 9, 11, 13, 13, 14, 14, 14, 14,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 35, 35,
|
|
37, 36, 36, 29, 29, 39, 39, 6, 7, 7,
|
|
7, 41, 41, 41, 42, 42, 45, 45, 43, 43,
|
|
46, 46, 22, 22, 31, 31, 34, 34, 33, 33,
|
|
47, 23, 23, 23, 23, 48, 48, 49, 49, 50,
|
|
50, 20, 20, 16, 16, 51, 18, 18, 52, 17,
|
|
17, 19, 19, 30, 30, 30, 40, 40, 54, 54,
|
|
55, 55, 56, 56, 56, 56, 57, 57, 57, 58,
|
|
58, 59, 59, 26, 26, 60, 60, 60, 27, 27,
|
|
61, 61, 44, 44, 62, 62, 62, 62, 67, 67,
|
|
68, 68, 69, 69, 69, 69, 70, 71, 71, 66,
|
|
66, 63, 63, 65, 65, 73, 73, 72, 72, 72,
|
|
72, 72, 72, 64, 64, 74, 74, 28, 28, 21,
|
|
21, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
|
|
15, 15, 25, 25, 79, 79, 80, 80, 80, 75,
|
|
82, 82, 86, 86, 87, 88, 88, 88, 88, 88,
|
|
88, 92, 92, 38, 38, 38, 76, 76, 93, 93,
|
|
89, 89, 94, 94, 94, 94, 94, 77, 77, 77,
|
|
81, 81, 81, 85, 85, 99, 99, 99, 99, 99,
|
|
99, 99, 99, 99, 99, 99, 99, 99, 99, 12,
|
|
12, 12, 12, 12, 12, 78, 78, 78, 78, 100,
|
|
100, 102, 102, 101, 101, 103, 103, 32, 32, 32,
|
|
32, 105, 105, 104, 104, 104, 104, 104, 106, 106,
|
|
91, 91, 95, 95, 90, 90, 107, 107, 107, 107,
|
|
96, 96, 96, 96, 84, 84, 97, 97, 97, 53,
|
|
108, 108, 109, 109, 109, 83, 83, 110, 110, 111,
|
|
111, 111, 111, 98, 98, 98, 98, 112, 112, 112,
|
|
112, 112, 112, 112, 113, 113, 113
|
|
);
|
|
|
|
protected static $yylen = array(
|
|
1, 1, 2, 0, 1, 3, 1, 1, 1, 1,
|
|
3, 5, 4, 3, 3, 3, 1, 1, 3, 2,
|
|
4, 3, 1, 3, 2, 0, 1, 1, 1, 1,
|
|
3, 5, 8, 3, 5, 9, 3, 2, 3, 2,
|
|
3, 2, 3, 2, 3, 3, 3, 1, 2, 5,
|
|
7, 9, 5, 1, 6, 3, 3, 2, 0, 2,
|
|
8, 0, 4, 1, 3, 0, 1, 9, 7, 6,
|
|
5, 1, 2, 2, 0, 2, 0, 2, 0, 2,
|
|
1, 3, 1, 4, 1, 4, 1, 4, 1, 3,
|
|
3, 3, 4, 4, 5, 0, 2, 4, 3, 1,
|
|
1, 1, 4, 0, 2, 3, 0, 2, 4, 0,
|
|
2, 0, 3, 1, 2, 1, 1, 0, 1, 3,
|
|
3, 5, 0, 1, 1, 1, 2, 3, 3, 1,
|
|
3, 1, 2, 3, 1, 1, 2, 4, 3, 1,
|
|
1, 3, 2, 0, 3, 3, 8, 3, 1, 3,
|
|
0, 2, 4, 5, 4, 4, 3, 1, 1, 1,
|
|
3, 1, 1, 0, 1, 1, 2, 1, 1, 1,
|
|
1, 1, 1, 1, 3, 1, 3, 3, 1, 0,
|
|
1, 1, 3, 3, 4, 4, 1, 2, 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, 2,
|
|
2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 1, 3, 5, 4, 4, 4, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 1, 1, 1, 3, 2, 1, 9, 10,
|
|
3, 3, 2, 4, 4, 3, 4, 4, 4, 3,
|
|
0, 4, 1, 3, 2, 2, 4, 6, 2, 2,
|
|
4, 1, 1, 1, 2, 3, 1, 1, 1, 1,
|
|
1, 1, 0, 3, 3, 4, 4, 0, 2, 1,
|
|
0, 1, 1, 0, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 3, 2, 1, 1,
|
|
3, 2, 2, 4, 3, 1, 3, 3, 3, 0,
|
|
2, 0, 1, 3, 1, 3, 1, 1, 1, 1,
|
|
1, 6, 4, 3, 4, 2, 4, 4, 1, 3,
|
|
1, 2, 1, 1, 4, 1, 3, 6, 4, 4,
|
|
4, 4, 1, 4, 0, 1, 1, 3, 1, 4,
|
|
3, 1, 1, 1, 0, 0, 2, 3, 1, 3,
|
|
1, 4, 2, 2, 2, 1, 2, 1, 4, 3,
|
|
3, 3, 6, 3, 1, 1, 1
|
|
);
|
|
|
|
protected $yyval;
|
|
protected $yyastk;
|
|
protected $stackPos;
|
|
protected $lexer;
|
|
|
|
/**
|
|
* Creates a parser instance.
|
|
*
|
|
* @param PHPParser_Lexer $lexer A lexer
|
|
*/
|
|
public function __construct(PHPParser_Lexer $lexer) {
|
|
$this->lexer = $lexer;
|
|
}
|
|
|
|
/**
|
|
* Parses PHP code into a node tree.
|
|
*
|
|
* @param string $code The source code to parse
|
|
*
|
|
* @return array Array of statements
|
|
*/
|
|
public function parse($code) {
|
|
$this->lexer->startLexing($code);
|
|
|
|
// We start off with no lookahead-token
|
|
$tokenId = self::TOKEN_NONE;
|
|
|
|
// The attributes for a node are taken from the first and last token of the node.
|
|
// From the first token only the startAttributes are taken and from the last only
|
|
// the endAttributes. Both are merged using the array union operator (+).
|
|
$startAttributes = array('startLine' => 1);
|
|
$endAttributes = array();
|
|
|
|
// In order to figure out the attributes for the starting token, we have to keep
|
|
// them in a stack
|
|
$attributeStack = array($startAttributes);
|
|
|
|
// Start off in the initial state and keep a stack of previous states
|
|
$state = 0;
|
|
$stateStack = array($state);
|
|
|
|
// AST stack (?)
|
|
$this->yyastk = array();
|
|
|
|
// Current position in the stack(s)
|
|
$this->stackPos = 0;
|
|
|
|
for (;;) {
|
|
if (self::$yybase[$state] == 0) {
|
|
$yyn = self::$yydefault[$state];
|
|
} else {
|
|
if ($tokenId === self::TOKEN_NONE) {
|
|
// fetch the next token id from the lexer and fetch additional info by-ref
|
|
$origTokenId = $this->lexer->getNextToken($tokenValue, $startAttributes, $endAttributes);
|
|
|
|
// map the lexer token id to the internally used token id's
|
|
$tokenId = $origTokenId >= 0 && $origTokenId < self::TOKEN_MAP_SIZE
|
|
? self::$translate[$origTokenId]
|
|
: self::TOKEN_INVALID;
|
|
|
|
if ($tokenId === self::TOKEN_INVALID) {
|
|
throw new RangeException(sprintf(
|
|
'The lexer returned an invalid token (id=%d, value=%s)',
|
|
$origTokenId, $tokenValue
|
|
));
|
|
}
|
|
|
|
$attributeStack[$this->stackPos] = $startAttributes;
|
|
}
|
|
|
|
if ((($yyn = self::$yybase[$state] + $tokenId) >= 0
|
|
&& $yyn < self::YYLAST && self::$yycheck[$yyn] == $tokenId
|
|
|| ($state < self::YY2TBLSTATE
|
|
&& ($yyn = self::$yybase[$state + self::YYNLSTATES] + $tokenId) >= 0
|
|
&& $yyn < self::YYLAST
|
|
&& self::$yycheck[$yyn] == $tokenId))
|
|
&& ($yyn = self::$yyaction[$yyn]) != self::YYDEFAULT) {
|
|
/*
|
|
* >= YYNLSTATE: shift and reduce
|
|
* > 0: shift
|
|
* = 0: accept
|
|
* < 0: reduce
|
|
* = -YYUNEXPECTED: error
|
|
*/
|
|
if ($yyn > 0) {
|
|
/* shift */
|
|
++$this->stackPos;
|
|
|
|
$stateStack[$this->stackPos] = $state = $yyn;
|
|
$this->yyastk[$this->stackPos] = $tokenValue;
|
|
$attributeStack[$this->stackPos] = $startAttributes;
|
|
$tokenId = self::TOKEN_NONE;
|
|
|
|
if ($yyn < self::YYNLSTATES)
|
|
continue;
|
|
|
|
/* $yyn >= YYNLSTATES means shift-and-reduce */
|
|
$yyn -= self::YYNLSTATES;
|
|
} else {
|
|
$yyn = -$yyn;
|
|
}
|
|
} else {
|
|
$yyn = self::$yydefault[$state];
|
|
}
|
|
}
|
|
|
|
for (;;) {
|
|
/* reduce/error */
|
|
if ($yyn == 0) {
|
|
/* accept */
|
|
return $this->yyval;
|
|
} elseif ($yyn != self::YYUNEXPECTED) {
|
|
/* reduce */
|
|
try {
|
|
$this->{'yyn' . $yyn}(
|
|
$attributeStack[$this->stackPos - self::$yylen[$yyn]]
|
|
+ $endAttributes
|
|
);
|
|
} catch (PHPParser_Error $e) {
|
|
if (-1 === $e->getRawLine()) {
|
|
$e->setRawLine($startAttributes['startLine']);
|
|
}
|
|
|
|
throw $e;
|
|
}
|
|
|
|
/* Goto - shift nonterminal */
|
|
$this->stackPos -= self::$yylen[$yyn];
|
|
$yyn = self::$yylhs[$yyn];
|
|
if (($yyp = self::$yygbase[$yyn] + $stateStack[$this->stackPos]) >= 0
|
|
&& $yyp < self::YYGLAST
|
|
&& self::$yygcheck[$yyp] == $yyn) {
|
|
$state = self::$yygoto[$yyp];
|
|
} else {
|
|
$state = self::$yygdefault[$yyn];
|
|
}
|
|
|
|
++$this->stackPos;
|
|
|
|
$stateStack[$this->stackPos] = $state;
|
|
$this->yyastk[$this->stackPos] = $this->yyval;
|
|
$attributeStack[$this->stackPos] = $startAttributes;
|
|
} else {
|
|
/* error */
|
|
throw new PHPParser_Error(
|
|
'Unexpected token ' . self::$terminals[$tokenId],
|
|
$startAttributes['startLine']
|
|
);
|
|
}
|
|
|
|
if ($state < self::YYNLSTATES)
|
|
break;
|
|
/* >= YYNLSTATES means shift-and-reduce */
|
|
$yyn = $state - self::YYNLSTATES;
|
|
}
|
|
}
|
|
}
|
|
|
|
protected function yyn0() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn1($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Namespace::postprocess($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn2($attributes) {
|
|
if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function yyn3($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn4($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn5($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn6($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn7($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn8($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn9($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_HaltCompiler($this->lexer->handleHaltCompiler(), $attributes);
|
|
}
|
|
|
|
protected function yyn10($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(3-2)], $attributes), null, $attributes);
|
|
}
|
|
|
|
protected function yyn11($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(5-2)], $attributes), $this->yyastk[$this->stackPos-(5-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn12($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(null, $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn13($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Use($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn14($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Const($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn15($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn16($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn17($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes), null, $attributes);
|
|
}
|
|
|
|
protected function yyn18($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(3-1)], $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn19($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(2-2)], $attributes), null, $attributes);
|
|
}
|
|
|
|
protected function yyn20($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(4-2)], $attributes), $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn21($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn22($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn23($attributes) {
|
|
$this->yyval = new PHPParser_Node_Const($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn24($attributes) {
|
|
if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; };
|
|
}
|
|
|
|
protected function yyn25($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn26($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn27($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn28($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn29($attributes) {
|
|
throw new PHPParser_Error('__halt_compiler() can only be used from the outermost scope');
|
|
}
|
|
|
|
protected function yyn30($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn31($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->stackPos-(5-2)], array('stmts' => is_array($this->yyastk[$this->stackPos-(5-3)]) ? $this->yyastk[$this->stackPos-(5-3)] : array($this->yyastk[$this->stackPos-(5-3)]), 'elseifs' => $this->yyastk[$this->stackPos-(5-4)], 'else' => $this->yyastk[$this->stackPos-(5-5)]), $attributes);
|
|
}
|
|
|
|
protected function yyn32($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->stackPos-(8-2)], array('stmts' => $this->yyastk[$this->stackPos-(8-4)], 'elseifs' => $this->yyastk[$this->stackPos-(8-5)], 'else' => $this->yyastk[$this->stackPos-(8-6)]), $attributes);
|
|
}
|
|
|
|
protected function yyn33($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_While($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn34($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Do($this->yyastk[$this->stackPos-(5-4)], is_array($this->yyastk[$this->stackPos-(5-2)]) ? $this->yyastk[$this->stackPos-(5-2)] : array($this->yyastk[$this->stackPos-(5-2)]), $attributes);
|
|
}
|
|
|
|
protected function yyn35($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_For(array('init' => $this->yyastk[$this->stackPos-(9-3)], 'cond' => $this->yyastk[$this->stackPos-(9-5)], 'loop' => $this->yyastk[$this->stackPos-(9-7)], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes);
|
|
}
|
|
|
|
protected function yyn36($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Switch($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn37($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Break(null, $attributes);
|
|
}
|
|
|
|
protected function yyn38($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Break($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn39($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Continue(null, $attributes);
|
|
}
|
|
|
|
protected function yyn40($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Continue($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn41($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Return(null, $attributes);
|
|
}
|
|
|
|
protected function yyn42($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Return($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn43($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn44($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Global($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn45($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Static($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn46($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Echo($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn47($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_InlineHTML($this->yyastk[$this->stackPos-(1-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn48($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn49($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Unset($this->yyastk[$this->stackPos-(5-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn50($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->stackPos-(7-3)], $this->yyastk[$this->stackPos-(7-5)][0], array('keyVar' => null, 'byRef' => $this->yyastk[$this->stackPos-(7-5)][1], 'stmts' => $this->yyastk[$this->stackPos-(7-7)]), $attributes);
|
|
}
|
|
|
|
protected function yyn51($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->stackPos-(9-3)], $this->yyastk[$this->stackPos-(9-7)][0], array('keyVar' => $this->yyastk[$this->stackPos-(9-5)], 'byRef' => $this->yyastk[$this->stackPos-(9-7)][1], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes);
|
|
}
|
|
|
|
protected function yyn52($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Declare($this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes);
|
|
}
|
|
|
|
protected function yyn53($attributes) {
|
|
$this->yyval = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function yyn54($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TryCatch($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $this->yyastk[$this->stackPos-(6-6)], $attributes);
|
|
}
|
|
|
|
protected function yyn55($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Throw($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn56($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Goto($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn57($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Label($this->yyastk[$this->stackPos-(2-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn58($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn59($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn60($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Catch($this->yyastk[$this->stackPos-(8-3)], substr($this->yyastk[$this->stackPos-(8-4)], 1), $this->yyastk[$this->stackPos-(8-7)], $attributes);
|
|
}
|
|
|
|
protected function yyn61($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn62($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function yyn63($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn64($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn65($attributes) {
|
|
$this->yyval = false;
|
|
}
|
|
|
|
protected function yyn66($attributes) {
|
|
$this->yyval = true;
|
|
}
|
|
|
|
protected function yyn67($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Function($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes);
|
|
}
|
|
|
|
protected function yyn68($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Class($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes);
|
|
}
|
|
|
|
protected function yyn69($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Interface($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes);
|
|
}
|
|
|
|
protected function yyn70($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Trait($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn71($attributes) {
|
|
$this->yyval = 0;
|
|
}
|
|
|
|
protected function yyn72($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function yyn73($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function yyn74($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn75($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function yyn76($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn77($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function yyn78($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn79($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function yyn80($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn81($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn82($attributes) {
|
|
$this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn83($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function yyn84($attributes) {
|
|
$this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn85($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function yyn86($attributes) {
|
|
$this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn87($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function yyn88($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn89($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn90($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn91($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn92($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function yyn93($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function yyn94($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(5-3)];
|
|
}
|
|
|
|
protected function yyn95($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn96($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn97($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Case($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn98($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Case(null, $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn99() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn100() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn101($attributes) {
|
|
$this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn102($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-2)];
|
|
}
|
|
|
|
protected function yyn103($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn104($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn105($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(3-2)], is_array($this->yyastk[$this->stackPos-(3-3)]) ? $this->yyastk[$this->stackPos-(3-3)] : array($this->yyastk[$this->stackPos-(3-3)]), $attributes);
|
|
}
|
|
|
|
protected function yyn106($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn107($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn108($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn109($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn110($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Else(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes);
|
|
}
|
|
|
|
protected function yyn111($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn112($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Else($this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn113($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function yyn114($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true);
|
|
}
|
|
|
|
protected function yyn115($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false);
|
|
}
|
|
|
|
protected function yyn116($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn117($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn118($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn119($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn120($attributes) {
|
|
$this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn121($attributes) {
|
|
$this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn122($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn123($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn124($attributes) {
|
|
$this->yyval = 'array';
|
|
}
|
|
|
|
protected function yyn125($attributes) {
|
|
$this->yyval = 'callable';
|
|
}
|
|
|
|
protected function yyn126($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn127($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn128($attributes) {
|
|
$this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(3-2)], false, $attributes));
|
|
}
|
|
|
|
protected function yyn129($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn130($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn131($attributes) {
|
|
$this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes);
|
|
}
|
|
|
|
protected function yyn132($attributes) {
|
|
$this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes);
|
|
}
|
|
|
|
protected function yyn133($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn134($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn135($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
|
|
}
|
|
|
|
protected function yyn136($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn137($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn138($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn139($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn140($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes);
|
|
}
|
|
|
|
protected function yyn141($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn142($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn143($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn144($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn145($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn146($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes);
|
|
}
|
|
|
|
protected function yyn147($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn148($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn149($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn150($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn151($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn152($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn153($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn154($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes);
|
|
}
|
|
|
|
protected function yyn155($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn156($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]);
|
|
}
|
|
|
|
protected function yyn157($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn158($attributes) {
|
|
$this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn159($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn160($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn161($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn162($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn163($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn164($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn165($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn166($attributes) {
|
|
PHPParser_Node_Stmt_Class::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)];
|
|
}
|
|
|
|
protected function yyn167($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn168($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function yyn169($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function yyn170($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function yyn171($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function yyn172($attributes) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function yyn173($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn174($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn175($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes);
|
|
}
|
|
|
|
protected function yyn176($attributes) {
|
|
$this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn177($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn178($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn179($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn180($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn181($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn182($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn183($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn184($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn185($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn186($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn187($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn188($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignPlus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn189($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMinus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn190($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn191($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignDiv($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn192($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignConcat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn193($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn194($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn195($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn196($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn197($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn198($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn199($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn200($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn201($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn202($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn203($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn204($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn205($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn206($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn207($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn208($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn209($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn210($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn211($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn212($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn213($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn214($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn215($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn216($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn217($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn218($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn219($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn220($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn221($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn222($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn223($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn224($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn225($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn226($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn227($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn228($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn229($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn230($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn231($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Instanceof($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn232($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn233($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn234($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes);
|
|
}
|
|
|
|
protected function yyn235($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn236($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn237($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn238($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE, $attributes);
|
|
}
|
|
|
|
protected function yyn239($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE_ONCE, $attributes);
|
|
}
|
|
|
|
protected function yyn240($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn241($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE, $attributes);
|
|
}
|
|
|
|
protected function yyn242($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE_ONCE, $attributes);
|
|
}
|
|
|
|
protected function yyn243($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn244($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn245($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn246($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn247($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn248($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn249($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn250($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn251($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn252($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn253($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn254($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn255($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn256($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn257($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Yield(null, null, $attributes);
|
|
}
|
|
|
|
protected function yyn258($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes);
|
|
}
|
|
|
|
protected function yyn259($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes);
|
|
}
|
|
|
|
protected function yyn260($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn261($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn262($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Yield($this->yyastk[$this->stackPos-(2-2)], null, $attributes);
|
|
}
|
|
|
|
protected function yyn263($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Yield($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn264($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn265($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn266($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn267($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parse($this->yyastk[$this->stackPos-(4-1)]), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn268($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn269($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_New($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn270($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn271($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(4-3)];
|
|
}
|
|
|
|
protected function yyn272($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn273($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn274($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn275($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn276($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn277($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-4)], $this->yyastk[$this->stackPos-(6-6)], $attributes);
|
|
}
|
|
|
|
protected function yyn278($attributes) {
|
|
|
|
if ($this->yyastk[$this->stackPos-(2-1)] instanceof PHPParser_Node_Expr_StaticPropertyFetch) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(2-1)]->class, new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-1)]->name, $attributes), $this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
} elseif ($this->yyastk[$this->stackPos-(2-1)] instanceof PHPParser_Node_Expr_ArrayDimFetch) {
|
|
$tmp = $this->yyastk[$this->stackPos-(2-1)];
|
|
while ($tmp->var instanceof PHPParser_Node_Expr_ArrayDimFetch) {
|
|
$tmp = $tmp->var;
|
|
}
|
|
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($tmp->var->class, $this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
$tmp->var = new PHPParser_Node_Expr_Variable($tmp->var->name, $attributes);
|
|
} else {
|
|
throw new Exception;
|
|
}
|
|
|
|
}
|
|
|
|
protected function yyn279($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn280($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn281($attributes) {
|
|
$this->yyval = new PHPParser_Node_Name('static', $attributes);
|
|
}
|
|
|
|
protected function yyn282($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn283($attributes) {
|
|
$this->yyval = new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn284($attributes) {
|
|
$this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn285($attributes) {
|
|
$this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn286($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn287($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn288($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn289($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn290($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn291($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn292() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn293($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn294($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn295($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn296($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn297($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn298($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn299($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn300($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn301($attributes) {
|
|
$this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`'));
|
|
}
|
|
|
|
protected function yyn302($attributes) {
|
|
foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn303($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn304($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn305($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LNumber(PHPParser_Node_Scalar_LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
|
|
}
|
|
|
|
protected function yyn306($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DNumber(PHPParser_Node_Scalar_DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
|
|
}
|
|
|
|
protected function yyn307($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
|
|
}
|
|
|
|
protected function yyn308($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LineConst($attributes);
|
|
}
|
|
|
|
protected function yyn309($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FileConst($attributes);
|
|
}
|
|
|
|
protected function yyn310($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DirConst($attributes);
|
|
}
|
|
|
|
protected function yyn311($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_ClassConst($attributes);
|
|
}
|
|
|
|
protected function yyn312($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_TraitConst($attributes);
|
|
}
|
|
|
|
protected function yyn313($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_MethodConst($attributes);
|
|
}
|
|
|
|
protected function yyn314($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FuncConst($attributes);
|
|
}
|
|
|
|
protected function yyn315($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_NSConst($attributes);
|
|
}
|
|
|
|
protected function yyn316($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes);
|
|
}
|
|
|
|
protected function yyn317($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String('', $attributes);
|
|
}
|
|
|
|
protected function yyn318($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn319($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn320($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn321($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn322($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn323($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn324($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn325($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn326($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn327($attributes) {
|
|
foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '"'); } }; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn328($attributes) {
|
|
foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn329($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn330($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn331() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn332() {
|
|
$this->yyval = $this->yyastk[$this->stackPos];
|
|
}
|
|
|
|
protected function yyn333($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn334($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn335($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes);
|
|
}
|
|
|
|
protected function yyn336($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes);
|
|
}
|
|
|
|
protected function yyn337($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn338($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn339($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn340($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn341($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes);
|
|
}
|
|
|
|
protected function yyn342($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn343($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn344($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_MethodCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn345($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn346($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn347($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn348($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn349($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn350($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn351($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn352($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn353($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn354($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn355($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn356($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes);
|
|
}
|
|
|
|
protected function yyn357($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes);
|
|
}
|
|
|
|
protected function yyn358($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn359($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn360($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn361($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn362($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
|
|
}
|
|
|
|
protected function yyn363($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn364($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn365($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn366($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn367($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn368($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn369($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_List($this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn370($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn371($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn372($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn373($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(1-1)];
|
|
}
|
|
|
|
protected function yyn374($attributes) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn375($attributes) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn376($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn377($attributes) {
|
|
$this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
|
|
}
|
|
|
|
protected function yyn378($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn379($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes);
|
|
}
|
|
|
|
protected function yyn380($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes);
|
|
}
|
|
|
|
protected function yyn381($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes);
|
|
}
|
|
|
|
protected function yyn382($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes);
|
|
}
|
|
|
|
protected function yyn383($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn384($attributes) {
|
|
$this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
|
|
}
|
|
|
|
protected function yyn385($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
|
|
}
|
|
|
|
protected function yyn386($attributes) {
|
|
$this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]);
|
|
}
|
|
|
|
protected function yyn387($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
|
|
}
|
|
|
|
protected function yyn388($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn389($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes);
|
|
}
|
|
|
|
protected function yyn390($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn391($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes);
|
|
}
|
|
|
|
protected function yyn392($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes);
|
|
}
|
|
|
|
protected function yyn393($attributes) {
|
|
$this->yyval = $this->yyastk[$this->stackPos-(3-2)];
|
|
}
|
|
|
|
protected function yyn394($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn395($attributes) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes);
|
|
}
|
|
|
|
protected function yyn396($attributes) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
|
|
}
|
|
}
|