diff --git a/grammar/zend_language_parser.phpy b/grammar/zend_language_parser.phpy index 4cfd4d9f..26673b9f 100644 --- a/grammar/zend_language_parser.phpy +++ b/grammar/zend_language_parser.phpy @@ -118,9 +118,13 @@ top_statement_list: | /* empty */ { init(); } ; -namespace_name: +namespace_name_parts: T_STRING { init($1); } - | namespace_name T_NS_SEPARATOR T_STRING { push($1, $3); } + | namespace_name_parts T_NS_SEPARATOR T_STRING { push($1, $3); } +; + +namespace_name: + namespace_name_parts { $$ = Name[$1]; } ; top_statement: @@ -129,8 +133,8 @@ top_statement: | class_declaration_statement { $$ = $1; } | T_HALT_COMPILER { $$ = Stmt\HaltCompiler[$this->lexer->handleHaltCompiler()]; } - | T_NAMESPACE namespace_name ';' { $$ = Stmt\Namespace_[Name[$2], null]; } - | T_NAMESPACE namespace_name '{' top_statement_list '}' { $$ = Stmt\Namespace_[Name[$2], $4]; } + | T_NAMESPACE namespace_name ';' { $$ = Stmt\Namespace_[$2, null]; } + | T_NAMESPACE namespace_name '{' top_statement_list '}' { $$ = Stmt\Namespace_[$2, $4]; } | T_NAMESPACE '{' top_statement_list '}' { $$ = Stmt\Namespace_[null, $3]; } | T_USE use_declarations ';' { $$ = Stmt\Use_[$2]; } | T_CONST constant_declaration_list ';' { $$ = Stmt\Const_[$2]; } @@ -142,10 +146,10 @@ use_declarations: ; use_declaration: - namespace_name { $$ = Stmt\UseUse[Name[$1], null]; } - | namespace_name T_AS T_STRING { $$ = Stmt\UseUse[Name[$1], $3]; } - | T_NS_SEPARATOR namespace_name { $$ = Stmt\UseUse[Name[$2], null]; } - | T_NS_SEPARATOR namespace_name T_AS T_STRING { $$ = Stmt\UseUse[Name[$2], $4]; } + namespace_name { $$ = Stmt\UseUse[$1, null]; } + | namespace_name T_AS T_STRING { $$ = Stmt\UseUse[$1, $3]; } + | T_NS_SEPARATOR namespace_name { $$ = Stmt\UseUse[$2, null]; } + | T_NS_SEPARATOR namespace_name T_AS T_STRING { $$ = Stmt\UseUse[$2, $4]; } ; constant_declaration_list: @@ -667,9 +671,9 @@ class_name: ; name: - namespace_name { $$ = Name[$1]; } - | T_NS_SEPARATOR namespace_name { $$ = Name\FullyQualified[$2]; } - | T_NAMESPACE T_NS_SEPARATOR namespace_name { $$ = Name\Relative[$3]; } + namespace_name_parts { $$ = Name[$1]; } + | T_NS_SEPARATOR namespace_name_parts { $$ = Name\FullyQualified[$2]; } + | T_NAMESPACE T_NS_SEPARATOR namespace_name_parts { $$ = Name\Relative[$3]; } ; class_name_reference: diff --git a/lib/PhpParser/Parser.php b/lib/PhpParser/Parser.php index df6b4df7..ce34b328 100644 --- a/lib/PhpParser/Parser.php +++ b/lib/PhpParser/Parser.php @@ -19,9 +19,9 @@ class Parser const TOKEN_MAP_SIZE = 386; const YYLAST = 1008; - const YY2TBLSTATE = 316; - const YYGLAST = 444; - const YYNLSTATES = 531; + const YY2TBLSTATE = 314; + const YYGLAST = 443; + const YYNLSTATES = 532; const YYUNEXPECTED = 32767; const YYDEFAULT = -32766; @@ -358,107 +358,107 @@ class Parser ); protected static $yyaction = array( - 59, 60, 325, 61, 62,-32766,-32766,-32766, 324, 63, + 59, 60, 324, 61, 62,-32766,-32766,-32766, 215, 63, 64,-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102, - 57, 917,-32766, 298,-32766,-32766, 41, 106, 107, 108, - 109, 110, 111, 112, 113, 114, 115, 116, 267, 346, - 65, 66, 927, 249, 929, 928, 67, 535, 68, 220, + 57, 463,-32766, 296,-32766,-32766, 41, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 267, 285, + 65, 66, 929, 249, 931, 930, 67, 536, 68, 220, 221, 69, 70, 71, 72, 73, 74, 75, 76, 31, - 232, 77, 318, 326, 730, 732, 462, 836, 837, 362, - 348, 895, 238, 578, 280, 363, 46, 27, 327, 859, - 364, 246, 365, 454, 366, 39, 223, 328,-32766,-32766, - -32766, 36, 37, 367, 333, 360, 38, 368, 329, 423, - 78, 848, 122, 278, 279,-32766, 286,-32766, 35, 369, - 370, 371, 372, 373, 389, 343, 861, 330, 560, 602, - 374, 375, 376, 377, 848, 842, 843, 844, 845, 839, - 840, 239, 82, 83, 84, -350, 389, 846, 841, 330, - 584, 504, 126, 47, 227, 259, 244, 802, 248, 40, - 351, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 232, 77, 316, 325, 732, 734, 919, 838, 839, 360, + 346, 897, 238, 580, 277, 361, 46, 27, 326, 850, + 362, 246, 363, 455, 364, 39, 223, 327,-32766,-32766, + -32766, 36, 37, 365, 332, 344, 38, 366, 328, 424, + 78, 850, 122, 278, 279,-32766, 358,-32766, 349, 367, + 368, 369, 370, 371, 387, 341, 863, 329, 562, 604, + 372, 373, 374, 375, 861, 844, 845, 846, 847, 841, + 842, 239, 82, 83, 84, -351, 387, 848, 843, 329, + 586, 505, 126, 47, 227, 260, 244, 904, 248, 40, + 323, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 788, 233, 576,-32766,-32766,-32766, 701, 702, - 703, 700, 699, 698, 630, 0,-32766,-32766,-32766, 655, - 656, 216,-32766, 215,-32766,-32766,-32766,-32766,-32766,-32767, - -32767,-32767,-32767,-32766, 788, 322, 329, 319, 899, 544, - -117, 257, 128, 277,-32766,-32766,-32766, 369, 370, 889, - 693, 261, 895, 225, 226,-32766, 540, 602, 374, 375, - 675, 535, 344,-32766, 535,-32766, 895, 376,-32766,-32766, - -32766, 575,-32766, 53,-32766, 322,-32766, 658, 263,-32766, - 187, 257, 600,-32766,-32766,-32766, 788,-32766,-32766,-32766, - 693, 34,-32766, 535, 350,-32766, 388,-32766, 860, 812, - -32766,-32766,-32766,-32766,-32766, 222,-32766, 54,-32766, 56, - 127,-32766, 100, 101, 102,-32766,-32766,-32766, 788, 22, - -32766,-32766, 601, 268,-32766, 924, 259,-32766, 388, 666, - 631, 389,-32766,-32766, 330,-32766, 322, 224, 334,-32766, - 259, 917, 257, 503, 861, 535, 103, 104, 105,-32766, - 233, 693,-32766,-32766,-32766, 118,-32766, 494,-32766, 340, - -32766, 506, 902,-32766,-32766,-32766, 126,-32766,-32766,-32766, - 345,-32766,-32766,-32766, 213, 123,-32766, 535, 130,-32766, - 388,-32766, 452, 599,-32766,-32766,-32766,-32766,-32766, 119, - -32766, 120,-32766, 788, 233,-32766, 189, -113, 190,-32766, + 104, 105, 790, 233, 577,-32766,-32766,-32766, 703, 704, + 705, 702, 701, 700, 632, 0,-32766,-32766,-32766, 657, + 658, 216,-32766, 35,-32766,-32766,-32766,-32766,-32766,-32767, + -32767,-32767,-32767,-32766, 790, 321, 328, 317, 901, 546, + -118, 257, 128, 276,-32766,-32766,-32766, 367, 368, 891, + 695, 262, 897, 225, 226,-32766, 542, 604, 372, 373, + 578, 536, 342,-32766, 536,-32766, 897, 374,-32766,-32766, + -32766, 677,-32766, 54,-32766, 321,-32766, 22, 259,-32766, + 187, 257, 602,-32766,-32766,-32766, 790,-32766,-32766,-32766, + 695, 34,-32766, 536, 348,-32766, 386,-32766, 862, 814, + -32766,-32766,-32766,-32766,-32766, 222,-32766, 53,-32766, 56, + 127,-32766, 100, 101, 102,-32766,-32766,-32766, 790, 804, + -32766,-32766, 601, 268,-32766, 926, 260,-32766, 386, 668, + 633, 387,-32766,-32766, 329,-32766, 321, 224, 333,-32766, + 260, 919, 257, 504, 863, 536, 103, 104, 105,-32766, + 233, 695,-32766,-32766,-32766, 119,-32766, 495,-32766, 338, + -32766, 507, 660,-32766,-32766,-32766, 126,-32766,-32766,-32766, + 343,-32766,-32766,-32766, 213, 123,-32766, 536, 130,-32766, + 386,-32766, 453, 603,-32766,-32766,-32766,-32766,-32766, 118, + -32766, 120,-32766, 790, 233,-32766, 189, -114, 190,-32766, -32766,-32766, 194, 217,-32766,-32766, 195, 125,-32766,-32766, - -32766,-32766, 388, 188, 685, 858,-32766,-32766, 117,-32766, - 329, 319, 353, 28, 509, 788, 597, 277, 357, 468, - 680, 369, 370, 516,-32766,-32766,-32766, 131, 287, 49, - 540, 602, 374, 375, 477, 478,-32766, 520,-32766,-32766, - 528,-32766, 535,-32766,-32766,-32766,-32766, 655, 656,-32766, - -32766,-32766, 263,-32766, 519,-32766, 507,-32766, 542, 129, - -32766, 679, 525, 588,-32766,-32766,-32766, 526,-32766,-32766, - -32766, 690, 530,-32766, 535, 306,-32766, 388,-32766, 541, - 511,-32766,-32766,-32766,-32766,-32766, 224,-32766, 50,-32766, - 58, 482,-32766, 55, 805, 51,-32766,-32766,-32766, 788, - 52,-32766,-32766, 416, 232,-32766, 502, 687,-32766, 388, - 445, 491, 229,-32766,-32766, 551,-32766, 922, 549, 415, - -32766, 339, 341, 535, 536, 399, 535, 400, 402, 414, - -32766, -158, 401,-32766,-32766,-32766, 493,-32766, 479,-32766, - 475,-32766, -161, 604,-32766,-32766,-32766, 265,-32766,-32766, - -32766, 788,-32766,-32766,-32766, 266, 917,-32766, 535, 256, - -32766, 388,-32766, 342, 212,-32766,-32766,-32766,-32766,-32766, - 338,-32766, 471,-32766, 457, 473,-32766, 359, 603, 258, - -32766,-32766,-32766, 788, 255,-32766,-32766, 577, 260,-32766, - 376, 579,-32766, 388, 847, 247, 0,-32766,-32766, -350, - -32766, 657, 0, 337,-32766, 0, 0, -351, 245, 0, - 535, 121, 193, 42,-32766, -282, 791,-32766,-32766,-32766, - 0,-32766, 0,-32766, 0,-32766, 0, 0,-32766, 570, - -32766, -290,-32766,-32766,-32766, 788,-32766,-32766,-32766, -291, - 499,-32766, 535, 300,-32766, 388,-32766, 288, 251,-32766, - -32766,-32766,-32766,-32766, 242,-32766, 407,-32766, 684, 340, - -32766, 686, 614, 616,-32766,-32766,-32766, 618, 563,-32766, - -32766, 625, 624,-32766, 633, 580,-32766, 388, 565, 587, - 574, 572,-32766, 513,-32766, 512, 45, 44,-32766, 569, - 571, 573, 586, 545, 535, 683, 676, 234,-32766, 510, - 515,-32766,-32766,-32766, 517,-32766, 522,-32766, 81,-32766, - 124, 523,-32766,-32766,-32766, 524,-32766,-32766,-32766, 527, - -32766,-32766,-32766, 505, 529,-32766, 535, 890,-32766, 388, - -32766, 900, 668,-32766,-32766,-32766,-32766,-32766, 827,-32766, - 892,-32766, 880, 894,-32766, 191, 192, 896,-32766,-32766, - -32766, 923, 356,-32766,-32766, 623, 926,-32766, 622, 925, - -32766, 388, 32, 33, 185, 568,-32766, 321,-32766, 317, - 43, 262, 836, 837, 237,-32766,-32766, 236, 48,-32766, - 838, 535, 235, 30, 219,-32766, 218, 214,-32766,-32766, + -32766,-32766, 386, 188, 687, 860,-32766,-32766, 117,-32766, + 328, 317, 351, 28, 510, 790, 599, 276, 355, 469, + 682, 367, 368, 517,-32766,-32766,-32766, 131, 286, 49, + 542, 604, 372, 373, 478, 479,-32766, 521,-32766,-32766, + 529,-32766, 536,-32766,-32766,-32766,-32766, 657, 658,-32766, + -32766,-32766, 259,-32766, 527,-32766, 508,-32766, 544, 129, + -32766, 543, 512, 590,-32766,-32766,-32766, 520,-32766,-32766, + -32766, 681, 526,-32766, 536, 304,-32766, 386,-32766, 692, + 531,-32766,-32766,-32766,-32766,-32766, 224,-32766, 50,-32766, + 58, 483,-32766, 55, 807, 51,-32766,-32766,-32766, 790, + 52,-32766,-32766, 417, 232,-32766, 503, 689,-32766, 386, + 446, 492, 229,-32766,-32766, 553,-32766, 924, 551, 415, + -32766, 337, 339, 536, 537, 397, 536, 398, 402, 414, + -32766, -159, 401,-32766,-32766,-32766, 494,-32766, 480,-32766, + 476,-32766, -162, 606,-32766,-32766,-32766, 265,-32766,-32766, + -32766, 790,-32766,-32766,-32766, 266, 919,-32766, 536, 256, + -32766, 386,-32766, 340, 212,-32766,-32766,-32766,-32766,-32766, + 336,-32766, 472,-32766, 458, 474,-32766, 357, 605, 258, + -32766,-32766,-32766, 790, 255,-32766,-32766, 579, 261,-32766, + 374, 581,-32766, 386, 849, 247, 0,-32766,-32766, -351, + -32766, 659, 0, 320,-32766, 0, 0, -352, 245, 0, + 536, 121, 193, 42,-32766, -283, 793,-32766,-32766,-32766, + 0,-32766, 0,-32766, 0,-32766, 0, 0,-32766, 572, + -32766, -291,-32766,-32766,-32766, 790,-32766,-32766,-32766, -292, + 500,-32766, 536, 299,-32766, 386,-32766, 287, 251,-32766, + -32766,-32766,-32766,-32766, 242,-32766, 407,-32766, 686, 338, + -32766, 688, 616, 618,-32766,-32766,-32766, 620, 565,-32766, + -32766, 627, 626,-32766, 635, 582,-32766, 386, 567, 589, + 576, 574,-32766, 514,-32766, 513, 45, 44,-32766, 571, + 573, 575, 588, 547, 536, 685, 678, 234,-32766, 511, + 516,-32766,-32766,-32766, 518,-32766, 523,-32766, 81,-32766, + 124, 524,-32766,-32766,-32766, 525,-32766,-32766,-32766, 528, + -32766,-32766,-32766, 506, 530,-32766, 536, 892,-32766, 386, + -32766, 902, 670,-32766,-32766,-32766,-32766,-32766, 829,-32766, + 894,-32766, 882, 896,-32766, 191, 192, 898,-32766,-32766, + -32766, 925, 354,-32766,-32766, 625, 928,-32766, 624, 927, + -32766, 386, 32, 33, 185, 570,-32766, 319,-32766, 315, + 43, 263, 838, 839, 237,-32766,-32766, 236, 48,-32766, + 840, 536, 235, 30, 219,-32766, 218, 214,-32766,-32766, -32766, 186,-32766, 80,-32766, 79,-32766,-32766,-32766,-32766, - 768, 829, 767,-32766,-32766,-32766, 446, -114,-32766,-32766, - 854, 659,-32766, 795, 792,-32766, 388, 498, 472, 437, - 358, 354, 307,-32766, 289, 25, 24, 23, 442, -113, - 842, 843, 844, 845, 839, 840, 309, 786, 0, 480, - 874, 855, 846, 841, 329, 319, 921, 826,-32766, 329, - -32766, 277,-32766,-32766, 891, 369, 370,-32766,-32766,-32766, - 369, 370, 875, 879, 540, 602, 374, 375, 893, 560, - 602, 374, 375, 329,-32766, 811,-32766,-32766,-32766,-32766, - -32766, 799, 797, 798, 369, 370, 263, 329, 796, 0, - 0, 329, 543, 560, 602, 374, 375, 598, 369, 370, - 0, 0, 369, 370, 329, 0, 0, 560, 602, 374, - 375, 560, 602, 374, 375, 369, 370, 0, 0, 0, - 329, 691, 0, 0, 560, 602, 374, 375, 0, 0, - 0, 369, 370, 329, 0, 790, 0, 329, 501, 591, - 560, 602, 374, 375, 369, 370, 0, 0, 369, 370, - 0, 329, 593, 560, 602, 374, 375, 560, 602, 374, - 375, 0, 369, 370, 492, 0, 0, 0, 514, 0, - 486, 560, 602, 374, 375, 329, 0, 0, 0, 329, - 0, 561, 0, 0, 0, 789, 369, 370, 0, 0, - 369, 370,-32766,-32766,-32766, 560, 602, 374, 375, 560, - 602, 374, 375, 0, 329, 0, 0, 0, 0,-32766, - 0,-32766,-32766,-32766,-32766, 369, 370, 0, 0, 0, - 0, 0, 0, 0, 560, 602, 374, 375 + 770, 831, 769,-32766,-32766,-32766, 447, -115,-32766,-32766, + 856, 661,-32766, 797, 794,-32766, 386, 499, 473, 438, + 356, 352, 305,-32766, 288, 25, 24, 23, 443, -114, + 844, 845, 846, 847, 841, 842, 307, 788, 0, 481, + 876, 857, 848, 843, 328, 317, 923, 828,-32766, 328, + -32766, 276,-32766,-32766, 893, 367, 368,-32766,-32766,-32766, + 367, 368, 877, 881, 542, 604, 372, 373, 895, 562, + 604, 372, 373, 328,-32766, 813,-32766,-32766,-32766,-32766, + -32766, 801, 799, 800, 367, 368, 259, 328, 798, 0, + 0, 328, 545, 562, 604, 372, 373, 600, 367, 368, + 0, 0, 367, 368, 328, 0, 0, 562, 604, 372, + 373, 562, 604, 372, 373, 367, 368, 0, 0, 0, + 328, 693, 0, 0, 562, 604, 372, 373, 0, 0, + 0, 367, 368, 328, 0, 792, 0, 328, 502, 593, + 562, 604, 372, 373, 367, 368, 0, 0, 367, 368, + 0, 328, 595, 562, 604, 372, 373, 562, 604, 372, + 373, 0, 367, 368, 493, 0, 0, 0, 515, 0, + 487, 562, 604, 372, 373, 328, 0, 0, 0, 328, + 0, 563, 0, 0, 0, 791, 367, 368, 0, 0, + 367, 368,-32766,-32766,-32766, 562, 604, 372, 373, 562, + 604, 372, 373, 0, 328, 0, 0, 0, 0,-32766, + 0,-32766,-32766,-32766,-32766, 367, 368, 0, 0, 0, + 0, 0, 0, 0, 562, 604, 372, 373 ); protected static $yycheck = array( @@ -586,43 +586,44 @@ class Parser 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 178, 178, 80, 683, 683, 683, 683, 683, 683, 683, 683, 683, 683, 683, -3, 396, 964, 829, - 167, 167, 167, 167, 13, -25, -25, -25, -25, 148, - 108, 209, 113, 113, 446, 446, 422, 547, 163, 163, + 167, 167, 167, 167, 13, -25, -25, -25, -25, 209, + 108, 148, 113, 113, 446, 446, 422, 547, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 449, 415, 240, 240, 614, 614, 64, 64, 64, 64, 302, -33, - -55, 235, -1, 256, 451, 137, 137, 137, 459, 440, - 460, 193, 271, 271, 271, -24, -24, -24, -24, 545, - -24, -24, -24, 188, 216, -50, -50, -29, 205, 464, - 594, 462, 591, 299, 482, -41, 317, 442, 226, 454, - 442, 326, 332, 314, 458, 89, 226, 158, 197, 309, - 218, 425, 428, 531, 395, 67, 99, 32, -23, 182, - 146, 143, 402, 640, 636, 186, 151, 465, 101, -10, - 182, 221, 534, 88, 1, 533, 242, 365, 598, 436, - 618, 438, 436, 445, 365, 613, 613, 613, 613, 365, - 432, 618, 618, 365, 422, 618, 254, 432, 365, 444, - 432, 448, 613, 523, 521, 436, 439, 418, 618, 618, - 618, 438, 365, 613, 452, 243, 618, 613, 452, 365, - 445, 185, 417, 348, 605, 630, 602, 434, 560, 441, - 406, 621, 619, 628, 437, 430, 622, 597, 495, 518, - 431, 375, 407, 414, 419, 497, 412, 466, 454, 498, - 315, 457, 491, 457, 719, 486, 474, 453, 463, 517, - 370, 353, 536, 495, 648, 656, 669, 433, 532, 653, - 457, 714, 525, 338, 355, 617, 427, 457, 612, 457, - 537, 457, 647, 426, 592, 495, 315, 315, 315, 645, - 713, 712, 706, 699, 694, 693, 685, 409, 678, 516, - 655, 65, 626, 458, 490, 424, 513, 214, 677, 457, - 457, 541, 545, 457, 512, 524, 661, 510, 652, 447, - 469, 672, 440, 654, 457, 461, 671, 214, 408, 403, - 641, 509, 543, 604, 548, 359, 644, 606, 552, 363, - 595, 421, 506, 660, 659, 663, 505, 556, 420, 401, - 443, 609, 501, 651, 423, 483, 455, 404, 561, 416, - 658, 500, 499, 496, 0, 0, 0, 0, 0, 0, + -10, 235, -1, 256, 451, 137, 137, 137, 459, 440, + 460, 193, 271, 271, 271, -24, -24, -24, -24, 188, + 545, -24, -24, -24, 182, -50, -50, -29, 205, 464, + 594, 462, 591, 309, 482, -41, 442, 442, 226, 454, + 326, 332, 314, 458, 89, 226, 158, 197, 317, 218, + 425, 428, 531, 67, 32, 88, -23, 299, 216, 146, + 101, 640, 636, 1, 151, 465, 186, -55, 216, 221, + 534, 99, 143, 533, 242, 365, 598, 436, 618, 438, + 432, 436, 445, 365, 613, 613, 613, 613, 365, 432, + 618, 618, 365, 422, 618, 254, 365, 444, 432, 448, + 613, 523, 521, 436, 439, 418, 618, 618, 618, 438, + 365, 613, 452, 243, 618, 613, 452, 365, 445, 185, + 417, 348, 605, 630, 602, 434, 560, 441, 406, 621, + 619, 628, 437, 430, 622, 597, 495, 518, 431, 375, + 407, 414, 419, 497, 412, 466, 454, 498, 315, 457, + 491, 457, 719, 486, 474, 453, 463, 517, 370, 495, + 395, 353, 536, 495, 648, 656, 669, 433, 532, 653, + 457, 714, 525, 338, 355, 617, 402, 427, 457, 612, + 457, 537, 457, 647, 426, 592, 495, 315, 315, 315, + 645, 713, 712, 706, 699, 694, 693, 685, 409, 678, + 516, 655, 65, 626, 458, 490, 424, 513, 214, 677, + 457, 457, 541, 545, 457, 512, 524, 661, 510, 652, + 447, 469, 672, 440, 654, 457, 461, 671, 214, 421, + 403, 641, 509, 543, 604, 548, 359, 644, 606, 552, + 363, 595, 408, 506, 660, 659, 663, 505, 556, 420, + 401, 443, 609, 501, 651, 423, 483, 455, 404, 561, + 416, 658, 500, 499, 496, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, -2, -2, -2, -2, -2, -2, -2, + -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, + -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, - 0, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, @@ -631,123 +632,122 @@ class Parser -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, 124, 124, 124, 124, 124, 124, 124, + -2, -2, -2, -2, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 163, 163, 163, 163, - 163, 163, 163, 163, 163, 163, 163, 124, 124, 124, - 124, 124, 124, 124, 124, 0, 271, 271, 271, 271, - 72, 72, 72, 163, 163, 163, 163, 163, 163, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 72, - 72, 271, 271, 163, 163, -24, -24, -24, -24, -24, - -50, -50, -50, 146, -24, -50, 149, 149, 149, -50, - -50, -50, 146, 0, 0, 0, 0, 0, 0, 0, - 149, 0, 0, 0, 432, 618, 0, 0, 0, 149, - 316, 316, 316, 316, 214, 182, 0, 495, 432, 0, - 439, 432, 0, 0, 0, 618, 0, 0, 0, 0, - 0, 0, 338, 532, 333, 495, 0, 0, 0, 0, - 0, 0, 0, 495, 217, 217, 0, 0, 409, 0, - 0, 0, 0, 333, 0, 0, 214 + 124, 124, 124, 124, 124, 124, 124, 163, 163, 163, + 163, 163, 163, 163, 163, 163, 163, 163, 124, 124, + 124, 124, 124, 124, 124, 124, 0, 271, 271, 271, + 271, 72, 72, 72, 163, 163, 163, 163, 163, 163, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 72, 72, 271, 271, 163, 163, -24, -24, -24, -24, + -24, -50, -50, -50, 146, -24, -50, 149, 149, 149, + -50, -50, -50, 146, 0, 0, 0, 0, 0, 0, + 0, 432, 149, 0, 0, 0, 618, 0, 0, 0, + 149, 316, 316, 316, 316, 214, 216, 0, 432, 432, + 0, 439, 0, 0, 0, 618, 0, 0, 0, 0, + 0, 0, 338, 532, 333, 0, 0, 0, 0, 0, + 0, 0, 0, 217, 217, 0, 0, 409, 0, 0, + 0, 0, 333, 0, 0, 214 ); protected static $yydefault = array( 3,32767,32767, 1,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767, 106, 98, 112, 97, - 108,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767, 377, 377,32767, 334,32767,32767,32767,32767,32767, - 32767,32767,32767, 179, 179, 179,32767,32767,32767, 366, - 366, 366, 366, 366, 366, 366, 366, 366, 366,32767, - 32767,32767,32767,32767, 257,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 107, 99, 113, 98, + 109,32767,32767,32767,32767,32767,32767,32767,32767,32767, + 32767, 378, 378,32767, 335,32767,32767,32767,32767,32767, + 32767,32767,32767, 180, 180, 180,32767,32767,32767, 367, + 367, 367, 367, 367, 367, 367, 367, 367, 367,32767, + 32767,32767,32767,32767, 258,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 262, 382,32767,32767,32767,32767, + 32767,32767,32767,32767, 263, 383,32767,32767,32767,32767, 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767, 238, 239, 241, 242, 178, - 367, 131, 263, 381, 177, 205, 207, 256, 206, 183, - 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, - 198, 182, 235, 234, 203, 331, 331, 334,32767,32767, - 32767,32767,32767,32767,32767,32767, 204, 208, 210, 209, - 225, 226, 223, 224, 181, 227, 228, 229, 230, 163, - 163, 163,32767,32767, 376, 376,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 164,32767, - 217, 218, 292, 292, 122, 122, 122, 122, 122,32767, - 32767,32767,32767,32767, 300,32767,32767,32767,32767,32767, - 302,32767, 212, 213, 211,32767,32767,32767,32767,32767, - 32767,32767,32767,32767, 339, 301,32767,32767,32767,32767, - 32767,32767,32767,32767, 352, 288,32767,32767,32767, 281, - 32767, 109, 111, 61, 318,32767,32767,32767,32767,32767, - 357,32767,32767,32767, 17,32767,32767,32767, 389, 352, - 32767,32767, 19,32767,32767,32767,32767, 233,32767,32767, - 356, 350,32767,32767,32767,32767,32767, 65, 297,32767, - 303,32767,32767,32767, 65,32767,32767,32767,32767, 65, - 32767, 355, 354, 65,32767, 282, 333,32767, 65, 76, - 32767, 74,32767, 95, 95,32767,32767, 78, 329, 345, - 32767,32767, 65,32767, 270, 333,32767,32767, 270, 65, - 32767,32767, 4, 307,32767,32767,32767,32767,32767,32767, - 32767,32767,32767,32767,32767,32767,32767,32767, 283,32767, - 32767,32767, 253, 254, 341,32767, 342,32767, 281,32767, - 221, 200,32767, 202,32767,32767, 286, 289,32767,32767, - 32767, 140,32767, 284,32767, 186,32767,32767,32767,32767, - 384,32767,32767, 180,32767,32767,32767, 136,32767, 63, - 32767, 374,32767,32767, 350, 285, 214, 215, 216,32767, - 32767,32767,32767,32767,32767,32767,32767, 351,32767,32767, - 32767, 116,32767, 318,32767,32767,32767, 77,32767, 184, - 132,32767,32767, 383,32767,32767,32767,32767,32767,32767, - 338,32767,32767,32767, 64,32767,32767, 79,32767,32767, - 350,32767,32767,32767,32767, 120,32767,32767,32767, 175, - 32767,32767,32767,32767,32767, 350,32767,32767,32767,32767, - 32767,32767,32767,32767, 4,32767, 157,32767,32767,32767, - 32767,32767,32767,32767, 25, 25, 3, 25, 103, 25, - 143, 3, 95, 95, 58, 143, 25, 143, 25, 25, - 25, 25, 25, 25, 25, 150, 25, 25, 25, 25, - 25 + 32767,32767,32767,32767,32767, 239, 240, 242, 243, 179, + 368, 132, 264, 382, 178, 206, 208, 257, 207, 184, + 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, + 199, 183, 236, 235, 204, 332, 332, 335,32767,32767, + 32767,32767,32767,32767,32767,32767, 205, 209, 211, 210, + 226, 227, 224, 225, 182, 228, 229, 230, 231, 164, + 164, 164,32767,32767, 377, 377,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767,32767,32767, 165,32767, + 218, 219, 293, 293, 123, 123, 123, 123, 123,32767, + 32767,32767,32767,32767, 301,32767,32767,32767,32767,32767, + 303,32767, 213, 214, 212,32767,32767,32767,32767,32767, + 32767,32767,32767,32767, 340, 302,32767,32767,32767,32767, + 32767,32767,32767,32767, 353, 289,32767,32767,32767, 282, + 110, 112, 62, 319,32767,32767,32767,32767,32767, 358, + 32767,32767,32767,32767,32767,32767, 390,32767, 353,32767, + 32767,32767,32767,32767,32767, 234,32767,32767, 357, 351, + 32767,32767,32767,32767,32767, 66, 298,32767, 304,32767, + 32767,32767,32767, 66,32767,32767,32767,32767, 66,32767, + 356, 355, 66,32767, 283, 334, 66, 77,32767, 75, + 32767, 96, 96,32767,32767, 79, 330, 346,32767,32767, + 66,32767, 271, 334,32767,32767, 271, 66,32767,32767, + 4, 308,32767,32767,32767,32767,32767,32767,32767,32767, + 32767,32767,32767,32767,32767,32767, 284,32767,32767,32767, + 254, 255, 342,32767, 343,32767, 282,32767, 222, 201, + 32767, 203,32767,32767, 287, 290,32767,32767,32767, 6, + 18, 141,32767, 285,32767, 187,32767,32767,32767,32767, + 385,32767,32767, 181,32767,32767, 20,32767, 137,32767, + 64,32767, 375,32767,32767, 351, 286, 215, 216, 217, + 32767,32767,32767,32767,32767,32767,32767,32767, 352,32767, + 32767,32767, 117,32767, 319,32767,32767,32767, 78,32767, + 185, 133,32767,32767, 384,32767,32767,32767,32767,32767, + 32767, 339,32767,32767,32767, 65,32767,32767, 80,32767, + 32767, 351,32767,32767,32767,32767, 121,32767,32767,32767, + 176,32767,32767,32767,32767,32767, 351,32767,32767,32767, + 32767,32767,32767,32767,32767, 4,32767, 158,32767,32767, + 32767,32767,32767,32767,32767, 26, 26, 3, 26, 104, + 26, 144, 3, 96, 96, 59, 144, 26, 144, 26, + 26, 26, 26, 26, 26, 26, 151, 26, 26, 26, + 26, 26 ); protected static $yygoto = array( 161, 135, 135, 140, 135, 161, 136, 137, 138, 143, 145, 169, 163, 159, 159, 159, 159, 140, 140, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 155, - 156, 157, 158, 167, 134, 750, 751, 390, 753, 774, - 775, 776, 777, 778, 779, 780, 782, 718, 139, 141, + 156, 157, 158, 167, 134, 752, 753, 388, 755, 776, + 777, 778, 779, 780, 781, 782, 784, 720, 139, 141, 142, 144, 165, 166, 168, 184, 196, 197, 198, 199, 200, 201, 202, 203, 205, 206, 207, 208, 230, 231, - 252, 253, 254, 426, 427, 428, 170, 171, 172, 173, + 252, 253, 254, 427, 428, 429, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 146, 147, 148, 162, 149, 164, 150, 182, 151, 152, 153, 183, - 154, 132, 443, 443, 443, 443, 443, 443, 443, 443, - 443, 443, 443, 311, 485, 421, 421, 449, 417, 419, - 419, 391, 393, 410, 424, 450, 453, 464, 470, 335, - 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, - 335, 335, 335, 335, 335, 646, 646, 906, 906, 813, - 813, 654, 654, 654, 654, 654, 405, 538, 538, 538, - 495, 444, 444, 444, 444, 444, 444, 444, 444, 444, - 444, 444, 611, 611, 611, 611, 270, 606, 612, 490, - 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, - 392, 392, 392, 392, 392, 392, 539, 539, 539, 582, - 395, 395, 5, 878, 16, 210, 6, 211, 396, 396, - 537, 537, 537, 7, 422, 17, 18, 8, 19, 9, - 10, 11, 910, 20, 12, 13, 14, 15, 455, 483, - 632, 617, 615, 613, 615, 508, 398, 641, 636, 850, - 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, - 430, 431, 432, 433, 434, 435, 436, 438, 466, 835, - 458, 463, 500, 467, 273, 315, 830, 1, 697, 316, - 809, 810, 2, 771, 26, 21, 285, 554, 672, 621, - 852, 853, 868, 652, 707, 276, 661, 807, 877, 807, - 439, 291, 250, 885, 885, 808, 241, 886, 886, 294, - 476, 29, 294, 916, 916, 481, 901, 901, 901, 866, - 292, 484, 919, 916, 408, 903, 299, 299, 299, 418, - 884, 304, 397, 397, 429, 716, 762, 404, 919, 919, - 299, 825, 824, 459, 650, 546, 664, 851, 518, 310, - 488, 404, 404, 312, 271, 272, 552, 804, 669, 620, - 863, 487, 403, 0, 705, 0, 0, 0, 0, 302, - 0, 0, 425, 0, 0, 0, 0, 0, 0, 0, + 154, 132, 444, 444, 444, 444, 444, 444, 444, 444, + 444, 444, 444, 309, 486, 422, 422, 450, 418, 420, + 420, 389, 391, 410, 425, 451, 454, 465, 471, 334, + 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 648, 648, 908, 908, 815, + 815, 656, 656, 656, 656, 656, 405, 540, 540, 540, + 496, 445, 445, 445, 445, 445, 445, 445, 445, 445, + 445, 445, 613, 613, 613, 613, 270, 584, 608, 614, + 491, 390, 390, 390, 390, 390, 390, 390, 390, 390, + 390, 390, 390, 390, 390, 390, 390, 541, 541, 541, + 250, 393, 393, 5, 241, 16, 880, 6, 394, 394, + 539, 539, 539, 423, 7, 663, 17, 18, 8, 19, + 9, 10, 11, 297, 20, 12, 13, 14, 15, 912, + 634, 619, 617, 615, 617, 509, 396, 643, 638, 852, + 852, 852, 852, 852, 852, 852, 852, 852, 852, 852, + 431, 432, 433, 434, 435, 436, 437, 439, 467, 832, + 837, 459, 464, 501, 468, 273, 313, 773, 26, 21, + 284, 290, 811, 812, 556, 674, 623, 854, 855, 870, + 654, 709, 399, 440, 416, 210, 477, 211, 809, 879, + 809, 887, 887, 485, 29, 302, 810, 868, 482, 399, + 399, 918, 918, 905, 903, 903, 903, 764, 291, 652, + 921, 918, 408, 298, 298, 298, 419, 430, 1, 886, + 404, 456, 484, 2, 548, 718, 921, 921, 298, 666, + 460, 699, 314, 853, 404, 404, 308, 489, 395, 395, + 888, 888, 519, 399, 827, 826, 310, 271, 272, 554, + 806, 671, 403, 622, 865, 488, 707, 0, 0, 0, + 0, 426, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -755,47 +755,47 @@ class Parser 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 409 + 0, 0, 409 ); protected static $yygcheck = array( - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 38, 38, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 32, 32, 32, 32, 32, 32, 32, - 32, 32, 32, 32, 32, 32, 32, 32, 32, 38, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 38, 38, 53, 53, 53, 53, 38, - 38, 38, 38, 38, 38, 38, 75, 6, 6, 6, - 38, 92, 92, 92, 92, 92, 92, 92, 92, 92, - 92, 92, 38, 38, 38, 38, 48, 38, 38, 38, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 7, 7, 7, 31, - 89, 89, 13, 57, 13, 44, 13, 44, 92, 92, - 5, 5, 5, 13, 83, 13, 13, 13, 13, 13, - 13, 13, 112, 13, 13, 13, 13, 13, 21, 21, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 99, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 84, 84, 84, 84, 84, 84, 84, 84, 84, 57, - 40, 40, 40, 46, 46, 46, 15, 2, 72, 72, - 57, 57, 2, 15, 15, 15, 15, 12, 12, 12, - 12, 12, 12, 12, 12, 4, 59, 57, 57, 57, - 15, 28, 98, 91, 91, 57, 98, 90, 90, 4, - 101, 15, 4, 113, 113, 15, 91, 91, 91, 104, - 39, 30, 113, 113, 39, 110, 96, 96, 96, 39, - 91, 29, 95, 95, 25, 75, 76, 25, 113, 113, - 96, 97, 97, 39, 55, 10, 60, 100, 50, 96, - 39, 25, 25, 9, 48, 48, 11, 87, 61, 47, - 103, 82, 4, -1, 74, -1, -1, -1, -1, 4, - -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 39, 39, 39, 39, 39, 39, 39, 39, + 39, 39, 39, 33, 33, 33, 33, 33, 33, 33, + 33, 33, 33, 33, 33, 33, 33, 33, 33, 39, + 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, + 39, 39, 39, 39, 39, 54, 54, 54, 54, 39, + 39, 39, 39, 39, 39, 39, 76, 7, 7, 7, + 39, 93, 93, 93, 93, 93, 93, 93, 93, 93, + 93, 93, 39, 39, 39, 39, 49, 32, 39, 39, + 39, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 90, 90, 90, 8, 8, 8, + 99, 90, 90, 14, 99, 14, 58, 14, 93, 93, + 6, 6, 6, 84, 14, 60, 14, 14, 14, 14, + 14, 14, 14, 5, 14, 14, 14, 14, 14, 113, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 100, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, + 85, 85, 85, 85, 85, 85, 85, 85, 85, 16, + 58, 41, 41, 41, 47, 47, 47, 16, 16, 16, + 16, 29, 58, 58, 13, 13, 13, 13, 13, 13, + 13, 13, 4, 16, 5, 45, 102, 45, 58, 58, + 58, 92, 92, 31, 16, 30, 58, 105, 16, 4, + 4, 114, 114, 111, 92, 92, 92, 77, 40, 56, + 114, 114, 40, 97, 97, 97, 40, 26, 2, 92, + 26, 22, 22, 2, 11, 76, 114, 114, 97, 61, + 40, 73, 73, 101, 26, 26, 97, 40, 96, 96, + 91, 91, 51, 4, 98, 98, 10, 49, 49, 12, + 88, 62, 4, 48, 104, 83, 75, -1, -1, -1, + -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -803,123 +803,123 @@ class Parser -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 75 + -1, -1, 76 ); protected static $yygbase = array( - 0, 0, -239, 0, 22, 209, 156, 195, 0, 21, - 55, 1, 89, -303, 0, -52, 0, 0, 0, 0, - 0, 184, 0, 0, -30, 294, 0, 0, 245, 102, - 98, 174, -99, 0, 0, 0, 0, 0, -83, -19, - 25, 0, 0, 0, -310, 0, 7, -2, -168, 0, - 51, 0, 0, -67, 0, 96, 0, -61, 0, 251, - 50, 2, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 40, 0, -6, 109, 93, 0, 0, 0, - 0, 0, -7, 182, 200, 0, 0, 23, 0, -32, - 65, 61, -24, 0, 0, 90, 71, 85, 48, 54, - 49, 114, 0, -5, 122, 0, 0, 0, 0, 0, - 100, 0, 188, 63, 0 + 0, 0, -189, 0, 23, -36, 209, 156, 196, 0, + 25, 47, 6, 86, -303, 0, -57, 0, 0, 0, + 0, 0, 277, 0, 0, -30, 287, 0, 0, 225, + 76, 80, 152, -99, 0, 0, 0, 0, 0, -83, + -20, 26, 0, 0, 0, -231, 0, 8, 4, -166, + 0, 56, 0, 0, -67, 0, 71, 0, -58, 0, + 180, 44, 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 103, 0, -2, 109, 74, 0, 0, + 0, 0, 0, -1, 181, 200, 0, 0, 27, 0, + -31, 108, 59, -24, 0, 0, 106, 68, 98, -44, + 54, 46, 100, 0, 1, 110, 0, 0, 0, 0, + 0, 88, 0, 195, 61, 0 ); protected static $yygdefault = array( - -32768, 361, 3, 533, 378, 557, 558, 559, 295, 293, - 547, 553, 460, 4, 555, 763, 281, 562, 282, 469, - 564, 412, 566, 567, 133, 379, 296, 297, 413, 303, - 456, 581, 204, 301, 583, 283, 585, 590, 284, 489, - 440, 380, 347, 451, 209, 420, 447, 619, 269, 627, - 521, 635, 638, 381, 441, 649, 352, 806, 308, 660, - 665, 670, 673, 323, 313, 465, 677, 678, 243, 682, - 496, 497, 696, 228, 704, 717, 320, 781, 783, 382, - 383, 406, 474, 394, 411, 800, 314, 803, 384, 385, - 331, 332, 821, 818, 275, 871, 274, 349, 240, 856, - 857, 461, 355, 909, 867, 264, 386, 387, 290, 305, - 904, 336, 911, 918, 448 + -32768, 359, 3, 534, 376, 400, 559, 560, 561, 293, + 292, 549, 555, 461, 4, 557, 765, 280, 564, 281, + 470, 566, 412, 568, 569, 133, 377, 294, 295, 413, + 301, 457, 583, 204, 300, 585, 282, 587, 592, 283, + 490, 441, 378, 345, 452, 209, 421, 448, 621, 269, + 629, 522, 637, 640, 379, 442, 651, 350, 808, 306, + 662, 667, 672, 675, 322, 311, 466, 679, 680, 243, + 684, 497, 498, 698, 228, 706, 719, 318, 783, 785, + 380, 381, 406, 475, 392, 411, 802, 312, 805, 382, + 383, 330, 331, 823, 820, 275, 873, 274, 347, 240, + 858, 859, 462, 353, 911, 869, 264, 384, 385, 289, + 303, 906, 335, 913, 920, 449 ); protected static $yylhs = array( - 0, 1, 2, 2, 4, 4, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 8, 8, 10, 10, 10, - 10, 9, 9, 11, 13, 13, 14, 14, 14, 14, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 35, 35, - 37, 36, 36, 29, 29, 39, 39, 6, 7, 7, - 7, 41, 41, 41, 42, 42, 45, 45, 43, 43, - 46, 46, 22, 22, 31, 31, 34, 34, 33, 33, - 47, 23, 23, 23, 23, 48, 48, 49, 49, 50, - 50, 20, 20, 16, 16, 51, 18, 18, 52, 17, - 17, 19, 19, 30, 30, 30, 40, 40, 54, 54, - 55, 55, 56, 56, 56, 56, 57, 57, 57, 58, - 58, 59, 59, 26, 26, 60, 60, 60, 27, 27, - 61, 61, 44, 44, 62, 62, 62, 62, 67, 67, - 68, 68, 69, 69, 69, 69, 70, 71, 71, 66, - 66, 63, 63, 65, 65, 73, 73, 72, 72, 72, - 72, 72, 72, 64, 64, 74, 74, 28, 28, 21, - 21, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, - 15, 15, 25, 25, 79, 79, 80, 80, 80, 75, - 82, 82, 86, 86, 87, 88, 88, 88, 88, 88, - 88, 92, 92, 38, 38, 38, 76, 76, 93, 93, - 89, 89, 94, 94, 94, 94, 94, 77, 77, 77, - 81, 81, 81, 85, 85, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 12, - 12, 12, 12, 12, 12, 78, 78, 78, 78, 100, - 100, 101, 101, 103, 103, 102, 102, 104, 104, 32, - 32, 32, 32, 106, 106, 105, 105, 105, 105, 105, - 107, 107, 91, 91, 95, 95, 90, 90, 108, 108, - 108, 108, 96, 96, 96, 96, 84, 84, 97, 97, - 97, 53, 109, 109, 110, 110, 110, 83, 83, 111, - 111, 112, 112, 112, 112, 98, 98, 98, 98, 113, - 113, 113, 113, 113, 113, 113, 114, 114, 114 + 0, 1, 2, 2, 4, 4, 5, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 9, 9, 11, 11, + 11, 11, 10, 10, 12, 14, 14, 15, 15, 15, + 15, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 36, + 36, 38, 37, 37, 30, 30, 40, 40, 7, 8, + 8, 8, 42, 42, 42, 43, 43, 46, 46, 44, + 44, 47, 47, 23, 23, 32, 32, 35, 35, 34, + 34, 48, 24, 24, 24, 24, 49, 49, 50, 50, + 51, 51, 21, 21, 17, 17, 52, 19, 19, 53, + 18, 18, 20, 20, 31, 31, 31, 41, 41, 55, + 55, 56, 56, 57, 57, 57, 57, 58, 58, 58, + 59, 59, 60, 60, 27, 27, 61, 61, 61, 28, + 28, 62, 62, 45, 45, 63, 63, 63, 63, 68, + 68, 69, 69, 70, 70, 70, 70, 71, 72, 72, + 67, 67, 64, 64, 66, 66, 74, 74, 73, 73, + 73, 73, 73, 73, 65, 65, 75, 75, 29, 29, + 22, 22, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 16, 16, 26, 26, 80, 80, 81, 81, 81, + 76, 83, 83, 87, 87, 88, 89, 89, 89, 89, + 89, 89, 93, 93, 39, 39, 39, 77, 77, 94, + 94, 90, 90, 95, 95, 95, 95, 95, 78, 78, + 78, 82, 82, 82, 86, 86, 100, 100, 100, 100, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, + 13, 13, 13, 13, 13, 13, 79, 79, 79, 79, + 101, 101, 102, 102, 104, 104, 103, 103, 105, 105, + 33, 33, 33, 33, 107, 107, 106, 106, 106, 106, + 106, 108, 108, 92, 92, 96, 96, 91, 91, 109, + 109, 109, 109, 97, 97, 97, 97, 85, 85, 98, + 98, 98, 54, 110, 110, 111, 111, 111, 84, 84, + 112, 112, 113, 113, 113, 113, 99, 99, 99, 99, + 114, 114, 114, 114, 114, 114, 114, 115, 115, 115 ); protected static $yylen = array( 1, 1, 2, 0, 1, 3, 1, 1, 1, 1, - 3, 5, 4, 3, 3, 3, 1, 1, 3, 2, - 4, 3, 1, 3, 2, 0, 1, 1, 1, 1, - 3, 5, 8, 3, 5, 9, 3, 2, 3, 2, - 3, 2, 3, 2, 3, 3, 3, 1, 2, 5, - 7, 9, 5, 1, 6, 3, 3, 2, 0, 2, - 8, 0, 4, 1, 3, 0, 1, 9, 7, 6, - 5, 1, 2, 2, 0, 2, 0, 2, 0, 2, - 1, 3, 1, 4, 1, 4, 1, 4, 1, 3, - 3, 3, 4, 4, 5, 0, 2, 4, 3, 1, - 1, 1, 4, 0, 2, 3, 0, 2, 4, 0, - 2, 0, 3, 1, 2, 1, 1, 0, 1, 3, - 3, 5, 0, 1, 1, 1, 2, 3, 3, 1, - 3, 1, 2, 3, 1, 1, 2, 4, 3, 1, - 1, 3, 2, 0, 3, 3, 8, 3, 1, 3, - 0, 2, 4, 5, 4, 4, 3, 1, 1, 1, - 3, 1, 1, 0, 1, 1, 2, 1, 1, 1, - 1, 1, 1, 1, 3, 1, 3, 3, 1, 0, - 1, 1, 3, 3, 4, 4, 1, 2, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, - 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, - 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 1, 3, 5, 4, 4, 4, 2, 2, + 1, 3, 5, 4, 3, 3, 3, 1, 1, 3, + 2, 4, 3, 1, 3, 2, 0, 1, 1, 1, + 1, 3, 5, 8, 3, 5, 9, 3, 2, 3, + 2, 3, 2, 3, 2, 3, 3, 3, 1, 2, + 5, 7, 9, 5, 1, 6, 3, 3, 2, 0, + 2, 8, 0, 4, 1, 3, 0, 1, 9, 7, + 6, 5, 1, 2, 2, 0, 2, 0, 2, 0, + 2, 1, 3, 1, 4, 1, 4, 1, 4, 1, + 3, 3, 3, 4, 4, 5, 0, 2, 4, 3, + 1, 1, 1, 4, 0, 2, 3, 0, 2, 4, + 0, 2, 0, 3, 1, 2, 1, 1, 0, 1, + 3, 3, 5, 0, 1, 1, 1, 2, 3, 3, + 1, 3, 1, 2, 3, 1, 1, 2, 4, 3, + 1, 1, 3, 2, 0, 3, 3, 8, 3, 1, + 3, 0, 2, 4, 5, 4, 4, 3, 1, 1, + 1, 3, 1, 1, 0, 1, 1, 2, 1, 1, + 1, 1, 1, 1, 1, 3, 1, 3, 3, 1, + 0, 1, 1, 3, 3, 4, 4, 1, 2, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 1, 3, 5, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 1, 1, 1, 3, 2, 1, 9, 10, - 3, 3, 2, 4, 4, 3, 4, 4, 4, 3, - 0, 4, 1, 3, 2, 2, 4, 6, 2, 2, - 4, 1, 1, 1, 2, 3, 1, 1, 1, 1, - 1, 1, 0, 3, 3, 4, 4, 0, 2, 1, - 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 2, 1, 1, - 3, 2, 2, 4, 3, 1, 3, 3, 3, 1, - 1, 0, 2, 0, 1, 3, 1, 3, 1, 1, - 1, 1, 1, 6, 4, 3, 4, 2, 4, 4, - 1, 3, 1, 2, 1, 1, 4, 1, 3, 6, - 4, 4, 4, 4, 1, 4, 0, 1, 1, 3, - 1, 4, 3, 1, 1, 1, 0, 0, 2, 3, - 1, 3, 1, 4, 2, 2, 2, 1, 2, 1, - 4, 3, 3, 3, 6, 3, 1, 1, 1 + 2, 2, 2, 1, 1, 1, 3, 2, 1, 9, + 10, 3, 3, 2, 4, 4, 3, 4, 4, 4, + 3, 0, 4, 1, 3, 2, 2, 4, 6, 2, + 2, 4, 1, 1, 1, 2, 3, 1, 1, 1, + 1, 1, 1, 0, 3, 3, 4, 4, 0, 2, + 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 3, 2, 1, + 1, 3, 2, 2, 4, 3, 1, 3, 3, 3, + 1, 1, 0, 2, 0, 1, 3, 1, 3, 1, + 1, 1, 1, 1, 6, 4, 3, 4, 2, 4, + 4, 1, 3, 1, 2, 1, 1, 4, 1, 3, + 6, 4, 4, 4, 4, 1, 4, 0, 1, 1, + 3, 1, 4, 3, 1, 1, 1, 0, 0, 2, + 3, 1, 3, 1, 4, 2, 2, 2, 1, 2, + 1, 4, 3, 3, 3, 6, 3, 1, 1, 1 ); protected $yyval; @@ -1136,7 +1136,7 @@ class Parser } protected function yyn6($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Name($this->yyastk[$this->stackPos-(1-1)], $attributes); } protected function yyn7($attributes) { @@ -1148,75 +1148,75 @@ class Parser } protected function yyn9($attributes) { - $this->yyval = new Node\Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn10($attributes) { - $this->yyval = new Node\Stmt\Namespace_(new Node\Name($this->yyastk[$this->stackPos-(3-2)], $attributes), null, $attributes); + $this->yyval = new Node\Stmt\HaltCompiler($this->lexer->handleHaltCompiler(), $attributes); } protected function yyn11($attributes) { - $this->yyval = new Node\Stmt\Namespace_(new Node\Name($this->yyastk[$this->stackPos-(5-2)], $attributes), $this->yyastk[$this->stackPos-(5-4)], $attributes); + $this->yyval = new Node\Stmt\Namespace_($this->yyastk[$this->stackPos-(3-2)], null, $attributes); } protected function yyn12($attributes) { - $this->yyval = new Node\Stmt\Namespace_(null, $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Stmt\Namespace_($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes); } protected function yyn13($attributes) { - $this->yyval = new Node\Stmt\Use_($this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = new Node\Stmt\Namespace_(null, $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn14($attributes) { - $this->yyval = new Node\Stmt\Const_($this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = new Node\Stmt\Use_($this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn15($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = new Node\Stmt\Const_($this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn16($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn17($attributes) { - $this->yyval = new Node\Stmt\UseUse(new Node\Name($this->yyastk[$this->stackPos-(1-1)], $attributes), null, $attributes); - } - - protected function yyn18($attributes) { - $this->yyval = new Node\Stmt\UseUse(new Node\Name($this->yyastk[$this->stackPos-(3-1)], $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn19($attributes) { - $this->yyval = new Node\Stmt\UseUse(new Node\Name($this->yyastk[$this->stackPos-(2-2)], $attributes), null, $attributes); - } - - protected function yyn20($attributes) { - $this->yyval = new Node\Stmt\UseUse(new Node\Name($this->yyastk[$this->stackPos-(4-2)], $attributes), $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn21($attributes) { $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } - protected function yyn22($attributes) { + protected function yyn17($attributes) { $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } + protected function yyn18($attributes) { + $this->yyval = new Node\Stmt\UseUse($this->yyastk[$this->stackPos-(1-1)], null, $attributes); + } + + protected function yyn19($attributes) { + $this->yyval = new Node\Stmt\UseUse($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn20($attributes) { + $this->yyval = new Node\Stmt\UseUse($this->yyastk[$this->stackPos-(2-2)], null, $attributes); + } + + protected function yyn21($attributes) { + $this->yyval = new Node\Stmt\UseUse($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + + protected function yyn22($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + protected function yyn23($attributes) { - $this->yyval = new Node\Const_($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn24($attributes) { - if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; }; + $this->yyval = new Node\Const_($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn25($attributes) { - $this->yyval = array(); + if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; }; } protected function yyn26($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array(); } protected function yyn27($attributes) { @@ -1228,539 +1228,539 @@ class Parser } protected function yyn29($attributes) { - throw new Error('__HALT_COMPILER() can only be used from the outermost scope'); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn30($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + throw new Error('__HALT_COMPILER() can only be used from the outermost scope'); } protected function yyn31($attributes) { - $this->yyval = new Node\Stmt\If_($this->yyastk[$this->stackPos-(5-2)], array('stmts' => is_array($this->yyastk[$this->stackPos-(5-3)]) ? $this->yyastk[$this->stackPos-(5-3)] : array($this->yyastk[$this->stackPos-(5-3)]), 'elseifs' => $this->yyastk[$this->stackPos-(5-4)], 'else' => $this->yyastk[$this->stackPos-(5-5)]), $attributes); - } - - protected function yyn32($attributes) { - $this->yyval = new Node\Stmt\If_($this->yyastk[$this->stackPos-(8-2)], array('stmts' => $this->yyastk[$this->stackPos-(8-4)], 'elseifs' => $this->yyastk[$this->stackPos-(8-5)], 'else' => $this->yyastk[$this->stackPos-(8-6)]), $attributes); - } - - protected function yyn33($attributes) { - $this->yyval = new Node\Stmt\While_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn34($attributes) { - $this->yyval = new Node\Stmt\Do_($this->yyastk[$this->stackPos-(5-4)], is_array($this->yyastk[$this->stackPos-(5-2)]) ? $this->yyastk[$this->stackPos-(5-2)] : array($this->yyastk[$this->stackPos-(5-2)]), $attributes); - } - - protected function yyn35($attributes) { - $this->yyval = new Node\Stmt\For_(array('init' => $this->yyastk[$this->stackPos-(9-3)], 'cond' => $this->yyastk[$this->stackPos-(9-5)], 'loop' => $this->yyastk[$this->stackPos-(9-7)], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes); - } - - protected function yyn36($attributes) { - $this->yyval = new Node\Stmt\Switch_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn37($attributes) { - $this->yyval = new Node\Stmt\Break_(null, $attributes); - } - - protected function yyn38($attributes) { - $this->yyval = new Node\Stmt\Break_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn39($attributes) { - $this->yyval = new Node\Stmt\Continue_(null, $attributes); - } - - protected function yyn40($attributes) { - $this->yyval = new Node\Stmt\Continue_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn41($attributes) { - $this->yyval = new Node\Stmt\Return_(null, $attributes); - } - - protected function yyn42($attributes) { - $this->yyval = new Node\Stmt\Return_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn43($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn44($attributes) { - $this->yyval = new Node\Stmt\Global_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn45($attributes) { - $this->yyval = new Node\Stmt\Static_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn46($attributes) { - $this->yyval = new Node\Stmt\Echo_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn47($attributes) { - $this->yyval = new Node\Stmt\InlineHTML($this->yyastk[$this->stackPos-(1-1)], $attributes); - } - - protected function yyn48($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn49($attributes) { - $this->yyval = new Node\Stmt\Unset_($this->yyastk[$this->stackPos-(5-3)], $attributes); - } - - protected function yyn50($attributes) { - $this->yyval = new Node\Stmt\Foreach_($this->yyastk[$this->stackPos-(7-3)], $this->yyastk[$this->stackPos-(7-5)][0], array('keyVar' => null, 'byRef' => $this->yyastk[$this->stackPos-(7-5)][1], 'stmts' => $this->yyastk[$this->stackPos-(7-7)]), $attributes); - } - - protected function yyn51($attributes) { - $this->yyval = new Node\Stmt\Foreach_($this->yyastk[$this->stackPos-(9-3)], $this->yyastk[$this->stackPos-(9-7)][0], array('keyVar' => $this->yyastk[$this->stackPos-(9-5)], 'byRef' => $this->yyastk[$this->stackPos-(9-7)][1], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes); - } - - protected function yyn52($attributes) { - $this->yyval = new Node\Stmt\Declare_($this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); - } - - protected function yyn53($attributes) { - $this->yyval = array(); /* means: no statement */ - } - - protected function yyn54($attributes) { - $this->yyval = new Node\Stmt\TryCatch($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $this->yyastk[$this->stackPos-(6-6)], $attributes); - } - - protected function yyn55($attributes) { - $this->yyval = new Node\Stmt\Throw_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn56($attributes) { - $this->yyval = new Node\Stmt\Goto_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn57($attributes) { - $this->yyval = new Node\Stmt\Label($this->yyastk[$this->stackPos-(2-1)], $attributes); - } - - protected function yyn58($attributes) { - $this->yyval = array(); - } - - protected function yyn59($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn60($attributes) { - $this->yyval = new Node\Stmt\Catch_($this->yyastk[$this->stackPos-(8-3)], substr($this->yyastk[$this->stackPos-(8-4)], 1), $this->yyastk[$this->stackPos-(8-7)], $attributes); - } - - protected function yyn61($attributes) { - $this->yyval = null; - } - - protected function yyn62($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; - } - - protected function yyn63($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn64($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn65($attributes) { - $this->yyval = false; - } - - protected function yyn66($attributes) { - $this->yyval = true; - } - - protected function yyn67($attributes) { - $this->yyval = new Node\Stmt\Function_($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); - } - - protected function yyn68($attributes) { - $this->yyval = new Node\Stmt\Class_($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes); - } - - protected function yyn69($attributes) { - $this->yyval = new Node\Stmt\Interface_($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes); - } - - protected function yyn70($attributes) { - $this->yyval = new Node\Stmt\Trait_($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes); - } - - protected function yyn71($attributes) { - $this->yyval = 0; - } - - protected function yyn72($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_ABSTRACT; - } - - protected function yyn73($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_FINAL; - } - - protected function yyn74($attributes) { - $this->yyval = null; - } - - protected function yyn75($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; - } - - protected function yyn76($attributes) { - $this->yyval = array(); - } - - protected function yyn77($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; - } - - protected function yyn78($attributes) { - $this->yyval = array(); - } - - protected function yyn79($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; - } - - protected function yyn80($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn81($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn82($attributes) { - $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn83($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; - } - - protected function yyn84($attributes) { - $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn85($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; - } - - protected function yyn86($attributes) { - $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn87($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; - } - - protected function yyn88($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn89($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn90($attributes) { - $this->yyval = new Node\Stmt\DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn91($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } - protected function yyn92($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + protected function yyn32($attributes) { + $this->yyval = new Node\Stmt\If_($this->yyastk[$this->stackPos-(5-2)], array('stmts' => is_array($this->yyastk[$this->stackPos-(5-3)]) ? $this->yyastk[$this->stackPos-(5-3)] : array($this->yyastk[$this->stackPos-(5-3)]), 'elseifs' => $this->yyastk[$this->stackPos-(5-4)], 'else' => $this->yyastk[$this->stackPos-(5-5)]), $attributes); } - protected function yyn93($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + protected function yyn33($attributes) { + $this->yyval = new Node\Stmt\If_($this->yyastk[$this->stackPos-(8-2)], array('stmts' => $this->yyastk[$this->stackPos-(8-4)], 'elseifs' => $this->yyastk[$this->stackPos-(8-5)], 'else' => $this->yyastk[$this->stackPos-(8-6)]), $attributes); } - protected function yyn94($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(5-3)]; + protected function yyn34($attributes) { + $this->yyval = new Node\Stmt\While_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } - protected function yyn95($attributes) { + protected function yyn35($attributes) { + $this->yyval = new Node\Stmt\Do_($this->yyastk[$this->stackPos-(5-4)], is_array($this->yyastk[$this->stackPos-(5-2)]) ? $this->yyastk[$this->stackPos-(5-2)] : array($this->yyastk[$this->stackPos-(5-2)]), $attributes); + } + + protected function yyn36($attributes) { + $this->yyval = new Node\Stmt\For_(array('init' => $this->yyastk[$this->stackPos-(9-3)], 'cond' => $this->yyastk[$this->stackPos-(9-5)], 'loop' => $this->yyastk[$this->stackPos-(9-7)], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes); + } + + protected function yyn37($attributes) { + $this->yyval = new Node\Stmt\Switch_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn38($attributes) { + $this->yyval = new Node\Stmt\Break_(null, $attributes); + } + + protected function yyn39($attributes) { + $this->yyval = new Node\Stmt\Break_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn40($attributes) { + $this->yyval = new Node\Stmt\Continue_(null, $attributes); + } + + protected function yyn41($attributes) { + $this->yyval = new Node\Stmt\Continue_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn42($attributes) { + $this->yyval = new Node\Stmt\Return_(null, $attributes); + } + + protected function yyn43($attributes) { + $this->yyval = new Node\Stmt\Return_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn44($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn45($attributes) { + $this->yyval = new Node\Stmt\Global_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn46($attributes) { + $this->yyval = new Node\Stmt\Static_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn47($attributes) { + $this->yyval = new Node\Stmt\Echo_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn48($attributes) { + $this->yyval = new Node\Stmt\InlineHTML($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn49($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn50($attributes) { + $this->yyval = new Node\Stmt\Unset_($this->yyastk[$this->stackPos-(5-3)], $attributes); + } + + protected function yyn51($attributes) { + $this->yyval = new Node\Stmt\Foreach_($this->yyastk[$this->stackPos-(7-3)], $this->yyastk[$this->stackPos-(7-5)][0], array('keyVar' => null, 'byRef' => $this->yyastk[$this->stackPos-(7-5)][1], 'stmts' => $this->yyastk[$this->stackPos-(7-7)]), $attributes); + } + + protected function yyn52($attributes) { + $this->yyval = new Node\Stmt\Foreach_($this->yyastk[$this->stackPos-(9-3)], $this->yyastk[$this->stackPos-(9-7)][0], array('keyVar' => $this->yyastk[$this->stackPos-(9-5)], 'byRef' => $this->yyastk[$this->stackPos-(9-7)][1], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes); + } + + protected function yyn53($attributes) { + $this->yyval = new Node\Stmt\Declare_($this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); + } + + protected function yyn54($attributes) { + $this->yyval = array(); /* means: no statement */ + } + + protected function yyn55($attributes) { + $this->yyval = new Node\Stmt\TryCatch($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $this->yyastk[$this->stackPos-(6-6)], $attributes); + } + + protected function yyn56($attributes) { + $this->yyval = new Node\Stmt\Throw_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn57($attributes) { + $this->yyval = new Node\Stmt\Goto_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn58($attributes) { + $this->yyval = new Node\Stmt\Label($this->yyastk[$this->stackPos-(2-1)], $attributes); + } + + protected function yyn59($attributes) { $this->yyval = array(); } - protected function yyn96($attributes) { + protected function yyn60($attributes) { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } + protected function yyn61($attributes) { + $this->yyval = new Node\Stmt\Catch_($this->yyastk[$this->stackPos-(8-3)], substr($this->yyastk[$this->stackPos-(8-4)], 1), $this->yyastk[$this->stackPos-(8-7)], $attributes); + } + + protected function yyn62($attributes) { + $this->yyval = null; + } + + protected function yyn63($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + + protected function yyn64($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn65($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn66($attributes) { + $this->yyval = false; + } + + protected function yyn67($attributes) { + $this->yyval = true; + } + + protected function yyn68($attributes) { + $this->yyval = new Node\Stmt\Function_($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); + } + + protected function yyn69($attributes) { + $this->yyval = new Node\Stmt\Class_($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes); + } + + protected function yyn70($attributes) { + $this->yyval = new Node\Stmt\Interface_($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes); + } + + protected function yyn71($attributes) { + $this->yyval = new Node\Stmt\Trait_($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes); + } + + protected function yyn72($attributes) { + $this->yyval = 0; + } + + protected function yyn73($attributes) { + $this->yyval = Node\Stmt\Class_::MODIFIER_ABSTRACT; + } + + protected function yyn74($attributes) { + $this->yyval = Node\Stmt\Class_::MODIFIER_FINAL; + } + + protected function yyn75($attributes) { + $this->yyval = null; + } + + protected function yyn76($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; + } + + protected function yyn77($attributes) { + $this->yyval = array(); + } + + protected function yyn78($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; + } + + protected function yyn79($attributes) { + $this->yyval = array(); + } + + protected function yyn80($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-2)]; + } + + protected function yyn81($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn82($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn83($attributes) { + $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn84($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + } + + protected function yyn85($attributes) { + $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn86($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + } + + protected function yyn87($attributes) { + $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn88($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + } + + protected function yyn89($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn90($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn91($attributes) { + $this->yyval = new Node\Stmt\DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn92($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn93($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + } + + protected function yyn94($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + } + + protected function yyn95($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(5-3)]; + } + + protected function yyn96($attributes) { + $this->yyval = array(); + } + protected function yyn97($attributes) { - $this->yyval = new Node\Stmt\Case_($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn98($attributes) { - $this->yyval = new Node\Stmt\Case_(null, $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Stmt\Case_($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } - protected function yyn99() { - $this->yyval = $this->yyastk[$this->stackPos]; + protected function yyn99($attributes) { + $this->yyval = new Node\Stmt\Case_(null, $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn100() { $this->yyval = $this->yyastk[$this->stackPos]; } - protected function yyn101($attributes) { - $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); + protected function yyn101() { + $this->yyval = $this->yyastk[$this->stackPos]; } protected function yyn102($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; + $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn103($attributes) { - $this->yyval = array(); + $this->yyval = $this->yyastk[$this->stackPos-(4-2)]; } protected function yyn104($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = array(); } protected function yyn105($attributes) { - $this->yyval = new Node\Stmt\ElseIf_($this->yyastk[$this->stackPos-(3-2)], is_array($this->yyastk[$this->stackPos-(3-3)]) ? $this->yyastk[$this->stackPos-(3-3)] : array($this->yyastk[$this->stackPos-(3-3)]), $attributes); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn106($attributes) { - $this->yyval = array(); + $this->yyval = new Node\Stmt\ElseIf_($this->yyastk[$this->stackPos-(3-2)], is_array($this->yyastk[$this->stackPos-(3-3)]) ? $this->yyastk[$this->stackPos-(3-3)] : array($this->yyastk[$this->stackPos-(3-3)]), $attributes); } protected function yyn107($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = array(); } protected function yyn108($attributes) { - $this->yyval = new Node\Stmt\ElseIf_($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn109($attributes) { - $this->yyval = null; + $this->yyval = new Node\Stmt\ElseIf_($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn110($attributes) { - $this->yyval = new Node\Stmt\Else_(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes); + $this->yyval = null; } protected function yyn111($attributes) { - $this->yyval = null; + $this->yyval = new Node\Stmt\Else_(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes); } protected function yyn112($attributes) { - $this->yyval = new Node\Stmt\Else_($this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = null; } protected function yyn113($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false); + $this->yyval = new Node\Stmt\Else_($this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn114($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true); - } - - protected function yyn115($attributes) { $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false); } + protected function yyn115($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true); + } + protected function yyn116($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false); } protected function yyn117($attributes) { - $this->yyval = array(); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn118($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = array(); } protected function yyn119($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn120($attributes) { - $this->yyval = new Node\Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn121($attributes) { - $this->yyval = new Node\Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes); + $this->yyval = new Node\Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn122($attributes) { - $this->yyval = null; + $this->yyval = new Node\Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes); } protected function yyn123($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn124($attributes) { - $this->yyval = 'array'; - } - - protected function yyn125($attributes) { - $this->yyval = 'callable'; - } - - protected function yyn126($attributes) { - $this->yyval = array(); - } - - protected function yyn127($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn128($attributes) { - $this->yyval = array(new Node\Arg($this->yyastk[$this->stackPos-(3-2)], false, $attributes)); - } - - protected function yyn129($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn130($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn131($attributes) { - $this->yyval = new Node\Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes); - } - - protected function yyn132($attributes) { - $this->yyval = new Node\Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes); - } - - protected function yyn133($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn134($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn135($attributes) { - $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); - } - - protected function yyn136($attributes) { - $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn137($attributes) { - $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn138($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn139($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn140($attributes) { - $this->yyval = new Node\Stmt\StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); - } - - protected function yyn141($attributes) { - $this->yyval = new Node\Stmt\StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn142($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn143($attributes) { - $this->yyval = array(); - } - - protected function yyn144($attributes) { - $this->yyval = new Node\Stmt\Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn145($attributes) { - $this->yyval = new Node\Stmt\ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn146($attributes) { - $this->yyval = new Node\Stmt\ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes); - } - - protected function yyn147($attributes) { - $this->yyval = new Node\Stmt\TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn148($attributes) { - $this->yyval = array(); - } - - protected function yyn149($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn150($attributes) { - $this->yyval = array(); - } - - protected function yyn151($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; - } - - protected function yyn152($attributes) { - $this->yyval = new Node\Stmt\TraitUseAdaptation\Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn153($attributes) { - $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes); - } - - protected function yyn154($attributes) { - $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes); - } - - protected function yyn155($attributes) { - $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn156($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]); - } - - protected function yyn157($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn158($attributes) { - $this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]); - } - - protected function yyn159($attributes) { $this->yyval = null; } - protected function yyn160($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; - } - - protected function yyn161($attributes) { + protected function yyn124($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } + protected function yyn125($attributes) { + $this->yyval = 'array'; + } + + protected function yyn126($attributes) { + $this->yyval = 'callable'; + } + + protected function yyn127($attributes) { + $this->yyval = array(); + } + + protected function yyn128($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn129($attributes) { + $this->yyval = array(new Node\Arg($this->yyastk[$this->stackPos-(3-2)], false, $attributes)); + } + + protected function yyn130($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn131($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn132($attributes) { + $this->yyval = new Node\Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes); + } + + protected function yyn133($attributes) { + $this->yyval = new Node\Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes); + } + + protected function yyn134($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn135($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn136($attributes) { + $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + } + + protected function yyn137($attributes) { + $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn138($attributes) { + $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn139($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn140($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn141($attributes) { + $this->yyval = new Node\Stmt\StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); + } + + protected function yyn142($attributes) { + $this->yyval = new Node\Stmt\StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn143($attributes) { + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn144($attributes) { + $this->yyval = array(); + } + + protected function yyn145($attributes) { + $this->yyval = new Node\Stmt\Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn146($attributes) { + $this->yyval = new Node\Stmt\ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn147($attributes) { + $this->yyval = new Node\Stmt\ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes); + } + + protected function yyn148($attributes) { + $this->yyval = new Node\Stmt\TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn149($attributes) { + $this->yyval = array(); + } + + protected function yyn150($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + + protected function yyn151($attributes) { + $this->yyval = array(); + } + + protected function yyn152($attributes) { + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + } + + protected function yyn153($attributes) { + $this->yyval = new Node\Stmt\TraitUseAdaptation\Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn154($attributes) { + $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes); + } + + protected function yyn155($attributes) { + $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes); + } + + protected function yyn156($attributes) { + $this->yyval = new Node\Stmt\TraitUseAdaptation\Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn157($attributes) { + $this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]); + } + + protected function yyn158($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn159($attributes) { + $this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]); + } + + protected function yyn160($attributes) { + $this->yyval = null; + } + + protected function yyn161($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + } + protected function yyn162($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_PUBLIC; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn163($attributes) { @@ -1768,7 +1768,7 @@ class Parser } protected function yyn164($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = Node\Stmt\Class_::MODIFIER_PUBLIC; } protected function yyn165($attributes) { @@ -1776,63 +1776,63 @@ class Parser } protected function yyn166($attributes) { - Node\Stmt\Class_::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)]; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn167($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_PUBLIC; + Node\Stmt\Class_::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)]; } protected function yyn168($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_PROTECTED; + $this->yyval = Node\Stmt\Class_::MODIFIER_PUBLIC; } protected function yyn169($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_PRIVATE; + $this->yyval = Node\Stmt\Class_::MODIFIER_PROTECTED; } protected function yyn170($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_STATIC; + $this->yyval = Node\Stmt\Class_::MODIFIER_PRIVATE; } protected function yyn171($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_ABSTRACT; + $this->yyval = Node\Stmt\Class_::MODIFIER_STATIC; } protected function yyn172($attributes) { - $this->yyval = Node\Stmt\Class_::MODIFIER_FINAL; + $this->yyval = Node\Stmt\Class_::MODIFIER_ABSTRACT; } protected function yyn173($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = Node\Stmt\Class_::MODIFIER_FINAL; } protected function yyn174($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn175($attributes) { - $this->yyval = new Node\Stmt\PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); - } - - protected function yyn176($attributes) { - $this->yyval = new Node\Stmt\PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn177($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; - } - - protected function yyn178($attributes) { $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } + protected function yyn175($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + + protected function yyn176($attributes) { + $this->yyval = new Node\Stmt\PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes); + } + + protected function yyn177($attributes) { + $this->yyval = new Node\Stmt\PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn178($attributes) { + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + } + protected function yyn179($attributes) { - $this->yyval = array(); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn180($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array(); } protected function yyn181($attributes) { @@ -1840,7 +1840,7 @@ class Parser } protected function yyn182($attributes) { - $this->yyval = new Node\Expr\Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn183($attributes) { @@ -1848,7 +1848,7 @@ class Parser } protected function yyn184($attributes) { - $this->yyval = new Node\Expr\AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyval = new Node\Expr\Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn185($attributes) { @@ -1856,271 +1856,271 @@ class Parser } protected function yyn186($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn187($attributes) { - $this->yyval = new Node\Expr\Clone_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn188($attributes) { - $this->yyval = new Node\Expr\AssignOp\Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\Clone_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn189($attributes) { - $this->yyval = new Node\Expr\AssignOp\Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn190($attributes) { - $this->yyval = new Node\Expr\AssignOp\Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn191($attributes) { - $this->yyval = new Node\Expr\AssignOp\Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn192($attributes) { - $this->yyval = new Node\Expr\AssignOp\Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn193($attributes) { - $this->yyval = new Node\Expr\AssignOp\Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn194($attributes) { - $this->yyval = new Node\Expr\AssignOp\BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn195($attributes) { - $this->yyval = new Node\Expr\AssignOp\BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn196($attributes) { - $this->yyval = new Node\Expr\AssignOp\BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn197($attributes) { - $this->yyval = new Node\Expr\AssignOp\ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn198($attributes) { - $this->yyval = new Node\Expr\AssignOp\ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\AssignOp\ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn199($attributes) { - $this->yyval = new Node\Expr\PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes); + $this->yyval = new Node\Expr\AssignOp\ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn200($attributes) { - $this->yyval = new Node\Expr\PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes); } protected function yyn201($attributes) { - $this->yyval = new Node\Expr\PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes); + $this->yyval = new Node\Expr\PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn202($attributes) { - $this->yyval = new Node\Expr\PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes); } protected function yyn203($attributes) { - $this->yyval = new Node\Expr\BinaryOp\BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn204($attributes) { - $this->yyval = new Node\Expr\BinaryOp\BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn205($attributes) { - $this->yyval = new Node\Expr\BinaryOp\LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn206($attributes) { - $this->yyval = new Node\Expr\BinaryOp\LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn207($attributes) { - $this->yyval = new Node\Expr\BinaryOp\LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn208($attributes) { - $this->yyval = new Node\Expr\BinaryOp\BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn209($attributes) { - $this->yyval = new Node\Expr\BinaryOp\BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn210($attributes) { - $this->yyval = new Node\Expr\BinaryOp\BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn211($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn212($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn213($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn214($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn215($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn216($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn217($attributes) { - $this->yyval = new Node\Expr\BinaryOp\ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn218($attributes) { - $this->yyval = new Node\Expr\BinaryOp\ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn219($attributes) { - $this->yyval = new Node\Expr\UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn220($attributes) { - $this->yyval = new Node\Expr\UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn221($attributes) { - $this->yyval = new Node\Expr\BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn222($attributes) { - $this->yyval = new Node\Expr\BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn223($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn224($attributes) { - $this->yyval = new Node\Expr\BinaryOp\NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn225($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn226($attributes) { - $this->yyval = new Node\Expr\BinaryOp\NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn227($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn228($attributes) { - $this->yyval = new Node\Expr\BinaryOp\SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn229($attributes) { - $this->yyval = new Node\Expr\BinaryOp\Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn230($attributes) { - $this->yyval = new Node\Expr\BinaryOp\GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn231($attributes) { - $this->yyval = new Node\Expr\Instanceof_($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\BinaryOp\GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn232($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\Instanceof_($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn233($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn234($attributes) { - $this->yyval = new Node\Expr\Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn235($attributes) { - $this->yyval = new Node\Expr\Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyval = new Node\Expr\Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes); } protected function yyn236($attributes) { - $this->yyval = new Node\Expr\Isset_($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn237($attributes) { - $this->yyval = new Node\Expr\Empty_($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Isset_($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn238($attributes) { - $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_INCLUDE, $attributes); + $this->yyval = new Node\Expr\Empty_($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn239($attributes) { - $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_INCLUDE_ONCE, $attributes); + $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_INCLUDE, $attributes); } protected function yyn240($attributes) { - $this->yyval = new Node\Expr\Eval_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_INCLUDE_ONCE, $attributes); } protected function yyn241($attributes) { - $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_REQUIRE, $attributes); + $this->yyval = new Node\Expr\Eval_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn242($attributes) { - $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_REQUIRE_ONCE, $attributes); + $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_REQUIRE, $attributes); } protected function yyn243($attributes) { - $this->yyval = new Node\Expr\Cast\Int($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Include_($this->yyastk[$this->stackPos-(2-2)], Node\Expr\Include_::TYPE_REQUIRE_ONCE, $attributes); } protected function yyn244($attributes) { - $this->yyval = new Node\Expr\Cast\Double($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Int($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn245($attributes) { - $this->yyval = new Node\Expr\Cast\String($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Double($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn246($attributes) { - $this->yyval = new Node\Expr\Cast\Array_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\String($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn247($attributes) { - $this->yyval = new Node\Expr\Cast\Object($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Array_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn248($attributes) { - $this->yyval = new Node\Expr\Cast\Bool($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Object($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn249($attributes) { - $this->yyval = new Node\Expr\Cast\Unset_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Bool($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn250($attributes) { - $this->yyval = new Node\Expr\Exit_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Cast\Unset_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn251($attributes) { - $this->yyval = new Node\Expr\ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\Exit_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn252($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn253($attributes) { @@ -2132,27 +2132,27 @@ class Parser } protected function yyn255($attributes) { - $this->yyval = new Node\Expr\ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn256($attributes) { - $this->yyval = new Node\Expr\Print_($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn257($attributes) { - $this->yyval = new Node\Expr\Yield_(null, null, $attributes); + $this->yyval = new Node\Expr\Print_($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn258($attributes) { - $this->yyval = new Node\Expr\Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); + $this->yyval = new Node\Expr\Yield_(null, null, $attributes); } protected function yyn259($attributes) { - $this->yyval = new Node\Expr\Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes); + $this->yyval = new Node\Expr\Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes); } protected function yyn260($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = new Node\Expr\Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes); } protected function yyn261($attributes) { @@ -2160,70 +2160,74 @@ class Parser } protected function yyn262($attributes) { - $this->yyval = new Node\Expr\Yield_($this->yyastk[$this->stackPos-(2-2)], null, $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn263($attributes) { - $this->yyval = new Node\Expr\Yield_($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-2)], $attributes); + $this->yyval = new Node\Expr\Yield_($this->yyastk[$this->stackPos-(2-2)], null, $attributes); } protected function yyn264($attributes) { - $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Yield_($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-2)], $attributes); } protected function yyn265($attributes) { - $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn266($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn267($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Scalar\String(Node\Scalar\String::parse($this->yyastk[$this->stackPos-(4-1)]), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn268($attributes) { $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } + protected function yyn268($attributes) { + $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Scalar\String(Node\Scalar\String::parse($this->yyastk[$this->stackPos-(4-1)]), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); + } + protected function yyn269($attributes) { - $this->yyval = new Node\Expr\New_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn270($attributes) { - $this->yyval = array(); + $this->yyval = new Node\Expr\New_($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn271($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; + $this->yyval = array(); } protected function yyn272($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyval = $this->yyastk[$this->stackPos-(4-3)]; } protected function yyn273($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn274($attributes) { - $this->yyval = new Node\Expr\ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn275($attributes) { - $this->yyval = new Node\Expr\FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes); } protected function yyn276($attributes) { - $this->yyval = new Node\Expr\StaticCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyval = new Node\Expr\FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn277($attributes) { - $this->yyval = new Node\Expr\StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-4)], $this->yyastk[$this->stackPos-(6-6)], $attributes); + $this->yyval = new Node\Expr\StaticCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn278($attributes) { + $this->yyval = new Node\Expr\StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-4)], $this->yyastk[$this->stackPos-(6-6)], $attributes); + } + + protected function yyn279($attributes) { if ($this->yyastk[$this->stackPos-(2-1)] instanceof Node\Expr\StaticPropertyFetch) { $this->yyval = new Node\Expr\StaticCall($this->yyastk[$this->stackPos-(2-1)]->class, new Node\Expr\Variable($this->yyastk[$this->stackPos-(2-1)]->name, $attributes), $this->yyastk[$this->stackPos-(2-2)], $attributes); @@ -2241,36 +2245,32 @@ class Parser } - protected function yyn279($attributes) { + protected function yyn280($attributes) { $this->yyval = new Node\Expr\FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes); } - protected function yyn280($attributes) { + protected function yyn281($attributes) { $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } - protected function yyn281($attributes) { + protected function yyn282($attributes) { $this->yyval = new Node\Name('static', $attributes); } - protected function yyn282($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - protected function yyn283($attributes) { - $this->yyval = new Node\Name($this->yyastk[$this->stackPos-(1-1)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn284($attributes) { - $this->yyval = new Node\Name\FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Name($this->yyastk[$this->stackPos-(1-1)], $attributes); } protected function yyn285($attributes) { - $this->yyval = new Node\Name\Relative($this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Name\FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn286($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Name\Relative($this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn287($attributes) { @@ -2293,12 +2293,12 @@ class Parser $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } - protected function yyn292() { - $this->yyval = $this->yyastk[$this->stackPos]; + protected function yyn292($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } - protected function yyn293($attributes) { - $this->yyval = new Node\Expr\PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + protected function yyn293() { + $this->yyval = $this->yyastk[$this->stackPos]; } protected function yyn294($attributes) { @@ -2306,7 +2306,7 @@ class Parser } protected function yyn295($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn296($attributes) { @@ -2314,7 +2314,7 @@ class Parser } protected function yyn297($attributes) { - $this->yyval = null; + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn298($attributes) { @@ -2322,167 +2322,167 @@ class Parser } protected function yyn299($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = null; } protected function yyn300($attributes) { - $this->yyval = array(); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn301($attributes) { - $this->yyval = array(Node\Scalar\String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`')); + $this->yyval = array(); } protected function yyn302($attributes) { - foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array(Node\Scalar\String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`')); } protected function yyn303($attributes) { - $this->yyval = array(); + foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn304($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn305($attributes) { - $this->yyval = new Node\Scalar\LNumber(Node\Scalar\LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); - } - - protected function yyn306($attributes) { - $this->yyval = new Node\Scalar\DNumber(Node\Scalar\DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); - } - - protected function yyn307($attributes) { - $this->yyval = new Node\Scalar\String(Node\Scalar\String::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); - } - - protected function yyn308($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Line($attributes); - } - - protected function yyn309($attributes) { - $this->yyval = new Node\Scalar\MagicConst\File($attributes); - } - - protected function yyn310($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Dir($attributes); - } - - protected function yyn311($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Class_($attributes); - } - - protected function yyn312($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Trait_($attributes); - } - - protected function yyn313($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Method($attributes); - } - - protected function yyn314($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Function_($attributes); - } - - protected function yyn315($attributes) { - $this->yyval = new Node\Scalar\MagicConst\Namespace_($attributes); - } - - protected function yyn316($attributes) { - $this->yyval = new Node\Scalar\String(Node\Scalar\String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes); - } - - protected function yyn317($attributes) { - $this->yyval = new Node\Scalar\String('', $attributes); - } - - protected function yyn318($attributes) { - $this->yyval = new Node\Expr\ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes); - } - - protected function yyn319($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn320($attributes) { - $this->yyval = new Node\Expr\ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn321($attributes) { - $this->yyval = new Node\Expr\UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn322($attributes) { - $this->yyval = new Node\Expr\UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); - } - - protected function yyn323($attributes) { - $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(4-3)], $attributes); - } - - protected function yyn324($attributes) { - $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn325($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn326($attributes) { - $this->yyval = new Node\Expr\ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); - } - - protected function yyn327($attributes) { - foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, '"'); } }; $this->yyval = new Node\Scalar\Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn328($attributes) { - foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new Node\Scalar\Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); - } - - protected function yyn329($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; - } - - protected function yyn330($attributes) { - $this->yyval = 'class'; - } - - protected function yyn331($attributes) { $this->yyval = array(); } - protected function yyn332($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + protected function yyn305($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } - protected function yyn333() { - $this->yyval = $this->yyastk[$this->stackPos]; + protected function yyn306($attributes) { + $this->yyval = new Node\Scalar\LNumber(Node\Scalar\LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); + } + + protected function yyn307($attributes) { + $this->yyval = new Node\Scalar\DNumber(Node\Scalar\DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); + } + + protected function yyn308($attributes) { + $this->yyval = new Node\Scalar\String(Node\Scalar\String::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes); + } + + protected function yyn309($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Line($attributes); + } + + protected function yyn310($attributes) { + $this->yyval = new Node\Scalar\MagicConst\File($attributes); + } + + protected function yyn311($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Dir($attributes); + } + + protected function yyn312($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Class_($attributes); + } + + protected function yyn313($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Trait_($attributes); + } + + protected function yyn314($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Method($attributes); + } + + protected function yyn315($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Function_($attributes); + } + + protected function yyn316($attributes) { + $this->yyval = new Node\Scalar\MagicConst\Namespace_($attributes); + } + + protected function yyn317($attributes) { + $this->yyval = new Node\Scalar\String(Node\Scalar\String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes); + } + + protected function yyn318($attributes) { + $this->yyval = new Node\Scalar\String('', $attributes); + } + + protected function yyn319($attributes) { + $this->yyval = new Node\Expr\ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn320($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn321($attributes) { + $this->yyval = new Node\Expr\ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn322($attributes) { + $this->yyval = new Node\Expr\UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn323($attributes) { + $this->yyval = new Node\Expr\UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes); + } + + protected function yyn324($attributes) { + $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(4-3)], $attributes); + } + + protected function yyn325($attributes) { + $this->yyval = new Node\Expr\Array_($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn326($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn327($attributes) { + $this->yyval = new Node\Expr\ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + } + + protected function yyn328($attributes) { + foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, '"'); } }; $this->yyval = new Node\Scalar\Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn329($attributes) { + foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new Node\Scalar\Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes); + } + + protected function yyn330($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + } + + protected function yyn331($attributes) { + $this->yyval = 'class'; + } + + protected function yyn332($attributes) { + $this->yyval = array(); + } + + protected function yyn333($attributes) { + $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn334() { $this->yyval = $this->yyastk[$this->stackPos]; } - protected function yyn335($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + protected function yyn335() { + $this->yyval = $this->yyastk[$this->stackPos]; } protected function yyn336($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn337($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn338($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); } protected function yyn339($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); } protected function yyn340($attributes) { @@ -2498,27 +2498,27 @@ class Parser } protected function yyn343($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn344($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes); } protected function yyn345($attributes) { - $this->yyval = new Node\Expr\PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn346($attributes) { - $this->yyval = new Node\Expr\MethodCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + $this->yyval = new Node\Expr\PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn347($attributes) { - $this->yyval = new Node\Expr\FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = new Node\Expr\MethodCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes); } protected function yyn348($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn349($attributes) { @@ -2526,23 +2526,23 @@ class Parser } protected function yyn350($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn351($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn352($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn353($attributes) { - $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn354($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(2-2)], $attributes); } protected function yyn355($attributes) { @@ -2550,23 +2550,23 @@ class Parser } protected function yyn356($attributes) { - $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); - } - - protected function yyn357($attributes) { $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } + protected function yyn357($attributes) { + $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes); + } + protected function yyn358($attributes) { - $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn359($attributes) { - $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes); + $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes); } protected function yyn360($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes); } protected function yyn361($attributes) { @@ -2582,19 +2582,19 @@ class Parser } protected function yyn364($attributes) { - $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + $this->yyval = new Node\Expr\ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn365($attributes) { - $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); } protected function yyn366($attributes) { - $this->yyval = null; + $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn367($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = null; } protected function yyn368($attributes) { @@ -2602,27 +2602,27 @@ class Parser } protected function yyn369($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn370($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn371($attributes) { - $this->yyval = new Node\Expr\List_($this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn372($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = new Node\Expr\List_($this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn373($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn374($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn375($attributes) { @@ -2630,43 +2630,43 @@ class Parser } protected function yyn376($attributes) { - $this->yyval = null; + $this->yyval = $this->yyastk[$this->stackPos-(1-1)]; } protected function yyn377($attributes) { - $this->yyval = array(); + $this->yyval = null; } protected function yyn378($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = array(); } protected function yyn379($attributes) { - $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; + $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn380($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)]; } protected function yyn381($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn382($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes); } protected function yyn383($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes); + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes); } protected function yyn384($attributes) { - $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes); + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes); } protected function yyn385($attributes) { - $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; + $this->yyval = new Node\Expr\ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes); } protected function yyn386($attributes) { @@ -2674,27 +2674,27 @@ class Parser } protected function yyn387($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); + $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; } protected function yyn388($attributes) { - $this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); + $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]); } protected function yyn389($attributes) { - $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); + $this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } protected function yyn390($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); + $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); } protected function yyn391($attributes) { - $this->yyval = new Node\Expr\PropertyFetch(new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes); + $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes); } protected function yyn392($attributes) { - $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); + $this->yyval = new Node\Expr\PropertyFetch(new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes); } protected function yyn393($attributes) { @@ -2702,15 +2702,15 @@ class Parser } protected function yyn394($attributes) { - $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Expr\Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes); + $this->yyval = new Node\Expr\Variable($this->yyastk[$this->stackPos-(3-2)], $attributes); } protected function yyn395($attributes) { - $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; + $this->yyval = new Node\Expr\ArrayDimFetch(new Node\Expr\Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes); } protected function yyn396($attributes) { - $this->yyval = new Node\Scalar\String($this->yyastk[$this->stackPos-(1-1)], $attributes); + $this->yyval = $this->yyastk[$this->stackPos-(3-2)]; } protected function yyn397($attributes) { @@ -2718,6 +2718,10 @@ class Parser } protected function yyn398($attributes) { + $this->yyval = new Node\Scalar\String($this->yyastk[$this->stackPos-(1-1)], $attributes); + } + + protected function yyn399($attributes) { $this->yyval = new Node\Expr\Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes); } }