mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 04:14:44 +01:00
126efbc056
Make $stmts and $subNodes optional in most places
2399 lines
109 KiB
PHP
2399 lines
109 KiB
PHP
<?php
|
|
|
|
/* Prototype file of an object oriented PHP parser.
|
|
* Written by Moriyoshi Koizumi, based on the work by Masato Bito.
|
|
* This file is PUBLIC DOMAIN.
|
|
*/
|
|
class PHPParser_Parser
|
|
{
|
|
const YYBADCH = 146;
|
|
const YYMAXLEX = 383;
|
|
const YYTERMS = 146;
|
|
const YYNONTERMS = 90;
|
|
const YYLAST = 885;
|
|
const YY2TBLSTATE = 324;
|
|
const YYGLAST = 369;
|
|
const YYSTATES = 738;
|
|
const YYNLSTATES = 518;
|
|
const YYINTERRTOK = 1;
|
|
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_PLUS_EQUAL = 266;
|
|
const T_MINUS_EQUAL = 267;
|
|
const T_MUL_EQUAL = 268;
|
|
const T_DIV_EQUAL = 269;
|
|
const T_CONCAT_EQUAL = 270;
|
|
const T_MOD_EQUAL = 271;
|
|
const T_AND_EQUAL = 272;
|
|
const T_OR_EQUAL = 273;
|
|
const T_XOR_EQUAL = 274;
|
|
const T_SL_EQUAL = 275;
|
|
const T_SR_EQUAL = 276;
|
|
const T_BOOLEAN_OR = 277;
|
|
const T_BOOLEAN_AND = 278;
|
|
const T_IS_EQUAL = 279;
|
|
const T_IS_NOT_EQUAL = 280;
|
|
const T_IS_IDENTICAL = 281;
|
|
const T_IS_NOT_IDENTICAL = 282;
|
|
const T_IS_SMALLER_OR_EQUAL = 283;
|
|
const T_IS_GREATER_OR_EQUAL = 284;
|
|
const T_SL = 285;
|
|
const T_SR = 286;
|
|
const T_INSTANCEOF = 287;
|
|
const T_INC = 288;
|
|
const T_DEC = 289;
|
|
const T_INT_CAST = 290;
|
|
const T_DOUBLE_CAST = 291;
|
|
const T_STRING_CAST = 292;
|
|
const T_ARRAY_CAST = 293;
|
|
const T_OBJECT_CAST = 294;
|
|
const T_BOOL_CAST = 295;
|
|
const T_UNSET_CAST = 296;
|
|
const T_NEW = 297;
|
|
const T_CLONE = 298;
|
|
const T_EXIT = 299;
|
|
const T_IF = 300;
|
|
const T_ELSEIF = 301;
|
|
const T_ELSE = 302;
|
|
const T_ENDIF = 303;
|
|
const T_LNUMBER = 304;
|
|
const T_DNUMBER = 305;
|
|
const T_STRING = 306;
|
|
const T_STRING_VARNAME = 307;
|
|
const T_VARIABLE = 308;
|
|
const T_NUM_STRING = 309;
|
|
const T_INLINE_HTML = 310;
|
|
const T_CHARACTER = 311;
|
|
const T_BAD_CHARACTER = 312;
|
|
const T_ENCAPSED_AND_WHITESPACE = 313;
|
|
const T_CONSTANT_ENCAPSED_STRING = 314;
|
|
const T_ECHO = 315;
|
|
const T_DO = 316;
|
|
const T_WHILE = 317;
|
|
const T_ENDWHILE = 318;
|
|
const T_FOR = 319;
|
|
const T_ENDFOR = 320;
|
|
const T_FOREACH = 321;
|
|
const T_ENDFOREACH = 322;
|
|
const T_DECLARE = 323;
|
|
const T_ENDDECLARE = 324;
|
|
const T_AS = 325;
|
|
const T_SWITCH = 326;
|
|
const T_ENDSWITCH = 327;
|
|
const T_CASE = 328;
|
|
const T_DEFAULT = 329;
|
|
const T_BREAK = 330;
|
|
const T_CONTINUE = 331;
|
|
const T_GOTO = 332;
|
|
const T_FUNCTION = 333;
|
|
const T_CONST = 334;
|
|
const T_RETURN = 335;
|
|
const T_TRY = 336;
|
|
const T_CATCH = 337;
|
|
const T_THROW = 338;
|
|
const T_USE = 339;
|
|
const T_GLOBAL = 340;
|
|
const T_STATIC = 341;
|
|
const T_ABSTRACT = 342;
|
|
const T_FINAL = 343;
|
|
const T_PRIVATE = 344;
|
|
const T_PROTECTED = 345;
|
|
const T_PUBLIC = 346;
|
|
const T_VAR = 347;
|
|
const T_UNSET = 348;
|
|
const T_ISSET = 349;
|
|
const T_EMPTY = 350;
|
|
const T_HALT_COMPILER = 351;
|
|
const T_CLASS = 352;
|
|
const T_TRAIT = 353;
|
|
const T_INTERFACE = 354;
|
|
const T_EXTENDS = 355;
|
|
const T_IMPLEMENTS = 356;
|
|
const T_OBJECT_OPERATOR = 357;
|
|
const T_DOUBLE_ARROW = 358;
|
|
const T_LIST = 359;
|
|
const T_ARRAY = 360;
|
|
const T_CALLABLE = 361;
|
|
const T_CLASS_C = 362;
|
|
const T_TRAIT_C = 363;
|
|
const T_METHOD_C = 364;
|
|
const T_FUNC_C = 365;
|
|
const T_LINE = 366;
|
|
const T_FILE = 367;
|
|
const T_COMMENT = 368;
|
|
const T_DOC_COMMENT = 369;
|
|
const T_OPEN_TAG = 370;
|
|
const T_OPEN_TAG_WITH_ECHO = 371;
|
|
const T_CLOSE_TAG = 372;
|
|
const T_WHITESPACE = 373;
|
|
const T_START_HEREDOC = 374;
|
|
const T_END_HEREDOC = 375;
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 376;
|
|
const T_CURLY_OPEN = 377;
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 378;
|
|
const T_NAMESPACE = 379;
|
|
const T_NS_C = 380;
|
|
const T_DIR = 381;
|
|
const T_NS_SEPARATOR = 382;
|
|
// }}}
|
|
|
|
protected static $yyterminals = 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_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_THROW",
|
|
"T_USE",
|
|
"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_INTERFACE",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_DOUBLE_ARROW",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_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",
|
|
"';'",
|
|
"'{'",
|
|
"'}'",
|
|
"'('",
|
|
"')'",
|
|
"'$'",
|
|
"']'",
|
|
"'`'",
|
|
"'\"'"
|
|
, "???"
|
|
);
|
|
|
|
protected static $yytranslate = array(
|
|
0, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 47, 145, 146, 142, 46, 30, 146,
|
|
140, 141, 44, 41, 7, 42, 43, 45, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 25, 137,
|
|
35, 12, 37, 24, 59, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 60, 146, 143, 29, 146, 144, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 138, 28, 139, 49, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
|
146, 146, 146, 146, 146, 146, 1, 2, 3, 4,
|
|
5, 6, 8, 9, 10, 11, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 26, 27, 31,
|
|
32, 33, 34, 36, 38, 39, 40, 48, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 61, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 146, 146, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 146, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 146, 124, 125, 126, 127, 146, 146,
|
|
146, 146, 146, 146, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136
|
|
);
|
|
|
|
protected static $yyaction = array(
|
|
57, 58, 356, 59, 60,-32766,-32766,-32766, 245, 61,
|
|
-32767,-32767,-32767,-32767, 99, 100, 101, 102, 103, 836,
|
|
128,-32766, 277,-32766,-32766, 46, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 291, 0, 62,
|
|
63, 867, 55, 869, 868, 64, 198, 65, 235, 236,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 29, 237,
|
|
74, 329, 357, 694, 696, 429, 785, 786, 358, 246,
|
|
836, 339, 564, 498, 787, 52, 26, 359, 122, 360,
|
|
411, 361, 354, 362, 130, 472, 363, 39, 444, 270,
|
|
40, 41, 364, 333, 330, 42, 365, 330, 75, 864,
|
|
289, 331, 272, 366, 367, 54, 366, 367, 368, 369,
|
|
370, 836, 547, 586, 371, 547, 586, 371, 372, 373,
|
|
120, 791, 792, 793, 788, 789, 253, 344, 83, 84,
|
|
85, 379, 794, 790, 332, 571, 496, 124, 76, 290,
|
|
270, 751, 256, 260, 45, 53, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 561, 241, 665,
|
|
666, 667, 664, 663, 662, 522,-32766,-32766,-32766,-32766,
|
|
-32766, 270, 522, 119, 242, 34,-32766, 56, 405,-32766,
|
|
-32766,-32766, 485,-32766,-32766,-32766,-32766,-32766, 226, 20,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 252, 761,-32766,
|
|
-32766,-32766,-32766, 836,-32766, 761, 753,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 118, 522,-32766, 247, 612,-32766, 632,
|
|
633,-32766,-32766,-32766, 197,-32766, 48,-32766, 379,-32766,
|
|
345, 332,-32766, 632, 633, 258,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 199,-32766, 306,-32766, 761, 836, 836,
|
|
-32766, 408, 513, -107,-32766, 121, 522, 830, 243, 531,
|
|
-32766,-32766,-32766,-32766,-32766,-32766, 341,-32766, 350,-32766,
|
|
206,-32766, 244, 270,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766, 261,-32766, 642,-32766, 761,
|
|
21,-32766,-32766, 104, 105, 106,-32766, 241, 522, 857,
|
|
228, 516,-32766, 44, 240,-32766,-32766,-32766, 562,-32766,
|
|
840,-32766, 651,-32766, 123, 209,-32766, 426, 270, 270,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 278,-32766, 613,
|
|
-32766, 761, 327, 419,-32766,-32766,-32766,-32766,-32766, 796,
|
|
522, 327, 238, 131,-32766, 657, 208,-32766,-32766,-32766,
|
|
207,-32766, 203,-32766, 657,-32766, 200, 227,-32766, 101,
|
|
102, 103,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 806,
|
|
-32766, 452,-32766, 761, 204, 584,-32766, 575, 125, 582,
|
|
-32766, 508, 522, 129, 585, 126,-32766, 469, 27,-32766,
|
|
-32766,-32766, 504,-32766, 512,-32766, 501,-32766, 503, 857,
|
|
-32766, 126, 478, 479,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 241,-32766, 487,-32766, 761, 132, 295,-32766, 528,
|
|
499, 536,-32766, 523, 522, 796, 654, 517,-32766, 447,
|
|
491,-32766,-32766,-32766, 391,-32766, 402,-32766, 401,-32766,
|
|
390, 454,-32766, 353, 340, 862,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 807,-32766, 522,-32766, 761, 799, 538,
|
|
-32766, 338, 754, 398,-32766, 755, 522, 315, 229, 490,
|
|
-32766, 484, -138,-32766,-32766,-32766, 483,-32766, 476,-32766,
|
|
436,-32766, 392, 464,-32766, 435,-32766, 275,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766, 778,-32766, 276,-32766, 761,
|
|
857, 403,-32766, 462, 473, 481,-32766, 795, 522, 587,
|
|
271, 47,-32766, 395, -253,-32766,-32766,-32766, 269,-32766,
|
|
36,-32766, 205,-32766, 652, 268,-32766, 588, 0, 467,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 257,-32766, 259,
|
|
-32766, 761, 532, 339,-32766, 0, 0, 0,-32766, 453,
|
|
522, 0, 308, 0,-32766, 264, 263,-32766,-32766,-32766,
|
|
-244,-32766, -252,-32766, 563,-32766, 556, 337,-32766, 573,
|
|
560, 558,-32766,-32766,-32766, 555,-32766,-32766,-32766, 598,
|
|
-32766, 600,-32766, 761, 550, 608,-32766, 607, 602, 615,
|
|
-32766, 552, 522, 566, 574, 507,-32766, 506, 51,-32766,
|
|
-32766,-32766, 50,-32766, 565,-32766, 509,-32766, 505, 500,
|
|
-32766, 497, 82, 510,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 515,-32766, 606,-32766, 761, 865, 866,-32766, 831,
|
|
841, 644,-32766, 776, 522, 459, 863, 837,-32766, 835,
|
|
823,-32766,-32766,-32766, 833,-32766, 605,-32766, 77,-32766,
|
|
201, 202,-32766, 49, 35, 33,-32766,-32766,-32766, 557,
|
|
-32766,-32766,-32766, 32,-32766, 31,-32766, 761, 30, 195,
|
|
-32766,-32766,-32766, 43,-32766, 38, 336, 785, 786, 328,
|
|
273, 251, 250, 79, 249, 787,-32766, 80,-32766,-32766,
|
|
-32766,-32766,-32766,-32767,-32767,-32767,-32767, 81,-32766,-32766,
|
|
-32766, 559,-32766, 330, 325, 127, 133, 239, 234, 288,
|
|
233, 225, 366, 367,-32766, 37,-32766,-32766,-32766,-32766,
|
|
-32766, 527, 586, 371, 78, 224, 196, 134, 0, 730,
|
|
432, 437, 791, 792, 793, 788, 789, 317, 846, 330,
|
|
325, 274, 439, 794, 790, 288, 779, 529, 366, 367,
|
|
-32766,-32766,-32766, 734, 330, 325, 727, 527, 586, 371,
|
|
288, 493, 460, 366, 367, 292,-32766, 28,-32766,-32766,
|
|
-32766,-32766, 527, 586, 371, 330, 25, 274, 330, 19,
|
|
23, 330, 22, 530, 366, 367, 24, 366, 367, 731,
|
|
366, 367, 274, 547, 586, 371, 547, 586, 371, 547,
|
|
586, 371, 758, 803, 802, 757, 820, 784, 330, 470,
|
|
821, 330, 760, 759, 756, 747, 489, 366, 367, 548,
|
|
366, 367, 326, 461, 330, 583, 547, 586, 371, 547,
|
|
586, 371, 346, 366, 367, 494, 296, 861, 0, 775,
|
|
488, 832, 547, 586, 371, 822, 834, 748, 330, 749,
|
|
0, 330, 655, 0, 330, 578, 0, 366, 367, 0,
|
|
366, 367, 0, 366, 367, 0, 547, 586, 371, 547,
|
|
586, 371, 547, 586, 371
|
|
);
|
|
|
|
protected static $yycheck = array(
|
|
2, 3, 4, 5, 6, 8, 9, 10, 61, 11,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 72,
|
|
60, 24, 60, 26, 27, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 7, 0, 41,
|
|
42, 70, 60, 72, 73, 47, 12, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 50, 51, 7, 68, 69, 70, 30,
|
|
72, 136, 74, 138, 76, 77, 78, 79, 7, 81,
|
|
118, 83, 7, 85, 138, 86, 88, 7, 142, 142,
|
|
92, 93, 94, 95, 95, 97, 98, 95, 100, 139,
|
|
102, 103, 7, 104, 105, 60, 104, 105, 110, 111,
|
|
112, 72, 113, 114, 115, 113, 114, 115, 120, 121,
|
|
138, 123, 124, 125, 126, 127, 128, 25, 8, 9,
|
|
10, 133, 134, 135, 136, 137, 138, 25, 140, 7,
|
|
142, 139, 144, 145, 24, 60, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 137, 48, 103,
|
|
104, 105, 106, 107, 108, 70, 64, 8, 8, 9,
|
|
10, 142, 70, 138, 30, 140, 74, 60, 7, 77,
|
|
78, 79, 7, 81, 24, 83, 26, 85, 7, 141,
|
|
88, 8, 9, 10, 92, 93, 94, 7, 103, 97,
|
|
98, 103, 100, 72, 102, 103, 141, 24, 64, 26,
|
|
27, 28, 110, 138, 70, 103, 30, 25, 74, 121,
|
|
122, 77, 78, 79, 7, 81, 7, 83, 133, 85,
|
|
138, 136, 88, 121, 122, 118, 92, 93, 94, 137,
|
|
138, 97, 98, 12, 100, 72, 102, 103, 72, 72,
|
|
64, 120, 25, 141, 110, 138, 70, 72, 30, 137,
|
|
74, 8, 9, 77, 78, 79, 7, 81, 119, 83,
|
|
12, 85, 7, 142, 88, 8, 9, 10, 92, 93,
|
|
94, 137, 138, 97, 98, 75, 100, 72, 102, 103,
|
|
141, 24, 64, 44, 45, 46, 110, 48, 70, 75,
|
|
30, 25, 74, 130, 131, 77, 78, 79, 137, 81,
|
|
70, 83, 137, 85, 138, 12, 88, 70, 142, 142,
|
|
92, 93, 94, 137, 138, 97, 98, 142, 100, 137,
|
|
102, 103, 96, 70, 64, 8, 9, 10, 110, 129,
|
|
70, 96, 30, 12, 74, 109, 12, 77, 78, 79,
|
|
12, 81, 12, 83, 109, 85, 12, 142, 88, 41,
|
|
42, 43, 92, 93, 94, 137, 138, 97, 98, 145,
|
|
100, 75, 102, 103, 12, 139, 64, 25, 138, 30,
|
|
110, 25, 70, 25, 139, 138, 74, 65, 66, 77,
|
|
78, 79, 25, 81, 25, 83, 25, 85, 25, 75,
|
|
88, 138, 65, 66, 92, 93, 94, 137, 138, 97,
|
|
98, 48, 100, 67, 102, 103, 90, 91, 64, 137,
|
|
138, 70, 110, 70, 70, 129, 137, 138, 74, 70,
|
|
70, 77, 78, 79, 70, 81, 70, 83, 70, 85,
|
|
70, 99, 88, 95, 70, 70, 92, 93, 94, 137,
|
|
138, 97, 98, 129, 100, 70, 102, 103, 70, 70,
|
|
64, 70, 72, 79, 110, 72, 70, 71, 87, 72,
|
|
74, 72, 72, 77, 78, 79, 72, 81, 72, 83,
|
|
72, 85, 72, 72, 88, 87, 103, 75, 92, 93,
|
|
94, 137, 138, 97, 98, 141, 100, 75, 102, 103,
|
|
75, 87, 64, 101, 89, 89, 110, 129, 70, 114,
|
|
116, 119, 74, 136, 132, 77, 78, 79, 117, 81,
|
|
140, 83, 119, 85, 137, 116, 88, 114, -1, 143,
|
|
92, 93, 94, 137, 138, 97, 98, 118, 100, 118,
|
|
102, 103, 137, 136, 64, -1, -1, -1, 110, 132,
|
|
70, -1, 132, -1, 74, 132, 132, 77, 78, 79,
|
|
132, 81, 132, 83, 137, 85, 137, 136, 88, 137,
|
|
137, 137, 92, 93, 94, 137, 138, 97, 98, 137,
|
|
100, 137, 102, 103, 137, 137, 64, 137, 137, 137,
|
|
110, 137, 70, 137, 137, 137, 74, 137, 137, 77,
|
|
78, 79, 137, 81, 137, 83, 138, 85, 138, 138,
|
|
88, 138, 138, 138, 92, 93, 94, 137, 138, 97,
|
|
98, 138, 100, 139, 102, 103, 139, 139, 64, 139,
|
|
139, 139, 110, 139, 70, 139, 139, 139, 74, 139,
|
|
139, 77, 78, 79, 139, 81, 139, 83, 140, 85,
|
|
41, 42, 88, 140, 140, 140, 92, 93, 94, 137,
|
|
138, 97, 98, 140, 100, 140, 102, 103, 140, 60,
|
|
8, 9, 10, 140, 110, 140, 140, 68, 69, 140,
|
|
140, 140, 140, 140, 140, 76, 24, 140, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 140, 8, 9,
|
|
10, 137, 138, 95, 96, 140, 140, 140, 140, 101,
|
|
140, 140, 104, 105, 24, 140, 26, 27, 28, 29,
|
|
30, 113, 114, 115, 140, 140, 140, 140, -1, 141,
|
|
121, 141, 123, 124, 125, 126, 127, 128, 141, 95,
|
|
96, 133, 141, 134, 135, 101, 141, 139, 104, 105,
|
|
8, 9, 10, 141, 95, 96, 141, 113, 114, 115,
|
|
101, 141, 141, 104, 105, 141, 24, 141, 26, 27,
|
|
28, 29, 113, 114, 115, 95, 141, 133, 95, 141,
|
|
141, 95, 141, 139, 104, 105, 141, 104, 105, 141,
|
|
104, 105, 133, 113, 114, 115, 113, 114, 115, 113,
|
|
114, 115, 141, 143, 141, 141, 141, 141, 95, 80,
|
|
141, 95, 141, 141, 141, 141, 141, 104, 105, 139,
|
|
104, 105, 139, 141, 95, 139, 113, 114, 115, 113,
|
|
114, 115, 141, 104, 105, 82, 141, 143, -1, 143,
|
|
84, 143, 113, 114, 115, 143, 143, 143, 95, 144,
|
|
-1, 95, 139, -1, 95, 139, -1, 104, 105, -1,
|
|
104, 105, -1, 104, 105, -1, 113, 114, 115, 113,
|
|
114, 115, 113, 114, 115
|
|
);
|
|
|
|
protected static $yybase = array(
|
|
0, 654, 618, 669, 690, 693, 739, -1, 766, 696,
|
|
2, 763, 726, 723, 769, 769, 769, 769, 769, 383,
|
|
377, 366, 366, 237, 366, 381, -2, -2, -2, 322,
|
|
322, 154, 154, 154, 154, 154, 154, 154, 154, 322,
|
|
448, 532, 574, 364, 406, 112, 280, 238, 196, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
|
|
490, 490, 490, 490, 490, 202, 477, 402, 439, 444,
|
|
443, 442, 625, 622, 615, 645, 648, 391, 634, 507,
|
|
508, 368, 510, 511, 515, 504, 502, 501, 506, 631,
|
|
396, 500, 636, 630, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 120, 169, 263, 337, 337, 337, 337,
|
|
337, 337, 337, 337, 337, 337, 337, 337, 337, 337,
|
|
337, 277, 277, 170, -3, 619, 619, 619, 619, 619,
|
|
619, 619, 619, 619, 619, 619, 619, 619, 619, 619,
|
|
193, 752, 700, 672, 672, 672, 672, 13, -25, -25,
|
|
-25, -25, 255, 246, 141, 141, 141, 186, -53, 39,
|
|
410, 328, 328, 187, 187, 187, 187, 187, 187, 187,
|
|
187, 187, 187, 187, 187, 187, 187, 187, 187, 122,
|
|
122, 122, 108, 220, 334, 234, 422, 250, 250, 250,
|
|
432, 388, 435, 273, 257, 259, 259, 259, 393, 393,
|
|
484, 393, 393, 393, -65, 183, 183, -29, -54, 392,
|
|
45, 127, 292, 159, 425, 517, 426, 494, 441, 225,
|
|
441, 225, 102, 332, 347, 202, 299, 438, -18, 437,
|
|
376, 415, 424, 132, 30, 181, -38, 85, 195, 58,
|
|
408, 600, 598, 658, 611, -40, 498, 306, 85, 607,
|
|
651, 397, 185, 655, 75, 374, 352, 374, 359, 543,
|
|
359, 420, 395, 359, 80, 524, 378, 395, 419, 395,
|
|
404, 374, 411, 359, 470, 468, 412, 227, 352, 524,
|
|
359, 359, 416, 359, 359, 38, 518, 594, 362, 553,
|
|
523, 557, 546, 567, 380, 483, 405, 423, 580, 578,
|
|
577, 401, 595, 538, 387, 384, 434, 533, 525, 417,
|
|
373, 429, 535, 433, 429, 714, 430, 440, 431, 394,
|
|
467, 34, 241, 387, 715, 363, 554, 429, 575, 475,
|
|
71, 354, 552, 361, 429, 418, 429, 481, 581, 429,
|
|
684, 385, 387, 373, 373, 373, 390, 683, 229, 585,
|
|
682, 681, 713, 712, 679, 708, 585, 676, 706, 369,
|
|
701, 200, 596, 438, 427, 399, 350, 466, 95, 341,
|
|
704, 429, 429, 480, 484, 429, 471, 372, 692, 421,
|
|
413, 670, 388, 398, 550, 429, 675, 95, 674, 545,
|
|
464, 478, 549, 485, 268, 673, 358, 497, 429, 576,
|
|
462, 649, 461, 460, 414, 409, 348, 671, 597, 379,
|
|
356, 458, 403, 344, 685, 407, 370, 457, 454, 493,
|
|
313, 551, 400, 286, 452, 705, 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, 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, -2,
|
|
-2, -2, -2, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 120, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 105, 105, 105, 105, 105, 105, 105,
|
|
105, 105, 105, 105, 105, 105, 105, 105, 120, 120,
|
|
120, 120, 120, 120, 120, 429, 259, 259, 259, 259,
|
|
66, 66, 105, 105, 105, 105, 105, 105, 66, 259,
|
|
259, 105, 105, 105, 105, 105, 105, 105, 105, 105,
|
|
105, 105, 105, 105, 105, 105, 105, 105, 105, 105,
|
|
105, 183, 183, 183, 183, 187, 187, 187, 183, 183,
|
|
183, 195, 195, 0, 0, 0, 105, 105, 187, 105,
|
|
105, 105, 395, 0, 0, 0, 187, 85, 0, 0,
|
|
387, 429, 336, 336, 336, 336, 395, 0, 395, 0,
|
|
0, 0, 0, 0, 0, 535, 0, 71, 554, 269,
|
|
387, 0, 0, 0, 0, 0, 0, 0, 387, 275,
|
|
275, 429, 191, 0, 429, 0, 0, 191, 429, 269,
|
|
0, 429
|
|
);
|
|
|
|
protected static $yydefault = array(
|
|
3,32767,32767, 1,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 100, 93, 105, 92, 101,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 330,
|
|
330, 117, 117, 117, 117, 117, 117, 117, 117, 293,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 156,
|
|
156, 156,32767, 320, 320, 320, 320,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 335,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, 214, 215, 217, 218, 155, 118,
|
|
321, 334, 154, 120, 182, 184, 232, 183, 160, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
159, 211, 210, 180, 181, 290, 290, 293,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
185, 187, 186, 202, 203, 200, 201, 158, 204, 205,
|
|
206, 207, 140, 140, 329, 329, 329,32767,32767,32767,
|
|
141, 194, 195,32767,32767,32767,32767, 254,32767,32767,
|
|
32767, 254,32767,32767,32767, 254,32767,32767,32767, 112,
|
|
112, 112, 112,32767,32767,32767, 262,32767,32767,32767,
|
|
32767,32767, 264,32767,32767, 189, 190, 188,32767,32767,
|
|
32767,32767,32767,32767,32767, 263,32767,32767,32767, 306,
|
|
298, 250,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 102, 104,32767,32767, 279, 311,32767,
|
|
32767,32767, 17,32767,32767,32767, 342, 306,32767,32767,
|
|
19,32767,32767,32767,32767,32767,32767,32767, 310,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767, 63, 259,
|
|
63, 243,32767, 63, 292, 265,32767,32767, 73,32767,
|
|
71,32767, 75, 63, 91, 91, 234, 292, 54, 265,
|
|
63, 63,32767, 63, 63,32767,32767,32767, 4,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 245,32767,32767, 309, 308,32767,
|
|
198, 177, 244,32767, 179,32767,32767, 248, 251,32767,
|
|
32767,32767, 129, 246,32767,32767,32767, 337,32767,32767,
|
|
157,32767,32767,32767, 125,32767, 61,32767,32767, 327,
|
|
32767,32767, 247, 191, 192, 193, 301,32767, 116, 287,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767, 106,32767, 279,32767,32767, 127,32767, 74,32767,
|
|
32767, 161, 119,32767,32767, 336,32767,32767,32767,32767,
|
|
297,32767,32767,32767,32767, 62,32767, 76,32767,32767,
|
|
32767,32767,32767,32767, 108,32767,32767,32767, 121,32767,
|
|
32767,32767,32767,32767,32767,32767, 152,32767,32767,32767,
|
|
32767,32767,32767, 110,32767,32767,32767,32767,32767,32767,
|
|
150,32767,32767,32767,32767,32767, 25, 25, 3, 3,
|
|
132, 25, 98, 25, 25, 132, 91, 91, 25, 25,
|
|
25, 25, 25, 25, 25, 25, 25, 25
|
|
);
|
|
|
|
protected static $yygoto = array(
|
|
137, 137, 169, 169, 169, 169, 169, 169, 169, 169,
|
|
137, 138, 139, 140, 144, 149, 151, 178, 171, 173,
|
|
168, 168, 168, 168, 170, 170, 170, 170, 164, 165,
|
|
166, 167, 176, 714, 715, 380, 717, 737, 738, 739,
|
|
740, 741, 742, 743, 745, 682, 141, 142, 143, 145,
|
|
146, 147, 148, 150, 174, 175, 177, 193, 194, 210,
|
|
211, 212, 213, 214, 215, 216, 218, 219, 220, 221,
|
|
231, 232, 265, 266, 267, 413, 414, 415, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 152,
|
|
153, 154, 155, 172, 156, 191, 157, 158, 159, 160,
|
|
192, 161, 190, 135, 162, 163, 433, 433, 433, 433,
|
|
433, 433, 433, 433, 433, 433, 433, 433, 433, 433,
|
|
433, 541, 648, 603, 800, 801, 646, 604, 814, 627,
|
|
671, 629, 669, 446, 471, 382, 382, 382, 382, 382,
|
|
382, 525, 525, 525, 382, 382, 382, 382, 762, 382,
|
|
382, 382, 762, 382, 382, 382, 762, 382, 382, 382,
|
|
631, 631, 631, 631, 798, 798, 798, 798, 798, 798,
|
|
798, 798, 798, 798, 798, 798, 798, 798, 798, 595,
|
|
595, 285, 590, 596, 475, 383, 383, 383, 383, 383,
|
|
383, 526, 526, 526, 383, 383, 383, 383, 386, 383,
|
|
383, 383, 386, 383, 383, 383, 386, 383, 383, 383,
|
|
409, 409, 409, 404, 441, 283, 423, 425, 428, 406,
|
|
406, 381, 384, 726, 397, 313, 316, 349, 442, 445,
|
|
455, 410, 320, 468, 323, 434, 434, 434, 434, 434,
|
|
434, 434, 434, 434, 434, 434, 434, 434, 434, 434,
|
|
5, 388, 448, 495, 14, 388, 6, 7, 568, 388,
|
|
569, 8, 9, 10, 15, 16, 11, 17, 12, 18,
|
|
13, 524, 524, 524, 827, 299, 262, 387, 827, 826,
|
|
255, 387, 827, 826, 850, 387, 465, 826, 812, 614,
|
|
601, 599, 599, 597, 599, 502, 389, 621, 617, 842,
|
|
842, 842, 300, 282, 843, 396, 774, 773, 1, 2,
|
|
319, 661, 825, 856, 856, 449, 312, 302, 351, 302,
|
|
859, 856, 248, 474, 457, 486, 492, 420, 421, 424,
|
|
427, 456, 458, 477, 859, 859, 307, 307, 307, 533,
|
|
511, 640, 286, 287, 321, 539, 809, 680, 223, 307,
|
|
0, 577, 0, 0, 0, 0, 0, 318, 0, 0,
|
|
0, 393, 0, 0, 0, 0, 310, 0, 412
|
|
);
|
|
|
|
protected static $yygcheck = array(
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 35, 35, 35, 35,
|
|
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
|
|
35, 12, 12, 12, 12, 12, 12, 12, 12, 12,
|
|
12, 12, 12, 21, 21, 35, 35, 35, 35, 35,
|
|
35, 6, 6, 6, 35, 35, 35, 35, 35, 35,
|
|
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
|
|
35, 35, 35, 35, 78, 78, 78, 78, 78, 78,
|
|
78, 78, 78, 78, 78, 78, 78, 78, 78, 35,
|
|
35, 43, 35, 35, 35, 67, 67, 67, 67, 67,
|
|
67, 7, 7, 7, 67, 67, 67, 67, 67, 67,
|
|
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
|
28, 28, 28, 28, 28, 28, 76, 76, 76, 28,
|
|
28, 28, 28, 58, 28, 28, 28, 58, 28, 28,
|
|
28, 62, 28, 28, 28, 70, 70, 70, 70, 70,
|
|
70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
|
|
13, 73, 36, 36, 13, 73, 13, 13, 29, 73,
|
|
29, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 5, 5, 5, 68, 26, 77, 70, 68, 69,
|
|
77, 70, 68, 69, 87, 70, 79, 69, 82, 5,
|
|
5, 5, 5, 5, 5, 5, 5, 5, 5, 69,
|
|
69, 69, 30, 4, 85, 30, 75, 75, 2, 2,
|
|
57, 56, 69, 88, 88, 30, 27, 4, 46, 4,
|
|
88, 88, 30, 30, 42, 30, 30, 47, 47, 47,
|
|
47, 47, 47, 47, 88, 88, 74, 74, 74, 10,
|
|
44, 49, 43, 43, 9, 11, 81, 59, 40, 74,
|
|
-1, 34, -1, -1, -1, -1, -1, 74, -1, -1,
|
|
-1, 4, -1, -1, -1, -1, 4, -1, 4
|
|
);
|
|
|
|
protected static $yygbase = array(
|
|
0, 0, -190, 0, 29, 270, 140, 190, 0, 17,
|
|
49, 4, -77, -247, 0, -29, 0, 0, 0, 0,
|
|
0, 83, 0, 0, 0, 0, 223, 82, -14, 236,
|
|
-28, 0, 0, 0, 3, -89, 2, 0, 0, 0,
|
|
-157, 0, 55, -164, 45, 0, 66, 295, 0, 50,
|
|
0, 0, 0, 0, 0, 0, 81, 85, -18, -2,
|
|
0, 0, 201, 0, 0, 0, 0, -39, 37, 42,
|
|
40, 0, 0, 14, 79, 48, 162, 20, -31, 90,
|
|
0, -1, 91, 0, 0, 78, 0, 245, 59, 0
|
|
);
|
|
|
|
protected static $yygdefault = array(
|
|
-32768, 355, 3, 520, 374, 544, 545, 546, 303, 301,
|
|
534, 540, 450, 4, 542, 136, 293, 549, 294, 480,
|
|
551, 399, 553, 554, 304, 305, 400, 311, 217, 567,
|
|
482, 309, 570, 348, 576, 297, 430, 375, 342, 443,
|
|
222, 407, 438, 284, 514, 431, 343, 417, 418, 641,
|
|
649, 352, 322, 466, 653, 230, 660, 314, 335, 681,
|
|
744, 746, 385, 394, 463, 324, 818, 376, 377, 378,
|
|
770, 767, 281, 817, 279, 416, 422, 254, 804, 451,
|
|
347, 849, 813, 280, 298, 844, 334, 851, 858, 440
|
|
);
|
|
|
|
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, 33, 33,
|
|
34, 27, 27, 30, 30, 6, 7, 7, 37, 37,
|
|
37, 38, 38, 41, 41, 39, 39, 42, 42, 22,
|
|
22, 29, 29, 32, 32, 31, 31, 23, 23, 23,
|
|
23, 43, 43, 43, 44, 44, 20, 20, 16, 16,
|
|
18, 18, 17, 17, 19, 19, 36, 36, 45, 45,
|
|
45, 45, 46, 46, 46, 46, 47, 47, 48, 48,
|
|
48, 48, 24, 24, 49, 49, 49, 25, 25, 25,
|
|
25, 40, 40, 50, 50, 50, 54, 54, 51, 51,
|
|
53, 53, 55, 55, 56, 56, 56, 56, 56, 56,
|
|
52, 52, 52, 52, 26, 26, 21, 21, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
15, 15, 15, 15, 64, 64, 65, 65, 66, 66,
|
|
66, 66, 66, 70, 70, 35, 35, 35, 58, 58,
|
|
71, 71, 67, 67, 72, 72, 72, 72, 72, 60,
|
|
60, 60, 63, 63, 63, 59, 59, 78, 78, 78,
|
|
78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
|
|
12, 12, 12, 12, 12, 12, 61, 61, 61, 61,
|
|
79, 79, 81, 81, 80, 80, 82, 82, 28, 28,
|
|
28, 83, 83, 83, 83, 83, 69, 69, 73, 73,
|
|
68, 68, 84, 84, 84, 84, 74, 74, 74, 74,
|
|
76, 76, 75, 75, 75, 57, 57, 85, 85, 85,
|
|
62, 62, 86, 86, 87, 87, 87, 87, 77, 77,
|
|
77, 77, 88, 88, 88, 88, 88, 88, 88, 89,
|
|
89, 89
|
|
);
|
|
|
|
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, 7, 10, 5, 7, 9, 5, 2, 3, 2,
|
|
3, 2, 3, 3, 3, 3, 1, 2, 5, 7,
|
|
8, 10, 5, 1, 5, 3, 3, 2, 1, 2,
|
|
8, 1, 3, 0, 1, 9, 7, 6, 1, 2,
|
|
2, 0, 2, 0, 2, 0, 2, 1, 3, 1,
|
|
4, 1, 4, 1, 4, 3, 5, 3, 4, 4,
|
|
5, 0, 5, 4, 1, 1, 1, 4, 0, 6,
|
|
0, 7, 0, 2, 0, 3, 1, 0, 3, 5,
|
|
5, 7, 0, 1, 1, 1, 1, 0, 1, 2,
|
|
3, 4, 3, 1, 1, 2, 4, 3, 5, 1,
|
|
3, 2, 0, 3, 3, 8, 1, 3, 1, 1,
|
|
0, 1, 1, 2, 1, 1, 1, 1, 1, 1,
|
|
3, 5, 1, 3, 3, 1, 0, 1, 1, 6,
|
|
3, 4, 6, 3, 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, 3,
|
|
5, 4, 4, 4, 2, 2, 4, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 1, 4,
|
|
3, 3, 2, 9, 0, 4, 4, 2, 4, 6,
|
|
8, 4, 4, 1, 1, 1, 2, 3, 1, 1,
|
|
1, 1, 1, 1, 0, 3, 3, 4, 4, 0,
|
|
2, 3, 0, 1, 1, 0, 3, 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, 3, 6, 4, 4, 4, 1, 2, 1, 1,
|
|
4, 1, 3, 6, 4, 4, 4, 4, 1, 4,
|
|
0, 1, 1, 3, 1, 3, 1, 1, 4, 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 $yysp;
|
|
protected $lexer;
|
|
|
|
/**
|
|
* Parses PHP code into a node tree.
|
|
*
|
|
* @param PHPParser_Lexer $lexer A lexer
|
|
*
|
|
* @return array Array of statements
|
|
*/
|
|
public function parse(PHPParser_Lexer $lexer) {
|
|
$this->lexer = $lexer;
|
|
|
|
$this->yysp = 0; // Stack pos
|
|
$yysstk = array($yystate = 0); // State stack
|
|
$this->yyastk = array(); // AST stack (?)
|
|
$yylstk = array($yyline = 1); // Line stack
|
|
$yydstk = array($yyDC = null); // Doc comment stack
|
|
|
|
$yychar = -1;
|
|
|
|
for (;;) {
|
|
if (self::$yybase[$yystate] == 0) {
|
|
$yyn = self::$yydefault[$yystate];
|
|
} else {
|
|
if ($yychar < 0) {
|
|
if (($yychar = $lexer->lex($yylval, $yyline, $yyDC)) < 0)
|
|
$yychar = 0;
|
|
$yychar = $yychar < self::YYMAXLEX ?
|
|
self::$yytranslate[$yychar] : self::YYBADCH;
|
|
$yylstk[$this->yysp] = $yyline;
|
|
$yydstk[$this->yysp] = $yyDC;
|
|
}
|
|
if ((($yyn = self::$yybase[$yystate] + $yychar) >= 0
|
|
&& $yyn < self::YYLAST && self::$yycheck[$yyn] == $yychar
|
|
|| ($yystate < self::YY2TBLSTATE
|
|
&& ($yyn = self::$yybase[$yystate + self::YYNLSTATES]
|
|
+ $yychar) >= 0
|
|
&& $yyn < self::YYLAST
|
|
&& self::$yycheck[$yyn] == $yychar))
|
|
&& ($yyn = self::$yyaction[$yyn]) != self::YYDEFAULT) {
|
|
/*
|
|
* >= YYNLSTATE: shift and reduce
|
|
* > 0: shift
|
|
* = 0: accept
|
|
* < 0: reduce
|
|
* = -YYUNEXPECTED: error
|
|
*/
|
|
if ($yyn > 0) {
|
|
/* shift */
|
|
++$this->yysp;
|
|
|
|
$yysstk[$this->yysp] = $yystate = $yyn;
|
|
$this->yyastk[$this->yysp] = $yylval;
|
|
$yylstk[$this->yysp] = $yyline;
|
|
$yydstk[$this->yysp] = $yyDC;
|
|
$yychar = -1;
|
|
|
|
if ($yyn < self::YYNLSTATES)
|
|
continue;
|
|
|
|
/* $yyn >= YYNLSTATES means shift-and-reduce */
|
|
$yyn -= self::YYNLSTATES;
|
|
} else {
|
|
$yyn = -$yyn;
|
|
}
|
|
} else {
|
|
$yyn = self::$yydefault[$yystate];
|
|
}
|
|
}
|
|
|
|
for (;;) {
|
|
/* reduce/error */
|
|
if ($yyn == 0) {
|
|
/* accept */
|
|
return $this->yyval;
|
|
} elseif ($yyn != self::YYUNEXPECTED) {
|
|
/* reduce */
|
|
try {
|
|
$this->{'yyn' . $yyn}(
|
|
$yylstk[$this->yysp - self::$yylen[$yyn]],
|
|
$yydstk[$this->yysp - self::$yylen[$yyn]]
|
|
);
|
|
} catch (PHPParser_Error $e) {
|
|
$e->setRawLine($yyline);
|
|
|
|
throw $e;
|
|
}
|
|
|
|
/* Goto - shift nonterminal */
|
|
$this->yysp -= self::$yylen[$yyn];
|
|
$yyn = self::$yylhs[$yyn];
|
|
if (($yyp = self::$yygbase[$yyn] + $yysstk[$this->yysp]) >= 0
|
|
&& $yyp < self::YYGLAST
|
|
&& self::$yygcheck[$yyp] == $yyn) {
|
|
$yystate = self::$yygoto[$yyp];
|
|
} else {
|
|
$yystate = self::$yygdefault[$yyn];
|
|
}
|
|
|
|
++$this->yysp;
|
|
|
|
$yysstk[$this->yysp] = $yystate;
|
|
$this->yyastk[$this->yysp] = $this->yyval;
|
|
$yylstk[$this->yysp] = $yyline;
|
|
$yydstk[$this->yysp] = $yyDC;
|
|
} else {
|
|
/* error */
|
|
throw new PHPParser_Error(
|
|
'Unexpected token ' . self::$yyterminals[$yychar],
|
|
$yyline
|
|
);
|
|
}
|
|
|
|
if ($yystate < self::YYNLSTATES)
|
|
break;
|
|
/* >= YYNLSTATES means shift-and-reduce */
|
|
$yyn = $yystate - self::YYNLSTATES;
|
|
}
|
|
}
|
|
}
|
|
|
|
protected function yyn0() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn1($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Namespace::postprocess($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn2($line, $docComment) {
|
|
if (is_array($this->yyastk[$this->yysp-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]); } else { $this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)]; };
|
|
}
|
|
|
|
protected function yyn3($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn4($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn5($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn6($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn7($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn8($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn9($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_HaltCompiler($this->lexer->handleHaltCompiler(), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn10($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->yysp-(3-2)], $line, $docComment), null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn11($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->yysp-(5-2)], $line, $docComment), $this->yyastk[$this->yysp-(5-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn12($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(null, $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn13($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Use($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn14($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Const($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn15($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn16($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn17($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->yysp-(1-1)], $line, $docComment), null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn18($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->yysp-(3-1)], $line, $docComment), $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn19($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->yysp-(2-2)], $line, $docComment), null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn20($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->yysp-(4-2)], $line, $docComment), $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn21($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn22($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn23($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Const($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn24($line, $docComment) {
|
|
if (is_array($this->yyastk[$this->yysp-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]); } else { $this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)]; };
|
|
}
|
|
|
|
protected function yyn25($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn26($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn27($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn28($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn29($line, $docComment) {
|
|
throw new PHPParser_Error('__halt_compiler() can only be used from the outermost scope');
|
|
}
|
|
|
|
protected function yyn30($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn31($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->yysp-(7-3)], array('stmts' => is_array($this->yyastk[$this->yysp-(7-5)]) ? $this->yyastk[$this->yysp-(7-5)] : array($this->yyastk[$this->yysp-(7-5)]), 'elseifs' => $this->yyastk[$this->yysp-(7-6)], 'else' => $this->yyastk[$this->yysp-(7-7)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn32($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->yysp-(10-3)], array('stmts' => $this->yyastk[$this->yysp-(10-6)], 'elseifs' => $this->yyastk[$this->yysp-(10-7)], 'else' => $this->yyastk[$this->yysp-(10-8)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn33($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_While($this->yyastk[$this->yysp-(5-3)], is_array($this->yyastk[$this->yysp-(5-5)]) ? $this->yyastk[$this->yysp-(5-5)] : array($this->yyastk[$this->yysp-(5-5)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn34($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Do($this->yyastk[$this->yysp-(7-5)], is_array($this->yyastk[$this->yysp-(7-2)]) ? $this->yyastk[$this->yysp-(7-2)] : array($this->yyastk[$this->yysp-(7-2)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn35($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_For(array('init' => $this->yyastk[$this->yysp-(9-3)], 'cond' => $this->yyastk[$this->yysp-(9-5)], 'loop' => $this->yyastk[$this->yysp-(9-7)], 'stmts' => is_array($this->yyastk[$this->yysp-(9-9)]) ? $this->yyastk[$this->yysp-(9-9)] : array($this->yyastk[$this->yysp-(9-9)])), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn36($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Switch($this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn37($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Break(null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn38($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Break($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn39($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Continue(null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn40($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Continue($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn41($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Return(null, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn42($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Return($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn43($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Global($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn44($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Static($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn45($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Echo($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn46($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_InlineHTML($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn47($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn48($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Unset($this->yyastk[$this->yysp-(5-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn49($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->yysp-(7-3)], $this->yyastk[$this->yysp-(7-5)], array('keyVar' => null, 'byRef' => false, 'stmts' => is_array($this->yyastk[$this->yysp-(7-7)]) ? $this->yyastk[$this->yysp-(7-7)] : array($this->yyastk[$this->yysp-(7-7)])), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn50($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->yysp-(8-3)], $this->yyastk[$this->yysp-(8-6)], array('keyVar' => null, 'byRef' => true, 'stmts' => is_array($this->yyastk[$this->yysp-(8-8)]) ? $this->yyastk[$this->yysp-(8-8)] : array($this->yyastk[$this->yysp-(8-8)])), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn51($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->yysp-(10-3)], $this->yyastk[$this->yysp-(10-8)], array('keyVar' => $this->yyastk[$this->yysp-(10-5)], 'byRef' => $this->yyastk[$this->yysp-(10-7)], 'stmts' => is_array($this->yyastk[$this->yysp-(10-10)]) ? $this->yyastk[$this->yysp-(10-10)] : array($this->yyastk[$this->yysp-(10-10)])), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn52($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Declare($this->yyastk[$this->yysp-(5-3)], is_array($this->yyastk[$this->yysp-(5-5)]) ? $this->yyastk[$this->yysp-(5-5)] : array($this->yyastk[$this->yysp-(5-5)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn53($line, $docComment) {
|
|
$this->yyval = array(); /* means: no statement */
|
|
}
|
|
|
|
protected function yyn54($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_TryCatch($this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn55($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Throw($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn56($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Goto($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn57($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Label($this->yyastk[$this->yysp-(2-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn58($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn59($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn60($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Catch($this->yyastk[$this->yysp-(8-3)], substr($this->yyastk[$this->yysp-(8-4)], 1), $this->yyastk[$this->yysp-(8-7)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn61($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn62($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn63($line, $docComment) {
|
|
$this->yyval = false;
|
|
}
|
|
|
|
protected function yyn64($line, $docComment) {
|
|
$this->yyval = true;
|
|
}
|
|
|
|
protected function yyn65($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Function($this->yyastk[$this->yysp-(9-3)], array('byRef' => $this->yyastk[$this->yysp-(9-2)], 'params' => $this->yyastk[$this->yysp-(9-5)], 'stmts' => $this->yyastk[$this->yysp-(9-8)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn66($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Class($this->yyastk[$this->yysp-(7-2)], array('type' => $this->yyastk[$this->yysp-(7-1)], 'extends' => $this->yyastk[$this->yysp-(7-3)], 'implements' => $this->yyastk[$this->yysp-(7-4)], 'stmts' => $this->yyastk[$this->yysp-(7-6)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn67($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Interface($this->yyastk[$this->yysp-(6-2)], array('extends' => $this->yyastk[$this->yysp-(6-3)], 'stmts' => $this->yyastk[$this->yysp-(6-5)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn68($line, $docComment) {
|
|
$this->yyval = 0;
|
|
}
|
|
|
|
protected function yyn69($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function yyn70($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function yyn71($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn72($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-2)];
|
|
}
|
|
|
|
protected function yyn73($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn74($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-2)];
|
|
}
|
|
|
|
protected function yyn75($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn76($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-2)];
|
|
}
|
|
|
|
protected function yyn77($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn78($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn79($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn80($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-2)];
|
|
}
|
|
|
|
protected function yyn81($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn82($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-2)];
|
|
}
|
|
|
|
protected function yyn83($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn84($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-2)];
|
|
}
|
|
|
|
protected function yyn85($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn86($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-5)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(5-1)];
|
|
}
|
|
|
|
protected function yyn87($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn88($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
|
}
|
|
|
|
protected function yyn89($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-2)];
|
|
}
|
|
|
|
protected function yyn90($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(5-3)];
|
|
}
|
|
|
|
protected function yyn91($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn92($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Stmt_Case($this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-5)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(5-1)];
|
|
}
|
|
|
|
protected function yyn93($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(4-1)][] = new PHPParser_Node_Stmt_Case(null, $this->yyastk[$this->yysp-(4-4)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(4-1)];
|
|
}
|
|
|
|
protected function yyn94() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn95() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn96($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn97($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-2)];
|
|
}
|
|
|
|
protected function yyn98($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn99($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(6-1)][] = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->yysp-(6-4)], is_array($this->yyastk[$this->yysp-(6-6)]) ? $this->yyastk[$this->yysp-(6-6)] : array($this->yyastk[$this->yysp-(6-6)]), $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(6-1)];
|
|
}
|
|
|
|
protected function yyn100($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn101($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(7-1)][] = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->yysp-(7-4)], $this->yyastk[$this->yysp-(7-7)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(7-1)];
|
|
}
|
|
|
|
protected function yyn102($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn103($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Else(is_array($this->yyastk[$this->yysp-(2-2)]) ? $this->yyastk[$this->yysp-(2-2)] : array($this->yyastk[$this->yysp-(2-2)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn104($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn105($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Else($this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn106($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn107($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn108($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Param(substr($this->yyastk[$this->yysp-(3-3)], 1), null, $this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-2)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn109($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Param(substr($this->yyastk[$this->yysp-(5-3)], 1), $this->yyastk[$this->yysp-(5-5)], $this->yyastk[$this->yysp-(5-1)], $this->yyastk[$this->yysp-(5-2)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn110($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Param(substr($this->yyastk[$this->yysp-(5-5)], 1), null, $this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-4)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(5-1)];
|
|
}
|
|
|
|
protected function yyn111($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(7-1)][] = new PHPParser_Node_Param(substr($this->yyastk[$this->yysp-(7-5)], 1), $this->yyastk[$this->yysp-(7-7)], $this->yyastk[$this->yysp-(7-3)], $this->yyastk[$this->yysp-(7-4)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(7-1)];
|
|
}
|
|
|
|
protected function yyn112($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn113($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn114($line, $docComment) {
|
|
$this->yyval = 'array';
|
|
}
|
|
|
|
protected function yyn115($line, $docComment) {
|
|
$this->yyval = 'callable';
|
|
}
|
|
|
|
protected function yyn116($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn117($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn118($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->yysp-(1-1)], false, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn119($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->yysp-(2-2)], true, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn120($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = new PHPParser_Node_Arg($this->yyastk[$this->yysp-(3-3)], false, $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn121($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(4-1)][] = new PHPParser_Node_Arg($this->yyastk[$this->yysp-(4-4)], true, $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(4-1)];
|
|
}
|
|
|
|
protected function yyn122($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn123($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn124($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn125($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn126($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn127($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->yysp-(3-3)], 1), null, $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn128($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->yysp-(5-3)], 1), $this->yyastk[$this->yysp-(5-5)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(5-1)];
|
|
}
|
|
|
|
protected function yyn129($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->yysp-(1-1)], 1), null, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn130($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->yysp-(3-1)], 1), $this->yyastk[$this->yysp-(3-3)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn131($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn132($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn133($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Property($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn134($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn135($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassMethod($this->yyastk[$this->yysp-(8-4)], array('type' => $this->yyastk[$this->yysp-(8-1)], 'byRef' => $this->yyastk[$this->yysp-(8-3)], 'params' => $this->yyastk[$this->yysp-(8-6)], 'stmts' => $this->yyastk[$this->yysp-(8-8)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn136($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn137($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn138($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn139($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn140($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn141($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn142($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn143($line, $docComment) {
|
|
PHPParser_Node_Stmt_Class::verifyModifier($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]); $this->yyval = $this->yyastk[$this->yysp-(2-1)] | $this->yyastk[$this->yysp-(2-2)];
|
|
}
|
|
|
|
protected function yyn144($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn145($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function yyn146($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function yyn147($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function yyn148($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function yyn149($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function yyn150($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->yysp-(3-3)], 1), null, $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn151($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->yysp-(5-3)], 1), $this->yyastk[$this->yysp-(5-5)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(5-1)];
|
|
}
|
|
|
|
protected function yyn152($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->yysp-(1-1)], 1), null, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn153($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->yysp-(3-1)], 1), $this->yyastk[$this->yysp-(3-3)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn154($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn155($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn156($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn157($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn158($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn159($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignList($this->yyastk[$this->yysp-(6-3)], $this->yyastk[$this->yysp-(6-6)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn160($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn161($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn162($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->yysp-(6-1)], new PHPParser_Node_Expr_New($this->yyastk[$this->yysp-(6-5)], $this->yyastk[$this->yysp-(6-6)], $line, $docComment), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn163($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_New($this->yyastk[$this->yysp-(3-2)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn164($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn165($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignPlus($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn166($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMinus($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn167($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMul($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn168($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignDiv($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn169($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignConcat($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn170($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignMod($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn171($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseAnd($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn172($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseOr($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn173($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignBitwiseXor($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn174($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignShiftLeft($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn175($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_AssignShiftRight($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn176($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->yysp-(2-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn177($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn178($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->yysp-(2-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn179($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn180($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanOr($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn181($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanAnd($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn182($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalOr($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn183($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalAnd($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn184($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_LogicalXor($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn185($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseOr($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn186($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseAnd($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn187($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseXor($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn188($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Concat($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn189($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Plus($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn190($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Minus($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn191($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Mul($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn192($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Div($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn193($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Mod($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn194($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShiftLeft($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn195($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShiftRight($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn196($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn197($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn198($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn199($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn200($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Identical($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn201($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_NotIdentical($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn202($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Equal($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn203($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_NotEqual($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn204($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Smaller($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn205($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_SmallerOrEqual($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn206($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Greater($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn207($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_GreaterOrEqual($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn208($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Instanceof($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn209($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn210($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->yysp-(5-1)], $this->yyastk[$this->yysp-(5-3)], $this->yyastk[$this->yysp-(5-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn211($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->yysp-(4-1)], null, $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn212($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn213($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn214($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->yysp-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn215($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->yysp-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE_ONCE, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn216($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn217($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->yysp-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn218($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->yysp-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE_ONCE, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn219($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn220($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn221($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn222($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn223($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn224($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn225($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn226($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn227($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn228($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn229($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn230($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn231($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn232($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn233($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Closure(array('byRef' => $this->yyastk[$this->yysp-(9-2)], 'params' => $this->yyastk[$this->yysp-(9-4)], 'uses' => $this->yyastk[$this->yysp-(9-6)], 'stmts' => $this->yyastk[$this->yysp-(9-8)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn234($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn235($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
|
}
|
|
|
|
protected function yyn236($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(4-1)][] = new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->yysp-(4-4)], 1), $this->yyastk[$this->yysp-(4-3)], $line, $docComment); $this->yyval = $this->yyastk[$this->yysp-(4-1)];
|
|
}
|
|
|
|
protected function yyn237($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->yysp-(2-2)], 1), $this->yyastk[$this->yysp-(2-1)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn238($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn239($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->yysp-(6-1)], $this->yyastk[$this->yysp-(6-3)], $this->yyastk[$this->yysp-(6-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn240($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->yysp-(8-1)], $this->yyastk[$this->yysp-(8-4)], $this->yyastk[$this->yysp-(8-7)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn241($line, $docComment) {
|
|
|
|
if ($this->yyastk[$this->yysp-(4-1)] instanceof PHPParser_Node_Expr_StaticPropertyFetch) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->yysp-(4-1)]->class, new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-1)]->name, $line, $docComment), $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
} elseif ($this->yyastk[$this->yysp-(4-1)] instanceof PHPParser_Node_Expr_ArrayDimFetch) {
|
|
$tmp = $this->yyastk[$this->yysp-(4-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->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
$tmp->var = new PHPParser_Node_Expr_Variable($tmp->var->name, $line, $docComment);
|
|
} else {
|
|
throw new Exception;
|
|
}
|
|
|
|
}
|
|
|
|
protected function yyn242($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn243($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name('static', $line, $docComment);
|
|
}
|
|
|
|
protected function yyn244($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn245($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn246($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn247($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn248($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn249($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn250($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn251($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn252($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn253($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn254() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn255($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn256($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn257($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn258($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn259($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn260($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn261($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn262($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn263($line, $docComment) {
|
|
$this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->yysp-(1-1)], '`'));
|
|
}
|
|
|
|
protected function yyn264($line, $docComment) {
|
|
foreach ($this->yyastk[$this->yysp-(1-1)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn265($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn266($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn267($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn268($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DNumber((double) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn269($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn270($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LineConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn271($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FileConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn272($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DirConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn273($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_ClassConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn274($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_MethodConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn275($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FuncConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn276($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_NSConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn277($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->yysp-(3-2)], null), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn278($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String('', $line, $docComment);
|
|
}
|
|
|
|
protected function yyn279($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn280($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn281($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn282($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn283($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn284($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn285($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn286($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn287($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn288($line, $docComment) {
|
|
foreach ($this->yyastk[$this->yysp-(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->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn289($line, $docComment) {
|
|
foreach ($this->yyastk[$this->yysp-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, null); } }; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn290($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn291($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn292() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn293() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn294($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn295($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn296($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(3-3)], $this->yyastk[$this->yysp-(3-1)], false, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn297($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(1-1)], null, false, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn298($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn299($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn300($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn301($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn302($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_MethodCall($this->yyastk[$this->yysp-(6-1)], $this->yyastk[$this->yysp-(6-3)], $this->yyastk[$this->yysp-(6-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn303($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn304($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn305($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn306($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn307($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn308($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn309($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn310($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn311($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn312($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(3-1)], substr($this->yyastk[$this->yysp-(3-3)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn313($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(6-1)], $this->yyastk[$this->yysp-(6-5)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn314($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn315($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn316($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn317($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn318($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn319($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn320($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn321($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn322($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn323($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn324($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn325($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn326($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn327($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn328($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
|
}
|
|
|
|
protected function yyn329($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn330($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn331($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn332($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn333($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn334($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(3-3)], $this->yyastk[$this->yysp-(3-1)], false, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn335($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(1-1)], null, false, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn336($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(4-4)], $this->yyastk[$this->yysp-(4-1)], true, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn337($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(2-2)], null, true, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn338($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn339($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn340($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn341($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]);
|
|
}
|
|
|
|
protected function yyn342($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn343($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(4-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn344($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(3-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn345($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn346($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn347($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(6-2)], $line, $docComment), $this->yyastk[$this->yysp-(6-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn348($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn349($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn350($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn351($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
}
|