mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 12:24:39 +01:00
2409 lines
110 KiB
PHP
2409 lines
110 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 = 145;
|
|
const YYMAXLEX = 380;
|
|
const YYTERMS = 145;
|
|
const YYNONTERMS = 90;
|
|
const YYLAST = 886;
|
|
const YY2TBLSTATE = 329;
|
|
const YYGLAST = 416;
|
|
const YYSTATES = 740;
|
|
const YYNLSTATES = 521;
|
|
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_INTERFACE = 353;
|
|
const T_EXTENDS = 354;
|
|
const T_IMPLEMENTS = 355;
|
|
const T_OBJECT_OPERATOR = 356;
|
|
const T_DOUBLE_ARROW = 357;
|
|
const T_LIST = 358;
|
|
const T_ARRAY = 359;
|
|
const T_CLASS_C = 360;
|
|
const T_METHOD_C = 361;
|
|
const T_FUNC_C = 362;
|
|
const T_LINE = 363;
|
|
const T_FILE = 364;
|
|
const T_COMMENT = 365;
|
|
const T_DOC_COMMENT = 366;
|
|
const T_OPEN_TAG = 367;
|
|
const T_OPEN_TAG_WITH_ECHO = 368;
|
|
const T_CLOSE_TAG = 369;
|
|
const T_WHITESPACE = 370;
|
|
const T_START_HEREDOC = 371;
|
|
const T_END_HEREDOC = 372;
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 373;
|
|
const T_CURLY_OPEN = 374;
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 375;
|
|
const T_NAMESPACE = 376;
|
|
const T_NS_C = 377;
|
|
const T_DIR = 378;
|
|
const T_NS_SEPARATOR = 379;
|
|
// }}}
|
|
|
|
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_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, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 47, 144, 145, 141, 46, 30, 145,
|
|
139, 140, 44, 41, 7, 42, 43, 45, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 25, 136,
|
|
35, 12, 37, 24, 59, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 60, 145, 143, 29, 145, 142, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 137, 28, 138, 49, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
|
145, 145, 145, 145, 145, 145, 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, 145, 145, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 145, 145, 145, 145, 145,
|
|
145, 127, 128, 129, 130, 131, 132, 133, 134, 135
|
|
);
|
|
|
|
protected static $yyaction = array(
|
|
55, 56, 361, 57, 58,-32766,-32766,-32766, 246, 59,
|
|
-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102, 839,
|
|
839,-32766, 0,-32766,-32766, 44, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 81, 121, 60,
|
|
61, 266,-32766,-32766,-32766, 62,-32766, 63, 233, 234,
|
|
64, 65, 66, 67, 68, 69, 70, 71,-32766, 244,
|
|
72, 334, 362, 696, 698, 239, 784, 785, 363, 802,
|
|
839, 294, 567, 359, 786, 50, 26, 364, 38, 365,
|
|
615, 366, 474, 367,-32766, 476, 368, 257, 266, 266,
|
|
39, 40, 369, 338, 335, 41, 370, 335, 73, 240,
|
|
293, 336, 635, 371, 372, 406, 371, 372, 373, 374,
|
|
375, 839, 550, 589, 376, 550, 589, 376, 377, 378,
|
|
790, 791, 792, 787, 788, 250, 202, 82, 83, 84,
|
|
383, 793, 789, 337, 574, 499, 123, 74, 53, 266,
|
|
253, 839, 258, 43, 310, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 54, 245, 667, 668,
|
|
669, 666, 665, 664, 525,-32766, 122,-32766,-32766,-32766,
|
|
266, 525, 238, 199, 839,-32766, 224, 433,-32766,-32766,
|
|
-32766, 616,-32766,-32766,-32766,-32766,-32766, 349, 843,-32766,
|
|
534, 80, 236,-32766,-32766,-32766, 754, 762,-32766,-32766,
|
|
266,-32766, 488,-32766, 762, 119,-32766, 33,-32766,-32766,
|
|
-32766,-32766, 525, 241, 255, 869,-32766, 871, 870,-32766,
|
|
-32766,-32766, 409,-32766, 565,-32766, 383,-32766, 332, 337,
|
|
-32766, 51, 273, 120,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 659,-32766, 266,-32766, 762, 52,-32766, 345, 343,
|
|
332, 501,-32766, 525, 242, 124, 832,-32766, 46, 266,
|
|
-32766,-32766,-32766, 659,-32766, 268,-32766, 196,-32766,-32766,
|
|
587,-32766, 100, 101, 102,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766, 831,-32766, 295,-32766, 762, 635,-32766, 127,
|
|
412, 204, 588,-32766, 525, 237, 259, 644,-32766, 350,
|
|
839,-32766,-32766,-32766, 860,-32766, -107,-32766, 117,-32766,
|
|
20, 860,-32766,-32766,-32766, 206,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766, 118,-32766, 275,-32766, 762, 454,-32766,
|
|
198, 653, 197, 354,-32766, 525, 226, 473, 27,-32766,
|
|
481, 482,-32766,-32766,-32766, 130,-32766, 207,-32766, 795,
|
|
-32766, 274, 203,-32766, 21, 656, 520,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766, 807,-32766, 225,-32766, 762, 449,
|
|
-32766, 131, 299, 806, 208,-32766, 525,-32766,-32766,-32766,
|
|
-32766, 795, 504,-32766,-32766,-32766, 578,-32766, 506,-32766,
|
|
519,-32766, 515,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766,-32766,-32766,-32766,-32766, 507,-32766, 516,-32766, 762,
|
|
511,-32766, 245, 564, 531, 502,-32766, 525, 103, 104,
|
|
105,-32766, 245, 585,-32766,-32766,-32766, 490,-32766, 421,
|
|
-32766, 126,-32766, 860, 399,-32766, 865, 439, 539,-32766,
|
|
-32766,-32766,-32766,-32766,-32766,-32766, 526,-32766, 801,-32766,
|
|
762, 525,-32766, 494, 451, 456, 430,-32766, 525, 413,
|
|
429, 423,-32766, 590, 541,-32766,-32766,-32766, 403,-32766,
|
|
402,-32766, 342,-32766, 344, 392,-32766, 393, 755, 404,
|
|
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 777,-32766, 756,
|
|
-32766, 762, 466,-32766, -137, 480, 486, 440,-32766, 525,
|
|
394, 272, 493,-32766, 487, 227,-32766,-32766,-32766, 271,
|
|
-32766, 358,-32766, 464,-32766, 591, 484,-32766,-32766, 264,
|
|
477,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 265,-32766,
|
|
267,-32766, 762, 577,-32766, 566, 794, 254, 750,-32766,
|
|
525, -242, 0, 0,-32766, 535, 0,-32766,-32766,-32766,
|
|
518,-32766, 45,-32766, 256,-32766, 205, 559,-32766, 0,
|
|
0, 0,-32766,-32766,-32766, 560,-32766,-32766,-32766, 313,
|
|
-32766, 286,-32766, 762, 284,-32766, 283, 285, 312, 455,
|
|
-32766, 525, 608, 0, 343,-32766, 341, 397,-32766,-32766,
|
|
-32766, 654,-32766, 561,-32766, 563,-32766, 576, 601,-32766,
|
|
603, 553, 611,-32766,-32766,-32766, 562,-32766,-32766,-32766,
|
|
610,-32766, 605,-32766, 762, 618,-32766, 555, 569, 568,
|
|
510,-32766, 525, 509, 49, 48,-32766, 513, 512,-32766,
|
|
-32766,-32766, 508,-32766, 81,-32766, 500,-32766, 200, 201,
|
|
-32766, 503, 129, 128,-32766,-32766,-32766,-32766,-32766,-32766,
|
|
-32766, 335,-32766, 868,-32766, 762,-32766,-32766,-32766, 867,
|
|
371, 372,-32766, 609, 834, 784, 785, 866, 840, 550,
|
|
589, 376,-32766, 786,-32766,-32766,-32766,-32766,-32766,-32767,
|
|
-32767,-32767,-32767, 838, 836, 824, 775, 646, 558,-32766,
|
|
335, 330, 844, 833, 551, 0, 292, 335, 330, 371,
|
|
372, 78, 30, 292, 32, 34, 371, 372, 530, 589,
|
|
376, 35, 36, 37, 42, 530, 589, 376, 436, 790,
|
|
791, 792, 787, 788, 321, 47, 75, 270, 76, 340,
|
|
793, 789, 333, 532, 270, 335, 330, 77, 269, 79,
|
|
533, 292, 125, 132, 371, 372,-32766,-32766,-32766, 133,
|
|
249, 335, 248, 530, 589, 376, 247,-32766,-32766,-32766,
|
|
371, 372,-32766, 235,-32766,-32766,-32766,-32766,-32766, 550,
|
|
589, 376, 270,-32766, 29,-32766,-32766,-32766,-32766, 335,
|
|
31, 232, 335, 231, 223, 222, 335, 732, 371, 372,
|
|
195, 371, 372, 441, 586, 371, 372, 550, 589, 376,
|
|
550, 589, 376, 849, 550, 589, 376, 443, 335, 778,
|
|
497, 24, 22, 23, 19, 25, 28, 371, 372, 491,
|
|
296, 462, 752, 335, 0, 331, 550, 589, 376, 657,
|
|
335, 864, 371, 372, 496, 335, 729, 736, 733, 371,
|
|
372, 550, 589, 376, 371, 372, 800, 759, 550, 589,
|
|
376, 581, 758, 550, 589, 376, 821, 783, 820, 761,
|
|
760, 757, 749, 492, 463, 351, 300, 0, 0, 0,
|
|
774, 0, 823, 835, 837, 471
|
|
);
|
|
|
|
protected static $yycheck = array(
|
|
2, 3, 4, 5, 6, 8, 9, 10, 61, 11,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 72,
|
|
72, 24, 0, 26, 27, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 137, 7, 41,
|
|
42, 141, 8, 9, 10, 47, 8, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 24, 61,
|
|
62, 63, 64, 50, 51, 7, 68, 69, 70, 71,
|
|
72, 7, 74, 7, 76, 77, 78, 79, 7, 81,
|
|
25, 83, 80, 85, 103, 86, 88, 7, 141, 141,
|
|
92, 93, 94, 95, 95, 97, 98, 95, 100, 30,
|
|
102, 103, 121, 104, 105, 7, 104, 105, 110, 111,
|
|
112, 72, 113, 114, 115, 113, 114, 115, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 12, 8, 9, 10,
|
|
132, 133, 134, 135, 136, 137, 25, 139, 60, 141,
|
|
142, 72, 144, 24, 72, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 60, 48, 103, 104,
|
|
105, 106, 107, 108, 70, 64, 137, 8, 9, 10,
|
|
141, 70, 30, 12, 72, 74, 7, 7, 77, 78,
|
|
79, 136, 81, 24, 83, 26, 85, 25, 70, 88,
|
|
136, 129, 130, 92, 93, 94, 140, 103, 97, 98,
|
|
141, 100, 7, 102, 103, 137, 64, 139, 8, 9,
|
|
10, 110, 70, 30, 118, 70, 74, 72, 73, 77,
|
|
78, 79, 120, 81, 136, 83, 132, 85, 96, 135,
|
|
88, 60, 60, 137, 92, 93, 94, 136, 137, 97,
|
|
98, 109, 100, 141, 102, 103, 60, 64, 7, 135,
|
|
96, 137, 110, 70, 30, 137, 72, 74, 7, 141,
|
|
77, 78, 79, 109, 81, 7, 83, 7, 85, 103,
|
|
138, 88, 41, 42, 43, 92, 93, 94, 136, 137,
|
|
97, 98, 72, 100, 7, 102, 103, 121, 64, 25,
|
|
118, 12, 138, 110, 70, 30, 75, 72, 74, 137,
|
|
72, 77, 78, 79, 75, 81, 140, 83, 137, 85,
|
|
140, 75, 88, 8, 9, 12, 92, 93, 94, 136,
|
|
137, 97, 98, 137, 100, 141, 102, 103, 75, 64,
|
|
12, 136, 12, 119, 110, 70, 30, 65, 66, 74,
|
|
65, 66, 77, 78, 79, 12, 81, 12, 83, 128,
|
|
85, 141, 12, 88, 140, 136, 137, 92, 93, 94,
|
|
136, 137, 97, 98, 128, 100, 141, 102, 103, 141,
|
|
64, 90, 91, 144, 12, 110, 70, 8, 9, 10,
|
|
74, 128, 25, 77, 78, 79, 25, 81, 25, 83,
|
|
25, 85, 25, 24, 88, 26, 27, 28, 92, 93,
|
|
94, 136, 137, 97, 98, 25, 100, 25, 102, 103,
|
|
25, 64, 48, 136, 136, 137, 110, 70, 44, 45,
|
|
46, 74, 48, 30, 77, 78, 79, 67, 81, 70,
|
|
83, 60, 85, 75, 79, 88, 70, 87, 70, 92,
|
|
93, 94, 136, 137, 97, 98, 70, 100, 70, 102,
|
|
103, 70, 64, 70, 70, 99, 70, 110, 70, 71,
|
|
70, 70, 74, 114, 70, 77, 78, 79, 70, 81,
|
|
70, 83, 70, 85, 70, 70, 88, 70, 72, 87,
|
|
92, 93, 94, 136, 137, 97, 98, 140, 100, 72,
|
|
102, 103, 72, 64, 72, 72, 72, 72, 110, 70,
|
|
72, 75, 72, 74, 72, 87, 77, 78, 79, 75,
|
|
81, 95, 83, 101, 85, 114, 89, 88, 103, 116,
|
|
89, 92, 93, 94, 136, 137, 97, 98, 117, 100,
|
|
116, 102, 103, 136, 64, 136, 128, 118, 142, 110,
|
|
70, 131, -1, -1, 74, 136, -1, 77, 78, 79,
|
|
137, 81, 119, 83, 118, 85, 119, 136, 88, -1,
|
|
-1, -1, 92, 93, 94, 136, 137, 97, 98, 131,
|
|
100, 131, 102, 103, 131, 64, 131, 131, 131, 131,
|
|
110, 70, 138, -1, 135, 74, 135, 135, 77, 78,
|
|
79, 136, 81, 136, 83, 136, 85, 136, 136, 88,
|
|
136, 136, 136, 92, 93, 94, 136, 137, 97, 98,
|
|
136, 100, 136, 102, 103, 136, 64, 136, 136, 136,
|
|
136, 110, 70, 136, 136, 136, 74, 137, 137, 77,
|
|
78, 79, 137, 81, 137, 83, 137, 85, 41, 42,
|
|
88, 137, 137, 137, 92, 93, 94, 136, 137, 97,
|
|
98, 95, 100, 138, 102, 103, 8, 9, 10, 138,
|
|
104, 105, 110, 138, 138, 68, 69, 138, 138, 113,
|
|
114, 115, 24, 76, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 138, 138, 138, 138, 138, 136, 137,
|
|
95, 96, 138, 138, 138, -1, 101, 95, 96, 104,
|
|
105, 139, 139, 101, 139, 139, 104, 105, 113, 114,
|
|
115, 139, 139, 139, 139, 113, 114, 115, 121, 122,
|
|
123, 124, 125, 126, 127, 139, 139, 132, 139, 139,
|
|
133, 134, 139, 138, 132, 95, 96, 139, 139, 139,
|
|
138, 101, 139, 139, 104, 105, 8, 9, 10, 139,
|
|
139, 95, 139, 113, 114, 115, 139, 8, 9, 10,
|
|
104, 105, 24, 139, 26, 27, 28, 29, 30, 113,
|
|
114, 115, 132, 24, 139, 26, 27, 28, 29, 95,
|
|
139, 139, 95, 139, 139, 139, 95, 140, 104, 105,
|
|
139, 104, 105, 140, 138, 104, 105, 113, 114, 115,
|
|
113, 114, 115, 140, 113, 114, 115, 140, 95, 140,
|
|
82, 140, 140, 140, 140, 140, 140, 104, 105, 84,
|
|
140, 140, 138, 95, -1, 138, 113, 114, 115, 138,
|
|
95, 143, 104, 105, 140, 95, 140, 140, 140, 104,
|
|
105, 113, 114, 115, 104, 105, 140, 140, 113, 114,
|
|
115, 138, 140, 113, 114, 115, 140, 140, 140, 140,
|
|
140, 140, 140, 140, 140, 140, 140, -1, -1, -1,
|
|
143, -1, 143, 143, 143, 143
|
|
);
|
|
|
|
protected static $yybase = array(
|
|
0, 612, 605, 650, 566, 697, 2, -1, 745, 666,
|
|
694, 738, 723, 701, 750, 750, 750, 750, 750, 373,
|
|
390, 395, 395, 392, 395, 367, -2, -2, -2, 275,
|
|
152, 152, 152, 152, 152, 152, 152, 152, 275, 562,
|
|
439, 480, 357, 111, 316, 193, 234, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
398, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
521, 521, 521, 521, 55, 493, 431, 467, 469, 471,
|
|
706, 707, 679, 685, 684, 428, 690, 443, 539, 540,
|
|
274, 555, 556, 557, 558, 559, 564, 691, 742, 565,
|
|
536, 686, 704, 119, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 38, 315, 210, 210, 210, 210, 210,
|
|
210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
|
|
34, 34, 169, -3, 379, 607, 607, 607, 607, 607,
|
|
607, 607, 607, 607, 607, 607, 607, 607, 607, 759,
|
|
748, 658, 658, 658, 658, 13, -25, -25, -25, -25,
|
|
164, 142, 112, 112, 112, 39, -53, 69, 432, 241,
|
|
241, -52, -52, -52, -52, -52, -52, -52, -52, -52,
|
|
-52, -52, -52, -52, -52, -52, -52, 176, 176, 176,
|
|
231, 246, 239, 444, 128, 128, 128, -19, 436, 418,
|
|
368, 384, 384, 384, 425, 425, -100, 425, 425, 425,
|
|
124, 72, 72, 155, 516, 515, 453, 651, 78, 450,
|
|
448, 106, 288, 369, 401, 400, 396, 224, 441, 454,
|
|
437, 535, 461, 235, 461, 235, 172, 282, 285, 55,
|
|
229, 420, 196, 409, 408, 419, 402, 64, 287, 98,
|
|
182, 181, 220, 194, 180, 360, 663, 657, 708, 677,
|
|
525, 263, 181, 181, 673, 682, 465, 205, 681, 66,
|
|
417, 366, 417, 403, 585, 403, 438, 391, 403, 576,
|
|
410, 391, 413, 391, 424, 417, 71, 421, 403, 497,
|
|
494, 422, 366, 576, 403, 403, 270, 433, 403, 403,
|
|
22, 597, 599, 371, 608, 596, 572, 600, 610, 415,
|
|
509, 359, 411, 654, 652, 634, 412, 656, 645, 462,
|
|
414, 455, 575, 459, 374, 429, 573, 456, 429, 457,
|
|
446, 365, 407, 330, 328, 462, 406, 386, 627, 613,
|
|
499, 31, 171, 623, 378, 429, 435, 429, 514, 655,
|
|
429, 732, 376, 381, 462, 374, 374, 374, 582, 731,
|
|
261, 583, 741, 584, 740, 730, 729, 739, 728, 583,
|
|
584, 727, 737, 394, 735, 80, 661, 420, 458, 404,
|
|
114, 492, 268, 343, 429, 698, 429, 429, 505, 507,
|
|
498, 350, 734, 430, 418, 388, 609, 429, 726, 268,
|
|
722, 717, 491, 501, 603, 500, 289, 447, 716, 426,
|
|
429, 531, 429, 614, 489, 683, 486, 484, 434, 442,
|
|
313, 620, 377, 370, 476, 427, 345, 733, 440, 393,
|
|
475, 474, 423, 372, 621, 416, 375, 472, 736, 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, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
119, 119, 119, 119, 119, 119, 104, 104, 104, 104,
|
|
104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
|
|
119, 119, 119, 119, 119, 119, 429, 384, 384, 384,
|
|
384, 65, 65, 104, 104, 104, 104, 104, 104, 65,
|
|
384, 384, 104, 104, 104, 104, 104, 104, 104, 104,
|
|
104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
|
|
104, 72, 72, 72, 72, 238, 238, 238, 104, 72,
|
|
72, 72, 0, 0, 0, 104, 104, 238, 104, 104,
|
|
104, 391, 0, 0, 0, 238, 238, 181, 196, 0,
|
|
181, 181, 0, 462, 220, 194, 220, 194, 429, 291,
|
|
291, 291, 291, 391, 0, 391, 0, 0, 0, 0,
|
|
0, 0, 573, 0, 31, 627, 251, 462, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 462, 58, 58, 429,
|
|
179, 429, 0, 0, 0, 179, 429, 251, 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,
|
|
116, 116, 116, 116, 116, 116, 116, 116, 290,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 155, 155, 155,
|
|
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,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, 213, 214, 216, 217, 154, 117, 321,
|
|
153, 334, 119, 181, 183, 230, 182, 159, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 158,
|
|
210, 209, 179, 180, 184, 287, 290,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 186,
|
|
185, 201, 202, 199, 200, 157, 203, 204, 205, 206,
|
|
139, 139, 329, 329, 329,32767,32767,32767, 140, 193,
|
|
194,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767, 250, 250, 250, 112, 112, 112,
|
|
32767,32767,32767, 258,32767,32767,32767, 112,32767,32767,
|
|
260, 188, 189, 187,32767,32767,32767,32767,32767,32767,
|
|
32767, 259,32767,32767,32767,32767, 304, 309, 298, 304,
|
|
304, 248,32767,32767,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 102, 104,32767,
|
|
32767, 283, 309,32767,32767,32767, 17,32767,32767,32767,
|
|
342, 304,32767,32767,32767, 19,32767,32767,32767,32767,
|
|
32767,32767, 307, 308,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767, 63, 255, 63, 241,32767, 63, 261,
|
|
32767,32767, 73,32767, 71,32767, 289, 75, 63, 91,
|
|
91, 232, 54, 261, 63, 63, 289,32767, 63, 63,
|
|
32767,32767,32767, 4,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767,32767,32767, 243,
|
|
32767,32767, 306,32767, 197, 176, 242,32767, 178, 246,
|
|
249,32767,32767,32767, 128, 244,32767,32767,32767,32767,
|
|
32767, 156,32767,32767,32767, 124,32767, 61,32767,32767,
|
|
327,32767,32767, 281, 245, 190, 191, 192, 301,32767,
|
|
115, 351,32767, 352,32767,32767,32767,32767,32767,32767,
|
|
32767,32767,32767,32767,32767, 106,32767, 276,32767,32767,
|
|
126,32767, 74,32767, 337,32767, 160, 118,32767,32767,
|
|
32767,32767,32767,32767,32767,32767,32767, 62,32767, 76,
|
|
32767,32767,32767,32767,32767,32767, 108, 294,32767,32767,
|
|
336,32767, 120,32767,32767,32767,32767,32767,32767,32767,
|
|
151,32767,32767,32767,32767,32767, 110,32767,32767,32767,
|
|
32767,32767,32767, 149,32767,32767,32767,32767,32767, 25,
|
|
25, 3, 3, 131, 25, 98, 25, 25, 131, 91,
|
|
91, 25, 25, 25, 25, 25, 25, 25, 25, 25,
|
|
25
|
|
);
|
|
|
|
protected static $yygoto = array(
|
|
147, 168, 168, 168, 168, 168, 168, 168, 168, 147,
|
|
136, 137, 138, 142, 150, 177, 171, 172, 167, 167,
|
|
167, 167, 169, 169, 169, 169, 163, 164, 165, 166,
|
|
175, 716, 717, 384, 719, 739, 740, 741, 742, 743,
|
|
744, 745, 747, 684, 139, 140, 141, 143, 144, 145,
|
|
146, 148, 149, 173, 174, 176, 192, 193, 194, 209,
|
|
210, 211, 212, 213, 214, 216, 217, 218, 219, 229,
|
|
230, 261, 262, 263, 415, 416, 417, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 151, 152,
|
|
153, 154, 170, 155, 190, 156, 157, 158, 191, 159,
|
|
160, 189, 134, 161, 162, 437, 437, 437, 437, 437,
|
|
437, 437, 437, 437, 437, 437, 437, 437, 437, 544,
|
|
650, 606, 798, 799, 648, 607, 630, 814, 673, 632,
|
|
671, 853, 386, 386, 386, 386, 386, 386, 528, 528,
|
|
528, 386, 386, 386, 386, 386, 386, 386, 386, 386,
|
|
386, 386, 386, 386, 763, 763, 763, 634, 634, 634,
|
|
425, 426, 428, 431, 458, 460, 461, 634, 529, 529,
|
|
529, 424, 427, 432, 598, 598, 303, 593, 599, 479,
|
|
438, 438, 438, 438, 438, 438, 438, 438, 438, 438,
|
|
438, 438, 438, 438, 859, 859, 390, 390, 390, 302,
|
|
302, 302, 862, 859, 571, 812, 572, 387, 387, 387,
|
|
387, 387, 387, 289, 862, 862, 387, 387, 387, 387,
|
|
387, 387, 387, 387, 387, 387, 387, 387, 387, 389,
|
|
389, 389, 279, 279, 279, 279, 279, 279, 450, 475,
|
|
317, 279, 279, 279, 279, 279, 279, 279, 279, 279,
|
|
279, 279, 279, 279, 280, 280, 280, 728, 353, 452,
|
|
498, 827, 827, 827, 311, 311, 311, 1, 2, 260,
|
|
324, 845, 845, 845, 252, 846, 311, 410, 410, 410,
|
|
405, 446, 287, 826, 322, 323, 407, 407, 385, 388,
|
|
318, 320, 444, 447, 457, 325, 470, 472, 328, 5,
|
|
773, 772, 663, 14, 459, 6, 7, 355, 536, 326,
|
|
8, 9, 10, 15, 16, 11, 17, 12, 18, 13,
|
|
796, 796, 796, 796, 796, 796, 796, 796, 796, 796,
|
|
796, 796, 796, 796, 527, 527, 527, 642, 542, 514,
|
|
580, 221, 282, 682, 0, 809, 0, 0, 0, 0,
|
|
0, 0, 617, 604, 602, 602, 600, 602, 505, 391,
|
|
624, 620, 304, 0, 306, 398, 306, 0, 0, 0,
|
|
0, 0, 290, 291, 0, 453, 0, 0, 0, 0,
|
|
0, 243, 478, 0, 0, 489, 495, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 395,
|
|
0, 0, 0, 315, 0, 414
|
|
);
|
|
|
|
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, 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, 87, 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,
|
|
47, 47, 47, 47, 47, 47, 47, 35, 7, 7,
|
|
7, 75, 75, 75, 35, 35, 26, 35, 35, 35,
|
|
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
|
67, 67, 67, 67, 88, 88, 73, 73, 73, 69,
|
|
69, 69, 88, 88, 29, 82, 29, 67, 67, 67,
|
|
67, 67, 67, 43, 88, 88, 67, 67, 67, 67,
|
|
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
|
67, 67, 68, 68, 68, 68, 68, 68, 21, 21,
|
|
27, 68, 68, 68, 68, 68, 68, 68, 68, 68,
|
|
68, 68, 68, 68, 68, 68, 68, 58, 58, 36,
|
|
36, 70, 70, 70, 68, 68, 68, 2, 2, 76,
|
|
57, 70, 70, 70, 76, 85, 68, 28, 28, 28,
|
|
28, 28, 28, 70, 68, 68, 28, 28, 28, 28,
|
|
28, 28, 28, 28, 28, 28, 28, 28, 28, 13,
|
|
74, 74, 56, 13, 42, 13, 13, 46, 10, 9,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
|
|
77, 77, 77, 77, 5, 5, 5, 49, 11, 44,
|
|
34, 40, 4, 59, -1, 81, -1, -1, -1, -1,
|
|
-1, -1, 5, 5, 5, 5, 5, 5, 5, 5,
|
|
5, 5, 30, -1, 4, 30, 4, -1, -1, -1,
|
|
-1, -1, 43, 43, -1, 30, -1, -1, -1, -1,
|
|
-1, 30, 30, -1, -1, 30, 30, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 4,
|
|
-1, -1, -1, 4, -1, 4
|
|
);
|
|
|
|
protected static $yygbase = array(
|
|
0, 0, -234, 0, 72, 333, 137, 167, 0, -23,
|
|
14, -7, -78, -201, 0, -29, 0, 0, 0, 0,
|
|
0, 190, 0, 0, 0, 0, 126, 8, 55, 182,
|
|
27, 0, 0, 0, -12, -90, 11, 0, 0, 0,
|
|
-167, 0, 39, -137, 40, 0, 50, 129, 0, 42,
|
|
0, 0, 0, 0, 0, 0, 74, 47, 12, -10,
|
|
0, 0, 0, 0, 0, 0, 0, -15, 10, -45,
|
|
17, 0, 0, -48, 45, 119, 16, 125, 0, 0,
|
|
0, -11, 9, 0, 0, 51, 0, 93, -57, 0
|
|
);
|
|
|
|
protected static $yygdefault = array(
|
|
-32768, 360, 3, 523, 379, 547, 548, 549, 307, 305,
|
|
537, 543, 467, 4, 545, 135, 297, 552, 298, 483,
|
|
554, 400, 556, 557, 308, 309, 401, 316, 215, 570,
|
|
485, 314, 573, 352, 579, 301, 434, 380, 347, 448,
|
|
220, 408, 442, 288, 517, 435, 348, 419, 420, 643,
|
|
651, 357, 327, 469, 655, 228, 662, 319, 339, 683,
|
|
746, 748, 411, 396, 465, 329, 818, 381, 276, 277,
|
|
382, 768, 281, 817, 418, 422, 251, 805, 468, 803,
|
|
356, 852, 813, 816, 278, 847, 346, 854, 861, 445
|
|
);
|
|
|
|
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, 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, 64, 64, 65, 65, 66, 66, 66, 66,
|
|
66, 67, 67, 35, 35, 35, 58, 58, 71, 71,
|
|
72, 72, 72, 72, 72, 60, 60, 60, 63, 63,
|
|
63, 59, 59, 77, 77, 77, 77, 77, 77, 77,
|
|
77, 77, 77, 77, 77, 12, 12, 12, 12, 12,
|
|
12, 61, 61, 61, 61, 61, 61, 78, 78, 81,
|
|
81, 80, 80, 82, 82, 28, 28, 28, 83, 83,
|
|
83, 84, 84, 84, 70, 70, 73, 73, 73, 73,
|
|
69, 69, 69, 69, 69, 69, 68, 68, 68, 68,
|
|
75, 75, 74, 74, 74, 57, 57, 85, 85, 85,
|
|
62, 62, 86, 86, 87, 87, 87, 87, 76, 76,
|
|
76, 76, 88, 88, 88, 88, 88, 88, 89, 89,
|
|
89, 79, 79
|
|
);
|
|
|
|
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, 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,
|
|
2, 9, 0, 4, 4, 2, 4, 6, 6, 4,
|
|
4, 1, 1, 1, 2, 3, 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, 2, 2, 4,
|
|
3, 1, 1, 1, 1, 3, 3, 0, 2, 0,
|
|
1, 3, 1, 3, 1, 1, 1, 1, 1, 4,
|
|
6, 3, 4, 4, 1, 2, 1, 4, 4, 1,
|
|
3, 3, 6, 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, 6, 3, 1, 1,
|
|
1, 3, 3
|
|
);
|
|
|
|
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(array('name' => new PHPParser_Node_Name($this->yyastk[$this->yysp-(3-2)], $line, $docComment), 'stmts' => null), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn11($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(array('name' => new PHPParser_Node_Name($this->yyastk[$this->yysp-(5-2)], $line, $docComment), 'stmts' => $this->yyastk[$this->yysp-(5-4)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn12($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_Namespace(array('name' => null, 'stmts' => $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(array('cond' => $this->yyastk[$this->yysp-(7-3)], 'stmts' => is_array($this->yyastk[$this->yysp-(7-5)]) ? $this->yyastk[$this->yysp-(7-5)] : array($this->yyastk[$this->yysp-(7-5)]), 'elseifList' => $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(array('cond' => $this->yyastk[$this->yysp-(10-3)], 'stmts' => $this->yyastk[$this->yysp-(10-6)], 'elseifList' => $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(array('stmts' => is_array($this->yyastk[$this->yysp-(7-2)]) ? $this->yyastk[$this->yysp-(7-2)] : array($this->yyastk[$this->yysp-(7-2)]), 'cond' => $this->yyastk[$this->yysp-(7-5)]), $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(array('expr' => $this->yyastk[$this->yysp-(7-3)], 'keyVar' => null, 'byRef' => false, 'valueVar' => $this->yyastk[$this->yysp-(7-5)], '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(array('expr' => $this->yyastk[$this->yysp-(8-3)], 'keyVar' => null, 'byRef' => true, 'valueVar' => $this->yyastk[$this->yysp-(8-6)], '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(array('expr' => $this->yyastk[$this->yysp-(10-3)], 'keyVar' => $this->yyastk[$this->yysp-(10-5)], 'byRef' => $this->yyastk[$this->yysp-(10-7)], 'valueVar' => $this->yyastk[$this->yysp-(10-8)], '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(array('declares' => $this->yyastk[$this->yysp-(5-3)], 'stmts' => 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_Func(array('byRef' => $this->yyastk[$this->yysp-(9-2)], 'name' => $this->yyastk[$this->yysp-(9-3)], '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(array('type' => $this->yyastk[$this->yysp-(7-1)], 'name' => $this->yyastk[$this->yysp-(7-2)], '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(array('name' => $this->yyastk[$this->yysp-(6-2)], '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(array('key' => $this->yyastk[$this->yysp-(3-1)], 'value' => $this->yyastk[$this->yysp-(3-3)]), $line, $docComment));
|
|
}
|
|
|
|
protected function yyn86($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(5-1)][] = new PHPParser_Node_Stmt_DeclareDeclare(array('key' => $this->yyastk[$this->yysp-(5-3)], 'value' => $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(array('cond' => $this->yyastk[$this->yysp-(6-4)], 'stmts' => 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(array('cond' => $this->yyastk[$this->yysp-(7-4)], 'stmts' => $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(array('stmts' => 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(array('stmts' => $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 = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn116($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn117($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->yysp-(1-1)], false, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn118($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->yysp-(2-2)], true, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn119($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 yyn120($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 yyn121($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn122($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn123($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn124($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn125($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn126($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 yyn127($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 yyn128($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->yysp-(1-1)], 1), null, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn129($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 yyn130($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn131($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn132($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 yyn133($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn134($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Stmt_ClassMethod(array('type' => $this->yyastk[$this->yysp-(8-1)], 'byRef' => $this->yyastk[$this->yysp-(8-3)], 'name' => $this->yyastk[$this->yysp-(8-4)], 'params' => $this->yyastk[$this->yysp-(8-6)], 'stmts' => $this->yyastk[$this->yysp-(8-8)]), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn135($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn136($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn137($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn138($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn139($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn140($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn141($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn142($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 yyn143($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
|
|
}
|
|
|
|
protected function yyn144($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED;
|
|
}
|
|
|
|
protected function yyn145($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE;
|
|
}
|
|
|
|
protected function yyn146($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC;
|
|
}
|
|
|
|
protected function yyn147($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
|
|
}
|
|
|
|
protected function yyn148($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
|
|
}
|
|
|
|
protected function yyn149($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 yyn150($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 yyn151($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->yysp-(1-1)], 1), null, $line, $docComment));
|
|
}
|
|
|
|
protected function yyn152($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 yyn153($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn154($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn155($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn156($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn157($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn158($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_List($this->yyastk[$this->yysp-(6-3)], $this->yyastk[$this->yysp-(6-6)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn159($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 yyn160($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 yyn161($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 yyn162($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 yyn163($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn164($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 yyn165($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 yyn166($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 yyn167($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 yyn168($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 yyn169($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 yyn170($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 yyn171($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 yyn172($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 yyn173($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 yyn174($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 yyn175($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->yysp-(2-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn176($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn177($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->yysp-(2-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn178($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn179($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 yyn180($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 yyn181($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 yyn182($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 yyn183($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 yyn184($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 yyn185($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 yyn186($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 yyn187($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 yyn188($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 yyn189($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 yyn190($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 yyn191($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 yyn192($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 yyn193($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 yyn194($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 yyn195($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn196($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn197($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn198($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn199($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 yyn200($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 yyn201($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 yyn202($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 yyn203($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 yyn204($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 yyn205($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 yyn206($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 yyn207($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 yyn208($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn209($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 yyn210($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 yyn211($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn212($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn213($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 yyn214($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 yyn215($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn216($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 yyn217($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 yyn218($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn219($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn220($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn221($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn222($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn223($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn224($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn225($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn226($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn227($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn228($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn229($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn230($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn231($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_LambdaFunc($this->yyastk[$this->yysp-(9-8)], $this->yyastk[$this->yysp-(9-4)], $this->yyastk[$this->yysp-(9-6)], $this->yyastk[$this->yysp-(9-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn232($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn233($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
|
}
|
|
|
|
protected function yyn234($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(4-1)][] = new PHPParser_Node_Expr_LambdaFuncUse(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 yyn235($line, $docComment) {
|
|
$this->yyval = array(new PHPParser_Node_Expr_LambdaFuncUse(substr($this->yyastk[$this->yysp-(2-2)], 1), $this->yyastk[$this->yysp-(2-1)], $line, $docComment));
|
|
}
|
|
|
|
protected function yyn236($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 yyn237($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 yyn238($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 yyn239($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, $this->yyastk[$this->yysp-(4-1)]->name, $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 yyn240($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 yyn241($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name('static', $line, $docComment);
|
|
}
|
|
|
|
protected function yyn242($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn243($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn244($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn245($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn246($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn247($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
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() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn251($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 yyn252($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 yyn253($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 yyn254($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 yyn255($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn256($line, $docComment) {
|
|
$this->yyval = null;
|
|
}
|
|
|
|
protected function yyn257($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn258($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn259($line, $docComment) {
|
|
$this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->yysp-(1-1)], '`'));
|
|
}
|
|
|
|
protected function yyn260($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 yyn261($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn262($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn263($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn264($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DNumber((double) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn265($line, $docComment) {
|
|
$this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn266($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LineConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn267($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FileConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn268($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_DirConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn269($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_ClassConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn270($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_MethodConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn271($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_FuncConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn272($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_NSConst($line, $docComment);
|
|
}
|
|
|
|
protected function yyn273($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 yyn274($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String('', $line, $docComment);
|
|
}
|
|
|
|
protected function yyn275($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn276($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn277($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn278($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->yysp-(2-2)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn279($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn280($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 yyn281($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn282($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn283($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn284($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn285($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 yyn286($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 yyn287($line, $docComment) {
|
|
$this->yyval = array();
|
|
}
|
|
|
|
protected function yyn288($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
|
}
|
|
|
|
protected function yyn289() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn290() {
|
|
$this->yyval = $this->yyastk[$this->yysp];
|
|
}
|
|
|
|
protected function yyn291($line, $docComment) {
|
|
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
|
}
|
|
|
|
protected function yyn292($line, $docComment) {
|
|
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
|
}
|
|
|
|
protected function yyn293($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 yyn294($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(1-1)], null, false, $line, $docComment);
|
|
}
|
|
|
|
protected function yyn295($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn296($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn297($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn298($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn299($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 yyn300($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 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_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn303($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 yyn304($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
|
}
|
|
|
|
protected function yyn305($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(2-2)], $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_StaticPropertyFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn308($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 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-(3-1)], substr($this->yyastk[$this->yysp-(3-3)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn311($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 yyn312($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 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_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(6-2)], $line, $docComment), $this->yyastk[$this->yysp-(6-4)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn347($line, $docComment) {
|
|
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
|
}
|
|
|
|
protected function yyn348($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn349($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
|
}
|
|
|
|
protected function yyn350($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
|
}
|
|
|
|
protected function yyn351($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 yyn352($line, $docComment) {
|
|
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
|
}
|
|
}
|