From ae3774f0f23d5dc1f95302a5a1bd382f1ff2b422 Mon Sep 17 00:00:00 2001 From: nikic Date: Fri, 7 Sep 2012 18:06:11 +0200 Subject: [PATCH] Add support for finally clauses (PHP 5.5) This adds a new finallyStmts subnode to the TryCatch node. If there is no finally clause it will be null. --- CHANGELOG.md | 3 + grammar/zend_language_parser.phpy | 11 +- lib/PHPParser/Lexer/Emulative.php | 45 +- lib/PHPParser/Node/Stmt/TryCatch.php | 23 +- lib/PHPParser/Parser.php | 2720 +++++++++++----------- test/code/parser/stmt/tryCatch.test | 101 +- test/code/parser/stmt/tryCatch.test-fail | 7 + 7 files changed, 1511 insertions(+), 1399 deletions(-) create mode 100644 test/code/parser/stmt/tryCatch.test-fail diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e48a42..f5c3a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Version 0.9.3-dev ----------------- +* [PHP 5.5] Add support for `finally`. This adds a new `finallyStmts` subnode to the `TryCatch` node. If there is no + finally clause it will be `null`. + * [BC] [PHP 5.5] Add support for `list()` destructuring of `foreach` values. Example: `foreach ($coords as list($x, $y)) { ... }` diff --git a/grammar/zend_language_parser.phpy b/grammar/zend_language_parser.phpy index 19dbe42..b634519 100644 --- a/grammar/zend_language_parser.phpy +++ b/grammar/zend_language_parser.phpy @@ -63,6 +63,7 @@ %token T_RETURN %token T_TRY %token T_CATCH +%token T_FINALLY %token T_THROW %token T_USE %token T_INSTEADOF @@ -195,14 +196,15 @@ statement: { $$ = Stmt_Foreach[$3, $7[0], [keyVar: $5, byRef: $7[1], stmts: $9]]; } | T_DECLARE '(' declare_list ')' declare_statement { $$ = Stmt_Declare[$3, $5]; } | ';' { $$ = array(); /* means: no statement */ } - | T_TRY '{' inner_statement_list '}' catches { $$ = Stmt_TryCatch[$3, $5]; } + | T_TRY '{' inner_statement_list '}' catches optional_finally + { $$ = Stmt_TryCatch[$3, $5, $6]; } | T_THROW expr ';' { $$ = Stmt_Throw[$2]; } | T_GOTO T_STRING ';' { $$ = Stmt_Goto[$2]; } | T_STRING ':' { $$ = Stmt_Label[$1]; } ; catches: - catch { init($1); } + /* empty */ { init(); } | catches catch { push($1, $2); } ; @@ -211,6 +213,11 @@ catch: { $$ = Stmt_Catch[$3, parseVar($4), $7]; } ; +optional_finally: + /* empty */ { $$ = null; } + | T_FINALLY '{' inner_statement_list '}' { $$ = $3; } +; + variables_list: variable { init($1); } | variables_list ',' variable { push($1, $3); } diff --git a/lib/PHPParser/Lexer/Emulative.php b/lib/PHPParser/Lexer/Emulative.php index 587f539..ad9be5b 100644 --- a/lib/PHPParser/Lexer/Emulative.php +++ b/lib/PHPParser/Lexer/Emulative.php @@ -11,31 +11,32 @@ class PHPParser_Lexer_Emulative extends PHPParser_Lexer public function __construct() { parent::__construct(); + $newKeywordsPerVersion = array( + '5.5.0-dev' => array( + 'finally' => PHPParser_Parser::T_FINALLY, + ), + '5.4.0-dev' => array( + 'callable' => PHPParser_Parser::T_CALLABLE, + 'insteadof' => PHPParser_Parser::T_INSTEADOF, + 'trait' => PHPParser_Parser::T_TRAIT, + '__trait__' => PHPParser_Parser::T_TRAIT_C, + ), + '5.3.0-dev' => array( + '__dir__' => PHPParser_Parser::T_DIR, + 'goto' => PHPParser_Parser::T_GOTO, + 'namespace' => PHPParser_Parser::T_NAMESPACE, + '__namespace__' => PHPParser_Parser::T_NS_C, + ), + ); + $this->newKeywords = array(); + foreach ($newKeywordsPerVersion as $version => $newKeywords) { + if (version_compare(PHP_VERSION, $version, '>=')) { + break; + } - if (version_compare(PHP_VERSION, '5.4.0RC1', '>=')) { - return; + $this->newKeywords += $newKeywords; } - - // new PHP 5.4 keywords - $this->newKeywords += array( - 'callable' => PHPParser_Parser::T_CALLABLE, - 'insteadof' => PHPParser_Parser::T_INSTEADOF, - 'trait' => PHPParser_Parser::T_TRAIT, - '__trait__' => PHPParser_Parser::T_TRAIT_C, - ); - - if (version_compare(PHP_VERSION, '5.3.0', '>=')) { - return; - } - - // new PHP 5.3 keywords - $this->newKeywords += array( - '__dir__' => PHPParser_Parser::T_DIR, - 'goto' => PHPParser_Parser::T_GOTO, - 'namespace' => PHPParser_Parser::T_NAMESPACE, - '__namespace__' => PHPParser_Parser::T_NS_C, - ); } public function startLexing($code) { diff --git a/lib/PHPParser/Node/Stmt/TryCatch.php b/lib/PHPParser/Node/Stmt/TryCatch.php index 7a31e75..796aae3 100644 --- a/lib/PHPParser/Node/Stmt/TryCatch.php +++ b/lib/PHPParser/Node/Stmt/TryCatch.php @@ -1,23 +1,30 @@ $stmts, - 'catches' => $catches, + 'stmts' => $stmts, + 'catches' => $catches, + 'finallyStmts' => $finallyStmts, ), $attributes ); diff --git a/lib/PHPParser/Parser.php b/lib/PHPParser/Parser.php index ce2b99a..af1790e 100644 --- a/lib/PHPParser/Parser.php +++ b/lib/PHPParser/Parser.php @@ -12,14 +12,14 @@ class PHPParser_Parser { const TOKEN_NONE = -1; - const TOKEN_INVALID = 149; + const TOKEN_INVALID = 150; - const TOKEN_MAP_SIZE = 384; + const TOKEN_MAP_SIZE = 385; - const YYLAST = 913; - const YY2TBLSTATE = 327; - const YYGLAST = 415; - const YYNLSTATES = 544; + const YYLAST = 925; + const YY2TBLSTATE = 329; + const YYGLAST = 416; + const YYNLSTATES = 547; const YYUNEXPECTED = 32767; const YYDEFAULT = -32766; @@ -106,52 +106,53 @@ class PHPParser_Parser const T_RETURN = 335; const T_TRY = 336; const T_CATCH = 337; - const T_THROW = 338; - const T_USE = 339; - const T_INSTEADOF = 340; - const T_GLOBAL = 341; - const T_STATIC = 342; - const T_ABSTRACT = 343; - const T_FINAL = 344; - const T_PRIVATE = 345; - const T_PROTECTED = 346; - const T_PUBLIC = 347; - const T_VAR = 348; - const T_UNSET = 349; - const T_ISSET = 350; - const T_EMPTY = 351; - const T_HALT_COMPILER = 352; - const T_CLASS = 353; - const T_TRAIT = 354; - const T_INTERFACE = 355; - const T_EXTENDS = 356; - const T_IMPLEMENTS = 357; - const T_OBJECT_OPERATOR = 358; - const T_DOUBLE_ARROW = 359; - const T_LIST = 360; - const T_ARRAY = 361; - const T_CALLABLE = 362; - const T_CLASS_C = 363; - const T_TRAIT_C = 364; - const T_METHOD_C = 365; - const T_FUNC_C = 366; - const T_LINE = 367; - const T_FILE = 368; - const T_COMMENT = 369; - const T_DOC_COMMENT = 370; - const T_OPEN_TAG = 371; - const T_OPEN_TAG_WITH_ECHO = 372; - const T_CLOSE_TAG = 373; - const T_WHITESPACE = 374; - const T_START_HEREDOC = 375; - const T_END_HEREDOC = 376; - const T_DOLLAR_OPEN_CURLY_BRACES = 377; - const T_CURLY_OPEN = 378; - const T_PAAMAYIM_NEKUDOTAYIM = 379; - const T_NAMESPACE = 380; - const T_NS_C = 381; - const T_DIR = 382; - const T_NS_SEPARATOR = 383; + const T_FINALLY = 338; + const T_THROW = 339; + const T_USE = 340; + const T_INSTEADOF = 341; + const T_GLOBAL = 342; + const T_STATIC = 343; + const T_ABSTRACT = 344; + const T_FINAL = 345; + const T_PRIVATE = 346; + const T_PROTECTED = 347; + const T_PUBLIC = 348; + const T_VAR = 349; + const T_UNSET = 350; + const T_ISSET = 351; + const T_EMPTY = 352; + const T_HALT_COMPILER = 353; + const T_CLASS = 354; + const T_TRAIT = 355; + const T_INTERFACE = 356; + const T_EXTENDS = 357; + const T_IMPLEMENTS = 358; + const T_OBJECT_OPERATOR = 359; + const T_DOUBLE_ARROW = 360; + const T_LIST = 361; + const T_ARRAY = 362; + const T_CALLABLE = 363; + const T_CLASS_C = 364; + const T_TRAIT_C = 365; + const T_METHOD_C = 366; + const T_FUNC_C = 367; + const T_LINE = 368; + const T_FILE = 369; + const T_COMMENT = 370; + const T_DOC_COMMENT = 371; + const T_OPEN_TAG = 372; + const T_OPEN_TAG_WITH_ECHO = 373; + const T_CLOSE_TAG = 374; + const T_WHITESPACE = 375; + const T_START_HEREDOC = 376; + const T_END_HEREDOC = 377; + const T_DOLLAR_OPEN_CURLY_BRACES = 378; + const T_CURLY_OPEN = 379; + const T_PAAMAYIM_NEKUDOTAYIM = 380; + const T_NAMESPACE = 381; + const T_NS_C = 382; + const T_DIR = 383; + const T_NS_SEPARATOR = 384; // }}} /* @var array Map of token ids to their respective names */ @@ -256,6 +257,7 @@ class PHPParser_Parser "T_RETURN", "T_TRY", "T_CATCH", + "T_FINALLY", "T_THROW", "T_USE", "T_INSTEADOF", @@ -310,296 +312,298 @@ class PHPParser_Parser /* @var array Map which translates lexer tokens to internal tokens */ protected static $translate = array( - 0, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 47, 148, 149, 145, 46, 30, 149, - 143, 144, 44, 41, 7, 42, 43, 45, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 25, 140, - 35, 12, 37, 24, 59, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 60, 149, 146, 29, 149, 147, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 141, 28, 142, 49, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 1, 2, 3, 4, + 0, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 47, 149, 150, 146, 46, 30, 150, + 144, 145, 44, 41, 7, 42, 43, 45, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 25, 141, + 35, 12, 37, 24, 59, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 60, 150, 147, 29, 150, 148, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 142, 28, 143, 49, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 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, 149, 149, 75, 76, 77, 78, 79, 80, 81, + 74, 150, 150, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 149, - 149, 149, 149, 149, 149, 131, 132, 133, 134, 135, - 136, 137, 138, 139 + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 150, 150, 150, 150, 150, 150, 132, 133, 134, 135, + 136, 137, 138, 139, 140 ); protected static $yyaction = array( - 60, 61, 361, 62, 63,-32766,-32766,-32766, 261, 64, - 710, 711, 712, 709, 708, 707,-32766,-32766,-32766,-32766, - -32766,-32766, 132,-32766,-32766,-32766,-32766,-32766,-32767,-32767, - -32767,-32767,-32766, 334,-32766,-32766,-32766,-32766,-32766, 65, - 66, 350, 665, 666, 274, 67, 548, 68, 232, 233, - 69, 70, 71, 72, 73, 74, 75, 76, 29, 245, - 77, 335, 362, -114, 0, 848, 836, 837, 363, 640, - 893, 224, 590, 126, 838, 52, 26, 364, 348, 365, - 240, 366, 924, 367, 926, 925, 368,-32766,-32766,-32766, - 41, 42, 369, 338, -110, 43, 370, 336, 78, 296, - 293, 291, 292,-32766, 921,-32766,-32766, 371, 372, 373, - 374, 375, 390, 40, 359, 337, 573, 612, 376, 377, - 378, 379,-32766, 842, 843, 844, 845, 839, 840, 252, - 206, 86, 87, 88, 390, 846, 841, 337, 596, 519, - 128, 79, 509, 272, 797, 256, 260, 46, 893, 89, + 61, 62, 361, 63, 64,-32766,-32766,-32766, 199, 65, + 715, 716, 717, 714, 713, 712,-32766,-32766,-32766, 59, + 898,-32766, 56,-32766,-32766,-32766,-32766,-32766,-32767,-32767, + -32767,-32767,-32766, 335,-32766,-32766,-32766,-32766,-32766, 66, + 67, 351, 670, 671, 519, 68, 551, 69, 233, 234, + 70, 71, 72, 73, 74, 75, 76, 77, 30, 246, + 78, 336, 362, -116, 353, 919, 841, 842, 363, 349, + 898, 645, 593, 298, 843, 53, 27, 364, 0, 365, + 259, 366, 929, 367, 931, 930, 368,-32766,-32766,-32766, + 42, 43, 369, 339, 273, 44, 370, 337, 294, 79, + 359, 126, 292, 293, 124, 133, 35,-32766, 371, 372, + 373, 374, 375, 390, 127, 699, 338, 576, 617, 376, + 377, 378, 379, 864, 847, 848, 849, 850, 844, 845, + 253, 545, 87, 88, 89, 390, 851, 846, 338, 599, + 520, 129, 80, 311, 273, 802, 257, 261, 47, 680, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 802, 246, 378, 107, 108, 109, 238, 246, 21,-32766, - 309,-32766,-32766,-32766, 641, 548,-32766,-32766,-32766,-32766, - 55, 352,-32766,-32766,-32766, 57,-32766,-32766,-32766,-32766, - -32766, 54,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - -32766, 588,-32766,-32766, 689,-32766, 548, 675,-32766, 389, - -32766, 272, 347,-32766,-32766,-32766,-32766,-32766, 228,-32766, - 227,-32766, 587, 557,-32766,-32766,-32766,-32766,-32766,-32766, - -32766, 45, 236,-32766,-32766, 914,-32766, 684, 251,-32766, - 389,-32766, 198, 332, 887,-32766,-32766,-32766, 270, 445, - 914, 234, 435, 468,-32766, 897, 58, 702, 239, 518, - 548, 123, 279, 34,-32766, 332, 124,-32766,-32766,-32766, - 270,-32766, 122,-32766, 39,-32766,-32766,-32766,-32766, 702, - 229, 205,-32766,-32766,-32766,-32766, 607,-32766,-32766, 610, - -32766, 548, 134,-32766, 389,-32766, 460, 353,-32766,-32766, - -32766,-32766,-32766, 121,-32766, 237,-32766, 859, 858,-32766, - 848, 609, 199,-32766,-32766,-32766, 258, 280,-32766,-32766, - 129,-32766, 426, 129,-32766, 389, 130, 200, 332, 694, - -32766,-32766,-32766, 270,-32766,-32766,-32766, 125, 345,-32766, - 521, 201, 702, 488, 27, 548, 104, 105, 106,-32766, - 499, 500,-32766,-32766,-32766, 542,-32766, 532,-32766, 600, - -32766,-32766,-32766,-32766, 135, 298, 525,-32766,-32766,-32766, - -32766, 527,-32766,-32766, 611,-32766, 548, 539,-32766, 389, - -32766, 665, 666,-32766,-32766,-32766,-32766,-32766, 528,-32766, - 538,-32766, 554, 523,-32766, 699, 543, 133,-32766,-32766, - -32766, 688, 535,-32766,-32766, 246,-32766, 53, 59,-32766, - 389, 56, 506, 549, 245,-32766,-32766,-32766, 412, 416, - 415, 470, 223, 453,-32766, 404, 505, 242, 401, 346, - 548, 317, 344, 805,-32766, 271, 562,-32766,-32766,-32766, - 548,-32766, 914,-32766, 517,-32766,-32766,-32766,-32766, 919, - 829, 564,-32766,-32766,-32766,-32766, 851,-32766,-32766, 696, - -32766, 548, 486,-32766, 389,-32766, 402, 484,-32766,-32766, - -32766,-32766,-32766, -157,-32766, 403,-32766, 504, 493,-32766, - 417, 277, 278,-32766,-32766,-32766, -154, 336,-32766,-32766, - 613,-32766, 358, 502,-32766, 389, 273, 371, 372, 494, - -32766,-32766,-32766, 343, 269,-32766, 573, 612, 376, 377, - 482, 548, 268, 614, 847,-32766, 345, 522,-32766,-32766, - -32766, 204,-32766, 48,-32766, 520,-32766, 408, 85,-32766, - 795, 583,-32766,-32766,-32766,-32766,-32766, 259,-32766,-32766, - -335,-32766, 548, 257,-32766, 389,-32766, -336, 423,-32766, - -32766,-32766,-32766,-32766, -277,-32766, -278,-32766, 589, -269, - -32766, 342, 487, 513,-32766,-32766,-32766, 469, 336,-32766, - -32766, 311,-32766, 264, 263,-32766, 389, 693, 371, 372, - 695, 581,-32766,-32766, 586, 624,-32766, 573, 612, 376, - 377, 626, 548, 576, 635, 634,-32766, 598, 628,-32766, - -32766,-32766, 643,-32766, 578,-32766, 592,-32766, 202, 203, - -32766, 599,-32766,-32766,-32766,-32766,-32766, 531, 530,-32766, - -32766, 51,-32766, 50, 584,-32766, 389, 196, 582, 591, - 558, 685, 692,-32766, 127, 836, 837, 541, 537,-32766, - 534, 524, 533, 838, 47, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 529, 249, 890, 336, - 329, 633, 585,-32766, 250, 290, 336, 329, 632, 371, - 372, 923, 290, 888, 898, 677, 371, 372, 553, 612, - 376, 377, 739, 741, 827, 553, 612, 376, 377, 878, - 450, 892, 842, 843, 844, 845, 839, 840, 319, 894, - 276, 920, 477, 922, 846, 841, 556, 276, 336, 329, - -32766, 37,-32766, 555, 290, 36, 35, 33, 371, 372, - 32, 247, 31, 30, 225, 226, 275, 553, 612, 376, - 377,-32767,-32767,-32767,-32767, 102, 103, 104, 105, 106, - 336, 328, 330, 230, 336,-32766, 231, 235, 197, 276, - 371, 372, -335, 137, 371, 372, 776, 336, 136, 573, - 612, 376, 377, 573, 612, 376, 377, 371, 372, 131, - 84, 248, 83, 336, 44, 0, 573, 612, 376, 377, - 49, 38, 80, 371, 372, 82, 336, 608, 489, 81, - 336, 574, 573, 612, 376, 377, 371, 372, 454, 903, - 371, 372, 800, 336, 331, 573, 612, 376, 377, 573, - 612, 376, 377, 371, 372, 516, 830, 780, 772, 515, - 700, 507, 573, 612, 376, 377, 479, 548, 336, 893, - 297, 28, 336, 603, 25, 872, 20, 798, 371, 372, - 855, -111, 371, 372,-32766,-32766,-32766, 573, 612, 376, - 377, 573, 612, 376, 377, 808, 854, 875, 807, 835, - -32766, 812,-32766,-32766,-32766,-32766, 876, 810, 809, 806, - 793, 777, 508, 481, 444, 357, 354, 0, 318, 299, - 24, 0, 23, 22, -110, 0, 0, 918, 826, 889, - 873, 877, 891, 390, 811, 794, 337, 0, 0, 0, - 339, 0, 272 + 110, 807, 247, 108, 109, 110, 207, 247, 239, 22, + -32766, 354,-32766,-32766,-32766, 527, 551, 646, 926, 551, + -32766, 898, 892,-32766,-32766,-32766, 333,-32766,-32766,-32766, + -32766,-32766, 271, 591,-32766, 46, 237, 590,-32766,-32766, + -32766, 707,-32766,-32766,-32766,-32766,-32766,-32766, 551, 445, + -32766, 389,-32766, 230, 817,-32766,-32766,-32766,-32766,-32766, + 235,-32766, 560,-32766, 689, 241,-32766, 105, 106, 107, + -32766,-32766,-32766, 616, 919,-32766,-32766, 435, 509,-32766, + 58, 902,-32766, 389, 489, 28, 390,-32766,-32766, 338, + -32766, 333, 238, 340,-32766, 273, 281, 271, 55, 333, + 551,-32766,-32766,-32766,-32766, 271, 707,-32766,-32766,-32766, + 225,-32766, 280,-32766, 707,-32766, 41,-32766,-32766,-32766, + -32766, 130,-32766,-32766,-32766, 262,-32766,-32766,-32766, 468, + 348,-32766, 551, -112,-32766, 389,-32766, 252, 615,-32766, + -32766,-32766,-32766,-32766, 228,-32766, 614,-32766, 863, 130, + -32766, 694, 275, 131,-32766,-32766,-32766, 135, 378,-32766, + -32766, 460, 125,-32766, 499, 500,-32766, 389, 346, 240, + 522,-32766,-32766, 426,-32766, 136, 300, 40,-32766, 229, + 123, 485, 486, 853, 551, 670, 671, 853,-32766, 693, + 538,-32766,-32766,-32766, 206,-32766, 122,-32766, 200,-32766, + 704, 546,-32766,-32766,-32766, 201,-32766,-32766,-32766, 202, + -32766,-32766,-32766, 557, 524,-32766, 551, 529,-32766, 389, + -32766, 542, 247,-32766,-32766,-32766,-32766,-32766, 603,-32766, + 530,-32766, 541, 534,-32766, 134, 612, 54,-32766,-32766, + -32766, 57, 506,-32766,-32766, 60, 552,-32766, 246, 505, + -32766, 389, 487, 415, 243,-32766,-32766, 412,-32766, 404, + 402, 401, 502, 278, 347,-32766, 344, -159, 345, 551, + 565, 551, 319, 618, 416,-32766, 619, 279,-32766,-32766, + -32766, 518,-32766, 924,-32766, 567,-32766,-32766,-32766,-32766, + 856, 834, 701,-32766,-32766,-32766, 508,-32766,-32766,-32766, + 403, 810,-32766, 551, 483,-32766, 389,-32766, -156, 358, + -32766,-32766,-32766,-32766,-32766, 919,-32766, 224,-32766, 481, + 494,-32766, 453, 417, 0,-32766,-32766,-32766, 495, 337, + -32766,-32766, 270, 0,-32766, 274, 0,-32766, 389, 260, + 371, 372,-32766,-32766, 272,-32766, 269, -337,-32766, 576, + 617, 376, 377, 205, 551, -279, 852, 800,-32766, 258, + 423,-32766,-32766,-32766, -338,-32766, 49,-32766, 832,-32766, + 0, 0,-32766, 0, 586,-32766,-32766,-32766,-32766, 0, + -32766,-32766,-32766, -280, -271,-32766, 551, 514,-32766, 389, + -32766, 469, 313,-32766,-32766,-32766,-32766,-32766, 265,-32766, + 264,-32766, 592, 346,-32766, 408, 343, 488,-32766,-32766, + -32766, 698, 700,-32766,-32766, 589, 629,-32766, 631, 579, + -32766, 389, 640, 639, 601, 584,-32766, 633,-32766, 648, + 581,-32766, 595, 602, 533, 203, 204, 551, 532, 52, + 51,-32766, 587, 585,-32766,-32766,-32766, 594,-32766, 561, + -32766, 690,-32766, 697, 197,-32766, 526,-32766,-32766,-32766, + -32766,-32766, 841, 842,-32766,-32766,-32766, 523,-32766, 521, + 843,-32766, 389, 86, 128, 544, 540, 537, 531,-32766, + -32767,-32767,-32767,-32767, 103, 104, 105, 106, 107, 48, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 536, 535, 781, 927, 638, 637, 928, 588,-32766, + 250, 893, 903, 682, 476, 895, 883, 897, 450, 899, + 847, 848, 849, 850, 844, 845, 321, 744, 746, 925, + 337, 331, 851, 846, 251, 249, 39, 291,-32766, 38, + -32766, 371, 372, 37,-32766,-32766,-32766, 337, 331, 36, + 556, 617, 376, 377, 291, 34, 33, 32, 371, 372, + -32766, 31,-32766,-32766, 337, 331, 276, 556, 617, 376, + 377, 291, 277, 330, 332, 371, 372, 227, 559, 337, + -32766, 231, 232, 226, 556, 617, 376, 377, 198, 277, + 371, 372, 337, 138, 137, 558, 337, 132, -337, 576, + 617, 376, 377, 371, 372, 236, 277, 371, 372, 337, + 85, 45, 576, 617, 376, 377, 576, 617, 376, 377, + 371, 372, 50, 81, 248, 337, 84, 613, 454, 576, + 617, 376, 377, 83, 82, 877, 371, 372, 337, 908, + 577, 490, 337, 805, 525, 576, 617, 376, 377, 371, + 372, 835, 785, 371, 372, 777, 337, 705, 576, 617, + 376, 377, 576, 617, 376, 377, 516, 371, 372, 517, + 478, 299, 29, 606, 26, 860, 576, 617, 376, 377, + 21, 923, 337, -112, 507, 813, 803, 859, 831, 880, + 608, 812, 894, 371, 372, 337, 840, 881, 815, 814, + 337, 811, 576, 617, 376, 377, 371, 372,-32766,-32766, + -32766, 371, 372, 798, 782, 576, 617, 376, 377, 513, + 576, 617, 376, 377,-32766, 480,-32766,-32766,-32766,-32766, + -32766,-32766,-32766, 444, 357, 355, 320, 301, 25, 24, + 23, -113, 0, 0, 878, 882,-32766, 0,-32766,-32766, + -32766, 896, 0, 816, 799 ); protected static $yycheck = array( - 2, 3, 4, 5, 6, 8, 9, 10, 75, 11, - 104, 105, 106, 107, 108, 109, 8, 9, 10, 8, - 9, 24, 60, 26, 27, 28, 29, 30, 31, 32, + 2, 3, 4, 5, 6, 8, 9, 10, 7, 11, + 105, 106, 107, 108, 109, 110, 8, 9, 10, 60, + 72, 24, 60, 26, 27, 28, 29, 30, 31, 32, 33, 34, 24, 7, 26, 27, 28, 29, 30, 41, - 42, 7, 123, 124, 7, 47, 70, 49, 50, 51, + 42, 7, 124, 125, 70, 47, 70, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, - 62, 63, 64, 144, 0, 132, 68, 69, 70, 25, - 72, 121, 74, 7, 76, 77, 78, 79, 7, 81, - 30, 83, 70, 85, 72, 73, 88, 8, 9, 10, - 92, 93, 94, 95, 144, 97, 98, 95, 100, 7, - 7, 103, 104, 24, 142, 26, 27, 105, 106, 111, - 112, 113, 136, 7, 7, 139, 114, 115, 116, 117, - 122, 123, 8, 125, 126, 127, 128, 129, 130, 131, - 12, 8, 9, 10, 136, 137, 138, 139, 140, 141, - 25, 143, 70, 145, 142, 147, 148, 24, 72, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 144, 48, 122, 44, 45, 46, 30, 48, 144, 64, - 72, 8, 9, 10, 140, 70, 8, 9, 10, 74, - 60, 25, 77, 78, 79, 60, 81, 24, 83, 26, - 85, 60, 24, 88, 26, 27, 28, 92, 93, 94, - 64, 140, 97, 98, 142, 100, 70, 72, 103, 104, - 74, 145, 7, 77, 78, 79, 111, 81, 7, 83, - 30, 85, 140, 140, 88, 8, 9, 10, 92, 93, - 94, 133, 134, 97, 98, 75, 100, 140, 7, 103, - 104, 24, 7, 96, 72, 140, 141, 111, 101, 70, - 75, 30, 70, 75, 64, 70, 60, 110, 7, 70, - 70, 141, 60, 143, 74, 96, 141, 77, 78, 79, - 101, 81, 141, 83, 7, 85, 140, 141, 88, 110, - 145, 12, 92, 93, 94, 64, 30, 97, 98, 142, - 100, 70, 141, 103, 104, 74, 145, 141, 77, 78, - 79, 111, 81, 12, 83, 30, 85, 132, 148, 88, - 132, 142, 12, 92, 93, 94, 120, 145, 97, 98, - 141, 100, 120, 141, 103, 104, 141, 12, 96, 140, - 140, 141, 111, 101, 8, 9, 10, 141, 139, 64, - 141, 12, 110, 65, 66, 70, 41, 42, 43, 74, - 65, 66, 77, 78, 79, 25, 81, 25, 83, 25, - 85, 140, 141, 88, 90, 91, 25, 92, 93, 94, - 64, 25, 97, 98, 142, 100, 70, 25, 103, 104, - 74, 123, 124, 77, 78, 79, 111, 81, 25, 83, - 25, 85, 140, 141, 88, 140, 141, 25, 92, 93, - 94, 140, 141, 97, 98, 48, 100, 60, 60, 103, - 104, 60, 67, 70, 61, 140, 141, 111, 79, 70, - 70, 99, 87, 87, 64, 70, 70, 87, 70, 70, - 70, 71, 70, 72, 74, 102, 70, 77, 78, 79, - 70, 81, 75, 83, 70, 85, 140, 141, 88, 70, - 144, 70, 92, 93, 94, 64, 70, 97, 98, 70, - 100, 70, 72, 103, 104, 74, 70, 72, 77, 78, - 79, 111, 81, 72, 83, 72, 85, 72, 86, 88, - 87, 75, 75, 92, 93, 94, 87, 95, 97, 98, - 115, 100, 95, 89, 103, 104, 118, 105, 106, 89, - 140, 141, 111, 95, 119, 64, 114, 115, 116, 117, - 101, 70, 118, 115, 132, 74, 139, 141, 77, 78, - 79, 121, 81, 121, 83, 141, 85, 139, 141, 88, - 147, 140, 141, 92, 93, 94, 64, 120, 97, 98, - 120, 100, 70, 120, 103, 104, 74, 120, 122, 77, - 78, 79, 111, 81, 135, 83, 135, 85, 140, 135, - 88, 139, 146, 135, 92, 93, 94, 135, 95, 97, - 98, 135, 100, 135, 135, 103, 104, 140, 105, 106, - 140, 140, 141, 111, 140, 140, 64, 114, 115, 116, - 117, 140, 70, 140, 140, 140, 74, 140, 140, 77, - 78, 79, 140, 81, 140, 83, 140, 85, 41, 42, - 88, 140, 140, 141, 92, 93, 94, 140, 140, 97, - 98, 140, 100, 140, 140, 103, 104, 60, 140, 140, - 140, 140, 140, 111, 141, 68, 69, 141, 141, 72, - 141, 141, 141, 76, 12, 13, 14, 15, 16, 17, - 18, 19, 20, 21, 22, 23, 141, 143, 142, 95, - 96, 142, 140, 141, 143, 101, 95, 96, 142, 105, - 106, 142, 101, 142, 142, 142, 105, 106, 114, 115, - 116, 117, 50, 51, 142, 114, 115, 116, 117, 142, - 123, 142, 125, 126, 127, 128, 129, 130, 131, 142, - 136, 142, 142, 142, 137, 138, 142, 136, 95, 96, - 143, 143, 145, 142, 101, 143, 143, 143, 105, 106, - 143, 143, 143, 143, 143, 143, 143, 114, 115, 116, - 117, 35, 36, 37, 38, 39, 40, 41, 42, 43, - 95, 143, 143, 143, 95, 143, 143, 143, 143, 136, - 105, 106, 120, 143, 105, 106, 144, 95, 143, 114, - 115, 116, 117, 114, 115, 116, 117, 105, 106, 143, - 143, 143, 143, 95, 143, -1, 114, 115, 116, 117, - 143, 143, 143, 105, 106, 143, 95, 142, 80, 143, - 95, 142, 114, 115, 116, 117, 105, 106, 144, 144, - 105, 106, 144, 95, 142, 114, 115, 116, 117, 114, - 115, 116, 117, 105, 106, 82, 144, 144, 144, 144, - 142, 84, 114, 115, 116, 117, 144, 70, 95, 72, - 144, 144, 95, 142, 144, 146, 144, 142, 105, 106, - 146, 144, 105, 106, 8, 9, 10, 114, 115, 116, - 117, 114, 115, 116, 117, 144, 144, 144, 144, 144, - 24, 104, 26, 27, 28, 29, 144, 144, 144, 144, - 144, 144, 144, 144, 144, 144, 144, -1, 144, 144, - 144, -1, 144, 144, 144, -1, -1, 146, 146, 146, - 146, 146, 146, 136, 146, 146, 139, -1, -1, -1, - 143, -1, 145 + 62, 63, 64, 145, 25, 75, 68, 69, 70, 7, + 72, 25, 74, 7, 76, 77, 78, 79, 0, 81, + 121, 83, 70, 85, 72, 73, 88, 8, 9, 10, + 92, 93, 94, 95, 146, 97, 98, 95, 7, 101, + 7, 142, 104, 105, 142, 60, 144, 8, 106, 107, + 112, 113, 114, 137, 7, 141, 140, 115, 116, 117, + 118, 123, 124, 133, 126, 127, 128, 129, 130, 131, + 132, 25, 8, 9, 10, 137, 138, 139, 140, 141, + 142, 25, 144, 72, 146, 143, 148, 149, 24, 72, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 145, 48, 44, 45, 46, 12, 48, 30, 145, + 64, 142, 8, 9, 10, 25, 70, 141, 143, 70, + 74, 72, 72, 77, 78, 79, 96, 81, 24, 83, + 26, 85, 102, 141, 88, 134, 135, 141, 92, 93, + 94, 111, 64, 97, 98, 8, 9, 101, 70, 70, + 104, 105, 74, 146, 105, 77, 78, 79, 112, 81, + 30, 83, 141, 85, 141, 30, 88, 41, 42, 43, + 92, 93, 94, 143, 75, 97, 98, 70, 70, 101, + 60, 70, 104, 105, 65, 66, 137, 141, 142, 140, + 112, 96, 30, 144, 64, 146, 146, 102, 60, 96, + 70, 8, 9, 10, 74, 102, 111, 77, 78, 79, + 122, 81, 60, 83, 111, 85, 7, 24, 88, 141, + 142, 142, 92, 93, 94, 75, 64, 97, 98, 75, + 7, 101, 70, 145, 104, 105, 74, 7, 143, 77, + 78, 79, 112, 81, 30, 83, 143, 85, 149, 142, + 88, 143, 7, 142, 92, 93, 94, 142, 123, 97, + 98, 146, 142, 101, 65, 66, 104, 105, 140, 7, + 142, 141, 142, 121, 112, 90, 91, 7, 64, 7, + 142, 99, 100, 133, 70, 124, 125, 133, 74, 141, + 142, 77, 78, 79, 12, 81, 12, 83, 12, 85, + 141, 142, 88, 141, 142, 12, 92, 93, 94, 12, + 64, 97, 98, 141, 142, 101, 70, 25, 104, 105, + 74, 25, 48, 77, 78, 79, 112, 81, 25, 83, + 25, 85, 25, 25, 88, 25, 30, 60, 92, 93, + 94, 60, 67, 97, 98, 60, 70, 101, 61, 70, + 104, 105, 72, 70, 87, 141, 142, 79, 112, 70, + 70, 70, 89, 75, 70, 64, 95, 72, 70, 70, + 70, 70, 71, 116, 70, 74, 116, 75, 77, 78, + 79, 70, 81, 70, 83, 70, 85, 141, 142, 88, + 70, 145, 70, 92, 93, 94, 72, 64, 97, 98, + 72, 72, 101, 70, 72, 104, 105, 74, 87, 95, + 77, 78, 79, 112, 81, 75, 83, 87, 85, 102, + 86, 88, 87, 87, -1, 92, 93, 94, 89, 95, + 97, 98, 120, -1, 101, 119, -1, 104, 105, 121, + 106, 107, 141, 142, 103, 112, 119, 121, 64, 115, + 116, 117, 118, 122, 70, 136, 133, 148, 74, 121, + 123, 77, 78, 79, 121, 81, 122, 83, 143, 85, + -1, -1, 88, -1, 141, 142, 92, 93, 94, -1, + 64, 97, 98, 136, 136, 101, 70, 136, 104, 105, + 74, 136, 136, 77, 78, 79, 112, 81, 136, 83, + 136, 85, 141, 140, 88, 140, 140, 147, 92, 93, + 94, 141, 141, 97, 98, 141, 141, 101, 141, 141, + 104, 105, 141, 141, 141, 141, 142, 141, 112, 141, + 141, 64, 141, 141, 141, 41, 42, 70, 141, 141, + 141, 74, 141, 141, 77, 78, 79, 141, 81, 141, + 83, 141, 85, 141, 60, 88, 142, 141, 142, 92, + 93, 94, 68, 69, 97, 98, 72, 142, 101, 142, + 76, 104, 105, 142, 142, 142, 142, 142, 142, 112, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 142, 142, 145, 143, 143, 143, 143, 141, 142, + 144, 143, 143, 143, 143, 143, 143, 143, 124, 143, + 126, 127, 128, 129, 130, 131, 132, 50, 51, 143, + 95, 96, 138, 139, 144, 144, 144, 102, 144, 144, + 146, 106, 107, 144, 8, 9, 10, 95, 96, 144, + 115, 116, 117, 118, 102, 144, 144, 144, 106, 107, + 24, 144, 26, 27, 95, 96, 144, 115, 116, 117, + 118, 102, 137, 144, 144, 106, 107, 144, 143, 95, + 144, 144, 144, 144, 115, 116, 117, 118, 144, 137, + 106, 107, 95, 144, 144, 143, 95, 144, 121, 115, + 116, 117, 118, 106, 107, 144, 137, 106, 107, 95, + 144, 144, 115, 116, 117, 118, 115, 116, 117, 118, + 106, 107, 144, 144, 144, 95, 144, 143, 145, 115, + 116, 117, 118, 144, 144, 147, 106, 107, 95, 145, + 143, 80, 95, 145, 143, 115, 116, 117, 118, 106, + 107, 145, 145, 106, 107, 145, 95, 143, 115, 116, + 117, 118, 115, 116, 117, 118, 145, 106, 107, 82, + 145, 145, 145, 143, 145, 147, 115, 116, 117, 118, + 145, 147, 95, 145, 84, 145, 143, 145, 147, 145, + 143, 145, 147, 106, 107, 95, 145, 145, 145, 145, + 95, 145, 115, 116, 117, 118, 106, 107, 8, 9, + 10, 106, 107, 145, 145, 115, 116, 117, 118, 145, + 115, 116, 117, 118, 24, 145, 26, 27, 28, 29, + 8, 9, 10, 145, 145, 145, 145, 145, 145, 145, + 145, 145, -1, -1, 147, 147, 24, -1, 26, 27, + 28, 147, -1, 147, 147 ); protected static $yybase = array( - 0, 574, 581, 623, 659, 672, 718, 402, 747, 655, - 2, 705, 743, 701, 688, 483, 483, 483, 483, 483, - 356, 373, 342, 362, 342, 351, -2, -2, -2, 231, - 231, 285, 285, 285, 285, 285, 285, 285, 285, 231, - 285, 451, 401, 532, 316, 370, 115, 200, 146, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 482, 482, - 482, 482, 482, 482, 482, 482, 482, 482, 44, 499, - 412, 498, 494, 454, 467, 684, 683, 682, 700, 702, - 345, 696, 569, 567, 382, 559, 557, 526, 552, 543, - 570, 542, 692, 426, 541, 697, 685, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 114, 11, 336, 336, - 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, - 336, 336, 336, 227, 227, 173, 577, 577, 577, 577, - 577, 577, 577, 577, 577, 577, 577, 79, 178, 846, - 8, -3, -3, -3, -3, 642, 706, 706, 706, 706, - 242, 157, 179, 50, 50, 436, 436, 363, 436, 503, - 767, 767, 767, 767, 767, 767, 767, 767, 767, 767, - 767, 411, 384, 315, 315, 612, 612, -81, -81, -81, - -81, 268, -67, 185, 170, 72, 416, 195, 195, 195, - 417, 392, 377, 192, 189, 129, 129, 129, -24, -24, - -24, -24, 397, -24, -24, -24, 209, 108, 108, 12, - 161, 420, 536, 271, 414, 529, 431, 130, 206, 262, - 432, 145, 418, 432, 288, 295, 145, 166, 44, 265, - 434, 135, 428, 359, 500, 403, 93, 92, 71, 212, - 141, 182, 34, 346, 664, 622, 668, -38, 437, 188, - 141, -50, 665, 501, 107, 26, 502, 199, 266, 406, - 360, 332, 406, 400, 266, 641, 266, 380, 266, 363, - 277, 583, 380, 266, 404, 380, 388, 406, 413, 395, - 360, 266, 488, 487, 419, 245, 332, 419, 266, 400, - 64, 649, 656, 344, 652, 647, 639, 609, 637, 368, - 394, 385, 408, 610, 613, 614, 365, 372, 591, 590, - 398, 369, 301, 357, 449, 587, 584, 361, 433, 418, - 387, 367, 430, 589, 448, 430, 759, 446, 429, 427, - 349, 481, 310, 325, 386, 398, 744, 393, 353, 588, - 740, 430, 636, 493, 66, 339, 638, 376, 430, 524, - 430, 737, 510, 592, 430, 736, 389, 539, 398, 367, - 367, 367, 735, 106, 758, 582, 734, 733, 756, 755, - 732, 754, 578, 753, 358, 582, 725, 752, 742, 241, - 615, 434, 442, 391, 476, 37, 751, 430, 430, 525, - 397, 430, 491, 749, 739, 405, 410, 704, 392, 396, - 593, 741, 430, 407, 699, 37, 724, 648, 723, 474, - 707, 511, 608, 509, 279, 722, 118, 571, 625, 472, - 748, 746, 750, 468, 465, 415, 507, 366, 721, 620, - 375, 355, 464, 371, 738, 531, 463, 461, 506, 409, - 438, 343, 350, 399, 745, 340, 455, 450, 447, 0, + 0, 605, 622, 639, 667, 671, 731, 404, 770, 654, + 2, 717, 713, 757, 700, 684, 775, 775, 775, 775, + 775, 362, 375, 378, 366, 378, 160, -2, -2, -2, + 200, 200, 232, 232, 232, 232, 232, 232, 232, 232, + 200, 232, 454, 403, 537, 316, 371, 116, 284, 148, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, + 486, 486, 486, 486, 486, 486, 486, 486, 486, 46, + 476, 414, 472, 471, 444, 453, 680, 677, 676, 699, + 705, 400, 696, 556, 546, 380, 544, 543, 542, 395, + 540, 541, 539, 695, 430, 538, 697, 691, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 99, 207, 79, + 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, + 79, 79, 79, 79, 263, 263, 174, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 706, 892, + 870, 8, -3, -3, -3, -3, 647, 615, 615, 615, + 615, 100, 165, 173, 205, 205, 407, 407, 357, 407, + 502, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 365, 381, 196, 196, 606, 606, -82, -82, + -82, -82, 231, 220, -10, 169, 178, 358, 181, 181, + 181, 372, 393, 410, 177, 149, 129, 129, 129, -24, + -24, -24, -24, 501, -24, -24, -24, 198, 71, 71, + 12, 185, 409, 533, 218, 343, 532, 417, -38, -41, + 242, 436, 77, 341, 436, 252, 189, 269, 77, 39, + 46, 229, 418, 190, 431, 374, 478, 406, 91, 66, + 62, 222, 208, 120, 34, 405, 653, 528, 668, 45, + 413, 224, 208, 158, 664, 480, 93, 26, 482, -26, + 376, 360, 353, 360, 350, 376, 637, 376, 369, 376, + 357, 340, 575, 369, 376, 397, 369, 386, 360, 398, + 382, 353, 376, 467, 463, 387, 1, 387, 376, 350, + 78, 649, 660, 373, 659, 648, 652, 600, 636, 361, + 497, 327, 330, 607, 608, 631, 359, 368, 609, 587, + 435, 364, 354, 347, 434, 582, 581, 351, 408, 341, + 433, 344, 396, 583, 432, 396, 777, 426, 389, 388, + 348, 462, 356, 363, 495, 435, 761, 379, 346, 650, + 758, 396, 623, 469, 107, 367, 561, 370, 396, 536, + 396, 739, 484, 603, 396, 738, 383, 534, 435, 344, + 344, 344, 726, 279, 776, 569, 724, 723, 774, 768, + 722, 767, 565, 715, 355, 569, 721, 711, 760, 300, + 614, 418, 425, 385, 461, 315, 704, 396, 396, 506, + 501, 396, 468, 765, 750, 402, 401, 698, 393, 390, + 759, 396, 384, 658, 315, 716, 562, 714, 459, 766, + 530, 599, 529, 352, 712, 592, 505, 164, 531, 620, + 458, 764, 763, 708, 456, 452, 504, 349, 710, 619, + 377, 345, 451, 399, 394, 560, 448, 447, 744, 391, + 421, 411, 337, 503, 392, 762, 106, 445, 441, 440, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, -2, -2, -2, -2, -2, + 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, - 0, 0, 0, -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, @@ -610,35 +614,36 @@ class PHPParser_Parser -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, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, - 767, 767, 767, 767, 767, 767, 767, 767, 767, 767, - 767, 123, 123, 123, 123, 123, 123, 123, 123, 0, - 129, 129, 129, 129, -94, -94, -94, 767, 767, 767, - 767, 767, 767, 767, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, -94, -94, 129, 129, 767, - 767, -24, -24, -24, -24, -24, 108, 108, 108, -24, - 108, 76, 76, 76, 108, 108, 108, 182, 182, 0, - 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, - 380, 0, 0, 0, 76, 284, 284, 37, 284, 284, - 141, 0, 0, 398, 380, 0, 413, 380, 0, 0, - 0, 0, 0, 0, 589, 0, 66, 588, 215, 398, - 0, 0, 0, 0, 0, 0, 0, 398, 261, 261, - 221, 0, 358, 0, 0, 0, 221, 215, 0, 0, - 37 + -2, -2, -2, -2, -2, -2, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 124, 124, 124, 124, 124, + 124, 124, 124, 0, 129, 129, 129, 129, -95, -95, + -95, 119, 119, 119, 119, 119, 119, 119, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, -95, + -95, 129, 129, 119, 119, -24, -24, -24, -24, -24, + 71, 71, 71, -24, 71, -52, -52, -52, 71, 71, + 71, 120, 120, 0, 0, 0, 0, 0, 0, 0, + -52, 0, 0, 0, 369, 0, 0, 0, -52, 255, + 255, 315, 255, 255, 208, 0, 0, 435, 369, 0, + 398, 369, 0, 0, 0, 0, 0, 0, 0, 583, + 0, 107, 650, 293, 435, 0, 0, 0, 0, 0, + 0, 0, 435, 332, 332, 342, 0, 355, 0, 0, + 0, 342, 293, 0, 0, 315 ); protected static $yydefault = array( 3,32767,32767, 1,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 103, 95, 109, 94, 105, - 32767,32767,32767,32767,32767,32767,32767,32767,32767, 361, - 361, 124, 124, 124, 124, 124, 124, 124, 124, 319, - 32767,32767,32767,32767,32767,32767,32767,32767,32767, 175, - 175, 175,32767, 351, 351, 351, 351, 351, 351, 351, + 32767,32767,32767,32767,32767,32767, 105, 97, 111, 96, + 107,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 363, 363, 126, 126, 126, 126, 126, 126, 126, 126, + 321,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 177, 177, 177,32767, 353, 353, 353, 353, 353, 353, + 353,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, @@ -646,93 +651,92 @@ class PHPParser_Parser 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767, 368,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 366,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 236, 237, + 239, 240, 176, 129, 354, 367, 175, 203, 205, 254, + 204, 181, 186, 187, 188, 189, 190, 191, 192, 193, + 194, 195, 196, 180, 233, 232, 201, 318, 318, 321, + 32767,32767,32767,32767,32767,32767,32767,32767, 202, 206, + 208, 207, 223, 224, 221, 222, 179, 225, 226, 227, + 228, 161, 161, 161,32767,32767, 362, 362,32767, 362, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 234, 235, 237, - 238, 174, 127, 352, 365, 173, 201, 203, 252, 202, - 179, 184, 185, 186, 187, 188, 189, 190, 191, 192, - 193, 194, 178, 231, 230, 199, 316, 316, 319,32767, - 32767,32767,32767,32767,32767,32767,32767, 200, 204, 206, - 205, 221, 222, 219, 220, 177, 223, 224, 225, 226, - 159, 159, 159,32767,32767, 360, 360,32767, 360,32767, - 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 160,32767, 213, 214, 279, 279, 119, 119, 119, - 119, 119,32767,32767,32767,32767, 287,32767,32767,32767, - 32767,32767, 289,32767,32767, 208, 209, 207,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 288,32767,32767, - 32767,32767,32767,32767,32767,32767, 337, 324, 275,32767, - 32767,32767, 268,32767, 106, 108,32767,32767,32767,32767, - 305, 342,32767,32767,32767, 17,32767,32767,32767, 373, - 337,32767,32767, 19,32767,32767,32767,32767, 229,32767, - 341, 335,32767,32767,32767,32767,32767,32767, 62,32767, - 32767,32767,32767,32767, 62, 284, 62,32767, 62,32767, - 318, 290,32767, 62, 73,32767, 71,32767,32767, 75, - 32767, 62, 92, 92, 257, 318, 53, 257, 62,32767, + 32767,32767, 162,32767, 215, 216, 281, 281, 121, 121, + 121, 121, 121,32767,32767,32767,32767, 289,32767,32767, + 32767,32767,32767, 291,32767,32767, 210, 211, 209,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 290,32767, + 32767,32767,32767,32767,32767,32767,32767, 339, 326, 277, + 32767,32767,32767, 270,32767, 60, 108, 110,32767,32767, + 32767,32767, 307, 344,32767,32767,32767, 17,32767,32767, + 32767, 375, 339,32767,32767, 19,32767,32767,32767,32767, + 231,32767, 343, 337,32767,32767,32767,32767,32767,32767, + 64,32767,32767,32767,32767, 64, 286, 64,32767, 64, + 32767, 320, 292,32767, 64, 75,32767, 73,32767,32767, + 77,32767, 64, 94, 94, 259, 320, 259, 64,32767, 32767,32767,32767, 4,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 270,32767,32767, 326,32767, 340, 339, 327,32767, 268, - 32767, 217, 196, 269,32767, 198,32767,32767, 273, 276, - 32767,32767,32767, 136,32767, 271, 182,32767,32767,32767, - 32767, 368,32767,32767, 176,32767,32767,32767, 132,32767, - 60, 335,32767,32767, 358,32767,32767, 335, 272, 210, - 211, 212,32767, 123,32767, 313,32767,32767,32767,32767, - 32767,32767, 330,32767, 336,32767,32767,32767,32767, 113, - 32767, 305,32767,32767,32767, 74,32767, 180, 128,32767, - 32767, 367,32767,32767,32767,32767, 323,32767,32767,32767, - 32767,32767, 61,32767,32767, 76,32767,32767,32767,32767, - 335,32767,32767,32767, 117,32767, 171,32767,32767,32767, - 32767,32767, 335,32767,32767,32767,32767,32767,32767,32767, + 272,32767,32767, 328,32767, 342, 341, 329,32767, 270, + 32767, 219, 198, 271,32767, 200,32767,32767, 275, 278, + 32767,32767,32767, 138,32767, 273, 184,32767,32767,32767, + 32767, 370,32767,32767, 178,32767,32767,32767, 134,32767, + 62, 337,32767,32767, 360,32767,32767, 337, 274, 212, + 213, 214,32767, 125,32767, 315,32767,32767,32767,32767, + 32767,32767, 332,32767, 338,32767,32767,32767,32767, 115, + 32767, 307,32767,32767,32767, 76,32767, 182, 130,32767, + 32767, 369,32767,32767,32767,32767, 325,32767,32767,32767, + 32767, 63,32767,32767, 78,32767,32767,32767,32767, 337, + 32767,32767,32767, 119,32767,32767,32767, 173,32767,32767, + 32767,32767,32767, 337,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767, 4, - 32767, 153,32767,32767,32767,32767,32767,32767,32767, 25, - 25, 3, 139, 3, 139, 25, 100, 25, 25, 139, - 92, 92, 25, 25, 25, 146, 25, 25, 25, 25, - 25, 25, 25, 25 + 32767, 155,32767,32767,32767,32767,32767,32767,32767,32767, + 25, 25, 3, 141, 3, 57, 141, 25, 102, 25, + 25, 141, 94, 94, 25, 25, 25, 25, 148, 25, + 25, 25, 25, 25, 25, 25, 25 ); protected static $yygoto = array( - 140, 140, 172, 172, 172, 172, 172, 172, 172, 172, - 140, 172, 141, 142, 143, 147, 152, 154, 180, 174, - 171, 171, 171, 171, 173, 173, 173, 173, 173, 173, - 173, 167, 168, 169, 170, 178, 759, 760, 391, 762, - 783, 784, 785, 786, 787, 788, 789, 791, 727, 144, - 145, 146, 148, 149, 150, 151, 153, 176, 177, 179, - 195, 207, 208, 209, 210, 211, 212, 213, 214, 216, - 217, 218, 219, 243, 244, 265, 266, 267, 429, 430, - 431, 181, 182, 183, 184, 185, 186, 187, 188, 189, - 190, 191, 192, 155, 156, 157, 158, 175, 159, 193, - 160, 161, 162, 163, 194, 164, 138, 165, 166, 451, + 141, 141, 173, 173, 173, 173, 173, 173, 173, 173, + 141, 173, 142, 143, 144, 148, 153, 155, 181, 175, + 172, 172, 172, 172, 174, 174, 174, 174, 174, 174, + 174, 168, 169, 170, 171, 179, 764, 765, 391, 767, + 788, 789, 790, 791, 792, 793, 794, 796, 732, 145, + 146, 147, 149, 150, 151, 152, 154, 177, 178, 180, + 196, 208, 209, 210, 211, 212, 213, 214, 215, 217, + 218, 219, 220, 244, 245, 266, 267, 268, 429, 430, + 431, 182, 183, 184, 185, 186, 187, 188, 189, 190, + 191, 192, 193, 156, 157, 158, 159, 176, 160, 194, + 161, 162, 163, 164, 195, 165, 139, 166, 167, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 452, 452, 452, 452, 452, 452, 452, 452, 452, 452, - 452, 552, 552, 552, 462, 490, 393, 393, 393, 393, + 452, 555, 555, 555, 462, 491, 393, 393, 393, 393, 393, 393, 393, 393, 393, 393, 393, 393, 393, 393, - 393, 393, 393, 393, 406, 282, 656, 656, 813, 813, - 664, 664, 664, 664, 664, 551, 551, 551, 510, 398, - 398, 567, 681, 631, 852, 853, 866, 662, 716, 594, - 221, 621, 621, 621, 621, 222, 616, 622, 495, 394, + 393, 393, 393, 393, 597, 406, 283, 425, 818, 818, + 669, 669, 669, 669, 669, 554, 554, 554, 510, 398, + 398, 570, 686, 636, 857, 858, 871, 667, 721, 912, + 222, 626, 626, 626, 626, 223, 621, 627, 504, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 464, 471, 514, - 425, 397, 397, 321, 492, 424, 424, 457, 424, 418, - 420, 420, 392, 395, 411, 421, 427, 458, 461, 472, - 480, 5, 475, 283, 326, 1, 15, 2, 6, 7, - 550, 550, 550, 8, 9, 10, 907, 16, 11, 17, - 12, 18, 13, 19, 14, 706, 327, 399, 399, 642, - 627, 625, 623, 625, 526, 400, 651, 646, 850, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 436, - 437, 440, 446, 476, 478, 498, 289, 913, 913, 884, - 884, 670, 883, 883, 262, 916, 913, 302, 254, 485, - 305, 864, 725, 305, 899, 899, 899, 310, 310, 310, - 491, 916, 916, 438, 439, 441, 443, 447, 474, 882, - 322, 303, 310, 409, 825, 824, 900, 315, 419, 771, - 320, 660, 284, 285, 559, 673, 465, 323, 536, 565, - 804, 678, 861, 497, 630, 602, 0, 405, 496, 0, - 0, 0, 313, 0, 714, 428, 0, 0, 0, 0, + 394, 394, 394, 394, 394, 394, 394, 464, 470, 515, + 675, 397, 397, 323, 493, 424, 424, 457, 424, 418, + 420, 420, 392, 395, 411, 421, 427, 458, 461, 471, + 479, 5, 474, 284, 328, 304, 1, 16, 2, 6, + 7, 553, 553, 553, 8, 9, 10, 11, 484, 17, + 12, 18, 13, 19, 14, 20, 15, 661, 661, 711, + 329, 647, 632, 630, 628, 630, 528, 400, 656, 651, + 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, + 855, 436, 437, 440, 446, 475, 477, 498, 290, 918, + 918, 399, 399, 869, 888, 888, 263, 921, 918, 492, + 255, 905, 307, 730, 324, 307, 904, 904, 904, 312, + 312, 312, 776, 921, 921, 438, 439, 441, 443, 447, + 473, 887, 317, 305, 312, 409, 889, 889, 830, 829, + 419, 665, 322, 809, 285, 286, 562, 539, 465, 678, + 325, 568, 635, 683, 497, 496, 866, 0, 0, 405, + 0, 719, 0, 0, 315, 0, 0, 428, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 410 + 0, 0, 0, 0, 0, 410 ); protected static $yygcheck = array( @@ -746,66 +750,66 @@ class PHPParser_Parser 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 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, - 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, - 88, 7, 7, 7, 21, 21, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 35, 72, 45, 50, 50, 35, 35, - 35, 35, 35, 35, 35, 6, 6, 6, 35, 88, - 88, 12, 12, 12, 12, 12, 12, 12, 12, 29, - 41, 35, 35, 35, 35, 41, 35, 35, 35, 84, - 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, - 84, 84, 84, 84, 84, 84, 84, 37, 37, 37, - 76, 84, 84, 30, 30, 30, 30, 30, 30, 30, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 36, + 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, + 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, + 89, 7, 7, 7, 21, 21, 36, 36, 36, 36, + 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, + 36, 36, 36, 36, 29, 73, 46, 77, 36, 36, + 36, 36, 36, 36, 36, 6, 6, 6, 36, 89, + 89, 12, 12, 12, 12, 12, 12, 12, 12, 107, + 42, 36, 36, 36, 36, 42, 36, 36, 36, 85, + 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, + 85, 85, 85, 85, 85, 85, 85, 38, 38, 38, + 57, 85, 85, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, - 30, 13, 43, 43, 43, 2, 13, 2, 13, 13, - 5, 5, 5, 13, 13, 13, 106, 13, 13, 13, - 13, 13, 13, 13, 13, 69, 69, 91, 91, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 95, 95, - 95, 95, 95, 95, 95, 95, 95, 95, 95, 54, - 54, 54, 54, 54, 54, 54, 4, 107, 107, 85, - 85, 56, 86, 86, 94, 107, 107, 26, 94, 96, - 4, 99, 72, 4, 86, 86, 86, 92, 92, 92, - 28, 107, 107, 87, 87, 87, 87, 87, 87, 86, - 80, 36, 92, 36, 93, 93, 104, 27, 36, 73, - 92, 52, 45, 45, 10, 57, 36, 9, 47, 11, - 82, 58, 98, 36, 44, 34, -1, 4, 78, -1, - -1, -1, 4, -1, 71, 4, -1, -1, -1, -1, + 30, 13, 44, 44, 44, 26, 2, 13, 2, 13, + 13, 5, 5, 5, 13, 13, 13, 13, 97, 13, + 13, 13, 13, 13, 13, 13, 13, 51, 51, 70, + 70, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, + 96, 55, 55, 55, 55, 55, 55, 55, 4, 108, + 108, 92, 92, 100, 87, 87, 95, 108, 108, 28, + 95, 105, 4, 73, 81, 4, 87, 87, 87, 93, + 93, 93, 74, 108, 108, 88, 88, 88, 88, 88, + 88, 87, 27, 37, 93, 37, 86, 86, 94, 94, + 37, 53, 93, 83, 46, 46, 10, 48, 37, 58, + 9, 11, 45, 59, 37, 79, 99, -1, -1, 4, + -1, 72, -1, -1, 4, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 72 + -1, -1, -1, -1, -1, 73 ); protected static $yygbase = array( - 0, 0, -286, 0, 10, 239, 164, 130, 0, 5, - 41, -8, -28, -289, 0, -29, 0, 0, 0, 0, - 0, 84, 0, 0, 0, 0, 245, 96, 86, 155, - -10, 0, 0, 0, -11, -87, -15, -41, 0, 0, - 0, -344, 0, -37, -6, -198, 0, 40, 0, 0, - -67, 0, 80, 0, 247, 0, 251, 39, -7, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, - 0, -5, 75, 83, 0, 0, 180, 0, -9, 0, - 94, 0, 6, 0, -34, 44, 47, 259, -76, 0, - 0, 12, 50, 66, 38, 72, 102, 0, -13, 103, - 0, 0, 0, 0, 98, 0, 207, 34, 0 + 0, 0, -286, 0, 11, 240, 164, 130, 0, 7, + 42, -7, -29, -290, 0, -30, 0, 0, 0, 0, + 0, 83, 0, 0, 0, 0, 182, 90, 74, 129, + -11, 0, 0, 0, 0, 0, -88, -14, -42, 0, + 0, 0, -346, 0, -38, -9, -198, 0, 37, 0, + 0, 33, 0, 79, 0, 248, 0, 169, 41, -6, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 17, 0, -8, 75, 65, 0, 0, 126, 0, -12, + 0, 77, 0, -2, 0, -35, 80, 48, 260, -77, + 0, 0, 45, 51, 69, 39, 73, 50, 0, -10, + 94, 0, 0, 0, 0, 72, 0, 139, 35, 0 ); protected static $yygdefault = array( - -32768, 360, 3, 546, 380, 570, 571, 572, 306, 304, - 560, 566, 466, 4, 568, 139, 294, 575, 295, 501, - 577, 413, 579, 580, 307, 308, 414, 314, 463, 593, - 215, 312, 595, 356, 601, 300, 503, 448, 381, 349, - 459, 220, 422, 455, 629, 281, 637, 540, 645, 648, - 382, 449, 659, 351, 432, 433, 669, 674, 679, 682, - 333, 324, 473, 686, 687, 255, 691, 511, 512, 705, - 241, 713, 726, 341, 790, 792, 396, 407, 483, 799, - 316, 325, 803, 383, 384, 385, 386, 434, 821, 818, - 288, 869, 286, 442, 253, 856, 467, 355, 906, 865, - 287, 387, 388, 301, 901, 340, 908, 915, 456 + -32768, 360, 3, 549, 380, 573, 574, 575, 308, 306, + 563, 569, 466, 4, 571, 140, 296, 578, 297, 501, + 580, 413, 582, 583, 309, 310, 414, 316, 463, 596, + 216, 314, 598, 295, 600, 605, 302, 503, 448, 381, + 350, 459, 221, 422, 455, 634, 282, 642, 543, 650, + 653, 382, 449, 664, 352, 432, 433, 674, 679, 684, + 687, 334, 326, 472, 691, 692, 256, 696, 511, 512, + 710, 242, 718, 731, 342, 795, 797, 396, 407, 482, + 804, 318, 327, 808, 383, 384, 385, 386, 434, 826, + 823, 289, 874, 287, 442, 254, 861, 467, 356, 911, + 870, 288, 387, 388, 303, 906, 341, 913, 920, 456 ); protected static $yylhs = array( @@ -814,19 +818,19 @@ class PHPParser_Parser 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, 33, 33, 34, - 27, 27, 36, 36, 6, 7, 7, 7, 38, 38, - 38, 39, 39, 42, 42, 40, 40, 43, 43, 22, - 22, 29, 29, 32, 32, 31, 31, 44, 23, 23, - 23, 23, 45, 45, 46, 46, 47, 47, 20, 20, - 16, 16, 48, 18, 18, 49, 17, 17, 19, 19, - 28, 28, 28, 37, 37, 51, 51, 52, 52, 53, - 53, 53, 53, 54, 54, 55, 55, 56, 56, 24, - 24, 57, 57, 57, 25, 25, 58, 58, 41, 41, - 59, 59, 59, 59, 64, 64, 65, 65, 66, 66, - 66, 66, 67, 68, 68, 63, 63, 60, 60, 62, - 62, 70, 70, 69, 69, 69, 69, 69, 69, 61, - 61, 71, 71, 26, 26, 21, 21, 15, 15, 15, + 5, 5, 5, 5, 5, 5, 5, 33, 33, 35, + 34, 34, 27, 27, 37, 37, 6, 7, 7, 7, + 39, 39, 39, 40, 40, 43, 43, 41, 41, 44, + 44, 22, 22, 29, 29, 32, 32, 31, 31, 45, + 23, 23, 23, 23, 46, 46, 47, 47, 48, 48, + 20, 20, 16, 16, 49, 18, 18, 50, 17, 17, + 19, 19, 28, 28, 28, 38, 38, 52, 52, 53, + 53, 54, 54, 54, 54, 55, 55, 56, 56, 57, + 57, 24, 24, 58, 58, 58, 25, 25, 59, 59, + 42, 42, 60, 60, 60, 60, 65, 65, 66, 66, + 67, 67, 67, 67, 68, 69, 69, 64, 64, 61, + 61, 63, 63, 71, 71, 70, 70, 70, 70, 70, + 70, 62, 62, 72, 72, 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, @@ -834,20 +838,20 @@ class PHPParser_Parser 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 72, 50, 78, 78, 81, - 81, 82, 83, 83, 83, 83, 83, 83, 88, 88, - 35, 35, 35, 73, 73, 89, 89, 84, 84, 90, - 90, 90, 90, 90, 74, 74, 74, 77, 77, 77, - 79, 79, 95, 95, 95, 95, 95, 95, 95, 95, - 95, 95, 95, 95, 95, 95, 12, 12, 12, 12, - 12, 12, 75, 75, 75, 75, 96, 96, 98, 98, - 97, 97, 99, 99, 30, 30, 30, 30, 101, 101, - 100, 100, 100, 100, 100, 102, 102, 86, 86, 91, - 91, 85, 85, 103, 103, 103, 103, 92, 92, 92, - 92, 87, 87, 93, 93, 93, 80, 80, 104, 104, - 104, 76, 76, 105, 105, 106, 106, 106, 106, 94, - 94, 94, 94, 107, 107, 107, 107, 107, 107, 107, - 108, 108, 108 + 15, 15, 15, 15, 15, 15, 15, 73, 51, 79, + 79, 82, 82, 83, 84, 84, 84, 84, 84, 84, + 89, 89, 36, 36, 36, 74, 74, 90, 90, 85, + 85, 91, 91, 91, 91, 91, 75, 75, 75, 78, + 78, 78, 80, 80, 96, 96, 96, 96, 96, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 12, 12, + 12, 12, 12, 12, 76, 76, 76, 76, 97, 97, + 99, 99, 98, 98, 100, 100, 30, 30, 30, 30, + 102, 102, 101, 101, 101, 101, 101, 103, 103, 87, + 87, 92, 92, 86, 86, 104, 104, 104, 104, 93, + 93, 93, 93, 88, 88, 94, 94, 94, 81, 81, + 105, 105, 105, 77, 77, 106, 106, 107, 107, 107, + 107, 95, 95, 95, 95, 108, 108, 108, 108, 108, + 108, 108, 109, 109, 109 ); protected static $yylen = array( @@ -856,40 +860,40 @@ class PHPParser_Parser 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, - 9, 5, 1, 5, 3, 3, 2, 1, 2, 8, - 1, 3, 0, 1, 9, 7, 6, 5, 1, 2, - 2, 0, 2, 0, 2, 0, 2, 1, 3, 1, - 4, 1, 4, 1, 4, 1, 3, 3, 3, 4, - 4, 5, 0, 2, 4, 3, 1, 1, 1, 4, - 0, 2, 5, 0, 2, 6, 0, 2, 0, 3, - 1, 2, 1, 1, 0, 1, 3, 3, 5, 0, - 1, 1, 1, 1, 0, 1, 3, 1, 2, 3, - 1, 1, 2, 4, 3, 1, 1, 3, 2, 0, - 3, 3, 8, 3, 1, 3, 0, 2, 4, 5, - 4, 4, 3, 1, 1, 1, 3, 1, 1, 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 3, 1, 3, 3, 1, 0, 1, 1, 3, 3, - 4, 4, 1, 2, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 5, 4, 4, 4, 2, 2, 4, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 1, 4, - 3, 3, 2, 9, 10, 3, 4, 0, 4, 1, - 3, 2, 4, 6, 8, 4, 4, 4, 1, 1, - 1, 2, 3, 1, 1, 1, 1, 1, 1, 0, - 3, 3, 4, 4, 0, 2, 3, 0, 1, 1, - 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 3, 2, 1, 1, 3, 2, 2, - 4, 3, 1, 3, 3, 3, 0, 2, 0, 1, - 3, 1, 3, 1, 1, 1, 1, 1, 6, 4, - 3, 6, 4, 4, 4, 1, 3, 1, 2, 1, - 1, 4, 1, 3, 6, 4, 4, 4, 4, 1, - 4, 0, 1, 1, 3, 1, 3, 1, 1, 4, - 0, 0, 2, 3, 1, 3, 1, 4, 2, 2, - 2, 1, 2, 1, 4, 3, 3, 3, 6, 3, - 1, 1, 1 + 9, 5, 1, 6, 3, 3, 2, 0, 2, 8, + 0, 4, 1, 3, 0, 1, 9, 7, 6, 5, + 1, 2, 2, 0, 2, 0, 2, 0, 2, 1, + 3, 1, 4, 1, 4, 1, 4, 1, 3, 3, + 3, 4, 4, 5, 0, 2, 4, 3, 1, 1, + 1, 4, 0, 2, 5, 0, 2, 6, 0, 2, + 0, 3, 1, 2, 1, 1, 0, 1, 3, 3, + 5, 0, 1, 1, 1, 1, 0, 1, 3, 1, + 2, 3, 1, 1, 2, 4, 3, 1, 1, 3, + 2, 0, 3, 3, 8, 3, 1, 3, 0, 2, + 4, 5, 4, 4, 3, 1, 1, 1, 3, 1, + 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, + 1, 1, 3, 1, 3, 3, 1, 0, 1, 1, + 3, 3, 4, 4, 1, 2, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 5, 4, 4, 4, 2, 2, 4, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 1, 4, 3, 3, 2, 9, 10, 3, 4, 0, + 4, 1, 3, 2, 4, 6, 8, 4, 4, 4, + 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, + 1, 0, 3, 3, 4, 4, 0, 2, 3, 0, + 1, 1, 0, 3, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 3, 2, 1, 1, 3, + 2, 2, 4, 3, 1, 3, 3, 3, 0, 2, + 0, 1, 3, 1, 3, 1, 1, 1, 1, 1, + 6, 4, 3, 6, 4, 4, 4, 1, 3, 1, + 2, 1, 1, 4, 1, 3, 6, 4, 4, 4, + 4, 1, 4, 0, 1, 1, 3, 1, 3, 1, + 1, 4, 0, 0, 2, 3, 1, 3, 1, 4, + 2, 2, 2, 1, 2, 1, 4, 3, 3, 3, + 6, 3, 1, 1, 1 ); protected $yyval; @@ -1263,7 +1267,7 @@ class PHPParser_Parser } protected function yyn53($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TryCatch($this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); + $this->yyval = new PHPParser_Node_Stmt_TryCatch($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $this->yyastk[$this->stackPos-(6-6)], $attributes); } protected function yyn54($attributes) { @@ -1279,7 +1283,7 @@ class PHPParser_Parser } protected function yyn57($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = array(); } protected function yyn58($attributes) { @@ -1291,59 +1295,59 @@ class PHPParser_Parser } protected function yyn60($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn61($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn62($attributes) { - $this->yyval = false; - } - - protected function yyn63($attributes) { - $this->yyval = true; - } - - protected function yyn64($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Function($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); - } - - protected function yyn65($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Class($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes); - } - - protected function yyn66($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Interface($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes); - } - - protected function yyn67($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Trait($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes); - } - - protected function yyn68($attributes) { - $this->yyval = 0; - } - - protected function yyn69($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT; - } - - protected function yyn70($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL; - } - - protected function yyn71($attributes) { $this->yyval = null; } + protected function yyn61($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + + protected function yyn62($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn63($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn64($attributes) { + $this->yyval = false; + } + + protected function yyn65($attributes) { + $this->yyval = true; + } + + protected function yyn66($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Function($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); + } + + protected function yyn67($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Class($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes); + } + + protected function yyn68($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Interface($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes); + } + + protected function yyn69($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Trait($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes); + } + + protected function yyn70($attributes) { + $this->yyval = 0; + } + + protected function yyn71($attributes) { + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT; + } + protected function yyn72($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL; } protected function yyn73($attributes) { - $this->yyval = array(); + $this->yyval = null; } protected function yyn74($attributes) { @@ -1359,19 +1363,19 @@ class PHPParser_Parser } protected function yyn77($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = array(); } protected function yyn78($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; } protected function yyn79($attributes) { - $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn80($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn81($attributes) { @@ -1391,95 +1395,95 @@ class PHPParser_Parser } protected function yyn85($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn86($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn87($attributes) { - $this->yyval = new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn88($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn89($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; - } - - protected function yyn90($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; - } - - protected function yyn91($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(5-3)]; - } - - protected function yyn92($attributes) { - $this->yyval = array(); - } - - protected function yyn93($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn94($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Case($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn95($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Case(null, $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn96() { - $this->yyval = $this->yyastk[$this->stackPos]; - } - - protected function yyn97() { - $this->yyval = $this->yyastk[$this->stackPos]; - } - - protected function yyn98($attributes) { $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); } - protected function yyn99($attributes) { + protected function yyn86($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; } - protected function yyn100($attributes) { + protected function yyn87($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn88($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn89($attributes) { + $this->yyval = new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn90($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn91($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + + protected function yyn92($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + } + + protected function yyn93($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(5-3)]; + } + + protected function yyn94($attributes) { $this->yyval = array(); } + protected function yyn95($attributes) { + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn96($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Case($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + + protected function yyn97($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Case(null, $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn98() { + $this->yyval = $this->yyastk[$this->stackPos]; + } + + protected function yyn99() { + $this->yyval = $this->yyastk[$this->stackPos]; + } + + protected function yyn100($attributes) { + $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + } + protected function yyn101($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; } protected function yyn102($attributes) { - $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(5-3)], is_array($this->yyastk[$this->stackPos-(5-5)]) ? $this->yyastk[$this->stackPos-(5-5)] : array($this->yyastk[$this->stackPos-(5-5)]), $attributes); - } - - protected function yyn103($attributes) { $this->yyval = array(); } - protected function yyn104($attributes) { + protected function yyn103($attributes) { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } + protected function yyn104($attributes) { + $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(5-3)], is_array($this->yyastk[$this->stackPos-(5-5)]) ? $this->yyastk[$this->stackPos-(5-5)] : array($this->yyastk[$this->stackPos-(5-5)]), $attributes); + } + protected function yyn105($attributes) { - $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-6)], $attributes); + $this->yyval = array(); } protected function yyn106($attributes) { - $this->yyval = null; + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn107($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Else(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes); + $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-6)], $attributes); } protected function yyn108($attributes) { @@ -1487,15 +1491,15 @@ class PHPParser_Parser } protected function yyn109($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Else($this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new PHPParser_Node_Stmt_Else(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes); } protected function yyn110($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false); + $this->yyval = null; } protected function yyn111($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true); + $this->yyval = new PHPParser_Node_Stmt_Else($this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn112($attributes) { @@ -1503,135 +1507,135 @@ class PHPParser_Parser } protected function yyn113($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true); } protected function yyn114($attributes) { - $this->yyval = array(); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false); } protected function yyn115($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn116($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = array(); } protected function yyn117($attributes) { - $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn118($attributes) { - $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn119($attributes) { - $this->yyval = null; + $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn120($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes); } protected function yyn121($attributes) { - $this->yyval = 'array'; + $this->yyval = null; } protected function yyn122($attributes) { - $this->yyval = 'callable'; - } - - protected function yyn123($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } + protected function yyn123($attributes) { + $this->yyval = 'array'; + } + protected function yyn124($attributes) { - $this->yyval = array(); + $this->yyval = 'callable'; } protected function yyn125($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn126($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = array(); } protected function yyn127($attributes) { - $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn128($attributes) { - $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn129($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes); } protected function yyn130($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes); } protected function yyn131($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); - } - - protected function yyn132($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn133($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn134($attributes) { $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } - protected function yyn135($attributes) { + protected function yyn132($attributes) { $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } + protected function yyn133($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + } + + protected function yyn134($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn135($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + protected function yyn136($attributes) { - $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn137($attributes) { - $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn138($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); } protected function yyn139($attributes) { - $this->yyval = array(); + $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn140($attributes) { - $this->yyval = new PHPParser_Node_Stmt_Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn141($attributes) { - $this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn142($attributes) { - $this->yyval = new PHPParser_Node_Stmt_ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes); - } - - protected function yyn143($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn144($attributes) { $this->yyval = array(); } + protected function yyn142($attributes) { + $this->yyval = new PHPParser_Node_Stmt_Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn143($attributes) { + $this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn144($attributes) { + $this->yyval = new PHPParser_Node_Stmt_ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes); + } + protected function yyn145($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = new PHPParser_Node_Stmt_TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn146($attributes) { @@ -1639,478 +1643,486 @@ class PHPParser_Parser } protected function yyn147($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn148($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = array(); } protected function yyn149($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn150($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes); + $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn151($attributes) { - $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes); } protected function yyn152($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]); + $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes); } protected function yyn153($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn154($attributes) { - $this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]); } protected function yyn155($attributes) { - $this->yyval = null; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn156($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]); } protected function yyn157($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = null; } protected function yyn158($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC; + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn159($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn160($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn161($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn162($attributes) { - PHPParser_Node_Stmt_Class::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)]; - } - - protected function yyn163($attributes) { $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC; } + protected function yyn161($attributes) { + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC; + } + + protected function yyn162($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn163($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + protected function yyn164($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED; + PHPParser_Node_Stmt_Class::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)]; } protected function yyn165($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC; } protected function yyn166($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED; } protected function yyn167($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE; } protected function yyn168($attributes) { - $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC; } protected function yyn169($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT; } protected function yyn170($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL; } protected function yyn171($attributes) { - $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn172($attributes) { - $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn173($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); } protected function yyn174($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn175($attributes) { - $this->yyval = array(); - } - - protected function yyn176($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn177($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn178($attributes) { - $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn179($attributes) { - $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn180($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn181($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn182($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn183($attributes) { - $this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn184($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignPlus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn185($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignMinus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn186($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignMul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn187($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignDiv($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn188($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignConcat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn189($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignMod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn190($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignBitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn191($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignBitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn192($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignBitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn193($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn194($attributes) { - $this->yyval = new PHPParser_Node_Expr_AssignShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn195($attributes) { - $this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes); - } - - protected function yyn196($attributes) { - $this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn197($attributes) { - $this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes); - } - - protected function yyn198($attributes) { - $this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn199($attributes) { - $this->yyval = new PHPParser_Node_Expr_BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn200($attributes) { - $this->yyval = new PHPParser_Node_Expr_BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn201($attributes) { - $this->yyval = new PHPParser_Node_Expr_LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn202($attributes) { - $this->yyval = new PHPParser_Node_Expr_LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn203($attributes) { - $this->yyval = new PHPParser_Node_Expr_LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn204($attributes) { - $this->yyval = new PHPParser_Node_Expr_BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn205($attributes) { - $this->yyval = new PHPParser_Node_Expr_BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn206($attributes) { - $this->yyval = new PHPParser_Node_Expr_BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn207($attributes) { - $this->yyval = new PHPParser_Node_Expr_Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn208($attributes) { - $this->yyval = new PHPParser_Node_Expr_Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn209($attributes) { - $this->yyval = new PHPParser_Node_Expr_Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn210($attributes) { - $this->yyval = new PHPParser_Node_Expr_Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn211($attributes) { - $this->yyval = new PHPParser_Node_Expr_Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn212($attributes) { - $this->yyval = new PHPParser_Node_Expr_Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn213($attributes) { - $this->yyval = new PHPParser_Node_Expr_ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn214($attributes) { - $this->yyval = new PHPParser_Node_Expr_ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn215($attributes) { - $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn216($attributes) { - $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn217($attributes) { - $this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn218($attributes) { - $this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn219($attributes) { - $this->yyval = new PHPParser_Node_Expr_Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn220($attributes) { - $this->yyval = new PHPParser_Node_Expr_NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn221($attributes) { - $this->yyval = new PHPParser_Node_Expr_Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn222($attributes) { - $this->yyval = new PHPParser_Node_Expr_NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn223($attributes) { - $this->yyval = new PHPParser_Node_Expr_Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn224($attributes) { - $this->yyval = new PHPParser_Node_Expr_SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn225($attributes) { - $this->yyval = new PHPParser_Node_Expr_Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn226($attributes) { - $this->yyval = new PHPParser_Node_Expr_GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn227($attributes) { - $this->yyval = new PHPParser_Node_Expr_Instanceof($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn228($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn229($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn230($attributes) { - $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); - } - - protected function yyn231($attributes) { - $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn232($attributes) { - $this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn233($attributes) { - $this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn234($attributes) { - $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE, $attributes); - } - - protected function yyn235($attributes) { - $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE_ONCE, $attributes); - } - - protected function yyn236($attributes) { - $this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn237($attributes) { - $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE, $attributes); - } - - protected function yyn238($attributes) { - $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE_ONCE, $attributes); - } - - protected function yyn239($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn240($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn241($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn242($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn243($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn244($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn245($attributes) { - $this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn246($attributes) { - $this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn247($attributes) { - $this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn248($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn249($attributes) { - $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn250($attributes) { - $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn251($attributes) { - $this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn252($attributes) { - $this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn253($attributes) { - $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); - } - - protected function yyn254($attributes) { - $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes); - } - - protected function yyn255($attributes) { - $this->yyval = new PHPParser_Node_Expr_New($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn256($attributes) { - $this->yyval = new PHPParser_Node_Expr_List($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn257($attributes) { - $this->yyval = array(); - } - - protected function yyn258($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; - } - - protected function yyn259($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn260($attributes) { $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } + protected function yyn176($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn177($attributes) { + $this->yyval = array(); + } + + protected function yyn178($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn179($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn180($attributes) { + $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn181($attributes) { + $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn182($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + + protected function yyn183($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + + protected function yyn184($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn185($attributes) { + $this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn186($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignPlus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn187($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignMinus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn188($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignMul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn189($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignDiv($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn190($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignConcat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn191($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignMod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn192($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignBitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn193($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignBitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn194($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignBitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn195($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn196($attributes) { + $this->yyval = new PHPParser_Node_Expr_AssignShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn197($attributes) { + $this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes); + } + + protected function yyn198($attributes) { + $this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn199($attributes) { + $this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes); + } + + protected function yyn200($attributes) { + $this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn201($attributes) { + $this->yyval = new PHPParser_Node_Expr_BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn202($attributes) { + $this->yyval = new PHPParser_Node_Expr_BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn203($attributes) { + $this->yyval = new PHPParser_Node_Expr_LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn204($attributes) { + $this->yyval = new PHPParser_Node_Expr_LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn205($attributes) { + $this->yyval = new PHPParser_Node_Expr_LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn206($attributes) { + $this->yyval = new PHPParser_Node_Expr_BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn207($attributes) { + $this->yyval = new PHPParser_Node_Expr_BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn208($attributes) { + $this->yyval = new PHPParser_Node_Expr_BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn209($attributes) { + $this->yyval = new PHPParser_Node_Expr_Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn210($attributes) { + $this->yyval = new PHPParser_Node_Expr_Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn211($attributes) { + $this->yyval = new PHPParser_Node_Expr_Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn212($attributes) { + $this->yyval = new PHPParser_Node_Expr_Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn213($attributes) { + $this->yyval = new PHPParser_Node_Expr_Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn214($attributes) { + $this->yyval = new PHPParser_Node_Expr_Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn215($attributes) { + $this->yyval = new PHPParser_Node_Expr_ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn216($attributes) { + $this->yyval = new PHPParser_Node_Expr_ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn217($attributes) { + $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn218($attributes) { + $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn219($attributes) { + $this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn220($attributes) { + $this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn221($attributes) { + $this->yyval = new PHPParser_Node_Expr_Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn222($attributes) { + $this->yyval = new PHPParser_Node_Expr_NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn223($attributes) { + $this->yyval = new PHPParser_Node_Expr_Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn224($attributes) { + $this->yyval = new PHPParser_Node_Expr_NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn225($attributes) { + $this->yyval = new PHPParser_Node_Expr_Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn226($attributes) { + $this->yyval = new PHPParser_Node_Expr_SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn227($attributes) { + $this->yyval = new PHPParser_Node_Expr_Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn228($attributes) { + $this->yyval = new PHPParser_Node_Expr_GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn229($attributes) { + $this->yyval = new PHPParser_Node_Expr_Instanceof($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn230($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn231($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn232($attributes) { + $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); + } + + protected function yyn233($attributes) { + $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + + protected function yyn234($attributes) { + $this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn235($attributes) { + $this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn236($attributes) { + $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE, $attributes); + } + + protected function yyn237($attributes) { + $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE_ONCE, $attributes); + } + + protected function yyn238($attributes) { + $this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn239($attributes) { + $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE, $attributes); + } + + protected function yyn240($attributes) { + $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE_ONCE, $attributes); + } + + protected function yyn241($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn242($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn243($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn244($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn245($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn246($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn247($attributes) { + $this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn248($attributes) { + $this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn249($attributes) { + $this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn250($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn251($attributes) { + $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn252($attributes) { + $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn253($attributes) { + $this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn254($attributes) { + $this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn255($attributes) { + $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); + } + + protected function yyn256($attributes) { + $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes); + } + + protected function yyn257($attributes) { + $this->yyval = new PHPParser_Node_Expr_New($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn258($attributes) { + $this->yyval = new PHPParser_Node_Expr_List($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn259($attributes) { + $this->yyval = array(); + } + + protected function yyn260($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + protected function yyn261($attributes) { - $this->yyval = new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn262($attributes) { - $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn263($attributes) { - $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + $this->yyval = new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes); } protected function yyn264($attributes) { - $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(8-1)], $this->yyastk[$this->stackPos-(8-4)], $this->yyastk[$this->stackPos-(8-7)], $attributes); + $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn265($attributes) { + $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + } + + protected function yyn266($attributes) { + $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(8-1)], $this->yyastk[$this->stackPos-(8-4)], $this->yyastk[$this->stackPos-(8-7)], $attributes); + } + + protected function yyn267($attributes) { if ($this->yyastk[$this->stackPos-(4-1)] instanceof PHPParser_Node_Expr_StaticPropertyFetch) { $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(4-1)]->class, new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-1)]->name, $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); @@ -2128,40 +2140,32 @@ class PHPParser_Parser } - protected function yyn266($attributes) { + protected function yyn268($attributes) { $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } - protected function yyn267($attributes) { + protected function yyn269($attributes) { $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } - protected function yyn268($attributes) { + protected function yyn270($attributes) { $this->yyval = new PHPParser_Node_Name('static', $attributes); } - protected function yyn269($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn270($attributes) { - $this->yyval = new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes); - } - protected function yyn271($attributes) { - $this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn272($attributes) { - $this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes); } protected function yyn273($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn274($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn275($attributes) { @@ -2180,192 +2184,192 @@ class PHPParser_Parser $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } - protected function yyn279() { - $this->yyval = $this->yyastk[$this->stackPos]; + protected function yyn279($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn280($attributes) { - $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } - protected function yyn281($attributes) { - $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + protected function yyn281() { + $this->yyval = $this->yyastk[$this->stackPos]; } protected function yyn282($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn283($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn284($attributes) { - $this->yyval = null; + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn285($attributes) { - $this->yyval = null; + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn286($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = null; } protected function yyn287($attributes) { - $this->yyval = array(); + $this->yyval = null; } protected function yyn288($attributes) { - $this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`')); - } - - protected function yyn289($attributes) { - foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn290($attributes) { - $this->yyval = array(); - } - - protected function yyn291($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } - protected function yyn292($attributes) { - $this->yyval = new PHPParser_Node_Scalar_LNumber(PHPParser_Node_Scalar_LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); - } - - protected function yyn293($attributes) { - $this->yyval = new PHPParser_Node_Scalar_DNumber(PHPParser_Node_Scalar_DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); - } - - protected function yyn294($attributes) { - $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->stackPos-(1-1)], $attributes); - } - - protected function yyn295($attributes) { - $this->yyval = new PHPParser_Node_Scalar_LineConst($attributes); - } - - protected function yyn296($attributes) { - $this->yyval = new PHPParser_Node_Scalar_FileConst($attributes); - } - - protected function yyn297($attributes) { - $this->yyval = new PHPParser_Node_Scalar_DirConst($attributes); - } - - protected function yyn298($attributes) { - $this->yyval = new PHPParser_Node_Scalar_ClassConst($attributes); - } - - protected function yyn299($attributes) { - $this->yyval = new PHPParser_Node_Scalar_TraitConst($attributes); - } - - protected function yyn300($attributes) { - $this->yyval = new PHPParser_Node_Scalar_MethodConst($attributes); - } - - protected function yyn301($attributes) { - $this->yyval = new PHPParser_Node_Scalar_FuncConst($attributes); - } - - protected function yyn302($attributes) { - $this->yyval = new PHPParser_Node_Scalar_NSConst($attributes); - } - - protected function yyn303($attributes) { - $this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes); - } - - protected function yyn304($attributes) { - $this->yyval = new PHPParser_Node_Scalar_String('', $attributes); - } - - protected function yyn305($attributes) { - $this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes); - } - - protected function yyn306($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn307($attributes) { - $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn308($attributes) { - $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn309($attributes) { - $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn310($attributes) { - $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn311($attributes) { - $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn312($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn313($attributes) { - $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn314($attributes) { - foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '"'); } }; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn315($attributes) { - foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn316($attributes) { + protected function yyn289($attributes) { $this->yyval = array(); } + protected function yyn290($attributes) { + $this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`')); + } + + protected function yyn291($attributes) { + foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn292($attributes) { + $this->yyval = array(); + } + + protected function yyn293($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn294($attributes) { + $this->yyval = new PHPParser_Node_Scalar_LNumber(PHPParser_Node_Scalar_LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); + } + + protected function yyn295($attributes) { + $this->yyval = new PHPParser_Node_Scalar_DNumber(PHPParser_Node_Scalar_DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); + } + + protected function yyn296($attributes) { + $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn297($attributes) { + $this->yyval = new PHPParser_Node_Scalar_LineConst($attributes); + } + + protected function yyn298($attributes) { + $this->yyval = new PHPParser_Node_Scalar_FileConst($attributes); + } + + protected function yyn299($attributes) { + $this->yyval = new PHPParser_Node_Scalar_DirConst($attributes); + } + + protected function yyn300($attributes) { + $this->yyval = new PHPParser_Node_Scalar_ClassConst($attributes); + } + + protected function yyn301($attributes) { + $this->yyval = new PHPParser_Node_Scalar_TraitConst($attributes); + } + + protected function yyn302($attributes) { + $this->yyval = new PHPParser_Node_Scalar_MethodConst($attributes); + } + + protected function yyn303($attributes) { + $this->yyval = new PHPParser_Node_Scalar_FuncConst($attributes); + } + + protected function yyn304($attributes) { + $this->yyval = new PHPParser_Node_Scalar_NSConst($attributes); + } + + protected function yyn305($attributes) { + $this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes); + } + + protected function yyn306($attributes) { + $this->yyval = new PHPParser_Node_Scalar_String('', $attributes); + } + + protected function yyn307($attributes) { + $this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn308($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn309($attributes) { + $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn310($attributes) { + $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn311($attributes) { + $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn312($attributes) { + $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn313($attributes) { + $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn314($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn315($attributes) { + $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn316($attributes) { + foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '"'); } }; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + protected function yyn317($attributes) { + foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn318($attributes) { + $this->yyval = array(); + } + + protected function yyn319($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } - protected function yyn318() { + protected function yyn320() { $this->yyval = $this->yyastk[$this->stackPos]; } - protected function yyn319() { + protected function yyn321() { $this->yyval = $this->yyastk[$this->stackPos]; } - protected function yyn320($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn321($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - protected function yyn322($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn323($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn324($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); } protected function yyn325($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); } protected function yyn326($attributes) { @@ -2377,39 +2381,39 @@ class PHPParser_Parser } protected function yyn328($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes); - } - - protected function yyn329($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn330($attributes) { - $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn331($attributes) { - $this->yyval = new PHPParser_Node_Expr_MethodCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $attributes); - } - - protected function yyn332($attributes) { - $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn333($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn334($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn335($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } + protected function yyn329($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn330($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + } + + protected function yyn331($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn332($attributes) { + $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn333($attributes) { + $this->yyval = new PHPParser_Node_Expr_MethodCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + } + + protected function yyn334($attributes) { + $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn335($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + protected function yyn336($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn337($attributes) { @@ -2417,7 +2421,7 @@ class PHPParser_Parser } protected function yyn338($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn339($attributes) { @@ -2425,11 +2429,11 @@ class PHPParser_Parser } protected function yyn340($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn341($attributes) { - $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn342($attributes) { @@ -2437,19 +2441,19 @@ class PHPParser_Parser } protected function yyn343($attributes) { - $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes); + $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn344($attributes) { - $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn345($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes); } protected function yyn346($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes); } protected function yyn347($attributes) { @@ -2461,27 +2465,27 @@ class PHPParser_Parser } protected function yyn349($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn350($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn351($attributes) { - $this->yyval = null; + $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); } protected function yyn352($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn353($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = null; } protected function yyn354($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn355($attributes) { @@ -2489,110 +2493,118 @@ class PHPParser_Parser } protected function yyn356($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn357($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn358($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn359($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; - } - - protected function yyn360($attributes) { - $this->yyval = null; - } - - protected function yyn361($attributes) { - $this->yyval = array(); - } - - protected function yyn362($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn363($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn364($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn365($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); - } - - protected function yyn366($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); - } - - protected function yyn367($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes); - } - - protected function yyn368($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes); - } - - protected function yyn369($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn370($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn371($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn372($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); - } - - protected function yyn373($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); - } - - protected function yyn374($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn375($attributes) { - $this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn376($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn377($attributes) { - $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn378($attributes) { - $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes); - } - - protected function yyn379($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } + protected function yyn357($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn358($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn359($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn360($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn361($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + + protected function yyn362($attributes) { + $this->yyval = null; + } + + protected function yyn363($attributes) { + $this->yyval = array(); + } + + protected function yyn364($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn365($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn366($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn367($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); + } + + protected function yyn368($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); + } + + protected function yyn369($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes); + } + + protected function yyn370($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes); + } + + protected function yyn371($attributes) { + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn372($attributes) { + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn373($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn374($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); + } + + protected function yyn375($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + } + + protected function yyn376($attributes) { + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn377($attributes) { + $this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn378($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn379($attributes) { + $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + protected function yyn380($attributes) { - $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes); + $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes); } protected function yyn381($attributes) { - $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn382($attributes) { + $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn383($attributes) { + $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn384($attributes) { $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); } } diff --git a/test/code/parser/stmt/tryCatch.test b/test/code/parser/stmt/tryCatch.test index f13db24..da67fe3 100644 --- a/test/code/parser/stmt/tryCatch.test +++ b/test/code/parser/stmt/tryCatch.test @@ -1,16 +1,92 @@ Try/catch -----