From 69c5d48afd1e631290de1aa9806eab0b38bb66a3 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 15 Jul 2020 21:40:05 +0200 Subject: [PATCH] [PHP 8.0] Add match expressions (#672) RFC: https://wiki.php.net/rfc/match_expression_v2 Upstream implementation: php/php-src#5371 Closes #671. --- CHANGELOG.md | 5 +- grammar/php5.y | 1 + grammar/php7.y | 29 +- grammar/tokens.y | 1 + lib/PhpParser/Lexer/Emulative.php | 5 + .../Lexer/TokenEmulator/FnTokenEmulator.php | 4 +- .../TokenEmulator/MatchTokenEmulator.php | 51 + lib/PhpParser/Node/Expr/Match_.php | 31 + lib/PhpParser/Node/MatchArm.php | 31 + lib/PhpParser/Parser/Php5.php | 2546 +++++++++-------- lib/PhpParser/Parser/Php7.php | 2524 ++++++++-------- lib/PhpParser/Parser/Tokens.php | 119 +- lib/PhpParser/PrettyPrinter/Standard.php | 12 + lib/PhpParser/PrettyPrinterAbstract.php | 2 + test/code/formatPreservation/matche.test | 89 + test/code/parser/expr/match.test | 218 ++ test/code/prettyPrinter/expr/match.test | 18 + test_old/run-php-src.sh | 5 +- 18 files changed, 3112 insertions(+), 2579 deletions(-) create mode 100644 lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php create mode 100644 lib/PhpParser/Node/Expr/Match_.php create mode 100644 lib/PhpParser/Node/MatchArm.php create mode 100644 test/code/formatPreservation/matche.test create mode 100644 test/code/parser/expr/match.test create mode 100644 test/code/prettyPrinter/expr/match.test diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3dad93..97a9bf8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ Version 4.6.1-dev ----------------- -Nothing yet. +### Added + +* [PHP 8.0] Added support for match expressions. These are represented using a new `Expr\Match_` + containing `MatchArm`s. Version 4.6.0 (2020-07-02) -------------------------- diff --git a/grammar/php5.y b/grammar/php5.y index e775f2ca..c814ef4f 100644 --- a/grammar/php5.y +++ b/grammar/php5.y @@ -28,6 +28,7 @@ reserved_non_modifiers: | T_FUNCTION | T_CONST | T_RETURN | T_PRINT | T_YIELD | T_LIST | T_SWITCH | T_ENDSWITCH | T_CASE | T_DEFAULT | T_BREAK | T_ARRAY | T_CALLABLE | T_EXTENDS | T_IMPLEMENTS | T_NAMESPACE | T_TRAIT | T_INTERFACE | T_CLASS | T_CLASS_C | T_TRAIT_C | T_FUNC_C | T_METHOD_C | T_LINE | T_FILE | T_DIR | T_NS_C | T_HALT_COMPILER | T_FN + | T_MATCH ; semi_reserved: diff --git a/grammar/php7.y b/grammar/php7.y index 239559bc..adcbf553 100644 --- a/grammar/php7.y +++ b/grammar/php7.y @@ -28,6 +28,7 @@ reserved_non_modifiers: | T_FUNCTION | T_CONST | T_RETURN | T_PRINT | T_YIELD | T_LIST | T_SWITCH | T_ENDSWITCH | T_CASE | T_DEFAULT | T_BREAK | T_ARRAY | T_CALLABLE | T_EXTENDS | T_IMPLEMENTS | T_NAMESPACE | T_TRAIT | T_INTERFACE | T_CLASS | T_CLASS_C | T_TRAIT_C | T_FUNC_C | T_METHOD_C | T_LINE | T_FILE | T_DIR | T_NS_C | T_HALT_COMPILER | T_FN + | T_MATCH ; semi_reserved: @@ -399,6 +400,25 @@ case_separator: | ';' ; +match: + T_MATCH '(' expr ')' '{' match_arm_list '}' { $$ = Expr\Match_[$3, $6]; } +; + +match_arm_list: + /* empty */ { $$ = []; } + | non_empty_match_arm_list optional_comma { $$ = $1; } +; + +non_empty_match_arm_list: + match_arm { init($1); } + | non_empty_match_arm_list ',' match_arm { push($1, $3); } +; + +match_arm: + expr_list_allow_comma T_DOUBLE_ARROW expr { $$ = Node\MatchArm[$1, $3]; } + | T_DEFAULT optional_comma T_DOUBLE_ARROW expr { $$ = Node\MatchArm[null, $4]; } +; + while_statement: statement { $$ = toArray($1); } | ':' inner_statement_list T_ENDWHILE ';' { $$ = $2; } @@ -666,6 +686,7 @@ expr: | variable '=' expr { $$ = Expr\Assign[$1, $3]; } | variable '=' '&' variable { $$ = Expr\AssignRef[$1, $4]; } | new_expr { $$ = $1; } + | match { $$ = $1; } | T_CLONE expr { $$ = Expr\Clone_[$2]; } | variable T_PLUS_EQUAL expr { $$ = Expr\AssignOp\Plus [$1, $3]; } | variable T_MINUS_EQUAL expr { $$ = Expr\AssignOp\Minus [$1, $3]; } @@ -967,14 +988,14 @@ new_variable: member_name: identifier_ex { $$ = $1; } - | '{' expr '}' { $$ = $2; } - | simple_variable { $$ = Expr\Variable[$1]; } + | '{' expr '}' { $$ = $2; } + | simple_variable { $$ = Expr\Variable[$1]; } ; property_name: identifier { $$ = $1; } - | '{' expr '}' { $$ = $2; } - | simple_variable { $$ = Expr\Variable[$1]; } + | '{' expr '}' { $$ = $2; } + | simple_variable { $$ = Expr\Variable[$1]; } | error { $$ = Expr\Error[]; $this->errorState = 2; } ; diff --git a/grammar/tokens.y b/grammar/tokens.y index dd83a6f8..84e0d6b1 100644 --- a/grammar/tokens.y +++ b/grammar/tokens.y @@ -57,6 +57,7 @@ %token T_ENDDECLARE %token T_AS %token T_SWITCH +%token T_MATCH %token T_ENDSWITCH %token T_CASE %token T_DEFAULT diff --git a/lib/PhpParser/Lexer/Emulative.php b/lib/PhpParser/Lexer/Emulative.php index 0e145417..a2402bbe 100644 --- a/lib/PhpParser/Lexer/Emulative.php +++ b/lib/PhpParser/Lexer/Emulative.php @@ -7,6 +7,7 @@ use PhpParser\ErrorHandler; use PhpParser\Lexer; use PhpParser\Lexer\TokenEmulator\CoaleseEqualTokenEmulator; use PhpParser\Lexer\TokenEmulator\FnTokenEmulator; +use PhpParser\Lexer\TokenEmulator\MatchTokenEmulator; use PhpParser\Lexer\TokenEmulator\NumericLiteralSeparatorEmulator; use PhpParser\Lexer\TokenEmulator\TokenEmulatorInterface; use PhpParser\Parser\Tokens; @@ -15,9 +16,11 @@ class Emulative extends Lexer { const PHP_7_3 = '7.3.0dev'; const PHP_7_4 = '7.4.0dev'; + const PHP_8_0 = '8.0.0dev'; const T_COALESCE_EQUAL = 1007; const T_FN = 1008; + const T_MATCH = 1009; const FLEXIBLE_DOC_STRING_REGEX = <<<'REGEX' /<<<[ \t]*(['"]?)([a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*)\1\r?\n @@ -39,11 +42,13 @@ REGEX; parent::__construct($options); $this->tokenEmulators[] = new FnTokenEmulator(); + $this->tokenEmulators[] = new MatchTokenEmulator(); $this->tokenEmulators[] = new CoaleseEqualTokenEmulator(); $this->tokenEmulators[] = new NumericLiteralSeparatorEmulator(); $this->tokenMap[self::T_COALESCE_EQUAL] = Tokens::T_COALESCE_EQUAL; $this->tokenMap[self::T_FN] = Tokens::T_FN; + $this->tokenMap[self::T_MATCH] = Tokens::T_MATCH; } public function startLexing(string $code, ErrorHandler $errorHandler = null) { diff --git a/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php b/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php index 0939dd46..3e05e533 100644 --- a/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php +++ b/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php @@ -18,10 +18,8 @@ final class FnTokenEmulator implements TokenEmulatorInterface public function emulate(string $code, array $tokens): array { - // We need to manually iterate and manage a count because we'll change - // the tokens array on the way foreach ($tokens as $i => $token) { - if ($token[0] === T_STRING && $token[1] === 'fn') { + if ($token[0] === T_STRING && strtolower($token[1]) === 'fn') { $previousNonSpaceToken = $this->getPreviousNonSpaceToken($tokens, $i); if ($previousNonSpaceToken !== null && $previousNonSpaceToken[0] === T_OBJECT_OPERATOR) { continue; diff --git a/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php b/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php new file mode 100644 index 00000000..c78a7d05 --- /dev/null +++ b/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php @@ -0,0 +1,51 @@ +=')) { + return false; + } + + return strpos($code, 'match') !== false; + } + + public function emulate(string $code, array $tokens): array + { + foreach ($tokens as $i => $token) { + if ($token[0] === T_STRING && strtolower($token[1]) === 'match') { + $previousNonSpaceToken = $this->getPreviousNonSpaceToken($tokens, $i); + if ($previousNonSpaceToken !== null && $previousNonSpaceToken[0] === T_OBJECT_OPERATOR) { + continue; + } + + $tokens[$i][0] = Emulative::T_MATCH; + } + } + + return $tokens; + } + + /** + * @param mixed[] $tokens + * @return mixed[]|null + */ + private function getPreviousNonSpaceToken(array $tokens, int $start) + { + for ($i = $start - 1; $i >= 0; --$i) { + if ($tokens[$i][0] === T_WHITESPACE) { + continue; + } + + return $tokens[$i]; + } + + return null; + } +} diff --git a/lib/PhpParser/Node/Expr/Match_.php b/lib/PhpParser/Node/Expr/Match_.php new file mode 100644 index 00000000..2455a302 --- /dev/null +++ b/lib/PhpParser/Node/Expr/Match_.php @@ -0,0 +1,31 @@ +attributes = $attributes; + $this->cond = $cond; + $this->arms = $arms; + } + + public function getSubNodeNames() : array { + return ['cond', 'arms']; + } + + public function getType() : string { + return 'Expr_Match'; + } +} diff --git a/lib/PhpParser/Node/MatchArm.php b/lib/PhpParser/Node/MatchArm.php new file mode 100644 index 00000000..2ae1c86b --- /dev/null +++ b/lib/PhpParser/Node/MatchArm.php @@ -0,0 +1,31 @@ +conds = $conds; + $this->body = $body; + $this->attributes = $attributes; + } + + public function getSubNodeNames() : array { + return ['conds', 'body']; + } + + public function getType() : string { + return 'MatchArm'; + } +} diff --git a/lib/PhpParser/Parser/Php5.php b/lib/PhpParser/Parser/Php5.php index 397e6057..28110a52 100644 --- a/lib/PhpParser/Parser/Php5.php +++ b/lib/PhpParser/Parser/Php5.php @@ -17,11 +17,11 @@ use PhpParser\Node\Stmt; */ class Php5 extends \PhpParser\ParserAbstract { - protected $tokenToSymbolMapSize = 394; - protected $actionTableSize = 1079; + protected $tokenToSymbolMapSize = 395; + protected $actionTableSize = 1075; protected $gotoTableSize = 650; - protected $invalidSymbol = 159; + protected $invalidSymbol = 160; protected $errorSymbol = 1; protected $defaultAction = -32766; protected $unexpectedTokenRule = 32767; @@ -127,6 +127,7 @@ class Php5 extends \PhpParser\ParserAbstract "T_ENDDECLARE", "T_AS", "T_SWITCH", + "T_MATCH", "T_ENDSWITCH", "T_CASE", "T_DEFAULT", @@ -192,46 +193,46 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $tokenToSymbol = array( - 0, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 54, 158, 159, 155, 53, 36, 159, - 153, 154, 51, 48, 7, 49, 50, 52, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 30, 150, - 42, 15, 44, 29, 66, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 68, 159, 157, 35, 159, 156, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 151, 34, 152, 56, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 1, 2, 3, 4, + 0, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 54, 159, 160, 156, 53, 36, 160, + 154, 155, 51, 48, 7, 49, 50, 52, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 30, 151, + 42, 15, 44, 29, 66, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 68, 160, 158, 35, 160, 157, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 152, 34, 153, 56, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 37, 38, 39, 40, 41, 43, 45, 46, 47, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 159, - 159, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 160, + 160, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, 133, 134, 135, 136, 137, 138, 139, 159, 159, - 159, 159, 159, 159, 140, 141, 142, 143, 144, 145, - 146, 147, 148, 149 + 132, 133, 134, 135, 136, 137, 138, 139, 140, 160, + 160, 160, 160, 160, 160, 141, 142, 143, 144, 145, + 146, 147, 148, 149, 150 ); protected $action = array( @@ -239,110 +240,110 @@ class Php5 extends \PhpParser\ParserAbstract 725, 222, 223, 224, 225, 226, 227, 228, 229, 230, 0, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - -32766,-32767,-32767,-32767,-32767, 1052, 243, 244,-32766,-32766, - -32766,-32766,-32766, 689,-32766,-32766,-32766,-32766,-32766,-32766, + -32766,-32767,-32767,-32767,-32767, 1053, 243, 244,-32766,-32766, + -32766,-32766,-32766, 689,-32766, 27,-32766,-32766,-32766,-32766, -32766,-32766,-32767,-32767,-32767,-32767,-32767, 690, 691, 692, - 693, 694, 695, 696, 834, 27, 757, 959, 960, 961, - 958, 957, 956, 697, 698, 699, 700, 701, 702, 703, - 704, 705, 706, 707, 727, 728, 729, 730, 731, 719, - 720, 721, 749, 722, 723, 708, 709, 710, 711, 712, - 713, 714, 751, 752, 753, 754, 755, 756, 715, 716, - 717, 718, 748, 739, 737, 738, 734, 735, 1188, 726, - 732, 733, 740, 741, 743, 742, 744, 745, 54, 55, - 426, 56, 57, 736, 747, 746, -220, 58, 59, 419, - 60,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, - 28,-32767,-32767,-32767,-32767,-32767,-32767,-32767,-32767, 97, - 98, 99, 100, 101, 9, 906, 907,-32766, 1202, 761, - 328, 764, 1188, 814, 61, 62, 52, 285, 500, 951, - 63, 434, 64, 294, 295, 65, 66, 67, 68, 69, - 70, 71, 72, 340, 25, 302, 73, 418,-32766,-32766, - -32766, 882, 1103, 1104, 761, 1080, 764,-32766,-32766,-32766, - 475, -255, 298, 825, 835, 759, 219, 220, 221,-32766, - 36,-32766,-32766,-32766,-32766,-32766,-32766, 125,-32766, 438, - -32766,-32766,-32766,-32766,-32766, 1052, 500, 206, 310, 434, - 499, 423, 1052, 129, 439, 759, 336, 340, 483, 484, - 10, 959, 960, 961, 958, 957, 956, 485, 486, 124, - 1109, 1110, 1111, 1112, 1106, 1107, 313,-32766,-32766,-32766, - -32766, 500, 1113, 1108, 434, 219, 220, 221, 425, 41, - 764, 336, 324, 1222, 325, 427, -126, -126, -126, -4, - 835, 474,-32766,-32766,-32766, 823, 206, 913, 40, 21, - 428, -126, 476, -126, 477, -126, 478, -126, 123, 429, - 219, 220, 221, 31, 32, 430, 431, 354, 130, 33, - 479, 883, 336, 74, 1203, 128, 352, 353, 480, 481, - 912, 206, 247, 301, 482, 210, 1052, 806, 853, 432, - 433, 312, 30, 297, 35, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 421, 1052, - 296, 427, 1154, 837, 647, -126, 835, 474, 102, 103, - 104, 823, 304, 816, 40, 21, 428, 332, 476, 632, - 477, 422, 478, 298, 105, 429, 991, 993, 20, 31, - 32, 430, 431, 933, 409, 33, 479, 220, 221, 74, - 323,-32766, 352, 353, 480, 481,-32766,-32766,-32766, 424, - 482, 1052, 448, 768, 853, 432, 433, 206,-32766,-32766, - -32766, 48, 906, 907, 1153, 1070, 339,-32766, 485,-32766, - -32766,-32766,-32766, 1231, 337, 500, 1232, 427, 434, 837, - 647, -4, 835, 474, -224, 1052, 633, 823, 49, 434, - 40, 21, 428, 937, 476, 776, 477, 777, 478, -504, - 820, 429, -205, -205, -205, 31, 32, 430, 431,-32766, - -32766, 33, 479, 75,-32766, 74,-32766, 594, 352, 353, - 480, 481,-32766,-32766,-32766, 119, 482, 526, 451, 806, - 853, 432, 433, 240, 241, 242, 128,-32766,-32766,-32766, - 411, 775, 51,-32766, 120,-32766,-32766,-32766, 500, 243, - 244, 434, 552, 427, 417, 837, 647, -205,-32766, 474, - -32766,-32766, 1052, 823, 821, 351, 40, 21, 428, 1052, - 476, 121, 477, 449, 478, 1115, 211, 429, -204, -204, - -204, 31, 32, 430, 431, 1115, 286, 33, 479, 818, - 835, 74, 932, 299, 352, 353, 480, 481, 212, 219, - 220, 221, 482, 335, 245, 806, 853, 432, 433,-32766, - -32766,-32766, 213, 79, 80, 81, 99, 100, 101, 650, - 206, 237, 238, 239, 444, 122, 776, 649, 777, 300, - -32766, 837, 647, -204, 34, 248, 82, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, - 96, 97, 98, 99, 100, 101, 102, 103, 104, 1052, - 304, 427, 221, 249, 835, 250, 78, 474, 206, 133, - 336, 823, 105, 585, 40, 21, 428, 127, 476, -83, - 477, 206, 478,-32766,-32766, 429, 219, 220, 221, 31, - 32, 430, 316, 651, 658, 33, 479, 835, 661, 74, - 243, 244, 352, 353, 458, 22, 833, 206, 463, 601, - 482, 134, 362, 132, 608, 609, 769, 653,-32766, 948, - 667, 936, 675, 846, 304, 105, 655, 43, 44, 45, - 616, 761, 759, 46, 47, 427, 302, -274, 50, 837, - 647, 474, 53, 131, 588, 823, 442, 468, 40, 21, - 428, 762, 476, 606, 477,-32766, 478, 764, 447, 429, - 964, 854, 532, 31, 32, 430, 855, 327, 427, 33, - 479, 835, 641, 74, 474, 620, 352, 353, 823, -81, - 628, 40, 21, 428, 482, 476, 11, 477, 450, 478, - 282, 591, 429, 375, 605, 848, 31, 32, 430, 0, - 659, 329, 33, 479, 835, 0, 74, 0, 0, 352, - 353, 0, 0, 837, 647, -504, 0, 482, 326, 0, - 331, 0, 0, 0, 0, 0, 0, 0, 309, 311, - -505, 0, 485, 664, 0, 0, 0, 0, 0, 0, - 0, 0, 427, 1114, 1160, 0, 869, 647, 474, -413, - -405, 835, 823, 5, 6, 40, 21, 428, 12, 476, - 14, 477, 361, 478, -414, 386, 429, 387, 24, 395, - 31, 32, 430, 444, 534, 427, 33, 479, 412, 413, - 74, 474, 38, 352, 353, 823, 39, 670, 40, 21, - 428, 482, 476, 671, 477, 774, 478, 824, 832, 429, - 811, 826, 885, 31, 32, 430, 876, 877, 809, 33, - 479, 870, 867, 74, 865, 943, 352, 353, 944, 941, - 837, 647, 427, 815, 482, 817, 819, 831, 474, 822, - 940, 772, 823, 773, 942, 40, 21, 428, 78, 476, - 648, 477, 652, 478, 654, 656, 429, 657, 246, 660, - 31, 32, 430, 837, 647, 662, 33, 479, 663, 665, - 74, 666, 126, 352, 353, 333, 214, 215, 334, 407, - 408, 482, 216, 672, 217, 807, 1228, 1230, 771, 852, - 770, 851, 1229, 850, 1066, 842, 208, 1054, 849, 1055, - 840, 214, 215, 949, 1103, 1104, 874, 216,-32766, 217, - 837, 647, 1105, 875, 462, 1227, 1196, 1194, 1179, 1192, - 1094, 208, 924, 1200, 1190, 780, 781, 778, 779, 1103, - 1104, 26, 29,-32766, 37, 42, 76, 1105, 77, 209, - 284, 292, 293, 305, 306, 307, 308, 341, 410, 416, - -32766, 0, -221, -220, 16, 17, 18, 380, 459, 466, - 573, 467, 1109, 1110, 1111, 1112, 1106, 1107, 385, 472, - 567, 638, 1057, 1060, 1113, 1108, 914, 1119, 1056, 1032, - 577, 218, 287,-32766, 1031, 573, 1096, 1109, 1110, 1111, - 1112, 1106, 1107, 385, -423, 1050, 0, 1061, 1063, 1113, - 1108, 1062, 1065, 1064, 1079, 1193, 218, 1178,-32766, 1174, - 0, 1191, 1093, 1225, 1120, 1173, 612, 0, 1159 + 693, 694, 695, 696, 1189, 125, 758, 960, 961, 962, + 959, 958, 957, 697, 698, 699, 700, 701, 702, 703, + 704, 705, 706, 707, 727, 750, 728, 729, 730, 731, + 719, 720, 721, 749, 722, 723, 708, 709, 710, 711, + 712, 713, 714, 752, 753, 754, 755, 756, 757, 715, + 716, 717, 718, 748, 739, 737, 738, 734, 735, 1053, + 726, 732, 733, 740, 741, 743, 742, 744, 745, 54, + 55, 426, 56, 57, 736, 747, 746, -221, 58, 59, + 340, 60,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, + -32766, 210,-32767,-32767,-32767,-32767,-32767,-32767,-32767,-32767, + 97, 98, 99, 100, 101, 301, 102, 103, 104, 52, + 304, 835, 632, 312, 815, 61, 62, 1053, 762, 28, + 765, 63, 105, 64, 294, 295, 65, 66, 67, 68, + 69, 70, 71, 72, 332, 25, 302, 73, 418,-32766, + -32766,-32766, 419, 1104, 1105, 762, 417, 765, 219, 220, + 221, 475,-32766,-32766,-32766, 1081, 836,-32766,-32766,-32766, + -32766, 10,-32766,-32766,-32766,-32766,-32766,-32766, 1053, 206, + -32766, 438, 310,-32766, 351,-32766,-32766,-32766,-32766,-32766, + 633, 78, 499, 434, 552, 336, 500, 938, 1053, 434, + 483, 484, 286, 124, 439, 335, 336, 354, 817, 485, + 486, 485, 1110, 1111, 1112, 1113, 1107, 1108, 313, 907, + 908, 298, 296, 500, 1114, 1109, 434, 219, 220, 221, + 285, 41, 500, 336, 324, 434, 325, 427, -127, -127, + -127, -4, 836, 474, 219, 220, 221, 824, 206, 245, + 40, 21, 428, -127, 476, -127, 477, -127, 478, -127, + 760, 429,-32766,-32766,-32766, 206, 31, 32, 430, 431, + 423, 826, 33, 479, 1189, 765, 74, 914, 1223, 352, + 353, 480, 481,-32766,-32766,-32766, 425, 482, 1053, 883, + 807, 854, 432, 433, 240, 241, 242, 960, 961, 962, + 959, 958, 957, 448,-32766, 1155,-32766,-32766,-32766,-32766, + 243, 244, 298, 427, 836, 934, 838, 647, -127, 474, + -32766,-32766,-32766, 824, 1203, 300, 40, 21, 428,-32766, + 476, 777, 477, 778, 478, 128, 75, 429, 30, 297, + 913,-32766, 31, 32, 430, 431, 129, 409, 33, 479, + 340, 821, 74, 323, 421, 352, 353, 480, 481,-32766, + -32766,-32766, 422, 482, 424, 1053, 769, 854, 432, 433, + -32766,-32766,-32766,-32766, 48, 9, 411, 1154, 1204,-32766, + -32766, 328,-32766,-32766,-32766, 427, 836, 337, 220, 221, + 952, 474, 838, 647, -4, 824, 1053, 594, 40, 21, + 428, 760, 476,-32766, 477,-32766, 478, 49, 206, 429, + 884, -206, -206, -206, 31, 32, 430, 431, 20, 36, + 33, 479, -256, 526, 74, 449, 128, 352, 353, 480, + 481,-32766,-32766,-32766, 1071, 482, 119, 51, 807, 854, + 432, 433, 99, 100, 101, 123, 339, 219, 220, 221, + -32766,-32766,-32766, 1053,-32766,-32766, 1116, 427, 120, 219, + 220, 221, 206, 474, 838, 647, -206, 824, 206, 247, + 40, 21, 428, 211, 476, 130, 477, 299, 478, 336, + 206, 429, 1116, -205, -205, -205, 31, 32, 430, 431, + 212, 121, 33, 479, 213, 836, 74, 221, 776, 352, + 353, 480, 481, 237, 238, 239, 822, 482, 933, 451, + 807, 854, 432, 433, 1053, 777, 206, 778, 79, 80, + 81, 122, 133, 248, 650, 1232, 585, 500, 1233, 249, + 434, 444, 127, -84, 649, 819, 838, 647, -205, 34, + 250, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 316, 304, 427,-32766,-32766, 658, + 836, 661, 474, 243, 244, 834, 824, 105, 132, 40, + 21, 428,-32766, 476, 304, 477, 105, 478, 458, 22, + 429, 463, 601, 608, 609, 31, 32, 430, 847, 651, + 43, 33, 479, 616, 836, 74, 907, 908, 352, 353, + 134, 362, 770, 653, 949, 667, 482, 937, 675, 500, + 44, 45, 434, 46, 47, 50, 53, 131, -225, 302, + -32766, -275, 762, 655, 588, 628, 447, -82, 836, 760, + 442, 427, 763, 765, 468, 838, 647, 474, 965, 532, + 606, 824, 855, 856, 40, 21, 428, 641, 476, 620, + 477, 327, 478, 1115, -505, 429, 11, 659, 450, 282, + 31, 32, 430, 591, 605, 427, 33, 479, 24, 1161, + 74, 474, 78, 352, 353, 824, 0, 0, 40, 21, + 428, 482, 476, 329, 477, 38, 478, 0, 0, 429, + 0, 326, 485, 0, 31, 32, 430, 331, 309, 427, + 33, 479, 311, 836, 74, 474, -506, 352, 353, 824, + 838, 647, 40, 21, 428, 482, 476, -414, 477, -406, + 478, 5, 6, 429, 12, 14, 361, -415, 31, 32, + 430, 672, 664, 375, 33, 479, 386, 836, 74, 387, + 395, 352, 353, 444, 870, 647, 534, 412, 413, 482, + 849, -222, 39, 670, 35, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 671, 775, + 825, 833, 812, 827, 427, 886, 877, 878, 838, 647, + 474, 810, 871, 868, 824, 866, 944, 40, 21, 428, + 945, 476, 942, 477, 816, 478, 992, 994, 429, 818, + 820, 832, 823, 31, 32, 430, 941, 773, 427, 33, + 479, 774, 943, 74, 474, 648, 352, 353, 824, 652, + 654, 40, 21, 428, 482, 476, 656, 477, 657, 478, + 660, 662, 429, 663, 665, 666, 126, 31, 32, 430, + 333, 334, 407, 33, 479, 246, 408, 74, 808, 1229, + 352, 353, 1231, 838, 647, 26, 772, 853, 482, 771, + 852, 1230, 851, 214, 215, 1067, 843, 1055, 850, 216, + -505, 217, 1056, 841, 950, 875, 876, 462, 1228, 1197, + 1195, 1180, 1193, 208, 1095, 925, 1201, 838, 647, 29, + 1191, 1104, 1105, 781, 782,-32766, 214, 215, 779, 1106, + 780, -221, 216, 37, 217, 42, 76, 77, 209, 284, + 292, 293, 305, 306, 307, 308, 208, 341, 410, 416, + -32766, 1160, 16, 17, 1104, 1105, 18, 380,-32766, 459, + 466, 467, 1106, 472, 567, 638, 1058, 1061, 915, 1120, + 1057, 1033, 577, 1032, 1097, 0, 287, 0, 573, -424, + 1110, 1111, 1112, 1113, 1107, 1108, 385, 1051, 0, 1062, + 1064, 1063, 1114, 1109, 1066, 1065, 1080, 1194, 1179, 218, + 1175,-32766, 1192, 0, 1094, 1226, 1121, 1174, 612, 0, + 0, 573, 0, 1110, 1111, 1112, 1113, 1107, 1108, 385, + 0, 0, 0, 0, 0, 1114, 1109, 0, 0, 0, + 0, 0, 218, 0,-32766 ); protected $actionCheck = array( @@ -351,230 +352,230 @@ class Php5 extends \PhpParser\ParserAbstract 0, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 8, 9, 10, 32, 33, 34, 35, 36, 37, 38, 39, 40, 12, 67, 68, 32, 33, - 34, 35, 36, 55, 29, 8, 31, 32, 33, 34, + 34, 35, 36, 55, 29, 7, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 69, 70, 71, - 72, 73, 74, 75, 1, 7, 78, 114, 115, 116, - 117, 118, 119, 85, 86, 87, 88, 89, 90, 91, + 72, 73, 74, 75, 80, 7, 78, 115, 116, 117, + 118, 119, 120, 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, 80, 131, - 132, 133, 134, 135, 136, 137, 138, 139, 2, 3, - 4, 5, 6, 145, 146, 147, 154, 11, 12, 125, - 14, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 7, 42, 43, 44, 45, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 105, 132, 133, 153, 1, 78, - 111, 80, 80, 150, 48, 49, 68, 7, 145, 120, - 54, 148, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 155, 68, 69, 70, 71, 8, 9, - 10, 30, 76, 77, 78, 114, 80, 8, 9, 10, - 84, 152, 36, 150, 1, 78, 8, 9, 10, 29, - 13, 31, 32, 33, 34, 35, 36, 7, 29, 103, - 31, 32, 33, 34, 35, 12, 145, 29, 130, 148, - 114, 7, 12, 151, 153, 78, 155, 155, 122, 123, - 7, 114, 115, 116, 117, 118, 119, 131, 132, 151, - 134, 135, 136, 137, 138, 139, 140, 32, 33, 34, - 35, 145, 146, 147, 148, 8, 9, 10, 7, 153, - 80, 155, 156, 83, 158, 72, 73, 74, 75, 0, - 1, 78, 8, 9, 10, 82, 29, 154, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 13, 96, - 8, 9, 10, 100, 101, 102, 103, 7, 151, 106, - 107, 150, 155, 110, 154, 149, 113, 114, 115, 116, - 154, 29, 30, 36, 121, 7, 12, 124, 125, 126, - 127, 7, 142, 143, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 7, 12, - 36, 72, 154, 150, 151, 152, 1, 78, 51, 52, - 53, 82, 55, 150, 85, 86, 87, 7, 89, 78, - 91, 7, 93, 36, 67, 96, 57, 58, 154, 100, - 101, 102, 103, 150, 105, 106, 107, 9, 10, 110, - 111, 80, 113, 114, 115, 116, 8, 9, 10, 7, - 121, 12, 30, 124, 125, 126, 127, 29, 32, 33, - 34, 68, 132, 133, 157, 154, 68, 29, 131, 31, - 32, 33, 34, 78, 145, 145, 81, 72, 148, 150, - 151, 152, 1, 78, 154, 12, 145, 82, 68, 148, - 85, 86, 87, 152, 89, 103, 91, 105, 93, 130, - 150, 96, 97, 98, 99, 100, 101, 102, 103, 8, - 9, 106, 107, 149, 153, 110, 155, 83, 113, 114, - 115, 116, 8, 9, 10, 15, 121, 83, 130, 124, - 125, 126, 127, 51, 52, 53, 149, 8, 9, 10, - 148, 150, 68, 29, 151, 31, 32, 33, 145, 67, - 68, 148, 79, 72, 7, 150, 151, 152, 29, 78, - 31, 32, 12, 82, 150, 7, 85, 86, 87, 12, - 89, 151, 91, 151, 93, 141, 15, 96, 97, 98, - 99, 100, 101, 102, 103, 141, 36, 106, 107, 150, - 1, 110, 150, 36, 113, 114, 115, 116, 15, 8, - 9, 10, 121, 7, 13, 124, 125, 126, 127, 8, - 9, 10, 15, 8, 9, 10, 48, 49, 50, 30, - 29, 48, 49, 50, 148, 151, 103, 151, 105, 7, - 29, 150, 151, 152, 29, 15, 31, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 12, - 55, 72, 10, 15, 1, 15, 151, 78, 29, 151, - 155, 82, 67, 155, 85, 86, 87, 30, 89, 30, - 91, 29, 93, 32, 33, 96, 8, 9, 10, 100, - 101, 102, 30, 30, 30, 106, 107, 1, 30, 110, - 67, 68, 113, 114, 73, 74, 30, 29, 73, 74, - 121, 98, 99, 30, 108, 109, 150, 151, 32, 150, - 151, 150, 151, 36, 55, 67, 30, 68, 68, 68, - 75, 78, 78, 68, 68, 72, 69, 80, 68, 150, - 151, 78, 68, 68, 88, 82, 103, 103, 85, 86, - 87, 78, 89, 111, 91, 83, 93, 80, 87, 96, - 80, 125, 83, 100, 101, 102, 125, 129, 72, 106, - 107, 1, 90, 110, 78, 94, 113, 114, 82, 95, - 92, 85, 86, 87, 121, 89, 95, 91, 95, 93, - 95, 97, 96, 148, 97, 149, 100, 101, 102, -1, - 30, 112, 106, 107, 1, -1, 110, -1, -1, 113, - 114, -1, -1, 150, 151, 130, -1, 121, 128, -1, - 128, -1, -1, -1, -1, -1, -1, -1, 130, 130, - 130, -1, 131, 30, -1, -1, -1, -1, -1, -1, - -1, -1, 72, 141, 141, -1, 150, 151, 78, 144, - 144, 1, 82, 144, 144, 85, 86, 87, 144, 89, - 144, 91, 144, 93, 144, 148, 96, 148, 153, 148, - 100, 101, 102, 148, 148, 72, 106, 107, 148, 148, - 110, 78, 150, 113, 114, 82, 150, 150, 85, 86, - 87, 121, 89, 150, 91, 150, 93, 150, 150, 96, - 150, 150, 150, 100, 101, 102, 150, 150, 150, 106, - 107, 150, 150, 110, 150, 150, 113, 114, 150, 150, - 150, 151, 72, 150, 121, 150, 150, 150, 78, 150, - 150, 150, 82, 150, 150, 85, 86, 87, 151, 89, - 151, 91, 151, 93, 151, 151, 96, 151, 30, 151, - 100, 101, 102, 150, 151, 151, 106, 107, 151, 151, - 110, 151, 151, 113, 114, 151, 48, 49, 151, 151, - 151, 121, 54, 152, 56, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 152, 68, 152, 152, 152, - 152, 48, 49, 152, 76, 77, 152, 54, 80, 56, - 150, 151, 84, 152, 152, 152, 152, 152, 152, 152, - 152, 68, 152, 152, 152, 152, 152, 152, 152, 76, - 77, 153, 153, 80, 153, 153, 153, 84, 153, 153, - 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, - 153, -1, 154, 154, 154, 154, 154, 154, 154, 154, - 132, 154, 134, 135, 136, 137, 138, 139, 140, 154, - 154, 154, 154, 154, 146, 147, 154, 154, 154, 154, - 154, 153, 155, 155, 154, 132, 154, 134, 135, 136, - 137, 138, 139, 140, 156, 156, -1, 157, 157, 146, - 147, 157, 157, 157, 157, 157, 153, 157, 155, 157, - -1, 157, 157, 157, 157, 157, 157, -1, 158 + 122, 123, 124, 125, 126, 127, 128, 129, 130, 12, + 132, 133, 134, 135, 136, 137, 138, 139, 140, 2, + 3, 4, 5, 6, 146, 147, 148, 155, 11, 12, + 156, 14, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 7, 42, 43, 44, 45, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 36, 51, 52, 53, 68, + 55, 1, 78, 7, 151, 48, 49, 12, 78, 7, + 80, 54, 67, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 7, 68, 69, 70, 71, 8, + 9, 10, 126, 76, 77, 78, 7, 80, 8, 9, + 10, 84, 8, 9, 10, 115, 1, 8, 9, 10, + 29, 7, 31, 32, 33, 34, 35, 36, 12, 29, + 154, 104, 131, 29, 7, 31, 32, 33, 34, 35, + 146, 152, 115, 149, 79, 156, 146, 153, 12, 149, + 123, 124, 36, 152, 154, 7, 156, 7, 151, 132, + 133, 132, 135, 136, 137, 138, 139, 140, 141, 133, + 134, 36, 36, 146, 147, 148, 149, 8, 9, 10, + 7, 154, 146, 156, 157, 149, 159, 72, 73, 74, + 75, 0, 1, 78, 8, 9, 10, 82, 29, 13, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 78, 96, 32, 33, 34, 29, 101, 102, 103, 104, + 7, 151, 107, 108, 80, 80, 111, 155, 83, 114, + 115, 116, 117, 8, 9, 10, 7, 122, 12, 30, + 125, 126, 127, 128, 51, 52, 53, 115, 116, 117, + 118, 119, 120, 30, 29, 155, 31, 32, 33, 34, + 67, 68, 36, 72, 1, 151, 151, 152, 153, 78, + 8, 9, 10, 82, 1, 7, 85, 86, 87, 80, + 89, 104, 91, 106, 93, 150, 150, 96, 143, 144, + 155, 29, 101, 102, 103, 104, 152, 106, 107, 108, + 156, 151, 111, 112, 7, 114, 115, 116, 117, 8, + 9, 10, 7, 122, 7, 12, 125, 126, 127, 128, + 32, 33, 34, 35, 68, 106, 149, 158, 155, 8, + 29, 112, 31, 32, 33, 72, 1, 146, 9, 10, + 121, 78, 151, 152, 153, 82, 12, 83, 85, 86, + 87, 78, 89, 154, 91, 156, 93, 68, 29, 96, + 151, 98, 99, 100, 101, 102, 103, 104, 155, 13, + 107, 108, 153, 83, 111, 152, 150, 114, 115, 116, + 117, 8, 9, 10, 155, 122, 15, 68, 125, 126, + 127, 128, 48, 49, 50, 13, 68, 8, 9, 10, + 8, 9, 29, 12, 31, 32, 142, 72, 152, 8, + 9, 10, 29, 78, 151, 152, 153, 82, 29, 30, + 85, 86, 87, 15, 89, 152, 91, 36, 93, 156, + 29, 96, 142, 98, 99, 100, 101, 102, 103, 104, + 15, 152, 107, 108, 15, 1, 111, 10, 151, 114, + 115, 116, 117, 48, 49, 50, 151, 122, 151, 131, + 125, 126, 127, 128, 12, 104, 29, 106, 8, 9, + 10, 152, 152, 15, 30, 78, 156, 146, 81, 15, + 149, 149, 30, 30, 152, 151, 151, 152, 153, 29, + 15, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 30, 55, 72, 32, 33, 30, + 1, 30, 78, 67, 68, 30, 82, 67, 30, 85, + 86, 87, 32, 89, 55, 91, 67, 93, 73, 74, + 96, 73, 74, 109, 110, 101, 102, 103, 36, 30, + 68, 107, 108, 75, 1, 111, 133, 134, 114, 115, + 99, 100, 151, 152, 151, 152, 122, 151, 152, 146, + 68, 68, 149, 68, 68, 68, 68, 68, 155, 69, + 83, 80, 78, 30, 88, 92, 87, 95, 1, 78, + 104, 72, 78, 80, 104, 151, 152, 78, 80, 83, + 112, 82, 126, 126, 85, 86, 87, 90, 89, 94, + 91, 130, 93, 142, 131, 96, 95, 30, 95, 95, + 101, 102, 103, 98, 98, 72, 107, 108, 154, 142, + 111, 78, 152, 114, 115, 82, -1, -1, 85, 86, + 87, 122, 89, 113, 91, 151, 93, -1, -1, 96, + -1, 129, 132, -1, 101, 102, 103, 129, 131, 72, + 107, 108, 131, 1, 111, 78, 131, 114, 115, 82, + 151, 152, 85, 86, 87, 122, 89, 145, 91, 145, + 93, 145, 145, 96, 145, 145, 145, 145, 101, 102, + 103, 153, 30, 149, 107, 108, 149, 1, 111, 149, + 149, 114, 115, 149, 151, 152, 149, 149, 149, 122, + 150, 155, 151, 151, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 151, 151, + 151, 151, 151, 151, 72, 151, 151, 151, 151, 152, + 78, 151, 151, 151, 82, 151, 151, 85, 86, 87, + 151, 89, 151, 91, 151, 93, 57, 58, 96, 151, + 151, 151, 151, 101, 102, 103, 151, 151, 72, 107, + 108, 151, 151, 111, 78, 152, 114, 115, 82, 152, + 152, 85, 86, 87, 122, 89, 152, 91, 152, 93, + 152, 152, 96, 152, 152, 152, 152, 101, 102, 103, + 152, 152, 152, 107, 108, 30, 152, 111, 153, 153, + 114, 115, 153, 151, 152, 154, 153, 153, 122, 153, + 153, 153, 153, 48, 49, 153, 153, 153, 153, 54, + 131, 56, 153, 153, 153, 153, 153, 153, 153, 153, + 153, 153, 153, 68, 153, 153, 153, 151, 152, 154, + 153, 76, 77, 153, 153, 80, 48, 49, 153, 84, + 153, 155, 54, 154, 56, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 154, 154, 68, 154, 154, 154, + 154, 159, 155, 155, 76, 77, 155, 155, 80, 155, + 155, 155, 84, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, -1, 156, -1, 133, 157, + 135, 136, 137, 138, 139, 140, 141, 157, -1, 158, + 158, 158, 147, 148, 158, 158, 158, 158, 158, 154, + 158, 156, 158, -1, 158, 158, 158, 158, 158, -1, + -1, 133, -1, 135, 136, 137, 138, 139, 140, 141, + -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, + -1, -1, 154, -1, 156 ); protected $actionBase = array( - 0, 223, 299, 375, 451, 102, 102, 311, 754, -2, - -2, 147, -2, -2, -2, 633, 740, 773, 740, 559, - 666, 820, 820, 820, 186, 334, 334, 334, 357, 892, - 443, 33, 233, 409, 617, 520, 527, 240, 240, 240, - 240, 136, 136, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, - 240, 240, 240, 240, 240, 181, 73, 305, 217, 743, - 745, 746, 747, 884, 665, 885, 823, 824, 653, 825, - 826, 827, 828, 830, 822, 831, 919, 832, 575, 575, - 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, - 47, 561, 218, 312, 277, 471, 648, 648, 648, 648, - 648, 648, 648, 294, 294, 294, 294, 294, 294, 294, - 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, - 294, 398, 571, 571, 571, 622, 888, 609, 913, 913, - 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, - 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, - 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, - 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, - 913, 499, -21, -21, 484, 656, 408, 621, 209, 396, - 200, 25, 25, 25, 25, 25, 245, 16, 4, 4, - 4, 4, 339, 123, 123, 123, 123, 119, 119, 119, - 119, 69, 307, 307, 671, 671, 637, 781, 538, 538, - 543, 543, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 24, 627, 857, 300, 300, 300, 300, 177, - 177, 177, 43, 414, 673, 920, 43, 327, 327, 327, - 452, 452, 452, 362, 649, 210, 331, 331, 331, 331, - 210, 331, 331, 493, 493, 493, 485, 446, 642, 365, - 488, 373, 390, 664, 814, 667, 821, 541, 690, 118, - 700, 701, 887, 613, 887, 601, 605, 576, 676, 392, - 850, 48, 181, 539, 444, 639, 749, 361, 751, 320, - 384, 368, 536, 363, 244, 784, 753, 886, 890, 180, - 670, 639, 639, 639, 153, 404, 787, 788, 363, -8, - 603, 603, 603, 603, 833, 789, 603, 603, 603, 603, - 834, 835, 253, 412, 836, 281, 750, 623, 623, 624, - 624, 623, 623, 623, 623, 650, 657, 623, 839, 685, - 685, 624, 647, 624, 650, 657, 842, 842, 842, 842, - 624, 657, 624, 624, 623, 624, 685, 685, 657, 637, - 685, 68, 657, 660, 623, 662, 662, 842, 707, 713, - 624, 624, 608, 685, 685, 685, 608, 657, 842, 612, - 616, 338, 685, 842, 632, 647, 632, 612, 657, 632, - 647, 647, 632, 20, 619, 629, 841, 843, 855, 759, - 606, 611, 848, 849, 845, 847, 838, 646, 696, 715, - 717, 480, 630, 631, 635, 636, 679, 640, 668, 613, - 695, 628, 628, 628, 655, 680, 655, 628, 628, 628, - 628, 628, 628, 628, 628, 900, 675, 688, 669, 641, - 718, 531, 615, 663, 553, 761, 672, 696, 696, 793, - 878, 863, 898, 899, 643, 850, 876, 655, 901, 702, - 230, 567, 851, 791, 687, 689, 655, 852, 655, 763, - 655, 879, 794, 645, 795, 696, 796, 628, 882, 904, - 905, 906, 907, 908, 910, 912, 914, 644, 915, 720, - 626, 864, 344, 846, 676, 684, 691, 721, 797, 380, - 916, 798, 655, 655, 764, 757, 655, 766, 722, 706, - 860, 726, 865, 917, 672, 867, 655, 614, 799, 918, - 380, 634, 625, 858, 651, 727, 856, 883, 854, 768, - 590, 618, 800, 801, 802, 638, 728, 861, 862, 859, - 731, 774, 620, 777, 658, 803, 778, 853, 732, 805, - 806, 877, 654, 695, 686, 659, 661, 652, 780, 807, - 875, 734, 735, 738, 808, 739, 811, 0, 0, 0, + 0, 225, 301, 373, 445, 254, 254, 104, 731, -2, + -2, 242, -2, -2, -2, 629, 697, 772, 697, 554, + 663, 806, 806, 806, 245, 246, 246, 246, 336, 859, + 175, 33, 117, 444, 562, 226, 501, 413, 413, 413, + 413, 137, 137, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, + 413, 413, 413, 413, 413, 319, 180, 492, 466, 713, + 718, 719, 720, 855, 634, 856, 795, 796, 608, 797, + 798, 799, 801, 802, 794, 803, 890, 807, 570, 570, + 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 431, 296, 210, 499, 279, 502, 511, 511, 511, 511, + 511, 511, 511, 219, 219, 219, 219, 219, 219, 219, + 219, 219, 219, 219, 219, 219, 219, 219, 219, 219, + 219, 439, 372, 372, 372, 547, 885, 493, 918, 918, + 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, + 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, + 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, + 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, + 918, 483, -21, -21, 411, 610, 335, 595, 214, 290, + 201, 25, 25, 25, 25, 25, 398, 16, 4, 4, + 4, 4, 809, 124, 124, 124, 124, 120, 120, 120, + 120, 329, 139, 139, 630, 630, 620, 754, 454, 454, + 515, 515, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 86, 611, 836, 533, 533, 533, 533, 383, + 383, 383, 146, 400, 597, 832, 146, 125, 125, 125, + 303, 303, 303, 287, 626, 255, 309, 309, 309, 309, + 255, 309, 309, 471, 471, 471, 99, 442, 607, 507, + 430, 441, 399, 635, 792, 636, 793, 526, 652, 111, + 668, 669, 860, 596, 860, 575, 578, 544, 644, 333, + 828, -6, 319, 523, 429, 589, 721, 407, 726, 260, + 415, 438, 521, 366, 323, 758, 730, 857, 858, 283, + 645, 589, 589, 589, 182, 374, 759, 760, 366, -8, + 566, 566, 566, 566, 810, 764, 566, 566, 566, 566, + 811, 815, 224, 417, 817, 339, 725, 614, 614, 621, + 621, 614, 614, 614, 614, 628, 622, 614, 805, 584, + 584, 621, 623, 621, 628, 622, 821, 821, 821, 821, + 621, 622, 621, 621, 614, 621, 584, 584, 622, 620, + 584, 48, 622, 632, 614, 638, 638, 821, 672, 687, + 621, 621, 591, 584, 584, 584, 591, 622, 821, 598, + 670, 154, 584, 821, 594, 623, 594, 598, 622, 594, + 623, 623, 594, 20, 563, 592, 819, 822, 834, 733, + 586, 587, 826, 827, 823, 825, 771, 605, 667, 688, + 689, 481, 612, 613, 615, 616, 646, 617, 637, 596, + 664, 579, 579, 579, 593, 647, 593, 579, 579, 579, + 579, 579, 579, 579, 579, 871, 642, 651, 641, 609, + 690, 518, 654, 633, 535, 737, 581, 667, 667, 765, + 851, 842, 862, 870, 624, 828, 849, 593, 872, 604, + 68, 539, 829, 648, 657, 660, 593, 830, 593, 738, + 593, 852, 766, 619, 769, 667, 773, 579, 853, 873, + 876, 877, 878, 879, 880, 882, 884, 618, 886, 691, + 606, 844, 176, 824, 644, 649, 661, 692, 774, 197, + 887, 776, 593, 593, 744, 590, 593, 746, 694, 671, + 837, 695, 845, 888, 581, 846, 593, 600, 777, 889, + 197, 599, 588, 666, 625, 696, 835, 854, 833, 748, + 568, 574, 778, 779, 782, 601, 700, 838, 841, 816, + 701, 749, 585, 751, 603, 783, 752, 831, 702, 784, + 785, 850, 602, 664, 650, 640, 631, 627, 753, 789, + 848, 704, 705, 709, 790, 711, 791, 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, 136, 136, 136, - 136, -2, -2, -2, -2, 0, 0, -2, 0, 0, - 0, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 0, 0, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 575, 575, 575, 575, 575, 575, 575, 575, 575, - 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, - 575, 575, 575, 575, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 575, -21, -21, -21, - -21, 575, -21, -21, -21, -21, -21, -21, -21, 575, - 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, - 575, 575, 575, 575, 575, 575, 575, -21, 575, 575, - 575, -21, 101, -21, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 575, 0, 0, - 575, -21, 575, -21, 575, -21, 575, 575, 575, 575, - 575, 575, -21, -21, -21, -21, -21, -21, 0, 327, - 327, 327, 327, -21, -21, -21, -21, -37, 101, 101, - 101, 101, 101, 101, 327, 327, 452, 452, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 101, -37, - 101, 623, 623, 623, 623, 647, 647, 647, 623, 210, - 210, 210, 623, 0, 0, 0, 0, 0, 0, 623, - 210, 0, 101, 101, 101, 101, 0, 101, 101, 623, - 623, 623, 647, 623, 210, 647, 647, 623, 685, 583, - 583, 583, 583, 380, 363, 0, 623, 623, 647, 647, - 647, 0, 0, 0, 685, 0, 624, 0, 0, 0, - 0, 628, 230, 0, 528, 0, 0, 0, 0, 0, - 0, 643, 528, 592, 592, 0, 644, 628, 628, 628, - 0, 0, 643, 643, 0, 0, 0, 0, 0, 0, - 566, 643, 0, 0, 0, 0, 566, 517, 0, 0, - 517, 0, 380 + 0, 0, 0, 0, 0, 0, 0, 137, 137, 137, + 137, -2, -2, -2, -2, 0, 0, -2, 0, 0, + 0, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 0, 0, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 570, 570, 570, 570, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 570, -21, -21, -21, + -21, 570, -21, -21, -21, -21, -21, -21, -21, 570, + 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 570, 570, 570, 570, 570, 570, 570, -21, 570, 570, + 570, -21, 110, -21, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 570, 0, 0, + 570, -21, 570, -21, 570, -21, 570, 570, 570, 570, + 570, 570, -21, -21, -21, -21, -21, -21, 0, 125, + 125, 125, 125, -21, -21, -21, -21, -38, 110, 110, + 110, 110, 110, 110, 125, 125, 303, 303, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 110, -38, + 110, 614, 614, 614, 614, 623, 623, 623, 614, 255, + 255, 255, 614, 0, 0, 0, 0, 0, 0, 614, + 255, 0, 110, 110, 110, 110, 0, 110, 110, 614, + 614, 614, 623, 614, 255, 623, 623, 614, 584, 571, + 571, 571, 571, 197, 366, 0, 614, 614, 623, 623, + 623, 0, 0, 0, 584, 0, 621, 0, 0, 0, + 0, 579, 68, 0, 237, 0, 0, 0, 0, 0, + 0, 624, 237, 378, 378, 0, 618, 579, 579, 579, + 0, 0, 624, 624, 0, 0, 0, 0, 0, 0, + 258, 624, 0, 0, 0, 0, 258, 209, 0, 0, + 209, 0, 197 ); protected $actionDefault = array( 3,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 533, 533, 488,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 293, 293, 293, - 32767,32767,32767, 521, 521, 521, 521, 521, 521, 521, - 521, 521, 521, 521,32767,32767,32767,32767,32767, 376, + 32767,32767,32767,32767,32767, 534, 534, 489,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 294, 294, 294, + 32767,32767,32767, 522, 522, 522, 522, 522, 522, 522, + 522, 522, 522, 522,32767,32767,32767,32767,32767, 377, 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, @@ -582,61 +583,61 @@ class Php5 extends \PhpParser\ParserAbstract 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, 382, 538,32767, + 32767,32767,32767,32767,32767,32767,32767, 383, 539,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 357, 358, - 360, 361, 292, 541, 522, 241, 383, 537, 291, 243, - 321, 492,32767,32767,32767, 323, 120, 252, 197, 491, - 123, 290, 228, 375, 377, 322, 297, 302, 303, 304, - 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, - 296, 448, 354, 353, 352, 450,32767, 449, 485, 485, - 488,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 358, 359, + 361, 362, 293, 542, 523, 242, 384, 538, 292, 244, + 322, 493,32767,32767,32767, 324, 121, 253, 198, 492, + 124, 291, 229, 376, 378, 323, 298, 303, 304, 305, + 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, + 297, 449, 355, 354, 353, 451,32767, 450, 486, 486, + 489,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 319, 476, 475, 320, 446, 324, 447, 326, 451, - 325, 342, 343, 340, 341, 344, 453, 452, 469, 470, - 467, 468, 295, 345, 346, 347, 348, 471, 472, 473, - 474, 276,32767,32767, 532, 532,32767,32767, 333, 334, - 460, 461,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767, 277,32767, 232, 232, 232, 232,32767, - 32767,32767, 232,32767,32767,32767,32767, 328, 329, 327, - 455, 456, 454,32767, 422,32767,32767,32767,32767,32767, - 424,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767, 493,32767,32767,32767,32767,32767, 506, 411, - 32767,32767,32767, 404,32767, 216, 218, 165, 479,32767, - 32767,32767,32767,32767, 511, 338,32767,32767,32767,32767, - 32767, 548,32767, 506,32767,32767,32767,32767,32767,32767, - 351, 330, 331, 332,32767,32767,32767,32767, 510, 504, - 463, 464, 465, 466,32767,32767, 457, 458, 459, 462, + 32767, 320, 477, 476, 321, 447, 325, 448, 327, 452, + 326, 343, 344, 341, 342, 345, 454, 453, 470, 471, + 468, 469, 296, 346, 347, 348, 349, 472, 473, 474, + 475, 277,32767,32767, 533, 533,32767,32767, 334, 335, + 461, 462,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767, 278,32767, 233, 233, 233, 233,32767, + 32767,32767, 233,32767,32767,32767,32767, 329, 330, 328, + 456, 457, 455,32767, 423,32767,32767,32767,32767,32767, + 425,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 494,32767,32767,32767,32767,32767, 507, 412, + 32767,32767,32767, 405,32767, 217, 219, 166, 480,32767, + 32767,32767,32767,32767, 512, 339,32767,32767,32767,32767, + 32767, 549,32767, 507,32767,32767,32767,32767,32767,32767, + 352, 331, 332, 333,32767,32767,32767,32767, 511, 505, + 464, 465, 466, 467,32767,32767, 458, 459, 460, 463, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767, 169,32767, 419, 425, - 425,32767,32767,32767,32767, 169,32767,32767,32767,32767, - 32767, 169,32767,32767,32767,32767, 509, 508, 169,32767, - 405, 487, 169, 182,32767, 180, 180,32767, 202, 202, - 32767,32767, 184, 480, 499,32767, 184, 169,32767, 393, - 171, 487,32767,32767, 234,32767, 234, 393, 169, 234, - 32767,32767, 234,32767, 85, 429,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 406,32767, - 32767,32767, 372, 373, 482, 495,32767, 496,32767, 404, - 32767, 336, 337, 339, 316,32767, 318, 362, 363, 364, - 365, 366, 367, 368, 370,32767, 409,32767, 412,32767, - 32767,32767, 87, 112, 251,32767, 546, 87, 407,32767, - 32767, 300, 546,32767,32767,32767,32767, 540,32767,32767, - 294,32767,32767,32767, 87, 87, 247,32767, 167,32767, - 530,32767, 547,32767, 504, 408,32767, 335,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 505,32767,32767, - 32767,32767, 223,32767, 442,32767, 87,32767,32767, 183, - 32767,32767, 298, 242,32767,32767, 539,32767,32767,32767, - 32767,32767,32767,32767,32767,32767, 168,32767,32767,32767, - 185,32767,32767, 504,32767,32767,32767,32767,32767,32767, - 32767, 289,32767,32767,32767,32767,32767,32767,32767, 504, - 32767,32767, 227,32767,32767,32767,32767,32767,32767,32767, - 32767,32767, 85, 60,32767, 270,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 125, 125, 3, - 125, 125, 254, 3, 254, 125, 254, 254, 125, 125, - 125, 125, 125, 125, 125, 125, 125, 125, 210, 213, - 202, 202, 162, 125, 125, 262 + 32767,32767,32767,32767,32767,32767, 170,32767, 420, 426, + 426,32767,32767,32767,32767, 170,32767,32767,32767,32767, + 32767, 170,32767,32767,32767,32767, 510, 509, 170,32767, + 406, 488, 170, 183,32767, 181, 181,32767, 203, 203, + 32767,32767, 185, 481, 500,32767, 185, 170,32767, 394, + 172, 488,32767,32767, 235,32767, 235, 394, 170, 235, + 32767,32767, 235,32767, 86, 430,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 407,32767, + 32767,32767, 373, 374, 483, 496,32767, 497,32767, 405, + 32767, 337, 338, 340, 317,32767, 319, 363, 364, 365, + 366, 367, 368, 369, 371,32767, 410,32767, 413,32767, + 32767,32767, 88, 113, 252,32767, 547, 88, 408,32767, + 32767, 301, 547,32767,32767,32767,32767, 541,32767,32767, + 295,32767,32767,32767, 88, 88, 248,32767, 168,32767, + 531,32767, 548,32767, 505, 409,32767, 336,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 506,32767,32767, + 32767,32767, 224,32767, 443,32767, 88,32767,32767, 184, + 32767,32767, 299, 243,32767,32767, 540,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 169,32767,32767,32767, + 186,32767,32767, 505,32767,32767,32767,32767,32767,32767, + 32767, 290,32767,32767,32767,32767,32767,32767,32767, 505, + 32767,32767, 228,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 86, 60,32767, 271,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767, 126, 126, 3, + 126, 126, 255, 3, 255, 126, 255, 255, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 211, 214, + 203, 203, 163, 126, 126, 263 ); protected $goto = array( @@ -644,67 +645,67 @@ class Php5 extends \PhpParser\ParserAbstract 148, 186, 167, 162, 162, 162, 162, 143, 143, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 158, 159, 160, 161, 183, 137, 184, 501, 502, 365, - 503, 507, 508, 509, 510, 511, 512, 513, 514, 977, + 503, 507, 508, 509, 510, 511, 512, 513, 514, 978, 142, 163, 144, 145, 147, 170, 175, 185, 202, 251, 254, 256, 258, 260, 261, 262, 263, 264, 265, 273, 274, 275, 276, 288, 289, 317, 318, 319, 381, 382, 383, 557, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 149, 150, 151, 166, 152, 168, 153, 203, 169, 154, 155, 156, 204, 157, - 135, 634, 575, 760, 575, 575, 575, 575, 575, 575, + 135, 634, 575, 761, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, - 575, 575, 575, 575, 575, 575, 575, 1116, 766, 1116, - 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, - 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, - 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, - 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1116, - 1116, 1116, 505, 505, 505, 505, 505, 505, 516, 642, - 516, 767, 505, 505, 505, 505, 505, 505, 505, 505, - 505, 505, 517, 797, 517, 898, 898, 1207, 1207, 531, - 589, 617, 862, 862, 862, 862, 173, 857, 863, 1092, - 1091, 176, 177, 178, 390, 391, 392, 393, 172, 201, + 575, 575, 575, 575, 575, 575, 575, 1117, 767, 1117, + 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, + 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, + 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, + 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, 1117, + 1117, 1117, 505, 505, 505, 505, 505, 505, 516, 642, + 516, 768, 505, 505, 505, 505, 505, 505, 505, 505, + 505, 505, 517, 798, 517, 899, 899, 1208, 1208, 531, + 589, 617, 863, 863, 863, 863, 173, 858, 864, 1093, + 1092, 176, 177, 178, 390, 391, 392, 393, 172, 201, 205, 207, 255, 257, 259, 266, 267, 268, 269, 270, 271, 277, 278, 279, 280, 290, 291, 320, 321, 322, 396, 397, 398, 399, 174, 179, 252, 253, 180, 181, - 182, 389, 619, 550, 550, 582, 546, 598, 765, 613, + 182, 389, 619, 550, 550, 582, 546, 598, 766, 613, 614, 548, 548, 504, 506, 537, 554, 583, 586, 596, - 603, 884, 866, 864, 866, 668, 828, 519, 893, 888, + 603, 885, 867, 865, 867, 668, 829, 519, 894, 889, 574, 344, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, 559, 560, 561, 562, 563, - 564, 565, 566, 568, 599, 522, 558, 330, 315, 1219, - 1219, 530, 592, 595, 640, 527, 527, 527, 868, 527, - 600, 347, 406, 530, 530, 1219, 440, 440, 440, 440, - 440, 440, 545, 527, 551, 954, 440, 440, 440, 440, - 440, 440, 440, 440, 440, 440, 1081, 1211, 1081, 905, - 905, 905, 905, 3, 4, 623, 905, 955, 626, 556, - 905, 363, 1185, 581, 1185, 916, 371, 371, 371, 366, - 1081, 1081, 1081, 1081, 790, 1081, 1081, 371, 371, 1184, - 607, 1184, 1177, 371, 1165, 471, 1201, 1201, 1201, 527, - 527, 371, 1233, 544, 576, 527, 527, 618, 1074, 527, - 1204, 790, 790, 378, 1025, 922, 524, 922, 518, 902, - 518, 911, 350, 1183, 975, 400, 528, 543, 786, 669, - 570, 372, 376, 920, 604, 784, 555, 895, 624, 625, - 891, 629, 630, 637, 639, 644, 646, 453, 455, 947, - 645, 673, 1097, 404, 1117, 627, 945, 1199, 1199, 1199, - 1035, 19, 15, 359, 1218, 1218, 1067, 872, 783, 783, - 794, 963, 791, 791, 791, 793, 1072, 925, 782, 456, - 1218, 569, 345, 346, 360, 524, 1077, 1078, 1221, 1162, - 1074, 535, 23, 587, 469, 547, 0, 615, 373, 373, - 373, 0, 0, 1075, 1176, 1075, 0, 0, 542, 0, - 460, 0, 1076, 0, 0, 0, 0, 0, 0, 0, + 564, 565, 566, 568, 599, 522, 558, 330, 315, 1220, + 1220, 530, 592, 595, 640, 527, 527, 527, 869, 527, + 600, 347, 406, 530, 530, 1220, 440, 440, 440, 440, + 440, 440, 545, 527, 551, 955, 440, 440, 440, 440, + 440, 440, 440, 440, 440, 440, 1082, 1212, 1082, 906, + 906, 906, 906, 3, 4, 623, 906, 956, 626, 556, + 906, 363, 1186, 581, 1186, 917, 371, 371, 371, 366, + 1082, 1082, 1082, 1082, 791, 1082, 1082, 371, 371, 1185, + 607, 1185, 1178, 371, 1166, 471, 1202, 1202, 1202, 527, + 527, 371, 1234, 544, 576, 527, 527, 618, 1075, 527, + 1205, 791, 791, 378, 1026, 923, 524, 923, 518, 903, + 518, 912, 350, 1184, 976, 400, 528, 543, 787, 669, + 570, 372, 376, 921, 604, 785, 555, 896, 624, 625, + 892, 629, 630, 637, 639, 644, 646, 453, 455, 948, + 645, 673, 1098, 404, 1118, 627, 946, 1200, 1200, 1200, + 1036, 19, 15, 359, 1219, 1219, 1068, 873, 784, 784, + 795, 964, 792, 792, 792, 794, 1073, 926, 783, 456, + 1219, 569, 345, 346, 360, 524, 1078, 1079, 1222, 1163, + 1075, 535, 23, 587, 469, 547, 0, 615, 373, 373, + 373, 0, 0, 1076, 1177, 1076, 0, 0, 542, 0, + 460, 0, 1077, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 373, 0, 0, 622, 388, - 0, 0, 0, 1073, 631, 0, 0, 0, 0, 0, + 0, 0, 0, 1074, 631, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 521, 541, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 521, 0, 541, 0, 0, 0, 0, 0, 536, 520, 0, 525, 443, 0, 445, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 789, 1226 + 0, 0, 0, 0, 0, 0, 0, 0, 790, 1227 ); protected $gotoCheck = array( @@ -794,20 +795,20 @@ class Php5 extends \PhpParser\ParserAbstract ); protected $gotoDefault = array( - -32768, 473, 677, 2, 678, 750, 758, 610, 487, 643, - 488, 523, 1195, 803, 804, 805, 368, 414, 489, 367, - 401, 394, 792, 785, 787, 795, 171, 402, 798, 1, - 800, 529, 836, 1026, 355, 808, 356, 602, 810, 539, - 812, 813, 136, 369, 370, 540, 490, 377, 590, 827, - 272, 374, 829, 357, 830, 839, 358, 470, 465, 571, - 621, 435, 452, 584, 578, 549, 1089, 579, 871, 343, - 879, 674, 887, 890, 491, 572, 901, 457, 909, 1102, - 384, 915, 921, 926, 281, 929, 415, 403, 597, 934, - 935, 7, 939, 635, 636, 8, 303, 962, 611, 976, - 420, 1045, 1047, 492, 493, 533, 464, 515, 538, 494, - 1068, 446, 405, 1071, 495, 496, 436, 437, 1086, 349, - 1170, 348, 454, 314, 1157, 593, 1121, 461, 1210, 1166, - 342, 497, 498, 364, 1189, 379, 1205, 441, 1212, 1220, + -32768, 473, 677, 2, 678, 751, 759, 610, 487, 643, + 488, 523, 1196, 804, 805, 806, 368, 414, 489, 367, + 401, 394, 793, 786, 788, 796, 171, 402, 799, 1, + 801, 529, 837, 1027, 355, 809, 356, 602, 811, 539, + 813, 814, 136, 369, 370, 540, 490, 377, 590, 828, + 272, 374, 830, 357, 831, 840, 358, 470, 465, 571, + 621, 435, 452, 584, 578, 549, 1090, 579, 872, 343, + 880, 674, 888, 891, 491, 572, 902, 457, 910, 1103, + 384, 916, 922, 927, 281, 930, 415, 403, 597, 935, + 936, 7, 940, 635, 636, 8, 303, 963, 611, 977, + 420, 1046, 1048, 492, 493, 533, 464, 515, 538, 494, + 1069, 446, 405, 1072, 495, 496, 436, 437, 1087, 349, + 1171, 348, 454, 314, 1158, 593, 1122, 461, 1211, 1167, + 342, 497, 498, 364, 1190, 379, 1206, 441, 1213, 1221, 338, 553, 580 ); @@ -819,29 +820,29 @@ class Php5 extends \PhpParser\ParserAbstract 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, - 6, 7, 7, 8, 9, 10, 10, 11, 12, 4, + 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, + 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 17, 17, 18, 18, 18, 18, 20, 20, 16, 16, - 21, 21, 22, 22, 23, 23, 24, 24, 19, 19, - 25, 27, 27, 28, 29, 29, 31, 30, 30, 30, - 30, 32, 32, 32, 32, 32, 32, 32, 32, 32, + 4, 17, 17, 18, 18, 18, 18, 20, 20, 16, + 16, 21, 21, 22, 22, 23, 23, 24, 24, 19, + 19, 25, 27, 27, 28, 29, 29, 31, 30, 30, + 30, 30, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, - 13, 13, 53, 53, 55, 54, 54, 47, 47, 57, - 57, 58, 58, 14, 15, 15, 15, 61, 61, 61, - 62, 62, 65, 65, 63, 63, 67, 67, 40, 40, - 49, 49, 52, 52, 52, 51, 51, 68, 41, 41, - 41, 41, 69, 69, 70, 70, 71, 71, 38, 38, - 34, 34, 72, 36, 36, 73, 35, 35, 37, 37, - 48, 48, 48, 59, 59, 75, 75, 76, 76, 78, - 78, 78, 77, 77, 60, 60, 79, 79, 79, 80, - 80, 81, 81, 81, 43, 43, 82, 82, 82, 44, - 44, 83, 83, 84, 84, 64, 85, 85, 85, 85, - 90, 90, 91, 91, 92, 92, 92, 92, 92, 93, - 94, 94, 89, 89, 86, 86, 88, 88, 96, 96, - 95, 95, 95, 95, 95, 95, 87, 87, 98, 97, - 97, 45, 45, 39, 39, 42, 42, 42, 42, 42, + 32, 13, 13, 53, 53, 55, 54, 54, 47, 47, + 57, 57, 58, 58, 14, 15, 15, 15, 61, 61, + 61, 62, 62, 65, 65, 63, 63, 67, 67, 40, + 40, 49, 49, 52, 52, 52, 51, 51, 68, 41, + 41, 41, 41, 69, 69, 70, 70, 71, 71, 38, + 38, 34, 34, 72, 36, 36, 73, 35, 35, 37, + 37, 48, 48, 48, 59, 59, 75, 75, 76, 76, + 78, 78, 78, 77, 77, 60, 60, 79, 79, 79, + 80, 80, 81, 81, 81, 43, 43, 82, 82, 82, + 44, 44, 83, 83, 84, 84, 64, 85, 85, 85, + 85, 90, 90, 91, 91, 92, 92, 92, 92, 92, + 93, 94, 94, 89, 89, 86, 86, 88, 88, 96, + 96, 95, 95, 95, 95, 95, 95, 87, 87, 98, + 97, 97, 45, 45, 39, 39, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, @@ -850,24 +851,24 @@ class Php5 extends \PhpParser\ParserAbstract 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 33, 33, 46, 46, 103, 103, 104, 104, 104, 104, - 110, 99, 99, 106, 106, 112, 112, 113, 114, 114, - 114, 114, 114, 114, 66, 66, 56, 56, 56, 100, - 100, 118, 118, 115, 115, 119, 119, 119, 119, 101, - 101, 101, 105, 105, 105, 111, 111, 124, 124, 124, + 42, 33, 33, 46, 46, 103, 103, 104, 104, 104, + 104, 110, 99, 99, 106, 106, 112, 112, 113, 114, + 114, 114, 114, 114, 114, 66, 66, 56, 56, 56, + 100, 100, 118, 118, 115, 115, 119, 119, 119, 119, + 101, 101, 101, 105, 105, 105, 111, 111, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 26, 26, 26, 26, 26, 26, 126, 126, 126, 126, + 124, 26, 26, 26, 26, 26, 26, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, - 126, 126, 126, 126, 126, 126, 126, 126, 126, 109, - 109, 102, 102, 102, 102, 125, 125, 128, 128, 127, - 127, 129, 129, 50, 50, 50, 50, 131, 131, 130, - 130, 130, 130, 130, 132, 132, 117, 117, 120, 120, - 116, 116, 134, 133, 133, 133, 133, 121, 121, 121, - 121, 108, 108, 122, 122, 122, 122, 74, 135, 135, - 136, 136, 136, 107, 107, 137, 137, 138, 138, 138, - 138, 138, 123, 123, 123, 123, 140, 141, 139, 139, - 139, 139, 139, 139, 139, 142, 142, 142 + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 109, 109, 102, 102, 102, 102, 125, 125, 128, 128, + 127, 127, 129, 129, 50, 50, 50, 50, 131, 131, + 130, 130, 130, 130, 130, 132, 132, 117, 117, 120, + 120, 116, 116, 134, 133, 133, 133, 133, 121, 121, + 121, 121, 108, 108, 122, 122, 122, 122, 74, 135, + 135, 136, 136, 136, 107, 107, 137, 137, 138, 138, + 138, 138, 138, 123, 123, 123, 123, 140, 141, 139, + 139, 139, 139, 139, 139, 139, 142, 142, 142 ); protected $ruleToLength = array( @@ -879,54 +880,54 @@ class Php5 extends \PhpParser\ParserAbstract 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, 3, 1, 1, 1, - 1, 1, 1, 3, 5, 4, 3, 4, 2, 3, - 1, 1, 7, 8, 6, 7, 3, 1, 3, 1, - 3, 1, 1, 3, 1, 2, 1, 2, 3, 1, - 3, 3, 1, 3, 2, 0, 1, 1, 1, 1, - 1, 3, 5, 8, 3, 5, 9, 3, 2, 3, - 2, 3, 2, 3, 3, 3, 3, 1, 2, 2, - 5, 7, 9, 5, 6, 3, 3, 2, 2, 1, - 1, 1, 0, 2, 8, 0, 4, 1, 3, 0, - 1, 0, 1, 10, 7, 6, 5, 1, 2, 2, - 0, 2, 0, 2, 0, 2, 1, 3, 1, 4, - 1, 4, 1, 1, 4, 1, 3, 3, 3, 4, - 4, 5, 0, 2, 4, 3, 1, 1, 1, 4, - 0, 2, 3, 0, 2, 4, 0, 2, 0, 3, - 1, 2, 1, 1, 0, 1, 3, 4, 6, 1, - 1, 1, 0, 1, 0, 2, 2, 3, 3, 1, - 3, 1, 2, 2, 3, 1, 1, 2, 4, 3, - 1, 1, 3, 2, 0, 1, 3, 3, 9, 3, - 1, 3, 0, 2, 4, 5, 4, 4, 4, 3, - 1, 1, 1, 3, 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, - 3, 3, 1, 0, 1, 1, 3, 3, 4, 4, - 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 1, 1, 1, 1, 3, 5, 4, 3, 4, 2, + 3, 1, 1, 7, 8, 6, 7, 3, 1, 3, + 1, 3, 1, 1, 3, 1, 2, 1, 2, 3, + 1, 3, 3, 1, 3, 2, 0, 1, 1, 1, + 1, 1, 3, 5, 8, 3, 5, 9, 3, 2, + 3, 2, 3, 2, 3, 3, 3, 3, 1, 2, + 2, 5, 7, 9, 5, 6, 3, 3, 2, 2, + 1, 1, 1, 0, 2, 8, 0, 4, 1, 3, + 0, 1, 0, 1, 10, 7, 6, 5, 1, 2, + 2, 0, 2, 0, 2, 0, 2, 1, 3, 1, + 4, 1, 4, 1, 1, 4, 1, 3, 3, 3, + 4, 4, 5, 0, 2, 4, 3, 1, 1, 1, + 4, 0, 2, 3, 0, 2, 4, 0, 2, 0, + 3, 1, 2, 1, 1, 0, 1, 3, 4, 6, + 1, 1, 1, 0, 1, 0, 2, 2, 3, 3, + 1, 3, 1, 2, 2, 3, 1, 1, 2, 4, + 3, 1, 1, 3, 2, 0, 1, 3, 3, 9, + 3, 1, 3, 0, 2, 4, 5, 4, 4, 4, + 3, 1, 1, 1, 3, 1, 1, 0, 1, 1, + 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, + 1, 3, 3, 1, 0, 1, 1, 3, 3, 4, + 4, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 1, 3, 5, 4, 3, 4, 4, 2, 2, 2, + 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 1, 3, 5, 4, 3, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 1, 1, 1, 3, 2, 1, 2, 10, 11, - 3, 3, 2, 4, 4, 3, 4, 4, 4, 4, - 7, 3, 2, 0, 4, 1, 3, 2, 2, 4, - 6, 2, 2, 4, 1, 1, 1, 2, 3, 1, - 1, 1, 1, 1, 1, 3, 3, 4, 4, 0, - 2, 1, 0, 1, 1, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, - 1, 3, 1, 4, 3, 1, 3, 3, 3, 3, + 2, 2, 1, 1, 1, 3, 2, 1, 2, 10, + 11, 3, 3, 2, 4, 4, 3, 4, 4, 4, + 4, 7, 3, 2, 0, 4, 1, 3, 2, 2, + 4, 6, 2, 2, 4, 1, 1, 1, 2, 3, + 1, 1, 1, 1, 1, 1, 3, 3, 4, 4, + 0, 2, 1, 0, 1, 1, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 2, 1, 3, 1, 4, 3, 1, 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, 5, 4, 4, 3, 1, - 3, 1, 1, 3, 3, 0, 2, 0, 1, 3, - 1, 3, 1, 1, 1, 1, 1, 6, 4, 3, - 4, 2, 4, 4, 1, 3, 1, 2, 1, 1, - 4, 1, 1, 3, 6, 4, 4, 4, 4, 1, - 4, 0, 1, 1, 3, 1, 1, 4, 3, 1, - 1, 1, 0, 0, 2, 3, 1, 3, 1, 4, - 2, 2, 2, 2, 1, 2, 1, 1, 1, 4, - 3, 3, 3, 6, 3, 1, 1, 1 + 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 4, 4, 3, + 1, 3, 1, 1, 3, 3, 0, 2, 0, 1, + 3, 1, 3, 1, 1, 1, 1, 1, 6, 4, + 3, 4, 2, 4, 4, 1, 3, 1, 2, 1, + 1, 4, 1, 1, 3, 6, 4, 4, 4, 4, + 1, 4, 0, 1, 1, 3, 1, 1, 4, 3, + 1, 1, 1, 0, 0, 2, 3, 1, 3, 1, + 4, 2, 2, 2, 2, 1, 2, 1, 1, 1, + 4, 3, 3, 3, 6, 3, 1, 1, 1 ); protected function initReduceCallbacks() { @@ -1176,7 +1177,7 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos]; }, 81 => function ($stackPos) { - $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos]; }, 82 => function ($stackPos) { $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); @@ -1188,19 +1189,19 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 85 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 86 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 87 => function ($stackPos) { - $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 88 => function ($stackPos) { - $this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 89 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 90 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -1209,119 +1210,119 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 92 => function ($stackPos) { - $this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 93 => function ($stackPos) { + $this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 94 => function ($stackPos) { $this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(3-2)], null, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON); $this->checkNamespace($this->semValue); }, - 94 => function ($stackPos) { + 95 => function ($stackPos) { $this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); $this->checkNamespace($this->semValue); }, - 95 => function ($stackPos) { + 96 => function ($stackPos) { $this->semValue = new Stmt\Namespace_(null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); $this->checkNamespace($this->semValue); }, - 96 => function ($stackPos) { + 97 => function ($stackPos) { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 97 => function ($stackPos) { + 98 => function ($stackPos) { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, - 98 => function ($stackPos) { + 99 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 99 => function ($stackPos) { + 100 => function ($stackPos) { $this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 100 => function ($stackPos) { + 101 => function ($stackPos) { $this->semValue = Stmt\Use_::TYPE_FUNCTION; }, - 101 => function ($stackPos) { + 102 => function ($stackPos) { $this->semValue = Stmt\Use_::TYPE_CONSTANT; }, - 102 => function ($stackPos) { + 103 => function ($stackPos) { $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, - 103 => function ($stackPos) { + 104 => function ($stackPos) { $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(8-4)], $this->startAttributeStack[$stackPos-(8-4)] + $this->endAttributeStack[$stackPos-(8-4)]), $this->semStack[$stackPos-(8-7)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, - 104 => function ($stackPos) { + 105 => function ($stackPos) { $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(6-2)], $this->startAttributeStack[$stackPos-(6-2)] + $this->endAttributeStack[$stackPos-(6-2)]), $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, - 105 => function ($stackPos) { + 106 => function ($stackPos) { $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, - 106 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, 107 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 108 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 109 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 110 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 111 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 112 => function ($stackPos) { - $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(1-1)); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 113 => function ($stackPos) { - $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(3-3)); + $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(1-1)); }, 114 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(3-3)); }, 115 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 116 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL; + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, 117 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL; }, 118 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)]; }, 119 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 120 => function ($stackPos) { - $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 121 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, - 122 => function ($stackPos) { + 120 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 123 => function ($stackPos) { + 121 => function ($stackPos) { $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, + 122 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 123 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, 124 => function ($stackPos) { - if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }; + $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 125 => function ($stackPos) { - $this->semValue = array(); + if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }; }, 126 => function ($stackPos) { - $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; - if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array(); }, 127 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; + if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 128 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -1330,9 +1331,12 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 130 => function ($stackPos) { - throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 131 => function ($stackPos) { + throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 132 => function ($stackPos) { if ($this->semStack[$stackPos-(3-2)]) { $this->semValue = $this->semStack[$stackPos-(3-2)]; $attrs = $this->startAttributeStack[$stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments'])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); }; @@ -1342,734 +1346,731 @@ class Php5 extends \PhpParser\ParserAbstract } }, - 132 => function ($stackPos) { + 133 => function ($stackPos) { $this->semValue = new Stmt\If_($this->semStack[$stackPos-(5-2)], ['stmts' => is_array($this->semStack[$stackPos-(5-3)]) ? $this->semStack[$stackPos-(5-3)] : array($this->semStack[$stackPos-(5-3)]), 'elseifs' => $this->semStack[$stackPos-(5-4)], 'else' => $this->semStack[$stackPos-(5-5)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 133 => function ($stackPos) { + 134 => function ($stackPos) { $this->semValue = new Stmt\If_($this->semStack[$stackPos-(8-2)], ['stmts' => $this->semStack[$stackPos-(8-4)], 'elseifs' => $this->semStack[$stackPos-(8-5)], 'else' => $this->semStack[$stackPos-(8-6)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, - 134 => function ($stackPos) { + 135 => function ($stackPos) { $this->semValue = new Stmt\While_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 135 => function ($stackPos) { + 136 => function ($stackPos) { $this->semValue = new Stmt\Do_($this->semStack[$stackPos-(5-4)], is_array($this->semStack[$stackPos-(5-2)]) ? $this->semStack[$stackPos-(5-2)] : array($this->semStack[$stackPos-(5-2)]), $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 136 => function ($stackPos) { + 137 => function ($stackPos) { $this->semValue = new Stmt\For_(['init' => $this->semStack[$stackPos-(9-3)], 'cond' => $this->semStack[$stackPos-(9-5)], 'loop' => $this->semStack[$stackPos-(9-7)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); }, - 137 => function ($stackPos) { + 138 => function ($stackPos) { $this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 138 => function ($stackPos) { + 139 => function ($stackPos) { $this->semValue = new Stmt\Break_(null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 139 => function ($stackPos) { + 140 => function ($stackPos) { $this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 140 => function ($stackPos) { + 141 => function ($stackPos) { $this->semValue = new Stmt\Continue_(null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 141 => function ($stackPos) { + 142 => function ($stackPos) { $this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 142 => function ($stackPos) { + 143 => function ($stackPos) { $this->semValue = new Stmt\Return_(null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 143 => function ($stackPos) { + 144 => function ($stackPos) { $this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 144 => function ($stackPos) { + 145 => function ($stackPos) { $this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 145 => function ($stackPos) { + 146 => function ($stackPos) { $this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 146 => function ($stackPos) { + 147 => function ($stackPos) { $this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 147 => function ($stackPos) { - $this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, 148 => function ($stackPos) { - $this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 149 => function ($stackPos) { $this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 150 => function ($stackPos) { - $this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); - }, - 151 => function ($stackPos) { - $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$stackPos-(7-5)][1], 'stmts' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); - }, - 152 => function ($stackPos) { - $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(9-3)], $this->semStack[$stackPos-(9-7)][0], ['keyVar' => $this->semStack[$stackPos-(9-5)], 'byRef' => $this->semStack[$stackPos-(9-7)][1], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); - }, - 153 => function ($stackPos) { - $this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); - }, - 154 => function ($stackPos) { - $this->semValue = new Stmt\TryCatch($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-5)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkTryCatch($this->semValue); - }, - 155 => function ($stackPos) { - $this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 156 => function ($stackPos) { - $this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 157 => function ($stackPos) { - $this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 158 => function ($stackPos) { $this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, + 151 => function ($stackPos) { + $this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + }, + 152 => function ($stackPos) { + $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$stackPos-(7-5)][1], 'stmts' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); + }, + 153 => function ($stackPos) { + $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(9-3)], $this->semStack[$stackPos-(9-7)][0], ['keyVar' => $this->semStack[$stackPos-(9-5)], 'byRef' => $this->semStack[$stackPos-(9-7)][1], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); + }, + 154 => function ($stackPos) { + $this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + }, + 155 => function ($stackPos) { + $this->semValue = new Stmt\TryCatch($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-5)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkTryCatch($this->semValue); + }, + 156 => function ($stackPos) { + $this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 157 => function ($stackPos) { + $this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 158 => function ($stackPos) { + $this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, 159 => function ($stackPos) { - $this->semValue = array(); /* means: no statement */ + $this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 160 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array(); /* means: no statement */ }, 161 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 162 => function ($stackPos) { $startAttributes = $this->startAttributeStack[$stackPos-(1-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $this->semValue = null; }; if ($this->semValue === null) $this->semValue = array(); /* means: no statement */ }, - 162 => function ($stackPos) { + 163 => function ($stackPos) { $this->semValue = array(); }, - 163 => function ($stackPos) { + 164 => function ($stackPos) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 164 => function ($stackPos) { + 165 => function ($stackPos) { $this->semValue = new Stmt\Catch_(array($this->semStack[$stackPos-(8-3)]), $this->semStack[$stackPos-(8-4)], $this->semStack[$stackPos-(8-7)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, - 165 => function ($stackPos) { + 166 => function ($stackPos) { $this->semValue = null; }, - 166 => function ($stackPos) { + 167 => function ($stackPos) { $this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, - 167 => function ($stackPos) { + 168 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 168 => function ($stackPos) { + 169 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, - 169 => function ($stackPos) { - $this->semValue = false; - }, 170 => function ($stackPos) { - $this->semValue = true; + $this->semValue = false; }, 171 => function ($stackPos) { - $this->semValue = false; - }, - 172 => function ($stackPos) { $this->semValue = true; }, + 172 => function ($stackPos) { + $this->semValue = false; + }, 173 => function ($stackPos) { - $this->semValue = new Stmt\Function_($this->semStack[$stackPos-(10-3)], ['byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-5)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes); + $this->semValue = true; }, 174 => function ($stackPos) { + $this->semValue = new Stmt\Function_($this->semStack[$stackPos-(10-3)], ['byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-5)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes); + }, + 175 => function ($stackPos) { $this->semValue = new Stmt\Class_($this->semStack[$stackPos-(7-2)], ['type' => $this->semStack[$stackPos-(7-1)], 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); $this->checkClass($this->semValue, $stackPos-(7-2)); }, - 175 => function ($stackPos) { + 176 => function ($stackPos) { $this->semValue = new Stmt\Interface_($this->semStack[$stackPos-(6-2)], ['extends' => $this->semStack[$stackPos-(6-3)], 'stmts' => $this->semStack[$stackPos-(6-5)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkInterface($this->semValue, $stackPos-(6-2)); }, - 176 => function ($stackPos) { + 177 => function ($stackPos) { $this->semValue = new Stmt\Trait_($this->semStack[$stackPos-(5-2)], ['stmts' => $this->semStack[$stackPos-(5-4)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 177 => function ($stackPos) { + 178 => function ($stackPos) { $this->semValue = 0; }, - 178 => function ($stackPos) { + 179 => function ($stackPos) { $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; }, - 179 => function ($stackPos) { + 180 => function ($stackPos) { $this->semValue = Stmt\Class_::MODIFIER_FINAL; }, - 180 => function ($stackPos) { - $this->semValue = null; - }, 181 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = null; }, 182 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, 183 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = array(); }, 184 => function ($stackPos) { - $this->semValue = array(); - }, - 185 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-2)]; }, - 186 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 187 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 188 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 189 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 190 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 191 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 192 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 193 => function ($stackPos) { - $this->semValue = null; - }, - 194 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 195 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 196 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 197 => function ($stackPos) { - $this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 198 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 199 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-3)]; - }, - 200 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 201 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(5-3)]; - }, - 202 => function ($stackPos) { + 185 => function ($stackPos) { $this->semValue = array(); }, + 186 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-2)]; + }, + 187 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 188 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 189 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 190 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 191 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 192 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 193 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 194 => function ($stackPos) { + $this->semValue = null; + }, + 195 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 196 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 197 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 198 => function ($stackPos) { + $this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 199 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 200 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-3)]; + }, + 201 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 202 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(5-3)]; + }, 203 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array(); }, 204 => function ($stackPos) { - $this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 205 => function ($stackPos) { - $this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 206 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos]; + $this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 207 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos]; }, 208 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + $this->semValue = $this->semStack[$stackPos]; }, 209 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); }, 210 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = $this->semStack[$stackPos-(4-2)]; }, 211 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array(); }, 212 => function ($stackPos) { - $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(3-2)], is_array($this->semStack[$stackPos-(3-3)]) ? $this->semStack[$stackPos-(3-3)] : array($this->semStack[$stackPos-(3-3)]), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 213 => function ($stackPos) { - $this->semValue = array(); - }, - 214 => function ($stackPos) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, + 213 => function ($stackPos) { + $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(3-2)], is_array($this->semStack[$stackPos-(3-3)]) ? $this->semStack[$stackPos-(3-3)] : array($this->semStack[$stackPos-(3-3)]), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 214 => function ($stackPos) { + $this->semValue = array(); + }, 215 => function ($stackPos) { - $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 216 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 217 => function ($stackPos) { - $this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : array($this->semStack[$stackPos-(2-2)]), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = null; }, 218 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : array($this->semStack[$stackPos-(2-2)]), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 219 => function ($stackPos) { - $this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = null; }, 220 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)], false); + $this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 221 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(2-2)], true); - }, - 222 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)], false); }, + 222 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(2-2)], true); + }, 223 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)], false); }, 224 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 225 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semValue = array(); }, 226 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 227 => function ($stackPos) { - $this->semValue = new Node\Param($this->semStack[$stackPos-(4-4)], null, $this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkParam($this->semValue); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 228 => function ($stackPos) { - $this->semValue = new Node\Param($this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-3)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkParam($this->semValue); + $this->semValue = new Node\Param($this->semStack[$stackPos-(4-4)], null, $this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkParam($this->semValue); }, 229 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Node\Param($this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-3)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkParam($this->semValue); }, 230 => function ($stackPos) { - $this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 231 => function ($stackPos) { - $this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 232 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 233 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 234 => function ($stackPos) { $this->semValue = null; }, - 235 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; - }, - 236 => function ($stackPos) { - $this->semValue = array(); - }, - 237 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 238 => function ($stackPos) { - $this->semValue = array(new Node\Arg($this->semStack[$stackPos-(3-2)], false, false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes)); - }, - 239 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 240 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 241 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 242 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 243 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 244 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 245 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 246 => function ($stackPos) { + 234 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 247 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + 235 => function ($stackPos) { + $this->semValue = null; }, - 248 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + 236 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, - 249 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 250 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 251 => function ($stackPos) { - $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 252 => function ($stackPos) { - $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 253 => function ($stackPos) { - if ($this->semStack[$stackPos-(2-2)] !== null) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; } - }, - 254 => function ($stackPos) { + 237 => function ($stackPos) { $this->semValue = array(); }, + 238 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 239 => function ($stackPos) { + $this->semValue = array(new Node\Arg($this->semStack[$stackPos-(3-2)], false, false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes)); + }, + 240 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 241 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 242 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 243 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 244 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 245 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 246 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 247 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 248 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 249 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 250 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 251 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 252 => function ($stackPos) { + $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 253 => function ($stackPos) { + $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 254 => function ($stackPos) { + if ($this->semStack[$stackPos-(2-2)] !== null) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; } + }, 255 => function ($stackPos) { + $this->semValue = array(); + }, + 256 => function ($stackPos) { $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 256 => function ($stackPos) { + 257 => function ($stackPos) { $this->semValue = new Stmt\Property($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkProperty($this->semValue, $stackPos-(3-1)); }, - 257 => function ($stackPos) { + 258 => function ($stackPos) { $this->semValue = new Stmt\ClassConst($this->semStack[$stackPos-(3-2)], 0, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 258 => function ($stackPos) { + 259 => function ($stackPos) { $this->semValue = new Stmt\ClassMethod($this->semStack[$stackPos-(9-4)], ['type' => $this->semStack[$stackPos-(9-1)], 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-6)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); $this->checkClassMethod($this->semValue, $stackPos-(9-1)); }, - 259 => function ($stackPos) { + 260 => function ($stackPos) { $this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 260 => function ($stackPos) { - $this->semValue = array(); - }, 261 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = array(); }, 262 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 263 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array(); }, 264 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 265 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(5-1)][0], $this->semStack[$stackPos-(5-1)][1], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 266 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], null, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(5-1)][0], $this->semStack[$stackPos-(5-1)][1], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, 267 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], null, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 268 => function ($stackPos) { $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 269 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 270 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); }, 271 => function ($stackPos) { - $this->semValue = array(null, $this->semStack[$stackPos-(1-1)]); - }, - 272 => function ($stackPos) { - $this->semValue = null; - }, - 273 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 274 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 272 => function ($stackPos) { + $this->semValue = array(null, $this->semStack[$stackPos-(1-1)]); + }, + 273 => function ($stackPos) { + $this->semValue = null; + }, + 274 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, 275 => function ($stackPos) { - $this->semValue = 0; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 276 => function ($stackPos) { $this->semValue = 0; }, 277 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = 0; }, 278 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 279 => function ($stackPos) { - $this->checkModifier($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $this->semValue = $this->semStack[$stackPos-(2-1)] | $this->semStack[$stackPos-(2-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 280 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; + $this->checkModifier($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $this->semValue = $this->semStack[$stackPos-(2-1)] | $this->semStack[$stackPos-(2-2)]; }, 281 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; + $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; }, 282 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; + $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; }, 283 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_STATIC; + $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; }, 284 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; + $this->semValue = Stmt\Class_::MODIFIER_STATIC; }, 285 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; }, 286 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semValue = Stmt\Class_::MODIFIER_FINAL; }, 287 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 288 => function ($stackPos) { - $this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 289 => function ($stackPos) { - $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 290 => function ($stackPos) { - $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 291 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 292 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, + 288 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 289 => function ($stackPos) { + $this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 290 => function ($stackPos) { + $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 291 => function ($stackPos) { + $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 292 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, 293 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 294 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array(); }, 295 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 296 => function ($stackPos) { - $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 297 => function ($stackPos) { $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 298 => function ($stackPos) { - $this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 299 => function ($stackPos) { $this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 300 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 301 => function ($stackPos) { - $this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 302 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 303 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 304 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 305 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 306 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 307 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 308 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 309 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 310 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 311 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 312 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 313 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 314 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 315 => function ($stackPos) { - $this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 316 => function ($stackPos) { - $this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 317 => function ($stackPos) { - $this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 318 => function ($stackPos) { - $this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 319 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 320 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 321 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 322 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 323 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 324 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 325 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 326 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 327 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 328 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 329 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 330 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 331 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 332 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 333 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 334 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 335 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 336 => function ($stackPos) { - $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 337 => function ($stackPos) { - $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 338 => function ($stackPos) { - $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 339 => function ($stackPos) { - $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 340 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 341 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 342 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 343 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 344 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 345 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 346 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 347 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 348 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 349 => function ($stackPos) { - $this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 350 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 302 => function ($stackPos) { + $this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 303 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 304 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 305 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 306 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 307 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 308 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 309 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 310 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 311 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 312 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 313 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 314 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 315 => function ($stackPos) { + $this->semValue = new Expr\AssignOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 316 => function ($stackPos) { + $this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 317 => function ($stackPos) { + $this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 318 => function ($stackPos) { + $this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 319 => function ($stackPos) { + $this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 320 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 321 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 322 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 323 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 324 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 325 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 326 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 327 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 328 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 329 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 330 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 331 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 332 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 333 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 334 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 335 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 336 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 337 => function ($stackPos) { + $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 338 => function ($stackPos) { + $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 339 => function ($stackPos) { + $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 340 => function ($stackPos) { + $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 341 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 342 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 343 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 344 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 345 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 346 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 347 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 348 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 349 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 350 => function ($stackPos) { + $this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, 351 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 352 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 353 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, 354 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 355 => function ($stackPos) { - $this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 356 => function ($stackPos) { - $this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 357 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 358 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 359 => function ($stackPos) { - $this->semValue = new Expr\Eval_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 360 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Eval_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 361 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 362 => function ($stackPos) { - $this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 363 => function ($stackPos) { + $this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 364 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = $this->getFloatCastKind($this->semStack[$stackPos-(2-1)]); $this->semValue = new Expr\Cast\Double($this->semStack[$stackPos-(2-2)], $attrs); }, - 364 => function ($stackPos) { + 365 => function ($stackPos) { $this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 365 => function ($stackPos) { + 366 => function ($stackPos) { $this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 366 => function ($stackPos) { + 367 => function ($stackPos) { $this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 367 => function ($stackPos) { + 368 => function ($stackPos) { $this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 368 => function ($stackPos) { + 369 => function ($stackPos) { $this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 369 => function ($stackPos) { + 370 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strtolower($this->semStack[$stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE; $this->semValue = new Expr\Exit_($this->semStack[$stackPos-(2-2)], $attrs); }, - 370 => function ($stackPos) { - $this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, 371 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 372 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -2078,116 +2079,116 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 374 => function ($stackPos) { - $this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 375 => function ($stackPos) { - $this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 376 => function ($stackPos) { - $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 377 => function ($stackPos) { - $this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 378 => function ($stackPos) { - $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-4)], 'uses' => $this->semStack[$stackPos-(10-6)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes); + $this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 379 => function ($stackPos) { - $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(11-3)], 'params' => $this->semStack[$stackPos-(11-5)], 'uses' => $this->semStack[$stackPos-(11-7)], 'returnType' => $this->semStack[$stackPos-(11-8)], 'stmts' => $this->semStack[$stackPos-(11-10)]], $this->startAttributeStack[$stackPos-(11-1)] + $this->endAttributes); + $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(10-2)], 'params' => $this->semStack[$stackPos-(10-4)], 'uses' => $this->semStack[$stackPos-(10-6)], 'returnType' => $this->semStack[$stackPos-(10-7)], 'stmts' => $this->semStack[$stackPos-(10-9)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes); }, 380 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(11-3)], 'params' => $this->semStack[$stackPos-(11-5)], 'uses' => $this->semStack[$stackPos-(11-7)], 'returnType' => $this->semStack[$stackPos-(11-8)], 'stmts' => $this->semStack[$stackPos-(11-10)]], $this->startAttributeStack[$stackPos-(11-1)] + $this->endAttributes); }, 381 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 382 => function ($stackPos) { - $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 383 => function ($stackPos) { - $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 384 => function ($stackPos) { + $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 385 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_LONG; $this->semValue = new Expr\Array_($this->semStack[$stackPos-(4-3)], $attrs); }, - 385 => function ($stackPos) { + 386 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_SHORT; $this->semValue = new Expr\Array_($this->semStack[$stackPos-(3-2)], $attrs); }, - 386 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, 387 => function ($stackPos) { - $attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$stackPos-(4-1)][0] === "'" || ($this->semStack[$stackPos-(4-1)][1] === "'" && ($this->semStack[$stackPos-(4-1)][0] === 'b' || $this->semStack[$stackPos-(4-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED); - $this->semValue = new Expr\ArrayDimFetch(new Scalar\String_(Scalar\String_::parse($this->semStack[$stackPos-(4-1)]), $attrs), $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 388 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$stackPos-(4-1)][0] === "'" || ($this->semStack[$stackPos-(4-1)][1] === "'" && ($this->semStack[$stackPos-(4-1)][0] === 'b' || $this->semStack[$stackPos-(4-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED); + $this->semValue = new Expr\ArrayDimFetch(new Scalar\String_(Scalar\String_::parse($this->semStack[$stackPos-(4-1)]), $attrs), $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 389 => function ($stackPos) { $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 390 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 391 => function ($stackPos) { $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes), $this->semStack[$stackPos-(7-2)]); $this->checkClass($this->semValue[0], -1); }, - 391 => function ($stackPos) { + 392 => function ($stackPos) { $this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 392 => function ($stackPos) { + 393 => function ($stackPos) { list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 393 => function ($stackPos) { + 394 => function ($stackPos) { $this->semValue = array(); }, - 394 => function ($stackPos) { + 395 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(4-3)]; }, - 395 => function ($stackPos) { + 396 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 396 => function ($stackPos) { + 397 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, - 397 => function ($stackPos) { + 398 => function ($stackPos) { $this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 398 => function ($stackPos) { - $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, 399 => function ($stackPos) { - $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 400 => function ($stackPos) { - $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 401 => function ($stackPos) { - $this->semValue = $this->fixupPhp5StaticPropCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-4)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, 402 => function ($stackPos) { - $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->fixupPhp5StaticPropCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 403 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 404 => function ($stackPos) { - $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 405 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 406 => function ($stackPos) { $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, + 406 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, 407 => function ($stackPos) { - $this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 408 => function ($stackPos) { - $this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 409 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 410 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -2205,243 +2206,243 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 415 => function ($stackPos) { - $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 416 => function ($stackPos) { $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 417 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 418 => function ($stackPos) { $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 419 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 420 => function ($stackPos) { $this->semValue = null; }, 421 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = null; }, 422 => function ($stackPos) { - $this->semValue = array(); - }, - 423 => function ($stackPos) { - $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`', false), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); - }, - 424 => function ($stackPos) { - foreach ($this->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', false); } }; $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 425 => function ($stackPos) { - $this->semValue = array(); - }, - 426 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 423 => function ($stackPos) { + $this->semValue = array(); + }, + 424 => function ($stackPos) { + $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`', false), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); + }, + 425 => function ($stackPos) { + foreach ($this->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', false); } }; $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 426 => function ($stackPos) { + $this->semValue = array(); + }, 427 => function ($stackPos) { - $this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes, true); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 428 => function ($stackPos) { - $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes, true); }, 429 => function ($stackPos) { + $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 430 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$stackPos-(1-1)][0] === "'" || ($this->semStack[$stackPos-(1-1)][1] === "'" && ($this->semStack[$stackPos-(1-1)][0] === 'b' || $this->semStack[$stackPos-(1-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED); $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$stackPos-(1-1)], false), $attrs); }, - 430 => function ($stackPos) { + 431 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 431 => function ($stackPos) { + 432 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 432 => function ($stackPos) { + 433 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 433 => function ($stackPos) { + 434 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 434 => function ($stackPos) { + 435 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 435 => function ($stackPos) { + 436 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 436 => function ($stackPos) { + 437 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 437 => function ($stackPos) { + 438 => function ($stackPos) { $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 438 => function ($stackPos) { + 439 => function ($stackPos) { $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], false); }, - 439 => function ($stackPos) { + 440 => function ($stackPos) { $this->semValue = $this->parseDocString($this->semStack[$stackPos-(2-1)], '', $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(2-2)] + $this->endAttributeStack[$stackPos-(2-2)], false); }, - 440 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, 441 => function ($stackPos) { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 442 => function ($stackPos) { - $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 443 => function ($stackPos) { - $this->semValue = new Expr\Array_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 444 => function ($stackPos) { - $this->semValue = new Expr\Array_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 445 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 446 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 447 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 448 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 449 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 450 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 451 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 452 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 453 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 454 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 455 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 456 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 457 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 458 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 459 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 460 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 461 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 462 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 463 => function ($stackPos) { - $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 464 => function ($stackPos) { - $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 465 => function ($stackPos) { - $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 466 => function ($stackPos) { - $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 467 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 468 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 469 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 470 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 471 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 472 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 473 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 474 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 475 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); - }, - 476 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 477 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 478 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 479 => function ($stackPos) { - $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 480 => function ($stackPos) { $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 481 => function ($stackPos) { + 443 => function ($stackPos) { + $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 444 => function ($stackPos) { + $this->semValue = new Expr\Array_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 445 => function ($stackPos) { + $this->semValue = new Expr\Array_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 446 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 447 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 448 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 449 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 450 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 451 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 452 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 453 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 454 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 455 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 456 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 457 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 458 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 459 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 460 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 461 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 462 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 463 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 464 => function ($stackPos) { + $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 465 => function ($stackPos) { + $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 466 => function ($stackPos) { + $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 467 => function ($stackPos) { + $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 468 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 469 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 470 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 471 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 472 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 473 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 474 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 475 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 476 => function ($stackPos) { + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + }, + 477 => function ($stackPos) { + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 478 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 479 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 480 => function ($stackPos) { + $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 481 => function ($stackPos) { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, 482 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 483 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 484 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED; foreach ($this->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', true); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$stackPos-(3-2)], $attrs); }, - 484 => function ($stackPos) { + 485 => function ($stackPos) { $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true); }, - 485 => function ($stackPos) { + 486 => function ($stackPos) { $this->semValue = array(); }, - 486 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, 487 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos]; + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 488 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos]; }, 489 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos]; }, 490 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 491 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 492 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 493 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 494 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -2453,61 +2454,61 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 497 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 498 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, 499 => function ($stackPos) { - $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 500 => function ($stackPos) { - $this->semValue = new Expr\MethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 501 => function ($stackPos) { - $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\MethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 502 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 503 => function ($stackPos) { $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 504 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 505 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 506 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 507 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 508 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 509 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 510 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 511 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 511 => function ($stackPos) { + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, 512 => function ($stackPos) { - $var = substr($this->semStack[$stackPos-(1-1)], 1); $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 513 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $var = substr($this->semStack[$stackPos-(1-1)], 1); $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var; }, 514 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 515 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(6-1)], $this->semStack[$stackPos-(6-5)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, 516 => function ($stackPos) { $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); @@ -2519,120 +2520,123 @@ class Php5 extends \PhpParser\ParserAbstract $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 519 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 520 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 521 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 522 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = null; }, 523 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 524 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 525 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 525 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, 526 => function ($stackPos) { - $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 527 => function ($stackPos) { - $this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; }, 528 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 529 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 530 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 531 => function ($stackPos) { $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 532 => function ($stackPos) { - $this->semValue = null; - }, - 533 => function ($stackPos) { - $this->semValue = array(); - }, - 534 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 535 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 536 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 537 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 538 => function ($stackPos) { $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, + 533 => function ($stackPos) { + $this->semValue = null; + }, + 534 => function ($stackPos) { + $this->semValue = array(); + }, + 535 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 536 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 537 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 538 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, 539 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 540 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 541 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 542 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 543 => function ($stackPos) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 544 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 545 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 546 => function ($stackPos) { - $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); }, 547 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 548 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 549 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 550 => function ($stackPos) { - $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 551 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 552 => function ($stackPos) { $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 553 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 554 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, 555 => function ($stackPos) { - $this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 556 => function ($stackPos) { - $this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 557 => function ($stackPos) { + $this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 558 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, ]; diff --git a/lib/PhpParser/Parser/Php7.php b/lib/PhpParser/Parser/Php7.php index c70665e7..a841e63e 100644 --- a/lib/PhpParser/Parser/Php7.php +++ b/lib/PhpParser/Parser/Php7.php @@ -17,17 +17,17 @@ use PhpParser\Node\Stmt; */ class Php7 extends \PhpParser\ParserAbstract { - protected $tokenToSymbolMapSize = 394; - protected $actionTableSize = 940; - protected $gotoTableSize = 503; + protected $tokenToSymbolMapSize = 395; + protected $actionTableSize = 990; + protected $gotoTableSize = 516; - protected $invalidSymbol = 159; + protected $invalidSymbol = 160; protected $errorSymbol = 1; protected $defaultAction = -32766; protected $unexpectedTokenRule = 32767; - protected $YY2TBLSTATE = 348; - protected $numNonLeafStates = 602; + protected $YY2TBLSTATE = 356; + protected $numNonLeafStates = 617; protected $symbolToName = array( "EOF", @@ -127,6 +127,7 @@ class Php7 extends \PhpParser\ParserAbstract "T_ENDDECLARE", "T_AS", "T_SWITCH", + "T_MATCH", "T_ENDSWITCH", "T_CASE", "T_DEFAULT", @@ -192,456 +193,471 @@ class Php7 extends \PhpParser\ParserAbstract ); protected $tokenToSymbol = array( - 0, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 54, 157, 159, 158, 53, 36, 159, - 153, 154, 51, 48, 7, 49, 50, 52, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 30, 150, - 42, 15, 44, 29, 66, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 68, 159, 156, 35, 159, 155, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 151, 34, 152, 56, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 1, 2, 3, 4, + 0, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 54, 158, 160, 159, 53, 36, 160, + 154, 155, 51, 48, 7, 49, 50, 52, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 30, 151, + 42, 15, 44, 29, 66, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 68, 160, 157, 35, 160, 156, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 152, 34, 153, 56, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 37, 38, 39, 40, 41, 43, 45, 46, 47, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 159, - 159, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 160, + 160, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, 133, 134, 135, 136, 137, 138, 139, 159, 159, - 159, 159, 159, 159, 140, 141, 142, 143, 144, 145, - 146, 147, 148, 149 + 132, 133, 134, 135, 136, 137, 138, 139, 140, 160, + 160, 160, 160, 160, 160, 141, 142, 143, 144, 145, + 146, 147, 148, 149, 150 ); protected $action = array( - 607, 608, 609, 610, 611, 1090, 612, 613, 614, 650, - 651,-32766,-32766,-32766,-32767,-32767,-32767,-32767, 94, 95, - 96, 97, 98, 685,-32766,-32766,-32766, -219, -219, -219, - -32766,-32766,-32766, 369,-32766,-32766,-32766,-32766,-32766,-32766, - -32767,-32767,-32767,-32767,-32767, 429, 430, 911, 912, 913, - 910, 909, 908, 615, 743, 791, 371, 372, 850, 911, - 912, 913, 910, 909, 908, -267, 0, 616, 617, 618, - 619, 620, 621, 622, 9, 1109, 683, 96, 97, 98, - 770, 1108, -219, 623, 624, 625, 626, 627, 628, 629, - 630, 631, 632, 633, 653, 654, 655, 656, 657, 645, - 646, 647, 675, 648, 649, 634, 635, 636, 637, 638, - 639, 640, 677, 678, 679, 680, 681, 682, 641, 642, - 643, 644, 674, 665, 663, 664, 660, 661, 786, 652, - 658, 659, 666, 667, 669, 668, 670, 671, 275, 76, - 77, 78, 28, 662, 673, 672, 768, 44, 45, 420, - 46, 47, 692, 213, 1052, 75, 48, 49, 1032, 50, - 30, 121, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 251, 239, 561, 535, 21, - 708, -178, 709, 51, 52, 1032, 1105, 822, 102, 53, - 392, 54, 218, 219, 55, 56, 57, 58, 59, 60, - 61, 62, -267, 24, 238, 63, 367, 421,-32766,-32766, - -32766, 1058, 1059, 422, 506, 1087, 130, 757,-32766, 1056, - 36, 20, 423, 1087, 424, 356, 425, 1087, 426,-32766, - 225, 427, 847, 846, 845, 38, 39, 368, 376, 370, - 582, 40, 428, 1133, 562, 64, 1134, 373, 304, 289, - -32766, 889, 690, 223, 583, 1124, 431, 432, 433, 400, - 274, 1024, 1087, 685, 1087, 584, 434, 435, 589, 1046, - 1047, 1048, 1049, 1043, 1044, 246, -177,-32766, 855, 856, - 443, 1050, 1045, 373, -234, 276, 576, -471, 65,-32766, - 260, 691, 265, 277, 126, 687, 134, 887, 1024,-32766, - 69, 277,-32766,-32766,-32766, 277,-32766, 823,-32766, 361, - -32766, -468, 220,-32766, 29, 221, 587,-32766,-32766,-32766, - -32766,-32766,-32766,-32766,-32766, 687, -467,-32766, -178,-32766, - -32766, 335,-32766,-32766,-32766, 466, 127, 69,-32766, 288, - 277,-32766, 277,-32766,-32766,-32766,-32766,-32766,-32766, -471, - -469, 863, 591,-32766, 687,-32766,-32766,-32766,-32766, 136, - 770,-32766,-32766,-32766, 223,-32766, 125,-32766,-32766,-32766, - -471, 864,-32766, -468, 770,-32766,-32766,-32766,-32766, 251, - 401, 42,-32766,-32766, 501, 808,-32766, -468, -467,-32766, - 335, 305, 443, 1064, -468, 373, -474,-32766, 308, -302, - -32766, -302, -467,-32766,-32766,-32766, 687, 263, 119, -467, - -32766, -473, -469,-32766,-32766,-32766, 903,-32766, -303,-32766, - -303,-32766,-32766, -177,-32766, 68, -469,-32766,-32766,-32766, - -32766, 549, 550, -469,-32766,-32766, 770, 385,-32766, 313, - 578,-32766, 335, 249, 360, 412,-32766, 8, -280,-32766, - 133, 330, 687, 489, 363,-32766,-32766, 222, 364,-32766, - -32766,-32766, 365,-32766, 118,-32766, 366,-32766, -466, 708, - -32766, 709, 770, 32,-32766,-32766,-32766, 125, 212,-32766, - -32766,-32766, 855, 856,-32766, 116, 43,-32766, 335, -505, - 224, -505, 117,-32766, 122,-32766, 381, 382, 123, 687, - 99, 100, 101,-32766, 239, 129,-32766,-32766,-32766,-32766, - -32766, 137,-32766, 138,-32766, 140, 102,-32766, 528, 529, - 252,-32766,-32766,-32766, -83,-32766,-32766,-32766,-32766, 243, - -466,-32766, 687, 590,-32766, 335,-32766, 593, 124,-32766, - -32766,-32766,-32766,-32766, -466,-32766, 767,-32766, 250,-32766, - -32766, -466, 855, 856,-32766,-32766,-32766, 888, 599, 132, - -32766,-32766, 307, 782,-32766, 253, 293,-32766, 335, 120, - 239, 102,-32766, 131, 1135,-32766, 558, 690,-32766, 475, - -32766, 570, 917, 541, 687, 542, 687, 685, 688, 526, - -32766, 792, 264,-32766,-32766,-32766, 470,-32766, 1024,-32766, - 536,-32766, 261, 552,-32766,-32766, 793, -432,-32766,-32766, - -32766, 553, -81, 10,-32766,-32766, 389, 1063,-32766, 226, - -32766,-32766, 335, 1065, 784, 594, 687, -436, 1057,-32766, - -32766, -423, 0,-32766,-32766,-32766, 577,-32766, 0,-32766, - 0,-32766, 0, 0,-32766, 0, 0, 273,-32766,-32766, - -32766, 24, 262, 0,-32766,-32766, 0, 0,-32766,-32766, - 0,-32766, 335, 1087, 5, 0, 12, 1056, 306,-32766, - 31, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 338, 343, 24, -4, 344, 347, - 385, 472, 357, 358, 1002, 0, 34, 1024, 1087,-32766, - 35, 597, 1056,-32766,-32766,-32766, 598, 748, 825, 809, - 816, 883, 946, 948, 434, 435, 884, 1046, 1047, 1048, - 1049, 1043, 1044, -466,-32766, 806,-32766,-32766, 817, 1050, - 1045, 746, 1024, 579, 804, 892, 67,-32766,-32766,-32766, - 265, 277, 895, 896, 893, 894, 770, 900, 0, 581, - 435, 585, 1046, 1047, 1048, 1049, 1043, 1044,-32766, 586, - -32766,-32766,-32766,-32766, 1050, 1045, 588, -137, -137, -137, - 592, 67, 286, 287, 350, 265, 277, 351, 580, -237, - 744, 1130, -137, 1132, -137, -466, -137, 703, -137, 790, - 369, 702, 352, 712, 789, 713, 710, 369, 259, -466, - 1131, 788, 429, 430, 1012, 711, -466, -499, 777, 429, - 430, 700, 791, 371, 372, 785, 775, 814, 743, 791, - 371, 372, -218, -218, -218, 815, 1129, 1088, 369, 1079, - 1095, 1100, 291,-32766,-32766,-32766, 1103, 770, -497, -4, - 429, 430, -474, -473, 770, -472, -137, -235, 0, 743, - 791, 371, 372, 23,-32766, 25,-32766,-32766,-32766,-32766, - -32766,-32766, 26, 33, 37, 41, 66, 70, 71, 72, - 73, 74, 128, 135, 139, 770, 217, -218, -234, 266, - 267, 268, 0, 269, 270, 271, 290, 353, 355, 0, - 14, 15, 16, 17, 19, 328, 402, 404, 408, 410, - 411, 418, 567, 1036, 985, 1054, 865, 1016, -239, -94, - -92, 13, 18, 22, 255, 327, 498, 522, 569, 989, - 1031, 986, 1106, 0, 0, 1053, 1078, 1094, 1127, 532 + 622, 623, 624, 625, 626, 221, 627, 628, 629, 665, + 666,-32766,-32766,-32766,-32767,-32767,-32767,-32767, 97, 98, + 99, 100, 101, 701,-32766,-32766,-32766,-32766,-32766, 724, + 886, 725,-32766, -275,-32766,-32766,-32766,-32766,-32766,-32766, + -32767,-32767,-32767,-32767,-32767,-32766, 873,-32766,-32766,-32766, + -32766,-32766,-32766, 630,-32766,-32766,-32766, -311, 259, -311, + 934, 935, 936, 933, 932, 931, 0, 631, 632, 633, + 634, 635, 636, 637, 364,-32766, 699,-32766,-32766,-32766, + -32766,-32766, 9, 638, 639, 640, 641, 642, 643, 644, + 645, 646, 647, 648, 668, 691, 669, 670, 671, 672, + 660, 661, 662, 690, 663, 664, 649, 650, 651, 652, + 653, 654, 655, 693, 694, 695, 696, 697, 698, 656, + 657, 658, 659, 689, 680, 678, 679, 675, 676, 1114, + 667, 673, 674, 681, 682, 684, 683, 685, 686, 46, + 47, 430, 48, 49, 677, 688, 687, -242, 50, 51, + -514, 52, -514,-32766,-32766,-32766, -478, 24,-32766,-32766, + -32766,-32766, 878, 879,-32766,-32766,-32766, 1056, 512, 1111, + -32766,-32766,-32766, 1080,-32766, 122,-32766,-32766,-32766,-32766, + -32766, -275,-32766,-32766,-32766, 53, 54, 1076,-32766,-32766, + -32766, 55, 28, 56, 226, 227, 57, 58, 59, 60, + 61, 62, 63, 64, 1048, 24, 246, 65, 375,-32766, + 910,-32766,-32766, 1082, 1083, 432, 784, 1111, 802, -478, + 30, 1080, 446, 259, 1070, 1071, 1072, 1073, 1067, 1068, + -32766,-32766,-32766, -478, 438, 1056, 1074, 1069, -179, 1133, + -478, 384, 378, 69, 838, 1132, 1111, 273, 285, 124, + -178,-32766, 297, 934, 935, 936, 933, 932, 931, 408, + 443, 444, 220, 102, 103, 104, 1111, 247, 228, 445, + 446, -477, 1070, 1071, 1072, 1073, 1067, 1068, 254, 105, + 78, 1048, 231, 454, 1074, 1069, 381, 431, -138, -138, + -138, 67, 369, 268, 231, 273, 285, 773, -4, 784, + 38, 20, 433, -138, 434, -138, 435, -138, 436, -138, + 703, 437, 127, -310, 1111, -310, 40, 41, 376, 377, + 71, 271, 42, 439, 703, 285, 66, 878, 879, 312, + 926, 440, 441, 708, -477, 133, 703, 442, 129, 1129, + 759, 807, 379, 380, -476, 285, 233, 343, -477, 1048, + 230, 99, 100, 101, -475, -477, 45, -483, 703, 500, + 703, 343, -288, 137, -480, 839, 786, 591, -138, 604, + 431, 784, 706, 343, 44, 1148, 283, 870, 869, 868, + 773, 409, 70, 38, 20, 433, -179, 434, 71, 435, + 282, 436, 703, 285, 437, 343, 128, 343, -178, 40, + 41, 376, 377, 232, 360, 42, 439, -476, 128, 66, + 267, 284, 312, 887, 440, 441, 701, -475, 296, 258, + 442, -476, 1111, 716, 807, 379, 380, -480, -476, 343, + -482, -475, 576, 315, 703, 31, 229, 257, -475, 400, + 123, 313, 431, 784, 299, 703, 316, 477, -480, 786, + 591, -4, 773, 321, 703, 38, 20, 433, 121, 434, + 368, 435, 703, 436, 393, 371, 437, 593, -220, -220, + -220, 40, 41, 376, 377, 372, 414, 42, 439, 518, + 373, 66, 343, 707, 312, 374, 440, 441, 549, 21, + 130, 343, 442, 564, 565, 759, 807, 379, 380, 343, + 577, 285, 454, 381, 712, 381, 1088, 912, 1157, 138, + 422, 1158, 8, 724, 431, 725, 136, 338, 389, 390, + 140, 786, 591, -220, 773, 542, 543, 38, 20, 433, + 141, 434, 34, 435, -84, 436, 878, 879, 437, 119, + -219, -219, -219, 40, 41, 376, 377, 911, 614, 42, + 439, 120, 784, 66, 125, 126, 312, 132, 440, 441, + 142, 143, 145, 251, 442, 605, 260, 759, 807, 379, + 380, 608, 261, 783, 135, 79, 80, 81, 247, 105, + 573, 597, 301, 134, 703, 798, 701, 704, 486, 585, + 706, 940, 567, 786, 591, -219, 32, 1159, 82, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 555, 247, 431, -82, 550, 784, 272, 556, 10, + 540, 269, 281, 773, 105,-32766, 38, 20, 433, 481, + 434, 1048, 435, 270, 436, 397, 808, 437, 809, 36, + -245, 568, 40, 41, 376, 598, 0, 0, 42, 439, + 784, 0, 66, 1087, 0, 312, 0, 1089, 0, 0, + 0, 0, 0, 442, 0, 0, -441, 346, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 599, + 0, 0, 0, 0, 784, 0, 0, 431, 0, -432, + 5, 0, 786, 591, 12, 314, 351, 773, 800, 0, + 38, 20, 433, 352, 434, 355, 435, 393, 436, 483, + 365, 437, 366, 602, 29, 37, 40, 41, 376, 612, + 613, 431, 42, 439, 764, 848, 66, 825, 832, 312, + 906, 773, 907, 822, 38, 20, 433, 442, 434, 833, + 435, 762, 436, 820, 915, 437, 918, 919, 916, 917, + 40, 41, 376, 923, 609, 431, 42, 439, 784, 592, + 66, 594, 596, 312, 600, 773, 786, 591, 38, 20, + 433, 442, 434, 601, 435, 603, 436, 607, 294, 437, + 295, 358, 359, 595, 40, 41, 376, 606, 760, 1154, + 42, 439, 784, 1156, 66, 719, 806, 312, 718, 728, + 824, 591, -508, 805, 840, 442, 729, 726, 1155, 33, + 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, + 116, 117, 118, 804, 1036, 727, 793, 801, 791, 431, + 830, 831, 1153, 1112, 786, 591, -506, 1103, 1119, 773, + 1124, 1127, 38, 20, 433, -483, 434, -482, 435, -481, + 436, 970, 972, 437, 23, 25, 234, 26, 40, 41, + 376, 35, -475, 431, 42, 439, 39, 43, 66, 68, + 72, 312, 73, 773, 74, 75, 38, 20, 433, 442, + 434, 76, 435, 77, 436, 131, 139, 437, 24, 144, + 225, 274, 40, 41, 376, 275, 276, 277, 42, 439, + 1111, 278, 66, 279, 1080, 312, 298, 361, 786, 591, + 363, -445, 1081, 442, -243, -242, 14, 15, 16, 17, + 19, 336, 410, 412, 418, -475, 420, 421, 428, 582, + 1060, 1009, 1078, 888, 1040, 1048, -247, -95, -93, -475, + 13, 18, 786, 591, 22, 263, -475, 335, 509, 0, + 513, 534, 445, 446, 584, 1070, 1071, 1072, 1073, 1067, + 1068, 1013, 1055, 1010, 1130, 0, 1026, 1074, 1069, 1077, + 1102, 1118, 1151, 546, 69, 0, 0, 0, 273, 285 ); protected $actionCheck = array( - 2, 3, 4, 5, 6, 1, 8, 9, 10, 11, + 2, 3, 4, 5, 6, 13, 8, 9, 10, 11, 12, 8, 9, 10, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 78, 8, 9, 10, 97, 98, 99, - 8, 9, 29, 103, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 115, 116, 114, 115, 116, - 117, 118, 119, 55, 124, 125, 126, 127, 1, 114, - 115, 116, 117, 118, 119, 7, 0, 69, 70, 71, - 72, 73, 74, 75, 7, 1, 78, 48, 49, 50, - 150, 7, 152, 85, 86, 87, 88, 89, 90, 91, + 48, 49, 50, 78, 8, 9, 10, 8, 9, 104, + 1, 106, 29, 7, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 29, 1, 31, 32, 33, + 34, 35, 36, 55, 8, 9, 10, 104, 29, 106, + 115, 116, 117, 118, 119, 120, 0, 69, 70, 71, + 72, 73, 74, 75, 149, 29, 78, 31, 32, 33, + 34, 35, 7, 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, 1, 131, - 132, 133, 134, 135, 136, 137, 138, 139, 68, 8, - 9, 10, 7, 145, 146, 147, 1, 2, 3, 4, - 5, 6, 1, 13, 1, 151, 11, 12, 1, 14, - 29, 7, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 29, 55, 78, 73, 74, - 103, 7, 105, 48, 49, 1, 1, 30, 67, 54, - 130, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 154, 68, 69, 70, 71, 72, 8, 9, - 10, 76, 77, 78, 49, 80, 7, 82, 1, 84, - 85, 86, 87, 80, 89, 148, 91, 80, 93, 29, - 7, 96, 117, 118, 119, 100, 101, 102, 103, 104, - 30, 106, 107, 78, 145, 110, 81, 148, 113, 114, - 8, 152, 80, 36, 30, 83, 121, 122, 123, 30, - 7, 114, 80, 78, 80, 30, 131, 132, 151, 134, - 135, 136, 137, 138, 139, 140, 7, 1, 132, 133, - 145, 146, 147, 148, 154, 7, 151, 68, 153, 72, - 155, 150, 157, 158, 151, 78, 13, 1, 114, 82, - 153, 158, 85, 86, 87, 158, 89, 150, 91, 125, - 93, 68, 36, 96, 142, 143, 30, 100, 101, 102, - 8, 9, 10, 106, 107, 78, 68, 110, 154, 1, - 113, 114, 8, 9, 10, 83, 151, 153, 121, 7, - 158, 29, 158, 31, 32, 33, 34, 35, 72, 130, - 68, 1, 30, 29, 78, 31, 32, 33, 82, 13, - 150, 85, 86, 87, 36, 89, 149, 91, 151, 93, - 151, 154, 96, 130, 150, 1, 100, 101, 102, 29, - 151, 68, 106, 107, 1, 150, 110, 144, 130, 113, - 114, 7, 145, 141, 151, 148, 153, 121, 7, 103, - 72, 105, 144, 8, 9, 10, 78, 111, 13, 151, - 82, 153, 130, 85, 86, 87, 120, 89, 103, 91, - 105, 93, 1, 154, 96, 149, 144, 151, 100, 101, - 102, 73, 74, 151, 106, 107, 150, 148, 110, 7, - 151, 113, 114, 130, 7, 103, 72, 105, 152, 121, - 98, 99, 78, 79, 7, 1, 82, 36, 7, 85, - 86, 87, 7, 89, 151, 91, 7, 93, 68, 103, - 96, 105, 150, 13, 100, 101, 102, 149, 95, 151, - 106, 107, 132, 133, 110, 15, 68, 113, 114, 154, - 36, 156, 15, 72, 15, 121, 103, 104, 15, 78, - 51, 52, 53, 82, 55, 15, 85, 86, 87, 1, - 89, 15, 91, 15, 93, 15, 67, 96, 108, 109, - 34, 100, 101, 102, 30, 151, 72, 106, 107, 30, - 130, 110, 78, 30, 113, 114, 82, 30, 30, 85, - 86, 87, 121, 89, 144, 91, 30, 93, 130, 1, - 96, 151, 132, 133, 100, 101, 102, 150, 151, 30, - 106, 107, 144, 36, 110, 34, 34, 113, 114, 151, - 55, 67, 151, 68, 81, 121, 75, 80, 83, 87, - 72, 90, 80, 94, 78, 97, 78, 78, 78, 111, - 82, 125, 112, 85, 86, 87, 83, 89, 114, 91, - 88, 93, 128, 92, 96, 151, 125, 144, 100, 101, - 102, 97, 95, 95, 106, 107, 95, 141, 110, 36, - 72, 113, 114, 141, 149, 152, 78, 155, 157, 121, - 82, 144, -1, 85, 86, 87, 151, 89, -1, 91, - -1, 93, -1, -1, 96, -1, -1, 128, 100, 101, - 102, 68, 129, -1, 106, 107, -1, -1, 110, 151, - -1, 113, 114, 80, 144, -1, 144, 84, 144, 121, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 148, 148, 68, 0, 148, 148, - 148, 148, 148, 148, 155, -1, 150, 114, 80, 151, - 150, 150, 84, 8, 9, 10, 150, 150, 150, 150, - 150, 150, 57, 58, 131, 132, 150, 134, 135, 136, - 137, 138, 139, 68, 29, 150, 31, 32, 150, 146, - 147, 150, 114, 151, 150, 150, 153, 8, 9, 10, - 157, 158, 150, 150, 150, 150, 150, 150, -1, 151, - 132, 151, 134, 135, 136, 137, 138, 139, 29, 151, - 31, 32, 33, 34, 146, 147, 151, 73, 74, 75, - 151, 153, 151, 151, 151, 157, 158, 151, 151, 154, - 152, 152, 88, 152, 90, 130, 92, 152, 94, 152, - 103, 152, 105, 152, 152, 152, 152, 103, 111, 144, - 152, 152, 115, 116, 152, 152, 151, 153, 152, 115, - 116, 124, 125, 126, 127, 152, 152, 152, 124, 125, - 126, 127, 97, 98, 99, 152, 152, 152, 103, 152, - 152, 152, 145, 8, 9, 10, 152, 150, 153, 152, - 115, 116, 153, 153, 150, 153, 152, 154, -1, 124, - 125, 126, 127, 153, 29, 153, 31, 32, 33, 34, - 35, 36, 153, 153, 153, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 150, 153, 152, 154, 153, - 153, 153, -1, 153, 153, 153, 153, 153, 153, -1, - 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, - 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, - 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, - 154, 154, 154, -1, -1, 156, 156, 156, 156, 156 + 122, 123, 124, 125, 126, 127, 128, 129, 130, 1, + 132, 133, 134, 135, 136, 137, 138, 139, 140, 2, + 3, 4, 5, 6, 146, 147, 148, 155, 11, 12, + 155, 14, 157, 8, 9, 10, 68, 68, 8, 8, + 9, 10, 133, 134, 8, 9, 10, 1, 1, 80, + 8, 9, 10, 84, 29, 13, 31, 32, 33, 34, + 29, 155, 31, 32, 33, 48, 49, 1, 8, 9, + 10, 54, 7, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 115, 68, 69, 70, 71, 29, + 1, 31, 32, 76, 77, 78, 1, 80, 1, 131, + 7, 84, 133, 29, 135, 136, 137, 138, 139, 140, + 8, 9, 10, 145, 97, 1, 147, 148, 7, 1, + 152, 104, 105, 154, 30, 7, 80, 158, 159, 7, + 7, 29, 115, 115, 116, 117, 118, 119, 120, 30, + 123, 124, 95, 51, 52, 53, 80, 55, 36, 132, + 133, 68, 135, 136, 137, 138, 139, 140, 141, 67, + 152, 115, 36, 146, 147, 148, 149, 72, 73, 74, + 75, 154, 126, 156, 36, 158, 159, 82, 0, 1, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 78, 96, 30, 104, 80, 106, 101, 102, 103, 104, + 154, 112, 107, 108, 78, 159, 111, 133, 134, 114, + 121, 116, 117, 1, 131, 7, 78, 122, 152, 1, + 125, 126, 127, 128, 68, 159, 7, 115, 145, 115, + 36, 48, 49, 50, 68, 152, 68, 154, 78, 79, + 78, 115, 153, 13, 68, 151, 151, 152, 153, 152, + 72, 1, 80, 115, 68, 83, 68, 118, 119, 120, + 82, 152, 150, 85, 86, 87, 155, 89, 154, 91, + 7, 93, 78, 159, 96, 115, 150, 115, 155, 101, + 102, 103, 104, 36, 106, 107, 108, 131, 150, 111, + 112, 7, 114, 155, 116, 117, 78, 131, 7, 131, + 122, 145, 80, 125, 126, 127, 128, 131, 152, 115, + 154, 145, 78, 145, 78, 143, 144, 131, 152, 131, + 152, 7, 72, 1, 146, 78, 7, 83, 152, 151, + 152, 153, 82, 7, 78, 85, 86, 87, 152, 89, + 7, 91, 78, 93, 149, 7, 96, 152, 98, 99, + 100, 101, 102, 103, 104, 7, 100, 107, 108, 49, + 7, 111, 115, 151, 114, 7, 116, 117, 73, 74, + 152, 115, 122, 73, 74, 125, 126, 127, 128, 115, + 146, 159, 146, 149, 7, 149, 142, 153, 78, 13, + 104, 81, 106, 104, 72, 106, 99, 100, 104, 105, + 13, 151, 152, 153, 82, 109, 110, 85, 86, 87, + 13, 89, 13, 91, 30, 93, 133, 134, 96, 15, + 98, 99, 100, 101, 102, 103, 104, 151, 152, 107, + 108, 15, 1, 111, 15, 15, 114, 15, 116, 117, + 15, 15, 15, 30, 122, 30, 34, 125, 126, 127, + 128, 30, 34, 30, 30, 8, 9, 10, 55, 67, + 75, 30, 34, 68, 78, 36, 78, 78, 87, 90, + 80, 80, 92, 151, 152, 153, 29, 81, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 94, 55, 72, 95, 88, 1, 113, 98, 95, + 112, 129, 129, 82, 67, 83, 85, 86, 87, 83, + 89, 115, 91, 130, 93, 95, 126, 96, 126, 151, + 155, 98, 101, 102, 103, 30, -1, -1, 107, 108, + 1, -1, 111, 142, -1, 114, -1, 142, -1, -1, + -1, -1, -1, 122, -1, -1, 145, 149, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, + -1, -1, -1, -1, 1, -1, -1, 72, -1, 145, + 145, -1, 151, 152, 145, 145, 149, 82, 150, -1, + 85, 86, 87, 149, 89, 149, 91, 149, 93, 149, + 149, 96, 149, 30, 152, 151, 101, 102, 103, 151, + 151, 72, 107, 108, 151, 151, 111, 151, 151, 114, + 151, 82, 151, 151, 85, 86, 87, 122, 89, 151, + 91, 151, 93, 151, 151, 96, 151, 151, 151, 151, + 101, 102, 103, 151, 153, 72, 107, 108, 1, 152, + 111, 152, 152, 114, 152, 82, 151, 152, 85, 86, + 87, 122, 89, 152, 91, 152, 93, 152, 152, 96, + 152, 152, 152, 152, 101, 102, 103, 30, 153, 153, + 107, 108, 1, 153, 111, 153, 153, 114, 153, 153, + 151, 152, 154, 153, 153, 122, 153, 153, 153, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 153, 153, 153, 153, 153, 153, 72, + 153, 153, 153, 153, 151, 152, 154, 153, 153, 82, + 153, 153, 85, 86, 87, 154, 89, 154, 91, 154, + 93, 57, 58, 96, 154, 154, 36, 154, 101, 102, + 103, 154, 68, 72, 107, 108, 154, 154, 111, 154, + 154, 114, 154, 82, 154, 154, 85, 86, 87, 122, + 89, 154, 91, 154, 93, 154, 154, 96, 68, 154, + 154, 154, 101, 102, 103, 154, 154, 154, 107, 108, + 80, 154, 111, 154, 84, 114, 154, 154, 151, 152, + 154, 156, 158, 122, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 131, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 115, 155, 155, 155, 145, + 155, 155, 151, 152, 155, 155, 152, 155, 155, -1, + 155, 155, 132, 133, 155, 135, 136, 137, 138, 139, + 140, 155, 155, 155, 155, -1, 156, 147, 148, 157, + 157, 157, 157, 157, 154, -1, -1, -1, 158, 159 ); protected $actionBase = array( - 0, 704, 697, -70, 735, 153, 109, 605, -2, -2, - -55, -2, -2, 234, 296, 296, 332, 296, 220, 245, - 606, 606, 606, 227, 286, 286, 286, 286, 338, 384, - 518, 431, 464, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, - 558, 151, 151, 167, 393, 470, 770, 775, 772, 776, - 768, 767, 771, 777, 684, 685, 539, 687, 688, 689, - 694, 773, 783, 769, 774, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 252, 405, 22, 16, 16, 16, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 210, 210, 210, - 705, 334, 593, 593, 739, 665, 322, 628, 628, 628, - 628, 628, 628, 628, 628, 628, 628, 835, 3, 3, - 3, 3, 3, -28, -28, -28, -28, 306, 194, 157, - 325, 29, 29, 360, 156, 156, 262, 492, 481, 195, - 195, 430, 430, 430, 253, 268, 459, 459, 459, 87, - 523, 494, 494, 494, 494, 182, 764, 764, 764, 764, - 764, 764, 182, 494, 494, 175, 765, 4, 345, 292, - 410, 410, 428, 410, 410, 410, 376, 376, 376, 403, - 257, 299, 505, 257, 607, 637, 778, 498, 675, 524, - 683, 229, 323, 554, 192, 555, 192, 192, 192, 420, - 115, 368, 542, 766, 151, 497, 151, 151, 151, 151, - 736, 151, 151, 151, 151, 151, 151, 239, 151, 417, - 167, 127, 57, 127, 127, 403, 525, 70, 631, 279, - 525, 525, 525, 632, 633, 58, 140, 636, 184, 352, - 516, 516, 519, 519, 512, 537, 516, 516, 516, 516, - 516, 710, 710, 519, 507, 519, 512, 722, 519, 537, - 537, 519, 519, 516, 519, 710, 537, 154, 457, 394, - 401, 537, 537, 461, 484, 516, 529, 529, 465, 519, - 233, 219, 519, 135, 533, 710, 710, 533, 288, 263, - 561, 566, 488, 537, 509, 342, 509, 485, 509, 447, - 488, 509, 537, 509, 469, 67, 507, 442, 509, 66, - 723, 724, 504, 725, 720, 726, 744, 727, 495, 476, - 491, 733, 721, 728, 719, 712, 526, 553, 480, 487, - 530, 473, 702, 552, 514, 514, 514, 699, 514, 514, - 514, 514, 514, 514, 514, 514, 480, 779, 534, 502, - 737, 489, 546, 531, 493, 592, 486, 553, 553, 638, - 482, 549, 520, 736, 759, 729, 556, 500, 750, 738, - 483, 547, 550, 740, 741, 751, 760, 608, 761, 639, - 515, 641, 553, 645, 514, 695, 664, 780, 700, 480, - 781, 746, 752, 753, 551, 647, 503, 782, 649, 762, - 610, 618, 560, 747, 635, 496, 541, 754, 651, 755, - 756, 652, 567, 522, 703, 499, 745, 293, 743, 625, - 653, 654, 658, 659, 662, 730, 568, 748, 521, 749, - 734, 569, 570, 663, 356, 571, 506, 508, 576, 731, - 513, 511, 585, 588, 763, 510, 666, 742, 591, 673, - 758, 527, 552, 532, 490, 528, 501, 629, 757, 517, - 594, 595, 602, 603, 674, 604, 0, 0, 0, 0, + 0, 215, 298, 370, 442, 186, 354, 608, -2, -2, + -55, -2, -2, 625, 693, 693, 767, 693, 551, 659, + 801, 801, 801, 258, 232, 232, 232, 232, 246, 376, + 376, 280, 282, 314, 367, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 384, 384, 384, 384, + 384, 384, 384, 384, 384, 384, 332, 332, 214, 167, + 519, 800, 816, 803, 817, 796, 795, 802, 805, 818, + 689, 690, 544, 694, 695, 697, 698, 806, 826, 799, + 809, 567, 567, 567, 567, 567, 567, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + 150, 162, 19, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 222, 222, 222, 180, 151, + 830, 830, 145, 804, 46, 89, 89, 89, 89, 89, + 89, 89, 89, 89, 89, 16, 3, 3, 3, 3, + 3, -28, -28, -28, -28, 209, 166, 234, -47, 303, + 303, 29, 194, 194, 364, 525, 764, 338, 338, 403, + 403, 403, 203, 276, 212, 212, 212, -75, 556, 526, + 526, 526, 526, 292, 791, 791, 791, 791, 791, 791, + 292, 526, 526, 430, 792, 128, -5, 88, 286, 286, + 288, 286, 286, 286, 409, 409, 409, 414, 356, 315, + 552, 356, 612, 641, 819, 530, 687, 553, 688, 296, + 306, 571, 342, 573, 342, 342, 342, 416, 415, 420, + 548, 793, 332, 554, 332, 332, 332, 332, 747, 332, + 332, 332, 332, 332, 332, 229, 332, 396, 214, 217, + 45, 217, 217, 414, 523, 308, 636, 243, 523, 523, + 523, 638, 639, 26, -8, 640, 231, 406, 506, 506, + 508, 508, 511, 549, 506, 506, 506, 506, 506, 710, + 710, 508, 510, 508, 511, 723, 508, 549, 549, 508, + 508, 506, 508, 710, 549, 242, 458, 434, 439, 549, + 549, 468, 502, 506, 503, 503, 473, 508, 339, 328, + 508, 185, 513, 710, 710, 513, 404, 383, 578, 579, + 518, 549, 533, 411, 497, 213, 533, 558, 533, 453, + 518, 533, 549, 533, 478, 75, 510, 446, 533, 66, + 725, 726, 504, 728, 717, 730, 763, 731, 737, 617, + 520, 522, 746, 722, 739, 713, 711, 543, 570, 524, + 536, 555, 531, 705, 568, 512, 512, 512, 701, 512, + 512, 512, 512, 512, 512, 512, 512, 524, 822, 560, + 501, 751, 539, 528, 550, 540, 619, 521, 570, 570, + 645, 765, 820, 509, 747, 785, 741, 498, 542, 775, + 752, 611, 557, 564, 753, 757, 776, 786, 620, 787, + 646, 515, 650, 570, 652, 512, 692, 658, 823, 703, + 524, 824, 771, 572, 777, 778, 566, 653, 516, 825, + 655, 788, 622, 631, 574, 772, 495, 532, 538, 779, + 656, 781, 782, 660, 583, 537, 769, 527, 661, 350, + 766, 496, 762, 633, 663, 664, 665, 680, 681, 742, + 584, 773, 500, 774, 770, 586, 587, 507, 682, 517, + 589, 545, 546, 591, 745, 535, 505, 592, 598, 789, + 547, 683, 759, 600, 684, 784, 529, 568, 559, 514, + 534, 499, 635, 783, 541, 602, 603, 605, 606, 685, + 607, 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, 137, 137, + 137, 137, -2, -2, -2, 0, 0, -2, 0, 0, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 567, 567, 567, 567, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 567, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 145, 145, 145, 145, -2, -2, -2, - 0, 0, -2, 0, 0, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 257, 257, 131, 0, 131, 257, - 257, 257, 257, 257, 257, 257, 257, 257, 257, 131, - 131, 131, 131, 131, 131, 459, 459, 459, 459, -67, - 257, 257, -67, 459, 459, 257, 257, 257, 182, 182, - 182, 192, 192, 257, 257, 257, 0, 0, 0, 0, - 0, 516, 182, 257, 257, 257, 257, 0, 125, 125, - 125, 125, 125, 125, 0, 257, 257, 507, 125, 192, - 74, 0, 0, 0, 0, 0, 0, 0, 516, 516, - 516, 507, 0, 516, 182, 0, 127, 151, 74, 362, - 362, 362, 362, 0, 0, 516, 0, 516, 0, 0, - 0, 0, 0, 0, 507, 537, 0, 710, 0, 0, - 0, 0, 519, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 507, 0, 0, 0, 514, 0, - 520, 0, 514, 514, 514, 520, 520, 0, 0, 520 + 0, 0, 0, 0, 0, 0, 0, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 567, 567, 567, + 567, 567, 567, 567, 567, 567, 567, 356, 356, 567, + 0, 567, 356, 356, 356, 356, 356, 356, 356, 356, + 356, 356, 567, 567, 567, 567, 567, 567, 212, 212, + 212, 212, 138, 356, 356, 138, 212, 212, 356, 356, + 356, 292, 292, 292, 342, 342, 356, 356, 356, 0, + 0, 0, 0, 0, 506, 292, 356, 356, 356, 356, + 0, 259, 259, 259, 259, 259, 259, 0, 356, 356, + 510, 259, 342, 238, 0, 0, 0, 0, 0, 0, + 0, 506, 506, 506, 510, 0, 506, 292, 0, 217, + 332, 238, 417, 417, 417, 417, 0, 0, 506, 0, + 506, 0, 0, 0, 0, 0, 0, 510, 549, 0, + 710, 0, 0, 0, 0, 508, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 510, 0, 0, + 0, 512, 0, 509, 0, 512, 512, 512, 509, 509, + 0, 0, 509 ); protected $actionDefault = array( - 3,32767,32767,32767,32767,32767,32767,32767,32767, 92, + 3,32767,32767,32767,32767,32767,32767,32767,32767, 93, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 517, 517, 517, 517, 94,32767, - 32767,32767,32767, 322, 322, 322,32767,32767, 464, 464, - 464, 464, 464, 464,32767,32767,32767,32767,32767, 402, + 32767,32767,32767,32767, 526, 526, 526, 526, 95, 224, + 95,32767,32767,32767,32767, 330, 330, 330,32767,32767, + 473, 473, 473, 473, 473, 473,32767,32767,32767,32767, + 32767, 411,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767, 93,32767,32767,32767,32767,32767, + 32767,32767,32767, 95,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 92,32767,32767,32767,32767,32767,32767,32767,32767, - 94,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 510,32767,32767,32767,32767, + 519,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 385, 386, 388, 389, 321, - 465, 516, 266, 513, 320, 130, 277, 268, 211, 317, - 134, 247, 350, 403, 352, 401, 405, 351, 327, 331, - 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, - 342, 343, 325, 326, 404, 406, 407, 382, 381, 380, - 348, 349,32767,32767, 353, 324, 355,32767,32767,32767, - 32767,32767,32767,32767,32767, 94,32767, 354, 371, 372, - 369, 370, 373, 374, 375, 376, 377,32767,32767,32767, - 300, 362, 363,32767, 257, 257,32767,32767,32767,32767, - 32767,32767,32767,32767, 458, 379, 357, 358, 356,32767, - 435,32767,32767,32767,32767,32767, 242, 242, 242, 242, - 242, 242, 437,32767, 92,32767, 242,32767,32767, 460, - 345, 347, 428, 511, 328, 514,32767,32767, 94, 422, + 32767, 394, 395, 397, 398, 329, 474, 525, 274, 522, + 328, 131, 285, 276, 212, 228, 229, 325, 135, 255, + 359, 412, 361, 410, 414, 360, 335, 340, 341, 342, + 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, + 333, 334, 413, 415, 416, 391, 390, 389, 357, 358, + 32767,32767, 362, 332, 364,32767,32767,32767,32767,32767, + 32767,32767,32767, 95,32767, 363, 380, 381, 378, 379, + 382, 383, 384, 385, 386,32767,32767,32767, 308, 371, + 372,32767, 265, 265,32767,32767,32767,32767,32767,32767, + 32767,32767, 467, 388, 366, 367, 365,32767, 444,32767, + 32767,32767,32767,32767, 250, 250, 250, 250, 250, 250, + 446,32767, 93,32767, 250,32767,32767, 469, 354, 356, + 437, 520, 336, 523,32767,32767, 95, 431,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767,32767, 468, + 32767,32767,32767, 93,32767,32767, 93, 175, 238, 240, + 489, 180,32767, 449,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 459,32767,32767,32767, 92,32767,32767, 92, 174, - 230, 232, 480, 179,32767, 440,32767,32767,32767,32767, + 32767,32767,32767, 431, 376, 533,32767, 475, 368, 369, + 370,32767,32767, 475, 475,32767, 475,32767,32767,32767, + 32767,32767,32767, 180,32767,32767,32767,32767, 95, 447, + 447, 93, 93, 93, 93, 442,32767, 180, 180,32767, + 32767,32767,32767,32767, 180, 92, 92, 92, 92, 180, + 180, 92, 195,32767, 193, 193, 92,32767, 94, 94, + 32767, 94, 197,32767, 493, 197, 94, 92, 217, 217, + 422, 180, 267, 94, 94, 94, 267, 182, 267, 94, + 422, 267, 180, 267, 92, 92,32767, 92, 267,32767, + 32767,32767, 86,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 433,32767, + 462,32767, 479, 491,32767, 374, 375, 377, 477, 399, + 400, 401, 402, 403, 404, 405, 407, 521,32767, 436, + 32767,32767,32767, 88, 122, 284,32767, 531, 88, 434, + 32767, 531,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767, 88, 88,32767,32767,32767,32767,32767,32767, + 532,32767, 475, 435,32767, 373, 458, 498,32767, 476, + 524,32767,32767,32767,32767,32767, 88,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 462, 257, 259,32767, + 32767,32767,32767,32767,32767,32767, 475,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 422, 367, 524,32767, 466, - 359, 360, 361,32767,32767, 466, 466,32767, 466,32767, - 32767,32767,32767,32767,32767, 179,32767,32767,32767,32767, - 94, 438, 438, 92, 92, 92, 92, 433,32767, 179, - 179,32767,32767,32767,32767,32767, 179, 91, 91, 91, - 91, 179, 179, 91, 194,32767, 192, 192, 91,32767, - 93, 93,32767, 93, 196,32767, 484, 196, 93, 91, - 216, 216, 413, 179, 259, 93, 259, 181, 259, 93, - 413, 259, 179, 259, 91, 91,32767, 91, 259,32767, - 32767,32767, 85,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767, 424,32767, 453, - 32767, 470, 482,32767, 365, 366, 368, 468, 390, 391, - 392, 393, 394, 395, 396, 398, 512,32767, 427,32767, - 32767,32767, 87, 121, 276,32767, 522, 87, 425,32767, - 522,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 87, 87,32767,32767,32767,32767,32767,32767, 523, - 32767, 466, 426,32767, 364, 449, 489,32767, 467, 515, - 32767,32767,32767,32767, 87,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 453, 249, 251,32767,32767,32767, - 32767,32767,32767,32767, 466,32767,32767,32767,32767,32767, + 32767,32767,32767,32767, 475,32767,32767,32767,32767,32767, + 32767, 324,32767,32767,32767,32767,32767,32767,32767,32767, + 254,32767,32767,32767,32767,32767, 86, 60,32767, 304, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 466,32767,32767,32767,32767,32767, 316,32767,32767,32767, - 32767,32767,32767,32767,32767, 246,32767,32767,32767,32767, - 32767, 85, 60,32767, 296,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767, 136, 136, 3, 279, - 3, 279, 136, 136, 136, 279, 279, 136, 136, 136, - 136, 136, 136, 136, 169, 224, 227, 216, 216, 288, - 136, 136 + 32767, 137, 137, 3, 287, 3, 287, 137, 137, 137, + 287, 287, 137, 137, 137, 137, 137, 137, 137, 170, + 232, 235, 217, 217, 296, 137, 137 ); protected $goto = array( - 172, 145, 145, 145, 145, 172, 154, 156, 188, 173, - 169, 169, 169, 169, 169, 170, 170, 170, 170, 170, - 170, 165, 166, 167, 168, 185, 183, 186, 444, 445, - 336, 446, 448, 449, 450, 451, 452, 453, 454, 455, - 932, 142, 146, 147, 148, 171, 149, 150, 151, 144, - 152, 153, 155, 182, 184, 187, 207, 210, 211, 214, - 216, 227, 228, 229, 230, 231, 232, 233, 234, 235, - 236, 241, 242, 256, 257, 258, 340, 341, 342, 494, - 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, - 199, 200, 201, 202, 203, 157, 204, 158, 174, 175, - 176, 208, 177, 159, 160, 161, 178, 174, 162, 209, - 143, 205, 163, 206, 179, 180, 164, 181, 563, 462, - 572, 765, 346, 540, 298, 512, 537, 339, 280, 281, - 283, 491, 284, 345, 285, 348, 524, 496, 1010, 698, - 787, 1011, 456, 456, 456, 456, 467, 467, 467, 699, - 499, 467, 331, 272, 333, 1121, 1121, 544, 248, 334, - 734, 514, 514, 482, 294, 467, 1055, 1055, 1055, 1055, - 1055, 1055, 1055, 1055, 1055, 1055, 1073, 1073, 725, 686, - 1121, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, - 1073, 521, 1071, 1071, 807, 533, 534, 1071, 1071, 1071, - 1071, 1071, 1071, 1071, 1071, 1071, 1071, 921, 488, 509, - 467, 467, 296, 760, 840, 761, 481, 504, 467, 467, - 467, 720, 725, 1110, 725, 714, 852, 857, 858, 447, - 447, 1097, 1098, 468, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 447, 480, 492, 495, 899, 575, 596, - 523, 525, 557, 897, 538, 556, 559, 835, 566, 574, - 831, 318, 322, 474, 497, 500, 867, 1120, 1120, 716, - 716, 697, 3, 4, 701, 726, 726, 726, 728, 715, - 316, 1021, 824, 805, 805, 803, 805, 595, 391, 459, - 833, 828, 1120, 706, 539, 756, 751, 752, 766, 980, - 707, 753, 704, 754, 755, 705, 862, 759, 729, 717, - 871, 906, 1123, 875, 907, 320, 460, 493, 810, 508, - 299, 300, 473, 799, 329, 571, 1096, 483, 484, 800, - 838, 838, 503, 517, 519, 520, 568, 354, 303, 530, - 843, 1022, 721, 326, 914, 733, 295, 1017, 718, 407, - 1025, 1025, 872, 1136, 600, 854, 854, 854, 11, 1102, - 1102, 1023, 1081, 854, 854, 854, 543, 464, 458, 458, - 1093, 1093, 1013, 1025, 1025, 1025, 1025, 1018, 876, 730, - 397, 1104, 1104, 812, 511, 1025, 1025, 916, 413, 0, - 1083, 801, 801, 801, 801, 0, 0, 0, 0, 0, - 0, 0, 773, 795, 802, 774, 0, 0, 0, 1089, - 555, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 178, 150, 150, 150, 150, 178, 175, 175, 160, 162, + 196, 179, 175, 175, 175, 175, 175, 176, 176, 176, + 176, 176, 176, 171, 172, 173, 174, 193, 191, 194, + 455, 456, 344, 457, 459, 460, 461, 462, 463, 464, + 465, 466, 956, 147, 151, 152, 153, 177, 154, 155, + 156, 149, 157, 158, 159, 161, 190, 192, 195, 215, + 218, 219, 222, 224, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244, 249, 250, 264, 265, 266, 348, + 349, 350, 505, 197, 198, 199, 200, 201, 202, 203, + 204, 205, 206, 207, 208, 209, 210, 211, 163, 212, + 164, 180, 181, 182, 216, 183, 165, 166, 167, 184, + 180, 168, 217, 148, 185, 213, 169, 186, 214, 187, + 188, 170, 189, 578, 473, 587, 781, 354, 554, 776, + 306, 777, 347, 288, 289, 291, 502, 292, 353, 293, + 356, 536, 507, 339, 1034, 341, 803, 1035, 559, 280, + 342, 478, 478, 478, 256, 302, 478, 524, 551, 467, + 467, 467, 467, 875, 880, 881, 526, 526, 493, 510, + 478, 1079, 1079, 1079, 1079, 1079, 1079, 1079, 1079, 1079, + 1079, 1097, 1097, 815, 337, 586, 1097, 1097, 1097, 1097, + 1097, 1097, 1097, 1097, 1097, 1097, 1095, 1095, 504, 714, + 520, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, + 1095, 506, 922, 590, 715, 478, 478, 572, 920, 1045, + 750, 492, 516, 478, 478, 478, 741, 326, 330, 485, + 508, 511, 533, 702, 458, 458, 547, 548, 479, 458, + 458, 458, 458, 458, 458, 458, 458, 458, 458, 491, + 503, 1121, 1122, 823, 611, 535, 537, 399, 399, 552, + 571, 574, 858, 581, 589, 854, 929, 399, 499, 930, + 741, 304, 741, 713, 515, 529, 531, 532, 583, 1046, + 3, 4, 717, 1134, 847, 821, 821, 819, 821, 610, + 890, 470, 856, 851, 844, 324, 469, 469, 497, 1047, + 1105, 722, 1004, 772, 767, 768, 782, 553, 723, 769, + 720, 770, 771, 721, 885, 775, 1120, 732, 732, 817, + 817, 817, 817, 742, 742, 742, 744, 731, 362, 311, + 866, 811, 818, 307, 308, 544, 1145, 1145, 737, 334, + 303, 745, 733, 894, 734, 895, 898, 328, 471, 615, + 558, 826, 1042, 1160, 484, 861, 861, 1037, 899, 494, + 495, 1145, 816, 1049, 1049, 746, 828, 475, 877, 877, + 877, 939, 1126, 1126, 523, 405, 877, 877, 877, 937, + 749, 417, 1041, 1117, 1117, 423, 1049, 1049, 1049, 1049, + 1107, 0, 11, 0, 1128, 1128, 0, 0, 1049, 1049, + 0, 1144, 1144, 0, 0, 944, 0, 521, 0, 0, + 570, 0, 863, 0, 0, 789, 0, 0, 790, 736, + 557, 842, 1113, 0, 0, 730, 1144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 479, 0, 0, 0, 0, 0, 874, 0, 1091, 1091, - 874, 0, 464, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 475, 490, 0, 0, 1147, 0, 0, 897, + 0, 1115, 1115, 897, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 461, 477, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 461, 0, 477, 0, 0, 319, 0, - 0, 465, 384, 0, 386, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1020, 0, 0, 0, 0, 724, - 0, 0, 1128 + 0, 0, 0, 0, 0, 472, 488, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 472, 0, 488, 0, + 0, 327, 0, 0, 476, 392, 1044, 394, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 740, 0, 0, 1152 ); protected $gotoCheck = array( @@ -656,84 +672,85 @@ class Php7 extends \PhpParser\ParserAbstract 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 33, 33, 33, 33, 63, 10, - 8, 13, 56, 56, 81, 46, 46, 56, 56, 56, - 56, 56, 56, 56, 56, 56, 56, 100, 68, 17, - 68, 68, 86, 86, 86, 86, 10, 10, 10, 18, - 86, 10, 70, 138, 70, 152, 152, 70, 138, 70, - 36, 87, 87, 10, 70, 10, 87, 87, 87, 87, - 87, 87, 87, 87, 87, 87, 139, 139, 26, 5, - 152, 139, 139, 139, 139, 139, 139, 139, 139, 139, - 139, 74, 140, 140, 40, 74, 74, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 15, 141, 15, - 10, 10, 148, 55, 15, 55, 10, 10, 10, 10, - 10, 15, 26, 150, 26, 15, 93, 93, 93, 142, - 142, 147, 147, 10, 142, 142, 142, 142, 142, 142, - 142, 142, 142, 142, 39, 10, 7, 7, 7, 39, - 39, 39, 7, 7, 39, 39, 39, 39, 39, 39, - 39, 49, 49, 49, 49, 49, 97, 151, 151, 26, - 26, 16, 37, 37, 13, 26, 26, 26, 26, 26, - 52, 95, 16, 16, 16, 16, 16, 16, 119, 16, - 16, 16, 151, 13, 54, 13, 13, 13, 13, 122, - 13, 13, 13, 13, 13, 13, 92, 13, 14, 14, - 14, 114, 151, 14, 114, 66, 66, 2, 14, 2, - 81, 81, 66, 77, 77, 77, 145, 66, 66, 14, - 86, 86, 69, 69, 69, 69, 69, 91, 20, 24, - 89, 95, 30, 19, 14, 14, 11, 14, 28, 66, - 63, 63, 99, 12, 83, 63, 63, 63, 66, 8, - 8, 95, 95, 63, 63, 63, 23, 12, 76, 76, - 100, 100, 128, 63, 63, 63, 63, 131, 102, 32, - 72, 100, 100, 80, 73, 63, 63, 117, 126, -1, - 12, 76, 76, 76, 76, -1, -1, -1, -1, -1, - -1, -1, 63, 76, 76, 63, -1, -1, -1, 100, - 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, + 33, 33, 33, 63, 10, 8, 13, 56, 56, 55, + 81, 55, 56, 56, 56, 56, 56, 56, 56, 56, + 56, 56, 105, 70, 68, 70, 68, 68, 70, 142, + 70, 10, 10, 10, 142, 70, 10, 46, 46, 91, + 91, 91, 91, 98, 98, 98, 92, 92, 10, 91, + 10, 92, 92, 92, 92, 92, 92, 92, 92, 92, + 92, 143, 143, 77, 77, 77, 143, 143, 143, 143, + 143, 143, 143, 143, 143, 143, 144, 144, 2, 17, + 2, 144, 144, 144, 144, 144, 144, 144, 144, 144, + 144, 7, 7, 7, 18, 10, 10, 7, 7, 100, + 36, 10, 10, 10, 10, 10, 26, 49, 49, 49, + 49, 49, 74, 5, 146, 146, 74, 74, 10, 146, + 146, 146, 146, 146, 146, 146, 146, 146, 146, 39, + 10, 151, 151, 40, 39, 39, 39, 124, 124, 39, + 39, 39, 39, 39, 39, 39, 119, 124, 145, 119, + 26, 152, 26, 16, 69, 69, 69, 69, 69, 100, + 37, 37, 13, 154, 16, 16, 16, 16, 16, 16, + 102, 16, 16, 16, 87, 52, 76, 76, 88, 100, + 100, 13, 126, 13, 13, 13, 13, 54, 13, 13, + 13, 13, 13, 13, 97, 13, 149, 26, 26, 76, + 76, 76, 76, 26, 26, 26, 26, 26, 96, 20, + 94, 76, 76, 81, 81, 24, 156, 156, 30, 19, + 11, 14, 14, 14, 28, 104, 14, 66, 66, 83, + 23, 14, 135, 12, 66, 91, 91, 132, 107, 66, + 66, 156, 14, 63, 63, 32, 80, 12, 63, 63, + 63, 122, 8, 8, 73, 72, 63, 63, 63, 14, + 14, 66, 14, 105, 105, 130, 63, 63, 63, 63, + 12, -1, 66, -1, 105, 105, -1, -1, 63, 63, + -1, 155, 155, -1, -1, 15, -1, 15, -1, -1, + 12, -1, 15, -1, -1, 63, -1, -1, 63, 15, + 15, 15, 105, -1, -1, 15, 155, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 8, -1, -1, -1, -1, -1, 100, -1, 100, 100, - 100, -1, 12, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 12, 8, -1, -1, 155, -1, -1, 105, + -1, 105, 105, 105, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 8, 8, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 8, -1, 8, -1, -1, 8, -1, - -1, 8, 8, -1, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 12, -1, -1, -1, -1, 8, - -1, -1, 8 + -1, -1, -1, -1, -1, 8, 8, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 8, -1, 8, -1, + -1, 8, -1, -1, 8, 8, 12, 8, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 8, -1, -1, 8 ); protected $gotoBase = array( - 0, 0, -261, 0, 0, 169, 0, 241, 110, 0, - -140, 55, 78, -21, -70, -184, 269, 137, 147, 40, - 79, 0, 0, 15, 52, 0, -81, 0, 43, 0, - 54, 0, 16, -23, 0, 0, 151, -328, 0, -333, - 175, 0, 0, 0, 0, 0, 91, 0, 0, 222, - 0, 0, 244, 0, 81, 198, -90, 0, 0, 0, - 0, 0, 0, 112, 0, 0, -54, 0, -193, 65, - -254, 0, -7, -13, -390, 0, 130, 61, 0, 0, - 18, -277, 0, 24, 0, 0, 118, -51, 0, 64, - 0, 92, 63, -25, 0, -34, 0, 238, 0, 44, - 132, 0, 14, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 74, 0, 0, 21, 0, 251, - 0, 0, 60, 0, 0, 0, -22, 0, 10, 0, - 0, 22, 0, 0, 0, 0, 0, 0, -107, -36, - -20, 183, 17, 0, 0, 76, 0, -75, 186, 0, - 196, 20, -92, 0, 0 + 0, 0, -395, 0, 0, 223, 0, 206, 115, 0, + -143, 41, 70, -21, -45, 6, 271, 197, 212, 28, + 62, 0, 0, -9, 40, 0, -41, 0, 31, 0, + 42, 0, -6, -23, 0, 0, 211, -335, 0, -343, + 234, 0, 0, 0, 0, 0, 121, 0, 0, 186, + 0, 0, 257, 0, 86, 114, -93, 0, 0, 0, + 0, 0, 0, 117, 0, 0, -30, 0, -195, -1, + -273, 0, -20, -31, -364, 0, 50, -87, 0, 0, + -7, -279, 0, 11, 0, 0, 0, 264, 259, 0, + 0, 135, -54, 0, 46, 0, 75, 63, -96, 0, + -104, 0, 262, 0, 29, 137, 0, -14, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, + 0, 0, -3, 0, 228, 0, 55, 0, 0, 0, + -35, 0, -13, 0, 0, -11, 0, 0, 0, 0, + 0, 0, -119, -39, -24, 243, 14, 0, 0, 58, + 0, -63, 245, 0, 256, 146, 81, 0, 0 ); protected $gotoDefault = array( - -32768, 419, 603, 2, 604, 676, 684, 547, 436, 573, - 437, 463, 337, 758, 920, 778, 740, 741, 742, 323, - 359, 314, 321, 531, 518, 409, 727, 379, 719, 405, - 722, 378, 731, 141, 548, 415, 735, 1, 737, 469, - 769, 310, 745, 311, 551, 747, 476, 749, 750, 317, - 324, 325, 925, 485, 513, 762, 215, 478, 763, 309, - 764, 772, 312, 315, 560, 390, 416, 332, 901, 502, - 527, 374, 394, 510, 505, 487, 1033, 797, 399, 388, - 811, 297, 819, 601, 827, 830, 438, 439, 398, 842, - 244, 403, 860, 515, 516, 1041, 393, 866, 380, 873, - 1077, 383, 877, 237, 880, 245, 545, 349, 885, 886, - 6, 891, 564, 565, 7, 240, 414, 915, 546, 377, - 486, 931, 362, 999, 1001, 471, 406, 1014, 387, 554, - 417, 1019, 1080, 375, 440, 395, 282, 441, 247, 301, - 279, 457, 254, 302, 442, 396, 1085, 1092, 278, 27, - 1111, 1122, 292, 490, 507 + -32768, 429, 618, 2, 619, 692, 700, 562, 447, 588, + 448, 474, 345, 774, 943, 794, 756, 757, 758, 331, + 367, 322, 329, 545, 530, 419, 743, 387, 735, 413, + 738, 386, 747, 146, 563, 425, 751, 1, 753, 480, + 785, 318, 761, 319, 566, 763, 487, 765, 766, 325, + 332, 333, 948, 496, 525, 778, 223, 489, 779, 317, + 780, 788, 320, 323, 575, 398, 426, 340, 924, 514, + 541, 382, 402, 522, 517, 498, 1057, 813, 407, 396, + 827, 305, 835, 616, 955, 538, 415, 843, 539, 850, + 853, 449, 450, 406, 865, 252, 411, 883, 527, 528, + 1065, 401, 889, 388, 896, 1101, 391, 900, 245, 903, + 253, 560, 357, 908, 909, 6, 914, 579, 580, 7, + 248, 424, 938, 561, 385, 954, 370, 1023, 1025, 482, + 416, 1038, 395, 569, 427, 1043, 1104, 383, 451, 403, + 290, 452, 255, 309, 287, 468, 262, 310, 453, 404, + 1109, 1116, 286, 27, 1135, 1146, 300, 501, 519 ); protected $ruleToNonTerminal = array( @@ -744,32 +761,33 @@ class Php7 extends \PhpParser\ParserAbstract 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, - 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, - 13, 14, 14, 15, 15, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 20, 20, 21, 21, - 21, 21, 23, 25, 25, 19, 27, 27, 24, 29, - 29, 26, 26, 28, 28, 30, 30, 22, 31, 31, - 32, 34, 35, 35, 36, 37, 37, 39, 38, 38, - 38, 38, 40, 40, 40, 40, 40, 40, 40, 40, + 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, + 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, + 13, 13, 14, 14, 15, 15, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 20, 20, 21, + 21, 21, 21, 23, 25, 25, 19, 27, 27, 24, + 29, 29, 26, 26, 28, 28, 30, 30, 22, 31, + 31, 32, 34, 35, 35, 36, 37, 37, 39, 38, + 38, 38, 38, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 16, 16, 59, - 59, 62, 62, 61, 60, 60, 53, 65, 65, 66, - 66, 67, 67, 68, 68, 17, 18, 18, 18, 71, - 71, 71, 72, 72, 75, 75, 73, 73, 77, 78, - 78, 47, 47, 55, 55, 58, 58, 58, 57, 79, - 79, 80, 48, 48, 48, 48, 81, 81, 82, 82, - 83, 83, 45, 45, 41, 41, 84, 43, 43, 85, - 42, 42, 44, 44, 54, 54, 54, 54, 69, 69, - 88, 88, 90, 90, 90, 90, 89, 89, 89, 92, - 92, 92, 93, 93, 93, 94, 94, 91, 91, 70, - 70, 70, 95, 95, 96, 96, 97, 97, 97, 50, - 98, 98, 99, 51, 101, 101, 102, 102, 103, 103, - 74, 104, 104, 104, 104, 104, 109, 109, 110, 110, - 111, 111, 111, 111, 111, 112, 113, 113, 108, 108, - 105, 105, 107, 107, 115, 115, 114, 114, 114, 114, - 114, 114, 106, 116, 116, 118, 117, 117, 52, 120, - 119, 119, 46, 46, 33, 33, 33, 33, 33, 33, + 40, 40, 40, 40, 40, 40, 40, 40, 16, 16, + 59, 59, 62, 62, 61, 60, 60, 53, 65, 65, + 66, 66, 67, 67, 68, 68, 17, 18, 18, 18, + 71, 71, 71, 72, 72, 75, 75, 73, 73, 77, + 78, 78, 47, 47, 55, 55, 58, 58, 58, 57, + 79, 79, 80, 48, 48, 48, 48, 81, 81, 82, + 82, 83, 83, 84, 85, 85, 86, 86, 87, 87, + 45, 45, 41, 41, 89, 43, 43, 90, 42, 42, + 44, 44, 54, 54, 54, 54, 69, 69, 93, 93, + 95, 95, 95, 95, 94, 94, 94, 97, 97, 97, + 98, 98, 98, 99, 99, 96, 96, 70, 70, 70, + 100, 100, 101, 101, 102, 102, 102, 50, 103, 103, + 104, 51, 106, 106, 107, 107, 108, 108, 74, 109, + 109, 109, 109, 109, 114, 114, 115, 115, 116, 116, + 116, 116, 116, 117, 118, 118, 113, 113, 110, 110, + 112, 112, 120, 120, 119, 119, 119, 119, 119, 119, + 111, 121, 121, 123, 122, 122, 52, 88, 124, 124, + 46, 46, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, @@ -777,20 +795,20 @@ class Php7 extends \PhpParser\ParserAbstract 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 127, 121, 121, 126, 126, 129, 130, 130, 131, 132, - 132, 132, 76, 76, 63, 63, 63, 122, 122, 122, - 122, 134, 134, 123, 123, 125, 125, 125, 128, 128, - 139, 139, 139, 139, 139, 139, 139, 139, 139, 140, - 140, 87, 142, 142, 142, 142, 124, 124, 124, 124, - 124, 124, 124, 124, 49, 49, 137, 137, 137, 137, - 143, 143, 133, 133, 133, 144, 144, 144, 144, 144, - 64, 64, 56, 56, 56, 100, 100, 100, 100, 147, - 146, 136, 136, 136, 136, 136, 136, 135, 135, 135, - 145, 145, 145, 145, 86, 141, 149, 149, 148, 148, - 150, 150, 150, 150, 150, 150, 150, 150, 138, 138, - 138, 138, 152, 153, 151, 151, 151, 151, 151, 151, - 151, 154, 154, 154, 154 + 33, 33, 33, 33, 33, 33, 33, 33, 33, 131, + 125, 125, 130, 130, 133, 134, 134, 135, 136, 136, + 136, 76, 76, 63, 63, 63, 126, 126, 126, 126, + 138, 138, 127, 127, 129, 129, 129, 132, 132, 143, + 143, 143, 143, 143, 143, 143, 143, 143, 144, 144, + 92, 146, 146, 146, 146, 128, 128, 128, 128, 128, + 128, 128, 128, 49, 49, 141, 141, 141, 141, 147, + 147, 137, 137, 137, 148, 148, 148, 148, 148, 64, + 64, 56, 56, 56, 105, 105, 105, 105, 151, 150, + 140, 140, 140, 140, 140, 140, 139, 139, 139, 149, + 149, 149, 149, 91, 145, 153, 153, 152, 152, 154, + 154, 154, 154, 154, 154, 154, 154, 142, 142, 142, + 142, 156, 157, 155, 155, 155, 155, 155, 155, 155, + 158, 158, 158, 158 ); protected $ruleToLength = array( @@ -802,52 +820,53 @@ class Php7 extends \PhpParser\ParserAbstract 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, 3, 1, 1, 1, - 1, 0, 1, 0, 1, 1, 1, 1, 1, 3, - 5, 4, 3, 4, 2, 3, 1, 1, 7, 8, - 6, 7, 2, 3, 1, 2, 3, 1, 2, 3, - 1, 1, 3, 1, 2, 1, 2, 2, 3, 1, - 3, 2, 3, 1, 3, 2, 0, 1, 1, 1, - 1, 1, 3, 7, 10, 5, 7, 9, 5, 3, - 3, 3, 3, 3, 3, 1, 2, 5, 7, 9, - 6, 5, 6, 3, 3, 2, 1, 1, 1, 0, - 2, 1, 3, 8, 0, 4, 2, 1, 3, 0, - 1, 0, 1, 3, 1, 8, 7, 6, 5, 1, - 2, 2, 0, 2, 0, 2, 0, 2, 2, 1, - 3, 1, 4, 1, 4, 1, 1, 4, 2, 1, - 3, 3, 3, 4, 4, 5, 0, 2, 4, 3, - 1, 1, 1, 4, 0, 2, 5, 0, 2, 6, - 0, 2, 0, 3, 1, 2, 1, 1, 2, 0, - 1, 3, 0, 1, 1, 1, 5, 7, 5, 1, - 2, 1, 1, 1, 1, 3, 3, 0, 1, 0, - 2, 2, 2, 4, 1, 3, 1, 2, 2, 2, - 3, 1, 1, 2, 3, 1, 1, 3, 2, 0, - 1, 4, 4, 9, 3, 1, 1, 3, 0, 2, - 4, 5, 4, 4, 4, 3, 1, 1, 1, 1, - 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, - 1, 1, 2, 1, 3, 1, 1, 3, 2, 2, - 3, 1, 0, 1, 1, 3, 3, 3, 4, 1, - 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, + 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, + 3, 5, 4, 3, 4, 2, 3, 1, 1, 7, + 8, 6, 7, 2, 3, 1, 2, 3, 1, 2, + 3, 1, 1, 3, 1, 2, 1, 2, 2, 3, + 1, 3, 2, 3, 1, 3, 2, 0, 1, 1, + 1, 1, 1, 3, 7, 10, 5, 7, 9, 5, + 3, 3, 3, 3, 3, 3, 1, 2, 5, 7, + 9, 6, 5, 6, 3, 3, 2, 1, 1, 1, + 0, 2, 1, 3, 8, 0, 4, 2, 1, 3, + 0, 1, 0, 1, 3, 1, 8, 7, 6, 5, + 1, 2, 2, 0, 2, 0, 2, 0, 2, 2, + 1, 3, 1, 4, 1, 4, 1, 1, 4, 2, + 1, 3, 3, 3, 4, 4, 5, 0, 2, 4, + 3, 1, 1, 7, 0, 2, 1, 3, 3, 4, + 1, 4, 0, 2, 5, 0, 2, 6, 0, 2, + 0, 3, 1, 2, 1, 1, 2, 0, 1, 3, + 0, 1, 1, 1, 5, 7, 5, 1, 2, 1, + 1, 1, 1, 3, 3, 0, 1, 0, 2, 2, + 2, 4, 1, 3, 1, 2, 2, 2, 3, 1, + 1, 2, 3, 1, 1, 3, 2, 0, 1, 4, + 4, 9, 3, 1, 1, 3, 0, 2, 4, 5, + 4, 4, 4, 3, 1, 1, 1, 1, 1, 1, + 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, + 2, 1, 3, 1, 1, 3, 2, 2, 3, 1, + 0, 1, 1, 3, 3, 3, 4, 1, 1, 2, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 5, 4, 3, 4, 4, 2, 2, 4, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, - 3, 2, 1, 2, 4, 2, 8, 9, 8, 9, - 7, 3, 2, 0, 4, 2, 1, 3, 2, 2, - 2, 4, 1, 1, 1, 2, 3, 1, 1, 3, - 1, 1, 1, 0, 3, 0, 1, 1, 0, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, - 3, 3, 4, 1, 1, 3, 1, 1, 1, 1, - 1, 3, 2, 3, 0, 1, 1, 3, 1, 1, - 1, 1, 1, 3, 1, 1, 4, 4, 1, 4, - 0, 1, 1, 1, 3, 1, 4, 2, 2, 1, - 3, 1, 4, 4, 3, 3, 3, 1, 3, 1, - 1, 3, 1, 1, 4, 1, 1, 1, 3, 1, - 1, 2, 1, 3, 4, 3, 2, 0, 2, 2, - 1, 2, 1, 1, 1, 4, 3, 3, 3, 6, - 3, 1, 1, 2, 1 + 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, + 4, 3, 4, 4, 2, 2, 4, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, + 2, 1, 2, 4, 2, 8, 9, 8, 9, 7, + 3, 2, 0, 4, 2, 1, 3, 2, 2, 2, + 4, 1, 1, 1, 2, 3, 1, 1, 3, 1, + 1, 1, 0, 3, 0, 1, 1, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, + 3, 4, 1, 1, 3, 1, 1, 1, 1, 1, + 3, 2, 3, 0, 1, 1, 3, 1, 1, 1, + 1, 1, 3, 1, 1, 4, 4, 1, 4, 0, + 1, 1, 1, 3, 1, 4, 2, 2, 1, 3, + 1, 4, 4, 3, 3, 3, 1, 3, 1, 1, + 3, 1, 1, 4, 1, 1, 1, 3, 1, 1, + 2, 1, 3, 4, 3, 2, 0, 2, 2, 1, + 2, 1, 1, 1, 4, 3, 3, 3, 6, 3, + 1, 1, 2, 1 ); protected function initReduceCallbacks() { @@ -1097,7 +1116,7 @@ class Php7 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos]; }, 81 => function ($stackPos) { - $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos]; }, 82 => function ($stackPos) { $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); @@ -1109,19 +1128,19 @@ class Php7 extends \PhpParser\ParserAbstract $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 85 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semValue = new Node\Identifier($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 86 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 87 => function ($stackPos) { - $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 88 => function ($stackPos) { - $this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 89 => function ($stackPos) { - /* nothing */ + $this->semValue = new Expr\Variable(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 90 => function ($stackPos) { /* nothing */ @@ -1130,16 +1149,16 @@ class Php7 extends \PhpParser\ParserAbstract /* nothing */ }, 92 => function ($stackPos) { - $this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); + /* nothing */ }, 93 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos]; + $this->emitError(new Error('A trailing comma is not allowed here', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); }, 94 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos]; }, 95 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->semStack[$stackPos]; }, 96 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -1148,134 +1167,134 @@ class Php7 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 98 => function ($stackPos) { - $this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 99 => function ($stackPos) { + $this->semValue = new Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 100 => function ($stackPos) { $this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(3-2)], null, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_SEMICOLON); $this->checkNamespace($this->semValue); }, - 100 => function ($stackPos) { + 101 => function ($stackPos) { $this->semValue = new Stmt\Namespace_($this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); $this->checkNamespace($this->semValue); }, - 101 => function ($stackPos) { + 102 => function ($stackPos) { $this->semValue = new Stmt\Namespace_(null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->semValue->setAttribute('kind', Stmt\Namespace_::KIND_BRACED); $this->checkNamespace($this->semValue); }, - 102 => function ($stackPos) { + 103 => function ($stackPos) { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 103 => function ($stackPos) { + 104 => function ($stackPos) { $this->semValue = new Stmt\Use_($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, - 104 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, 105 => function ($stackPos) { - $this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 106 => function ($stackPos) { - $this->semValue = Stmt\Use_::TYPE_FUNCTION; + $this->semValue = new Stmt\Const_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 107 => function ($stackPos) { - $this->semValue = Stmt\Use_::TYPE_CONSTANT; + $this->semValue = Stmt\Use_::TYPE_FUNCTION; }, 108 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); + $this->semValue = Stmt\Use_::TYPE_CONSTANT; }, 109 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(8-4)], $this->startAttributeStack[$stackPos-(8-4)] + $this->endAttributeStack[$stackPos-(8-4)]), $this->semStack[$stackPos-(8-7)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], $this->semStack[$stackPos-(7-2)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, 110 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(6-2)], $this->startAttributeStack[$stackPos-(6-2)] + $this->endAttributeStack[$stackPos-(6-2)]), $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(8-4)], $this->startAttributeStack[$stackPos-(8-4)] + $this->endAttributeStack[$stackPos-(8-4)]), $this->semStack[$stackPos-(8-7)], $this->semStack[$stackPos-(8-2)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, 111 => function ($stackPos) { - $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); + $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(6-2)], $this->startAttributeStack[$stackPos-(6-2)] + $this->endAttributeStack[$stackPos-(6-2)]), $this->semStack[$stackPos-(6-5)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, 112 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = new Stmt\GroupUse(new Name($this->semStack[$stackPos-(7-3)], $this->startAttributeStack[$stackPos-(7-3)] + $this->endAttributeStack[$stackPos-(7-3)]), $this->semStack[$stackPos-(7-6)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, 113 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 114 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 115 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 116 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 117 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 118 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 119 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 120 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 121 => function ($stackPos) { - $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(1-1)); + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 122 => function ($stackPos) { - $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(3-3)); + $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(1-1)], null, Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(1-1)); }, 123 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Stmt\UseUse($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], Stmt\Use_::TYPE_UNKNOWN, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->checkUseUse($this->semValue, $stackPos-(3-3)); }, 124 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 125 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL; + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, 126 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; $this->semValue->type = Stmt\Use_::TYPE_NORMAL; }, 127 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(2-2)]; $this->semValue->type = $this->semStack[$stackPos-(2-1)]; }, 128 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 129 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 130 => function ($stackPos) { - $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 131 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 132 => function ($stackPos) { + 129 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, - 133 => function ($stackPos) { + 130 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 134 => function ($stackPos) { + 131 => function ($stackPos) { $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, + 132 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 133 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 134 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, 135 => function ($stackPos) { - if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }; + $this->semValue = new Node\Const_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 136 => function ($stackPos) { - $this->semValue = array(); + if (is_array($this->semStack[$stackPos-(2-2)])) { $this->semValue = array_merge($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); } else { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }; }, 137 => function ($stackPos) { - $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; - if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array(); }, 138 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; + if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 139 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -1284,9 +1303,12 @@ class Php7 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 141 => function ($stackPos) { - throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 142 => function ($stackPos) { + throw new Error('__HALT_COMPILER() can only be used from the outermost scope', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 143 => function ($stackPos) { if ($this->semStack[$stackPos-(3-2)]) { $this->semValue = $this->semStack[$stackPos-(3-2)]; $attrs = $this->startAttributeStack[$stackPos-(3-1)]; $stmts = $this->semValue; if (!empty($attrs['comments'])) {$stmts[0]->setAttribute('comments', array_merge($attrs['comments'], $stmts[0]->getAttribute('comments', []))); }; @@ -1296,997 +1318,994 @@ class Php7 extends \PhpParser\ParserAbstract } }, - 143 => function ($stackPos) { + 144 => function ($stackPos) { $this->semValue = new Stmt\If_($this->semStack[$stackPos-(7-3)], ['stmts' => is_array($this->semStack[$stackPos-(7-5)]) ? $this->semStack[$stackPos-(7-5)] : array($this->semStack[$stackPos-(7-5)]), 'elseifs' => $this->semStack[$stackPos-(7-6)], 'else' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, - 144 => function ($stackPos) { + 145 => function ($stackPos) { $this->semValue = new Stmt\If_($this->semStack[$stackPos-(10-3)], ['stmts' => $this->semStack[$stackPos-(10-6)], 'elseifs' => $this->semStack[$stackPos-(10-7)], 'else' => $this->semStack[$stackPos-(10-8)]], $this->startAttributeStack[$stackPos-(10-1)] + $this->endAttributes); }, - 145 => function ($stackPos) { + 146 => function ($stackPos) { $this->semValue = new Stmt\While_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 146 => function ($stackPos) { + 147 => function ($stackPos) { $this->semValue = new Stmt\Do_($this->semStack[$stackPos-(7-5)], is_array($this->semStack[$stackPos-(7-2)]) ? $this->semStack[$stackPos-(7-2)] : array($this->semStack[$stackPos-(7-2)]), $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, - 147 => function ($stackPos) { + 148 => function ($stackPos) { $this->semValue = new Stmt\For_(['init' => $this->semStack[$stackPos-(9-3)], 'cond' => $this->semStack[$stackPos-(9-5)], 'loop' => $this->semStack[$stackPos-(9-7)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); }, - 148 => function ($stackPos) { + 149 => function ($stackPos) { $this->semValue = new Stmt\Switch_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 149 => function ($stackPos) { + 150 => function ($stackPos) { $this->semValue = new Stmt\Break_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 150 => function ($stackPos) { + 151 => function ($stackPos) { $this->semValue = new Stmt\Continue_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 151 => function ($stackPos) { + 152 => function ($stackPos) { $this->semValue = new Stmt\Return_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 152 => function ($stackPos) { + 153 => function ($stackPos) { $this->semValue = new Stmt\Global_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 153 => function ($stackPos) { + 154 => function ($stackPos) { $this->semValue = new Stmt\Static_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 154 => function ($stackPos) { + 155 => function ($stackPos) { $this->semValue = new Stmt\Echo_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 155 => function ($stackPos) { + 156 => function ($stackPos) { $this->semValue = new Stmt\InlineHTML($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 156 => function ($stackPos) { + 157 => function ($stackPos) { $this->semValue = new Stmt\Expression($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 157 => function ($stackPos) { + 158 => function ($stackPos) { $this->semValue = new Stmt\Unset_($this->semStack[$stackPos-(5-3)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 158 => function ($stackPos) { + 159 => function ($stackPos) { $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-5)][0], ['keyVar' => null, 'byRef' => $this->semStack[$stackPos-(7-5)][1], 'stmts' => $this->semStack[$stackPos-(7-7)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, - 159 => function ($stackPos) { + 160 => function ($stackPos) { $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(9-3)], $this->semStack[$stackPos-(9-7)][0], ['keyVar' => $this->semStack[$stackPos-(9-5)], 'byRef' => $this->semStack[$stackPos-(9-7)][1], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); }, - 160 => function ($stackPos) { + 161 => function ($stackPos) { $this->semValue = new Stmt\Foreach_($this->semStack[$stackPos-(6-3)], new Expr\Error($this->startAttributeStack[$stackPos-(6-4)] + $this->endAttributeStack[$stackPos-(6-4)]), ['stmts' => $this->semStack[$stackPos-(6-6)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); }, - 161 => function ($stackPos) { + 162 => function ($stackPos) { $this->semValue = new Stmt\Declare_($this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 162 => function ($stackPos) { + 163 => function ($stackPos) { $this->semValue = new Stmt\TryCatch($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-5)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkTryCatch($this->semValue); }, - 163 => function ($stackPos) { + 164 => function ($stackPos) { $this->semValue = new Stmt\Throw_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 164 => function ($stackPos) { + 165 => function ($stackPos) { $this->semValue = new Stmt\Goto_($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 165 => function ($stackPos) { + 166 => function ($stackPos) { $this->semValue = new Stmt\Label($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 166 => function ($stackPos) { + 167 => function ($stackPos) { $this->semValue = array(); /* means: no statement */ }, - 167 => function ($stackPos) { + 168 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 168 => function ($stackPos) { + 169 => function ($stackPos) { $startAttributes = $this->startAttributeStack[$stackPos-(1-1)]; if (isset($startAttributes['comments'])) { $this->semValue = new Stmt\Nop($startAttributes + $this->endAttributes); } else { $this->semValue = null; }; if ($this->semValue === null) $this->semValue = array(); /* means: no statement */ }, - 169 => function ($stackPos) { + 170 => function ($stackPos) { $this->semValue = array(); }, - 170 => function ($stackPos) { + 171 => function ($stackPos) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 171 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, 172 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 173 => function ($stackPos) { - $this->semValue = new Stmt\Catch_($this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-4)], $this->semStack[$stackPos-(8-7)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); - }, - 174 => function ($stackPos) { - $this->semValue = null; - }, - 175 => function ($stackPos) { - $this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 176 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 177 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 178 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, + 174 => function ($stackPos) { + $this->semValue = new Stmt\Catch_($this->semStack[$stackPos-(8-3)], $this->semStack[$stackPos-(8-4)], $this->semStack[$stackPos-(8-7)], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); + }, + 175 => function ($stackPos) { + $this->semValue = null; + }, + 176 => function ($stackPos) { + $this->semValue = new Stmt\Finally_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 177 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 178 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, 179 => function ($stackPos) { - $this->semValue = false; + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 180 => function ($stackPos) { - $this->semValue = true; - }, - 181 => function ($stackPos) { $this->semValue = false; }, - 182 => function ($stackPos) { + 181 => function ($stackPos) { $this->semValue = true; }, + 182 => function ($stackPos) { + $this->semValue = false; + }, 183 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = true; }, 184 => function ($stackPos) { - $this->semValue = []; + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 185 => function ($stackPos) { - $this->semValue = new Stmt\Function_($this->semStack[$stackPos-(8-3)], ['byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-5)], 'returnType' => $this->semStack[$stackPos-(8-7)], 'stmts' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); + $this->semValue = []; }, 186 => function ($stackPos) { + $this->semValue = new Stmt\Function_($this->semStack[$stackPos-(8-3)], ['byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-5)], 'returnType' => $this->semStack[$stackPos-(8-7)], 'stmts' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); + }, + 187 => function ($stackPos) { $this->semValue = new Stmt\Class_($this->semStack[$stackPos-(7-2)], ['type' => $this->semStack[$stackPos-(7-1)], 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); $this->checkClass($this->semValue, $stackPos-(7-2)); }, - 187 => function ($stackPos) { + 188 => function ($stackPos) { $this->semValue = new Stmt\Interface_($this->semStack[$stackPos-(6-2)], ['extends' => $this->semStack[$stackPos-(6-3)], 'stmts' => $this->semStack[$stackPos-(6-5)]], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); $this->checkInterface($this->semValue, $stackPos-(6-2)); }, - 188 => function ($stackPos) { + 189 => function ($stackPos) { $this->semValue = new Stmt\Trait_($this->semStack[$stackPos-(5-2)], ['stmts' => $this->semStack[$stackPos-(5-4)]], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, - 189 => function ($stackPos) { + 190 => function ($stackPos) { $this->semValue = 0; }, - 190 => function ($stackPos) { + 191 => function ($stackPos) { $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; }, - 191 => function ($stackPos) { + 192 => function ($stackPos) { $this->semValue = Stmt\Class_::MODIFIER_FINAL; }, - 192 => function ($stackPos) { - $this->semValue = null; - }, 193 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = null; }, 194 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, 195 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = array(); }, 196 => function ($stackPos) { - $this->semValue = array(); - }, - 197 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-2)]; }, - 198 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 199 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 200 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 201 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 202 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 203 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 204 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 205 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); - }, - 206 => function ($stackPos) { - $this->semValue = null; - }, - 207 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 208 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 209 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 210 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 211 => function ($stackPos) { - $this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 212 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 213 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-3)]; - }, - 214 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; - }, - 215 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(5-3)]; - }, - 216 => function ($stackPos) { + 197 => function ($stackPos) { $this->semValue = array(); }, + 198 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-2)]; + }, + 199 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 200 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 201 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 202 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 203 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 204 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 205 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 206 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 207 => function ($stackPos) { + $this->semValue = null; + }, + 208 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 209 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 210 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 211 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 212 => function ($stackPos) { + $this->semValue = new Stmt\DeclareDeclare($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 213 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 214 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-3)]; + }, + 215 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 216 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(5-3)]; + }, 217 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = array(); }, 218 => function ($stackPos) { - $this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 219 => function ($stackPos) { - $this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Stmt\Case_($this->semStack[$stackPos-(4-2)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 220 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos]; + $this->semValue = new Stmt\Case_(null, $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 221 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos]; }, 222 => function ($stackPos) { - $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + $this->semValue = $this->semStack[$stackPos]; }, 223 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; + $this->semValue = new Expr\Match_($this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-6)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes); }, 224 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = []; }, 225 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 226 => function ($stackPos) { - $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(5-3)], is_array($this->semStack[$stackPos-(5-5)]) ? $this->semStack[$stackPos-(5-5)] : array($this->semStack[$stackPos-(5-5)]), $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); - }, - 227 => function ($stackPos) { - $this->semValue = array(); - }, - 228 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 229 => function ($stackPos) { - $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); - }, - 230 => function ($stackPos) { - $this->semValue = null; - }, - 231 => function ($stackPos) { - $this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : array($this->semStack[$stackPos-(2-2)]), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 232 => function ($stackPos) { - $this->semValue = null; - }, - 233 => function ($stackPos) { - $this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 234 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)], false); - }, - 235 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(2-2)], true); - }, - 236 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)], false); - }, - 237 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)], false); - }, - 238 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 239 => function ($stackPos) { - $this->semValue = array(); - }, - 240 => function ($stackPos) { + 226 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 241 => function ($stackPos) { + 227 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, + 228 => function ($stackPos) { + $this->semValue = new Node\MatchArm($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 229 => function ($stackPos) { + $this->semValue = new Node\MatchArm(null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 230 => function ($stackPos) { + $this->semValue = is_array($this->semStack[$stackPos-(1-1)]) ? $this->semStack[$stackPos-(1-1)] : array($this->semStack[$stackPos-(1-1)]); + }, + 231 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 232 => function ($stackPos) { + $this->semValue = array(); + }, + 233 => function ($stackPos) { + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 234 => function ($stackPos) { + $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(5-3)], is_array($this->semStack[$stackPos-(5-5)]) ? $this->semStack[$stackPos-(5-5)] : array($this->semStack[$stackPos-(5-5)]), $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + }, + 235 => function ($stackPos) { + $this->semValue = array(); + }, + 236 => function ($stackPos) { + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 237 => function ($stackPos) { + $this->semValue = new Stmt\ElseIf_($this->semStack[$stackPos-(6-3)], $this->semStack[$stackPos-(6-6)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + }, + 238 => function ($stackPos) { + $this->semValue = null; + }, + 239 => function ($stackPos) { + $this->semValue = new Stmt\Else_(is_array($this->semStack[$stackPos-(2-2)]) ? $this->semStack[$stackPos-(2-2)] : array($this->semStack[$stackPos-(2-2)]), $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 240 => function ($stackPos) { + $this->semValue = null; + }, + 241 => function ($stackPos) { + $this->semValue = new Stmt\Else_($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, 242 => function ($stackPos) { - $this->semValue = 0; + $this->semValue = array($this->semStack[$stackPos-(1-1)], false); }, 243 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; + $this->semValue = array($this->semStack[$stackPos-(2-2)], true); }, 244 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; + $this->semValue = array($this->semStack[$stackPos-(1-1)], false); }, 245 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; + $this->semValue = array($this->semStack[$stackPos-(1-1)], false); }, 246 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 247 => function ($stackPos) { + $this->semValue = array(); + }, + 248 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 249 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 250 => function ($stackPos) { + $this->semValue = 0; + }, + 251 => function ($stackPos) { + $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; + }, + 252 => function ($stackPos) { + $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; + }, + 253 => function ($stackPos) { + $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; + }, + 254 => function ($stackPos) { $this->semValue = new Node\Param($this->semStack[$stackPos-(5-5)], null, $this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes, $this->semStack[$stackPos-(5-1)]); $this->checkParam($this->semValue); }, - 247 => function ($stackPos) { + 255 => function ($stackPos) { $this->semValue = new Node\Param($this->semStack[$stackPos-(7-5)], $this->semStack[$stackPos-(7-7)], $this->semStack[$stackPos-(7-2)], $this->semStack[$stackPos-(7-3)], $this->semStack[$stackPos-(7-4)], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes, $this->semStack[$stackPos-(7-1)]); $this->checkParam($this->semValue); }, - 248 => function ($stackPos) { + 256 => function ($stackPos) { $this->semValue = new Node\Param(new Expr\Error($this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes), null, $this->semStack[$stackPos-(5-2)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes, $this->semStack[$stackPos-(5-1)]); }, - 249 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 250 => function ($stackPos) { - $this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 251 => function ($stackPos) { - $this->semValue = new Node\UnionType($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 252 => function ($stackPos) { - $this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]); - }, - 253 => function ($stackPos) { - $this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 254 => function ($stackPos) { - $this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 255 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); - }, - 256 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, 257 => function ($stackPos) { - $this->semValue = null; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 258 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Node\NullableType($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 259 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Node\UnionType($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 260 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-2)]; + $this->semValue = $this->handleBuiltinTypes($this->semStack[$stackPos-(1-1)]); }, 261 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Node\Identifier('array', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 262 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = new Node\Identifier('callable', $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 263 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-2)]; + $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); }, 264 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 265 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = null; }, 266 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 267 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = null; }, 268 => function ($stackPos) { - $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(2-2)]; }, 269 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = null; }, 270 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 271 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 272 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 273 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 274 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 275 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 276 => function ($stackPos) { - $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 277 => function ($stackPos) { - $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 278 => function ($stackPos) { - if ($this->semStack[$stackPos-(2-2)] !== null) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; } - }, - 279 => function ($stackPos) { $this->semValue = array(); }, + 271 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-2)]; + }, + 272 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 273 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 274 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(1-1)], false, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 275 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], true, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 276 => function ($stackPos) { + $this->semValue = new Node\Arg($this->semStack[$stackPos-(2-2)], false, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 277 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 278 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 279 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, 280 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 281 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 282 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 283 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 284 => function ($stackPos) { + $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 285 => function ($stackPos) { + $this->semValue = new Stmt\StaticVar($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 286 => function ($stackPos) { + if ($this->semStack[$stackPos-(2-2)] !== null) { $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; } + }, + 287 => function ($stackPos) { + $this->semValue = array(); + }, + 288 => function ($stackPos) { $startAttributes = $this->lookaheadStartAttributes; if (isset($startAttributes['comments'])) { $nop = new Stmt\Nop($this->createCommentNopAttributes($startAttributes['comments'])); } else { $nop = null; }; if ($nop !== null) { $this->semStack[$stackPos-(1-1)][] = $nop; } $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 281 => function ($stackPos) { + 289 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $this->semValue = new Stmt\Property($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $attrs, $this->semStack[$stackPos-(4-2)]); $this->checkProperty($this->semValue, $stackPos-(4-1)); }, - 282 => function ($stackPos) { + 290 => function ($stackPos) { $this->semValue = new Stmt\ClassConst($this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-1)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); $this->checkClassConst($this->semValue, $stackPos-(4-1)); }, - 283 => function ($stackPos) { + 291 => function ($stackPos) { $this->semValue = new Stmt\ClassMethod($this->semStack[$stackPos-(9-4)], ['type' => $this->semStack[$stackPos-(9-1)], 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-6)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); $this->checkClassMethod($this->semValue, $stackPos-(9-1)); }, - 284 => function ($stackPos) { + 292 => function ($stackPos) { $this->semValue = new Stmt\TraitUse($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 285 => function ($stackPos) { + 293 => function ($stackPos) { $this->semValue = null; /* will be skipped */ }, - 286 => function ($stackPos) { - $this->semValue = array(); - }, - 287 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 288 => function ($stackPos) { - $this->semValue = array(); - }, - 289 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 290 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 291 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(5-1)][0], $this->semStack[$stackPos-(5-1)][1], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); - }, - 292 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], null, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 293 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, 294 => function ($stackPos) { - $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = array(); }, 295 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 296 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array(); }, 297 => function ($stackPos) { - $this->semValue = array(null, $this->semStack[$stackPos-(1-1)]); + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 298 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Stmt\TraitUseAdaptation\Precedence($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 299 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(5-1)][0], $this->semStack[$stackPos-(5-1)][1], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-4)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, 300 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], $this->semStack[$stackPos-(4-3)], null, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 301 => function ($stackPos) { - $this->semValue = 0; + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 302 => function ($stackPos) { - $this->semValue = 0; + $this->semValue = new Stmt\TraitUseAdaptation\Alias($this->semStack[$stackPos-(4-1)][0], $this->semStack[$stackPos-(4-1)][1], null, $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 303 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)]); }, 304 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 305 => function ($stackPos) { - $this->checkModifier($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $this->semValue = $this->semStack[$stackPos-(2-1)] | $this->semStack[$stackPos-(2-2)]; + $this->semValue = array(null, $this->semStack[$stackPos-(1-1)]); }, 306 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; + $this->semValue = null; }, 307 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 308 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 309 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_STATIC; + $this->semValue = 0; }, 310 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; + $this->semValue = 0; }, 311 => function ($stackPos) { - $this->semValue = Stmt\Class_::MODIFIER_FINAL; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 312 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 313 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); + $this->checkModifier($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $stackPos-(2-2)); $this->semValue = $this->semStack[$stackPos-(2-1)] | $this->semStack[$stackPos-(2-2)]; }, 314 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = Stmt\Class_::MODIFIER_PUBLIC; }, 315 => function ($stackPos) { - $this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = Stmt\Class_::MODIFIER_PROTECTED; }, 316 => function ($stackPos) { - $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = Stmt\Class_::MODIFIER_PRIVATE; }, 317 => function ($stackPos) { - $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = Stmt\Class_::MODIFIER_STATIC; }, 318 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = Stmt\Class_::MODIFIER_ABSTRACT; }, 319 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(2-1)]; + $this->semValue = Stmt\Class_::MODIFIER_FINAL; }, 320 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 321 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 322 => function ($stackPos) { - $this->semValue = array(); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 323 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Node\VarLikeIdentifier(substr($this->semStack[$stackPos-(1-1)], 1), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 324 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(1-1)], null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 325 => function ($stackPos) { - $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Stmt\PropertyProperty($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 326 => function ($stackPos) { - $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 327 => function ($stackPos) { - $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(2-1)]; }, 328 => function ($stackPos) { - $this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, 329 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, 330 => function ($stackPos) { - $this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = array(); }, 331 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 332 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 333 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 334 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 335 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Assign($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 336 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignRef($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 337 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 338 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 339 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Clone_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 340 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 341 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 342 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 343 => function ($stackPos) { - $this->semValue = new Expr\AssignOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 344 => function ($stackPos) { - $this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 345 => function ($stackPos) { - $this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 346 => function ($stackPos) { - $this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 347 => function ($stackPos) { - $this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 348 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 349 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 350 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 351 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 352 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\AssignOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 353 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PostInc($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 354 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PreInc($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 355 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PostDec($this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 356 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\PreDec($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 357 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\BooleanOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 358 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\BooleanAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 359 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\LogicalOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 360 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\LogicalAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 361 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\LogicalXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 362 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\BitwiseOr($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 363 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\BitwiseAnd($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 364 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\BitwiseXor($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 365 => function ($stackPos) { - $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Concat($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 366 => function ($stackPos) { - $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Plus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 367 => function ($stackPos) { - $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Minus($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 368 => function ($stackPos) { - $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Mul($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 369 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Div($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 370 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Mod($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 371 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\ShiftLeft($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 372 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\ShiftRight($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 373 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Pow($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 374 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\UnaryPlus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 375 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\UnaryMinus($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 376 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BooleanNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 377 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BitwiseNot($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 378 => function ($stackPos) { - $this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Identical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 379 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = new Expr\BinaryOp\NotIdentical($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 380 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Equal($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 381 => function ($stackPos) { - $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\NotEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 382 => function ($stackPos) { - $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Spaceship($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 383 => function ($stackPos) { - $this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Smaller($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 384 => function ($stackPos) { - $this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\SmallerOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 385 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\Greater($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 386 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\BinaryOp\GreaterOrEqual($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 387 => function ($stackPos) { - $this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = new Expr\Instanceof_($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 388 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 389 => function ($stackPos) { - $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(5-1)], $this->semStack[$stackPos-(5-3)], $this->semStack[$stackPos-(5-5)], $this->startAttributeStack[$stackPos-(5-1)] + $this->endAttributes); }, 390 => function ($stackPos) { - $this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = new Expr\Ternary($this->semStack[$stackPos-(4-1)], null, $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 391 => function ($stackPos) { + $this->semValue = new Expr\BinaryOp\Coalesce($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 392 => function ($stackPos) { + $this->semValue = new Expr\Isset_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 393 => function ($stackPos) { + $this->semValue = new Expr\Empty_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 394 => function ($stackPos) { + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 395 => function ($stackPos) { + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_INCLUDE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 396 => function ($stackPos) { + $this->semValue = new Expr\Eval_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 397 => function ($stackPos) { + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 398 => function ($stackPos) { + $this->semValue = new Expr\Include_($this->semStack[$stackPos-(2-2)], Expr\Include_::TYPE_REQUIRE_ONCE, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 399 => function ($stackPos) { + $this->semValue = new Expr\Cast\Int_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 400 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = $this->getFloatCastKind($this->semStack[$stackPos-(2-1)]); $this->semValue = new Expr\Cast\Double($this->semStack[$stackPos-(2-2)], $attrs); }, - 392 => function ($stackPos) { + 401 => function ($stackPos) { $this->semValue = new Expr\Cast\String_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 393 => function ($stackPos) { + 402 => function ($stackPos) { $this->semValue = new Expr\Cast\Array_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 394 => function ($stackPos) { + 403 => function ($stackPos) { $this->semValue = new Expr\Cast\Object_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 395 => function ($stackPos) { + 404 => function ($stackPos) { $this->semValue = new Expr\Cast\Bool_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 396 => function ($stackPos) { + 405 => function ($stackPos) { $this->semValue = new Expr\Cast\Unset_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 397 => function ($stackPos) { + 406 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes; $attrs['kind'] = strtolower($this->semStack[$stackPos-(2-1)]) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE; $this->semValue = new Expr\Exit_($this->semStack[$stackPos-(2-2)], $attrs); }, - 398 => function ($stackPos) { + 407 => function ($stackPos) { $this->semValue = new Expr\ErrorSuppress($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 399 => function ($stackPos) { + 408 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 400 => function ($stackPos) { + 409 => function ($stackPos) { $this->semValue = new Expr\ShellExec($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 401 => function ($stackPos) { + 410 => function ($stackPos) { $this->semValue = new Expr\Print_($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 402 => function ($stackPos) { + 411 => function ($stackPos) { $this->semValue = new Expr\Yield_(null, null, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 403 => function ($stackPos) { + 412 => function ($stackPos) { $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(2-2)], null, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 404 => function ($stackPos) { + 413 => function ($stackPos) { $this->semValue = new Expr\Yield_($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-2)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, - 405 => function ($stackPos) { + 414 => function ($stackPos) { $this->semValue = new Expr\YieldFrom($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 406 => function ($stackPos) { + 415 => function ($stackPos) { $this->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-4)], 'returnType' => $this->semStack[$stackPos-(8-6)], 'expr' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, - 407 => function ($stackPos) { + 416 => function ($stackPos) { $this->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-5)], 'returnType' => $this->semStack[$stackPos-(9-7)], 'expr' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); }, - 408 => function ($stackPos) { + 417 => function ($stackPos) { $this->semValue = new Expr\Closure(['static' => false, 'byRef' => $this->semStack[$stackPos-(8-2)], 'params' => $this->semStack[$stackPos-(8-4)], 'uses' => $this->semStack[$stackPos-(8-6)], 'returnType' => $this->semStack[$stackPos-(8-7)], 'stmts' => $this->semStack[$stackPos-(8-8)]], $this->startAttributeStack[$stackPos-(8-1)] + $this->endAttributes); }, - 409 => function ($stackPos) { + 418 => function ($stackPos) { $this->semValue = new Expr\Closure(['static' => true, 'byRef' => $this->semStack[$stackPos-(9-3)], 'params' => $this->semStack[$stackPos-(9-5)], 'uses' => $this->semStack[$stackPos-(9-7)], 'returnType' => $this->semStack[$stackPos-(9-8)], 'stmts' => $this->semStack[$stackPos-(9-9)]], $this->startAttributeStack[$stackPos-(9-1)] + $this->endAttributes); }, - 410 => function ($stackPos) { + 419 => function ($stackPos) { $this->semValue = array(new Stmt\Class_(null, ['type' => 0, 'extends' => $this->semStack[$stackPos-(7-3)], 'implements' => $this->semStack[$stackPos-(7-4)], 'stmts' => $this->semStack[$stackPos-(7-6)]], $this->startAttributeStack[$stackPos-(7-1)] + $this->endAttributes), $this->semStack[$stackPos-(7-2)]); $this->checkClass($this->semValue[0], -1); }, - 411 => function ($stackPos) { + 420 => function ($stackPos) { $this->semValue = new Expr\New_($this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 412 => function ($stackPos) { + 421 => function ($stackPos) { list($class, $ctorArgs) = $this->semStack[$stackPos-(2-2)]; $this->semValue = new Expr\New_($class, $ctorArgs, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 413 => function ($stackPos) { + 422 => function ($stackPos) { $this->semValue = array(); }, - 414 => function ($stackPos) { + 423 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(4-3)]; }, - 415 => function ($stackPos) { + 424 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(2-1)]; }, - 416 => function ($stackPos) { + 425 => function ($stackPos) { $this->semValue = array($this->semStack[$stackPos-(1-1)]); }, - 417 => function ($stackPos) { + 426 => function ($stackPos) { $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; }, - 418 => function ($stackPos) { + 427 => function ($stackPos) { $this->semValue = new Expr\ClosureUse($this->semStack[$stackPos-(2-2)], $this->semStack[$stackPos-(2-1)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 419 => function ($stackPos) { - $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 420 => function ($stackPos) { - $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 421 => function ($stackPos) { - $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 422 => function ($stackPos) { - $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 423 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 424 => function ($stackPos) { - $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 425 => function ($stackPos) { - $this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 426 => function ($stackPos) { - $this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 427 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, 428 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 429 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = new Expr\FuncCall($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 430 => function ($stackPos) { - $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; + $this->semValue = new Expr\StaticCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 431 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 432 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 433 => function ($stackPos) { - $this->semValue = null; + $this->semValue = new Name($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 434 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = new Name\FullyQualified($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, 435 => function ($stackPos) { - $this->semValue = array(); + $this->semValue = new Name\Relative($this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, 436 => function ($stackPos) { - $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); - }, - 437 => function ($stackPos) { - foreach ($this->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 438 => function ($stackPos) { - $this->semValue = array(); - }, - 439 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, + 437 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 438 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 439 => function ($stackPos) { + $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; + }, 440 => function ($stackPos) { - $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 441 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 442 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = null; }, 443 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 444 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array(); }, 445 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array(new Scalar\EncapsedStringPart(Scalar\String_::parseEscapeSequences($this->semStack[$stackPos-(1-1)], '`'), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes)); }, 446 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + foreach ($this->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 447 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = array(); }, 448 => function ($stackPos) { - $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 449 => function ($stackPos) { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\ConstFetch($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 450 => function ($stackPos) { - $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], new Expr\Error($this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)]), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->errorState = 2; + $this->semValue = new Scalar\MagicConst\Line($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 451 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\File($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 452 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Dir($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 453 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Class_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 454 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Trait_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 455 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Method($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 456 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Function_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 457 => function ($stackPos) { + $this->semValue = new Scalar\MagicConst\Namespace_($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 458 => function ($stackPos) { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 459 => function ($stackPos) { + $this->semValue = new Expr\ClassConstFetch($this->semStack[$stackPos-(3-1)], new Expr\Error($this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)]), $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); $this->errorState = 2; + }, + 460 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_SHORT; $this->semValue = new Expr\Array_($this->semStack[$stackPos-(3-2)], $attrs); }, - 452 => function ($stackPos) { + 461 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes; $attrs['kind'] = Expr\Array_::KIND_LONG; $this->semValue = new Expr\Array_($this->semStack[$stackPos-(4-3)], $attrs); }, - 453 => function ($stackPos) { + 462 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 454 => function ($stackPos) { + 463 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes; $attrs['kind'] = ($this->semStack[$stackPos-(1-1)][0] === "'" || ($this->semStack[$stackPos-(1-1)][1] === "'" && ($this->semStack[$stackPos-(1-1)][0] === 'b' || $this->semStack[$stackPos-(1-1)][0] === 'B')) ? Scalar\String_::KIND_SINGLE_QUOTED : Scalar\String_::KIND_DOUBLE_QUOTED); $this->semValue = new Scalar\String_(Scalar\String_::parse($this->semStack[$stackPos-(1-1)]), $attrs); }, - 455 => function ($stackPos) { + 464 => function ($stackPos) { $attrs = $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes; $attrs['kind'] = Scalar\String_::KIND_DOUBLE_QUOTED; foreach ($this->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', true); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$stackPos-(3-2)], $attrs); }, - 456 => function ($stackPos) { + 465 => function ($stackPos) { $this->semValue = $this->parseLNumber($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 457 => function ($stackPos) { + 466 => function ($stackPos) { $this->semValue = new Scalar\DNumber(Scalar\DNumber::parse($this->semStack[$stackPos-(1-1)]), $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, - 458 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 459 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 460 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 461 => function ($stackPos) { - $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true); - }, - 462 => function ($stackPos) { - $this->semValue = $this->parseDocString($this->semStack[$stackPos-(2-1)], '', $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(2-2)] + $this->endAttributeStack[$stackPos-(2-2)], true); - }, - 463 => function ($stackPos) { - $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true); - }, - 464 => function ($stackPos) { - $this->semValue = null; - }, - 465 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 466 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, 467 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 468 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; @@ -2295,198 +2314,225 @@ class Php7 extends \PhpParser\ParserAbstract $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 470 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true); }, 471 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->parseDocString($this->semStack[$stackPos-(2-1)], '', $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(2-2)] + $this->endAttributeStack[$stackPos-(2-2)], true); }, 472 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->parseDocString($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-2)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes, $this->startAttributeStack[$stackPos-(3-3)] + $this->endAttributeStack[$stackPos-(3-3)], true); }, 473 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; + $this->semValue = null; }, 474 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 475 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 476 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 477 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 478 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 479 => function ($stackPos) { - $this->semValue = new Expr\MethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 480 => function ($stackPos) { - $this->semValue = null; + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 481 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 482 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; + $this->semValue = $this->semStack[$stackPos-(3-2)]; }, 483 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 484 => function ($stackPos) { - $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 485 => function ($stackPos) { - $this->semValue = substr($this->semStack[$stackPos-(1-1)], 1); + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 486 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(4-3)]; + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 487 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 488 => function ($stackPos) { - $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2; + $this->semValue = new Expr\MethodCall($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->semStack[$stackPos-(4-4)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); }, 489 => function ($stackPos) { - $var = $this->semStack[$stackPos-(1-1)]; $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var; - }, - 490 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 491 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 492 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 493 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 494 => function ($stackPos) { - $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 495 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 496 => function ($stackPos) { - $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 497 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 498 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 499 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 500 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; - }, - 501 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(3-2)]; - }, - 502 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 503 => function ($stackPos) { - $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; - }, - 504 => function ($stackPos) { - $this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 505 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) array_pop($this->semValue); - }, - 506 => function ($stackPos) { - $this->semValue = $this->semStack[$stackPos]; - }, - 507 => function ($stackPos) { - /* do nothing -- prevent default action of $$=$this->semStack[$1]. See $551. */ - }, - 508 => function ($stackPos) { - $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; - }, - 509 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 510 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 511 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 512 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 513 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 514 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); - }, - 515 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); - }, - 516 => function ($stackPos) { - $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); - }, - 517 => function ($stackPos) { $this->semValue = null; }, - 518 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 519 => function ($stackPos) { - $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; - }, - 520 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(1-1)]); - }, - 521 => function ($stackPos) { - $this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); - }, - 522 => function ($stackPos) { - $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 523 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); - }, - 524 => function ($stackPos) { + 490 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 525 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + 491 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, - 526 => function ($stackPos) { + 492 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 493 => function ($stackPos) { $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); }, - 527 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + 494 => function ($stackPos) { + $this->semValue = substr($this->semStack[$stackPos-(1-1)], 1); }, - 528 => function ($stackPos) { - $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + 495 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(4-3)]; }, - 529 => function ($stackPos) { - $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + 496 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); }, - 530 => function ($stackPos) { + 497 => function ($stackPos) { + $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); $this->errorState = 2; + }, + 498 => function ($stackPos) { + $var = $this->semStack[$stackPos-(1-1)]; $this->semValue = \is_string($var) ? new Node\VarLikeIdentifier($var, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes) : $var; + }, + 499 => function ($stackPos) { + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 500 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 501 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 502 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 503 => function ($stackPos) { + $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 504 => function ($stackPos) { + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 505 => function ($stackPos) { + $this->semValue = new Expr\StaticPropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 506 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 507 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(3-2)]; }, + 508 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 509 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; + }, + 510 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 511 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 512 => function ($stackPos) { + $this->semValue = new Expr\Error($this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); $this->errorState = 2; + }, + 513 => function ($stackPos) { + $this->semValue = new Expr\List_($this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 514 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(1-1)]; $end = count($this->semValue)-1; if ($this->semValue[$end] === null) array_pop($this->semValue); + }, + 515 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos]; + }, + 516 => function ($stackPos) { + /* do nothing -- prevent default action of $$=$this->semStack[$1]. See $551. */ + }, + 517 => function ($stackPos) { + $this->semStack[$stackPos-(3-1)][] = $this->semStack[$stackPos-(3-3)]; $this->semValue = $this->semStack[$stackPos-(3-1)]; + }, + 518 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 519 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 520 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 521 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(1-1)], null, false, $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 522 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 523 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(4-4)], $this->semStack[$stackPos-(4-1)], true, $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 524 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(3-3)], $this->semStack[$stackPos-(3-1)], false, $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 525 => function ($stackPos) { + $this->semValue = new Expr\ArrayItem($this->semStack[$stackPos-(2-2)], null, false, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes, true, $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 526 => function ($stackPos) { + $this->semValue = null; + }, + 527 => function ($stackPos) { + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 528 => function ($stackPos) { + $this->semStack[$stackPos-(2-1)][] = $this->semStack[$stackPos-(2-2)]; $this->semValue = $this->semStack[$stackPos-(2-1)]; + }, + 529 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(1-1)]); + }, + 530 => function ($stackPos) { + $this->semValue = array($this->semStack[$stackPos-(2-1)], $this->semStack[$stackPos-(2-2)]); + }, 531 => function ($stackPos) { - $this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Scalar\EncapsedStringPart($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 532 => function ($stackPos) { - $this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); }, 533 => function ($stackPos) { - $this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + $this->semValue = $this->semStack[$stackPos-(1-1)]; }, 534 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(4-1)], $this->semStack[$stackPos-(4-3)], $this->startAttributeStack[$stackPos-(4-1)] + $this->endAttributes); + }, + 535 => function ($stackPos) { + $this->semValue = new Expr\PropertyFetch($this->semStack[$stackPos-(3-1)], $this->semStack[$stackPos-(3-3)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 536 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 537 => function ($stackPos) { + $this->semValue = new Expr\Variable($this->semStack[$stackPos-(3-2)], $this->startAttributeStack[$stackPos-(3-1)] + $this->endAttributes); + }, + 538 => function ($stackPos) { + $this->semValue = new Expr\ArrayDimFetch($this->semStack[$stackPos-(6-2)], $this->semStack[$stackPos-(6-4)], $this->startAttributeStack[$stackPos-(6-1)] + $this->endAttributes); + }, + 539 => function ($stackPos) { + $this->semValue = $this->semStack[$stackPos-(3-2)]; + }, + 540 => function ($stackPos) { + $this->semValue = new Scalar\String_($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 541 => function ($stackPos) { + $this->semValue = $this->parseNumString($this->semStack[$stackPos-(1-1)], $this->startAttributeStack[$stackPos-(1-1)] + $this->endAttributes); + }, + 542 => function ($stackPos) { + $this->semValue = $this->parseNumString('-' . $this->semStack[$stackPos-(2-2)], $this->startAttributeStack[$stackPos-(2-1)] + $this->endAttributes); + }, + 543 => function ($stackPos) { $this->semValue = $this->semStack[$stackPos-(1-1)]; }, ]; diff --git a/lib/PhpParser/Parser/Tokens.php b/lib/PhpParser/Parser/Tokens.php index 50c5bf57..8c62ee97 100644 --- a/lib/PhpParser/Parser/Tokens.php +++ b/lib/PhpParser/Parser/Tokens.php @@ -84,63 +84,64 @@ final class Tokens const T_ENDDECLARE = 332; const T_AS = 333; const T_SWITCH = 334; - const T_ENDSWITCH = 335; - const T_CASE = 336; - const T_DEFAULT = 337; - const T_BREAK = 338; - const T_CONTINUE = 339; - const T_GOTO = 340; - const T_FUNCTION = 341; - const T_FN = 342; - const T_CONST = 343; - const T_RETURN = 344; - const T_TRY = 345; - const T_CATCH = 346; - const T_FINALLY = 347; - const T_THROW = 348; - const T_USE = 349; - const T_INSTEADOF = 350; - const T_GLOBAL = 351; - const T_STATIC = 352; - const T_ABSTRACT = 353; - const T_FINAL = 354; - const T_PRIVATE = 355; - const T_PROTECTED = 356; - const T_PUBLIC = 357; - const T_VAR = 358; - const T_UNSET = 359; - const T_ISSET = 360; - const T_EMPTY = 361; - const T_HALT_COMPILER = 362; - const T_CLASS = 363; - const T_TRAIT = 364; - const T_INTERFACE = 365; - const T_EXTENDS = 366; - const T_IMPLEMENTS = 367; - const T_OBJECT_OPERATOR = 368; - const T_LIST = 369; - const T_ARRAY = 370; - const T_CALLABLE = 371; - const T_CLASS_C = 372; - const T_TRAIT_C = 373; - const T_METHOD_C = 374; - const T_FUNC_C = 375; - const T_LINE = 376; - const T_FILE = 377; - const T_COMMENT = 378; - const T_DOC_COMMENT = 379; - const T_OPEN_TAG = 380; - const T_OPEN_TAG_WITH_ECHO = 381; - const T_CLOSE_TAG = 382; - const T_WHITESPACE = 383; - const T_START_HEREDOC = 384; - const T_END_HEREDOC = 385; - const T_DOLLAR_OPEN_CURLY_BRACES = 386; - const T_CURLY_OPEN = 387; - const T_PAAMAYIM_NEKUDOTAYIM = 388; - const T_NAMESPACE = 389; - const T_NS_C = 390; - const T_DIR = 391; - const T_NS_SEPARATOR = 392; - const T_ELLIPSIS = 393; + const T_MATCH = 335; + const T_ENDSWITCH = 336; + const T_CASE = 337; + const T_DEFAULT = 338; + const T_BREAK = 339; + const T_CONTINUE = 340; + const T_GOTO = 341; + const T_FUNCTION = 342; + const T_FN = 343; + const T_CONST = 344; + const T_RETURN = 345; + const T_TRY = 346; + const T_CATCH = 347; + const T_FINALLY = 348; + const T_THROW = 349; + const T_USE = 350; + const T_INSTEADOF = 351; + const T_GLOBAL = 352; + const T_STATIC = 353; + const T_ABSTRACT = 354; + const T_FINAL = 355; + const T_PRIVATE = 356; + const T_PROTECTED = 357; + const T_PUBLIC = 358; + const T_VAR = 359; + const T_UNSET = 360; + const T_ISSET = 361; + const T_EMPTY = 362; + const T_HALT_COMPILER = 363; + const T_CLASS = 364; + const T_TRAIT = 365; + const T_INTERFACE = 366; + const T_EXTENDS = 367; + const T_IMPLEMENTS = 368; + const T_OBJECT_OPERATOR = 369; + const T_LIST = 370; + const T_ARRAY = 371; + const T_CALLABLE = 372; + const T_CLASS_C = 373; + const T_TRAIT_C = 374; + const T_METHOD_C = 375; + const T_FUNC_C = 376; + const T_LINE = 377; + const T_FILE = 378; + const T_COMMENT = 379; + const T_DOC_COMMENT = 380; + const T_OPEN_TAG = 381; + const T_OPEN_TAG_WITH_ECHO = 382; + const T_CLOSE_TAG = 383; + const T_WHITESPACE = 384; + const T_START_HEREDOC = 385; + const T_END_HEREDOC = 386; + const T_DOLLAR_OPEN_CURLY_BRACES = 387; + const T_CURLY_OPEN = 388; + const T_PAAMAYIM_NEKUDOTAYIM = 389; + const T_NAMESPACE = 390; + const T_NS_C = 391; + const T_DIR = 392; + const T_NS_SEPARATOR = 393; + const T_ELLIPSIS = 394; } diff --git a/lib/PhpParser/PrettyPrinter/Standard.php b/lib/PhpParser/PrettyPrinter/Standard.php index f061fe2a..1739c800 100644 --- a/lib/PhpParser/PrettyPrinter/Standard.php +++ b/lib/PhpParser/PrettyPrinter/Standard.php @@ -594,6 +594,18 @@ class Standard extends PrettyPrinterAbstract . ' {' . $this->pStmts($node->stmts) . $this->nl . '}'; } + protected function pExpr_Match(Expr\Match_ $node) { + return 'match (' . $this->p($node->cond) . ') {' + . $this->pCommaSeparatedMultiline($node->arms, true) + . $this->nl + . '}'; + } + + protected function pMatchArm(Node\MatchArm $node) { + return ($node->conds ? $this->pCommaSeparated($node->conds) : 'default') + . ' => ' . $this->p($node->body); + } + protected function pExpr_ArrowFunction(Expr\ArrowFunction $node) { return ($node->static ? 'static ' : '') . 'fn' . ($node->byRef ? '&' : '') diff --git a/lib/PhpParser/PrettyPrinterAbstract.php b/lib/PhpParser/PrettyPrinterAbstract.php index 5107e66a..2572429d 100644 --- a/lib/PhpParser/PrettyPrinterAbstract.php +++ b/lib/PhpParser/PrettyPrinterAbstract.php @@ -1320,12 +1320,14 @@ abstract class PrettyPrinterAbstract 'Stmt_Global->vars' => ', ', 'Stmt_GroupUse->uses' => ', ', 'Stmt_Interface->extends' => ', ', + 'Stmt_Match->arms' => ', ', 'Stmt_Property->props' => ', ', 'Stmt_StaticVar->vars' => ', ', 'Stmt_TraitUse->traits' => ', ', 'Stmt_TraitUseAdaptation_Precedence->insteadof' => ', ', 'Stmt_Unset->vars' => ', ', 'Stmt_Use->uses' => ', ', + 'MatchArm->conds' => ', ', // statement lists 'Expr_Closure->stmts' => "\n", diff --git a/test/code/formatPreservation/matche.test b/test/code/formatPreservation/matche.test new file mode 100644 index 00000000..4ea70915 --- /dev/null +++ b/test/code/formatPreservation/matche.test @@ -0,0 +1,89 @@ +Matches +----- + + 'one' +}; +----- +$stmts[0]->expr->expr->arms[] = new Node\MatchArm(null, new Scalar\String_('two')); +----- + + 'one', + default => 'two', +}; +----- + + 'test', +}; +----- +$stmts[0]->expr->expr->arms[0]->conds[] = new Scalar\LNumber(3); +----- + + 'test', +}; +----- + + 'one', + 2 + => + 'two', + 3 + => + 'three', +}; +----- +array_splice($stmts[0]->expr->expr->arms, 1, 1, []); +----- + + 'one', + 3 + => + 'three', +}; +----- + + 'test', +}; +----- +$stmts[0]->expr->expr->arms[0]->conds = [new Scalar\LNumber(1)]; +----- + 'test', +}; +----- + + 'test', +}; +----- +$stmts[0]->expr->expr->arms[0]->conds = null; +----- + 'test', +}; \ No newline at end of file diff --git a/test/code/parser/expr/match.test b/test/code/parser/expr/match.test new file mode 100644 index 00000000..3d1ef58d --- /dev/null +++ b/test/code/parser/expr/match.test @@ -0,0 +1,218 @@ +Match +----- + 'Foo', + 1 => 'Bar', +}; +----- +!!php7 +array( + 0: Stmt_Echo( + exprs: array( + 0: Expr_Match( + cond: Scalar_LNumber( + value: 1 + ) + arms: array( + 0: MatchArm( + conds: array( + 0: Scalar_LNumber( + value: 0 + ) + ) + body: Scalar_String( + value: Foo + ) + ) + 1: MatchArm( + conds: array( + 0: Scalar_LNumber( + value: 1 + ) + ) + body: Scalar_String( + value: Bar + ) + ) + ) + ) + ) + ) +) +----- + 'Foo', +}; +----- +!!php7 +array( + 0: Stmt_Expression( + expr: Expr_Assign( + var: Expr_Variable( + name: value + ) + expr: Expr_Match( + cond: Scalar_LNumber( + value: 1 + ) + arms: array( + 0: MatchArm( + conds: array( + 0: Scalar_LNumber( + value: 0 + comments: array( + 0: // list of conditions + ) + ) + 1: Scalar_LNumber( + value: 1 + ) + ) + body: Scalar_String( + value: Foo + ) + comments: array( + 0: // list of conditions + ) + ) + ) + ) + ) + ) +) +----- + $lhs + $rhs, +}; +----- +!!php7 +array( + 0: Stmt_Expression( + expr: Expr_Assign( + var: Expr_Variable( + name: result + ) + expr: Expr_Match( + cond: Expr_Variable( + name: operator + ) + arms: array( + 0: MatchArm( + conds: array( + 0: Expr_ClassConstFetch( + class: Name( + parts: array( + 0: BinaryOperator + ) + ) + name: Identifier( + name: ADD + ) + ) + ) + body: Expr_BinaryOp_Plus( + left: Expr_Variable( + name: lhs + ) + right: Expr_Variable( + name: rhs + ) + ) + ) + ) + ) + ) + ) +) +----- + '1', + default => 'default' +}; +----- +!!php7 +array( + 0: Stmt_Expression( + expr: Expr_Assign( + var: Expr_Variable( + name: value + ) + expr: Expr_Match( + cond: Expr_Variable( + name: char + ) + arms: array( + 0: MatchArm( + conds: array( + 0: Scalar_LNumber( + value: 1 + ) + ) + body: Scalar_String( + value: 1 + ) + ) + 1: MatchArm( + conds: null + body: Scalar_String( + value: default + ) + ) + ) + ) + ) + ) +) +----- + 'Foo', + default, => 'Bar', +}; +----- +!!php7 +array( + 0: Stmt_Expression( + expr: Expr_Assign( + var: Expr_Variable( + name: value + ) + expr: Expr_Match( + cond: Scalar_LNumber( + value: 1 + ) + arms: array( + 0: MatchArm( + conds: array( + 0: Scalar_LNumber( + value: 0 + ) + 1: Scalar_LNumber( + value: 1 + ) + ) + body: Scalar_String( + value: Foo + ) + ) + 1: MatchArm( + conds: null + body: Scalar_String( + value: Bar + ) + ) + ) + ) + ) + ) +) \ No newline at end of file diff --git a/test/code/prettyPrinter/expr/match.test b/test/code/prettyPrinter/expr/match.test new file mode 100644 index 00000000..f5f87a11 --- /dev/null +++ b/test/code/prettyPrinter/expr/match.test @@ -0,0 +1,18 @@ +Match +----- + 'Foo', + // Comment + 2 => 'Bar', + default => 'Foo', +}; +----- +!!php7 +echo match (1) { + 0, 1 => 'Foo', + // Comment + 2 => 'Bar', + default => 'Foo', +}; \ No newline at end of file diff --git a/test_old/run-php-src.sh b/test_old/run-php-src.sh index d4f38894..2fae0228 100755 --- a/test_old/run-php-src.sh +++ b/test_old/run-php-src.sh @@ -1,4 +1,5 @@ -wget -q https://github.com/php/php-src/archive/PHP-7.4.tar.gz +VERSION="master" +wget -q https://github.com/php/php-src/archive/$VERSION.tar.gz mkdir -p ./data/php-src -tar -xzf ./PHP-7.4.tar.gz -C ./data/php-src --strip-components=1 +tar -xzf ./$VERSION.tar.gz -C ./data/php-src --strip-components=1 php -n test_old/run.php --verbose --no-progress PHP7 ./data/php-src