mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-26 20:04:48 +01:00
Add support for ClassName::$$a()
This commit is contained in:
parent
aea2f67c52
commit
3233fdd24d
@ -538,7 +538,7 @@ function_call:
|
||||
{ $$ = Expr_StaticCall[$1, $3, $5]; }
|
||||
| reference_variable T_PAAMAYIM_NEKUDOTAYIM T_STRING '(' function_call_argument_list ')'
|
||||
{ $$ = Expr_StaticCall[$1, $3, $5]; }
|
||||
| static_property_with_arrays '(' function_call_argument_list ')' {
|
||||
| static_property '(' function_call_argument_list ')' {
|
||||
if ($1 instanceof PHPParser_Node_Expr_StaticPropertyFetch) {
|
||||
$$ = Expr_StaticCall[$1->class, Expr_Variable[$1->name], $3];
|
||||
} elseif ($1 instanceof PHPParser_Node_Expr_ArrayDimFetch) {
|
||||
@ -688,7 +688,11 @@ variable_without_objects:
|
||||
|
||||
base_variable:
|
||||
variable_without_objects { $$ = $1; }
|
||||
| class_name T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable
|
||||
| static_property { $$ = $1; }
|
||||
;
|
||||
|
||||
static_property:
|
||||
class_name T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable
|
||||
{ $$ = Expr_StaticPropertyFetch[$1, $4]; }
|
||||
| reference_variable T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable
|
||||
{ $$ = Expr_StaticPropertyFetch[$1, $4]; }
|
||||
|
@ -9,11 +9,11 @@ class PHPParser_Parser
|
||||
const YYBADCH = 145;
|
||||
const YYMAXLEX = 380;
|
||||
const YYTERMS = 145;
|
||||
const YYNONTERMS = 90;
|
||||
const YYNONTERMS = 91;
|
||||
const YYLAST = 886;
|
||||
const YY2TBLSTATE = 329;
|
||||
const YY2TBLSTATE = 328;
|
||||
const YYGLAST = 416;
|
||||
const YYSTATES = 740;
|
||||
const YYSTATES = 741;
|
||||
const YYNLSTATES = 521;
|
||||
const YYINTERRTOK = 1;
|
||||
const YYUNEXPECTED = 32767;
|
||||
@ -337,95 +337,95 @@ class PHPParser_Parser
|
||||
);
|
||||
|
||||
protected static $yyaction = array(
|
||||
55, 56, 361, 57, 58,-32766,-32766,-32766, 246, 59,
|
||||
-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102, 839,
|
||||
839,-32766, 0,-32766,-32766, 44, 106, 107, 108, 109,
|
||||
110, 111, 112, 113, 114, 115, 116, 81, 121, 60,
|
||||
55, 56, 360, 57, 58,-32766,-32766,-32766, 246, 59,
|
||||
-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102, 840,
|
||||
644,-32766, 0,-32766,-32766, 44, 106, 107, 108, 109,
|
||||
110, 111, 112, 113, 114, 115, 116, 81, 257, 60,
|
||||
61, 266,-32766,-32766,-32766, 62,-32766, 63, 233, 234,
|
||||
64, 65, 66, 67, 68, 69, 70, 71,-32766, 244,
|
||||
72, 334, 362, 696, 698, 239, 784, 785, 363, 802,
|
||||
839, 294, 567, 359, 786, 50, 26, 364, 38, 365,
|
||||
615, 366, 474, 367,-32766, 476, 368, 257, 266, 266,
|
||||
39, 40, 369, 338, 335, 41, 370, 335, 73, 240,
|
||||
293, 336, 635, 371, 372, 406, 371, 372, 373, 374,
|
||||
375, 839, 550, 589, 376, 550, 589, 376, 377, 378,
|
||||
790, 791, 792, 787, 788, 250, 202, 82, 83, 84,
|
||||
383, 793, 789, 337, 574, 499, 123, 74, 53, 266,
|
||||
253, 839, 258, 43, 310, 85, 86, 87, 88, 89,
|
||||
72, 333, 361, 696, 698, 224, 784, 785, 362, 802,
|
||||
840, 488, 567, 358, 786, 50, 26, 363, 46, 364,
|
||||
615, 365, 474, 366,-32766, 476, 367, 38, 266, 225,
|
||||
39, 40, 368, 337, 334, 41, 369, 334, 73, 240,
|
||||
292, 335, 635, 370, 371, 294, 370, 371, 372, 373,
|
||||
374, 840, 550, 589, 375, 550, 589, 375, 376, 377,
|
||||
790, 791, 792, 787, 788, 250, 197, 82, 83, 84,
|
||||
383, 793, 789, 336, 574, 499, 123, 74, 52, 266,
|
||||
253, 840, 258, 43, 309, 85, 86, 87, 88, 89,
|
||||
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
||||
100, 101, 102, 103, 104, 105, 54, 245, 667, 668,
|
||||
669, 666, 665, 664, 525,-32766, 122,-32766,-32766,-32766,
|
||||
266, 525, 238, 199, 839,-32766, 224, 433,-32766,-32766,
|
||||
-32766, 616,-32766,-32766,-32766,-32766,-32766, 349, 843,-32766,
|
||||
534, 80, 236,-32766,-32766,-32766, 754, 762,-32766,-32766,
|
||||
266,-32766, 488,-32766, 762, 119,-32766, 33,-32766,-32766,
|
||||
-32766,-32766, 525, 241, 255, 869,-32766, 871, 870,-32766,
|
||||
-32766,-32766, 409,-32766, 565,-32766, 383,-32766, 332, 337,
|
||||
-32766, 51, 273, 120,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766, 659,-32766, 266,-32766, 762, 52,-32766, 345, 343,
|
||||
332, 501,-32766, 525, 242, 124, 832,-32766, 46, 266,
|
||||
-32766,-32766,-32766, 659,-32766, 268,-32766, 196,-32766,-32766,
|
||||
587,-32766, 100, 101, 102,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766, 831,-32766, 295,-32766, 762, 635,-32766, 127,
|
||||
412, 204, 588,-32766, 525, 237, 259, 644,-32766, 350,
|
||||
839,-32766,-32766,-32766, 860,-32766, -107,-32766, 117,-32766,
|
||||
20, 860,-32766,-32766,-32766, 206,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766, 118,-32766, 275,-32766, 762, 454,-32766,
|
||||
198, 653, 197, 354,-32766, 525, 226, 473, 27,-32766,
|
||||
481, 482,-32766,-32766,-32766, 130,-32766, 207,-32766, 795,
|
||||
-32766, 274, 203,-32766, 21, 656, 520,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766,-32766, 807,-32766, 225,-32766, 762, 449,
|
||||
-32766, 131, 299, 806, 208,-32766, 525,-32766,-32766,-32766,
|
||||
-32766, 795, 504,-32766,-32766,-32766, 578,-32766, 506,-32766,
|
||||
519,-32766, 515,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766,-32766,-32766, 507,-32766, 516,-32766, 762,
|
||||
511,-32766, 245, 564, 531, 502,-32766, 525, 103, 104,
|
||||
105,-32766, 245, 585,-32766,-32766,-32766, 490,-32766, 421,
|
||||
-32766, 126,-32766, 860, 399,-32766, 865, 439, 539,-32766,
|
||||
-32766,-32766,-32766,-32766,-32766,-32766, 526,-32766, 801,-32766,
|
||||
762, 525,-32766, 494, 451, 456, 430,-32766, 525, 413,
|
||||
429, 423,-32766, 590, 541,-32766,-32766,-32766, 403,-32766,
|
||||
402,-32766, 342,-32766, 344, 392,-32766, 393, 755, 404,
|
||||
266, 525, 226, 198, 840,-32766, 344, 433,-32766,-32766,
|
||||
-32766, 616,-32766,-32766,-32766,-32766,-32766, 348, 844,-32766,
|
||||
653, 80, 236,-32766,-32766,-32766, 754, 762,-32766,-32766,
|
||||
266,-32766, 293,-32766, 762, 118,-32766, 33,-32766,-32766,
|
||||
-32766,-32766, 525, 237, 255, 870,-32766, 872, 871,-32766,
|
||||
-32766,-32766, 409,-32766, 564,-32766, 383,-32766, 331, 336,
|
||||
-32766, 53, 273, 120,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766, 659,-32766, 266,-32766, 762, 51,-32766, 121, 342,
|
||||
331, 501,-32766, 525, 238, 124, 840,-32766, 268, 266,
|
||||
-32766,-32766,-32766, 659,-32766, 239,-32766, 196,-32766,-32766,
|
||||
588,-32766, 100, 101, 102,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766, 840,-32766, 406,-32766, 762, 635,-32766, 506,
|
||||
412, 199, 587,-32766, 525, 241, 454, 833,-32766, 349,
|
||||
832,-32766,-32766,-32766, 861,-32766, -107,-32766, 119,-32766,
|
||||
20, 861,-32766,-32766,-32766, 202,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766, 117,-32766, 449,-32766, 762, 259,-32766,
|
||||
203, 534, 204, 353,-32766, 525, 242, 481, 482,-32766,
|
||||
473, 27,-32766,-32766,-32766, 206,-32766, 207,-32766, 795,
|
||||
-32766, 266, 208,-32766, 21, 656, 520,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766,-32766, 807,-32766, 275,-32766, 762, 274,
|
||||
-32766, 131, 298, 806, 130,-32766, 525,-32766,-32766,-32766,
|
||||
-32766, 795, 511,-32766,-32766,-32766, 507,-32766, 504,-32766,
|
||||
578,-32766, 127,-32766,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766,-32766,-32766,-32766,-32766, 519,-32766, 516,-32766, 762,
|
||||
515,-32766, 245, 565, 531, 502,-32766, 525, 103, 104,
|
||||
105,-32766, 245, 585,-32766,-32766,-32766, 490,-32766, 539,
|
||||
-32766, 126,-32766, 271, 399,-32766, 526, 439, 525,-32766,
|
||||
-32766,-32766,-32766,-32766,-32766,-32766, 494,-32766, 451,-32766,
|
||||
762, 430,-32766, 429, 866, 456, 423,-32766, 525, 413,
|
||||
541, 341,-32766, 591, 421,-32766,-32766,-32766, 403,-32766,
|
||||
402,-32766, 393,-32766, 801, 343,-32766, 392, 755, 404,
|
||||
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 777,-32766, 756,
|
||||
-32766, 762, 466,-32766, -137, 480, 486, 440,-32766, 525,
|
||||
394, 272, 493,-32766, 487, 227,-32766,-32766,-32766, 271,
|
||||
-32766, 358,-32766, 464,-32766, 591, 484,-32766,-32766, 264,
|
||||
-32766, 762, 394,-32766, 440, -137, 493, 487,-32766, 525,
|
||||
486, 272, 480,-32766, 466, 227,-32766,-32766,-32766, 861,
|
||||
-32766, 357,-32766, 464,-32766, 590, 484,-32766,-32766, 264,
|
||||
477,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 265,-32766,
|
||||
267,-32766, 762, 577,-32766, 566, 794, 254, 750,-32766,
|
||||
525, -242, 0, 0,-32766, 535, 0,-32766,-32766,-32766,
|
||||
518,-32766, 45,-32766, 256,-32766, 205, 559,-32766, 0,
|
||||
0, 0,-32766,-32766,-32766, 560,-32766,-32766,-32766, 313,
|
||||
-32766, 286,-32766, 762, 284,-32766, 283, 285, 312, 455,
|
||||
-32766, 525, 608, 0, 343,-32766, 341, 397,-32766,-32766,
|
||||
-32766, 654,-32766, 561,-32766, 563,-32766, 576, 601,-32766,
|
||||
603, 553, 611,-32766,-32766,-32766, 562,-32766,-32766,-32766,
|
||||
610,-32766, 605,-32766, 762, 618,-32766, 555, 569, 568,
|
||||
510,-32766, 525, 509, 49, 48,-32766, 513, 512,-32766,
|
||||
-32766,-32766, 508,-32766, 81,-32766, 500,-32766, 200, 201,
|
||||
-32766, 503, 129, 128,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766, 335,-32766, 868,-32766, 762,-32766,-32766,-32766, 867,
|
||||
371, 372,-32766, 609, 834, 784, 785, 866, 840, 550,
|
||||
589, 376,-32766, 786,-32766,-32766,-32766,-32766,-32766,-32767,
|
||||
-32767,-32767,-32767, 838, 836, 824, 775, 646, 558,-32766,
|
||||
335, 330, 844, 833, 551, 0, 292, 335, 330, 371,
|
||||
372, 78, 30, 292, 32, 34, 371, 372, 530, 589,
|
||||
376, 35, 36, 37, 42, 530, 589, 376, 436, 790,
|
||||
791, 792, 787, 788, 321, 47, 75, 270, 76, 340,
|
||||
793, 789, 333, 532, 270, 335, 330, 77, 269, 79,
|
||||
533, 292, 125, 132, 371, 372,-32766,-32766,-32766, 133,
|
||||
249, 335, 248, 530, 589, 376, 247,-32766,-32766,-32766,
|
||||
371, 372,-32766, 235,-32766,-32766,-32766,-32766,-32766, 550,
|
||||
589, 376, 270,-32766, 29,-32766,-32766,-32766,-32766, 335,
|
||||
31, 232, 335, 231, 223, 222, 335, 732, 371, 372,
|
||||
195, 371, 372, 441, 586, 371, 372, 550, 589, 376,
|
||||
550, 589, 376, 849, 550, 589, 376, 443, 335, 778,
|
||||
497, 24, 22, 23, 19, 25, 28, 371, 372, 491,
|
||||
296, 462, 752, 335, 0, 331, 550, 589, 376, 657,
|
||||
335, 864, 371, 372, 496, 335, 729, 736, 733, 371,
|
||||
372, 550, 589, 376, 371, 372, 800, 759, 550, 589,
|
||||
376, 581, 758, 550, 589, 376, 821, 783, 820, 761,
|
||||
760, 757, 749, 492, 463, 351, 300, 0, 0, 0,
|
||||
774, 0, 823, 835, 837, 471
|
||||
267,-32766, 762, 49,-32766, 509, 794, 256, 750,-32766,
|
||||
525, 455, 0, 0,-32766, 510, 0,-32766,-32766,-32766,
|
||||
503,-32766, 45,-32766, 254,-32766, 205, 654,-32766, 0,
|
||||
0, 0,-32766,-32766,-32766, 558,-32766,-32766,-32766, 285,
|
||||
-32766, 284,-32766, 762, -242,-32766, 282, 283, 312, 311,
|
||||
-32766, 525, 646, 0, 342,-32766, 397, 340,-32766,-32766,
|
||||
-32766, 535,-32766, 566,-32766, 577,-32766, 569, 555,-32766,
|
||||
618, 605, 610,-32766,-32766,-32766, 560,-32766,-32766,-32766,
|
||||
576,-32766, 611,-32766, 762, 553,-32766, 603, 601, 48,
|
||||
563,-32766, 525, 561, 559, 568,-32766, 513, 512,-32766,
|
||||
-32766,-32766, 508,-32766, 518,-32766, 500,-32766, 200, 201,
|
||||
-32766, 81, 129, 128,-32766,-32766,-32766,-32766,-32766,-32766,
|
||||
-32766, 334,-32766, 608,-32766, 762,-32766,-32766,-32766, 609,
|
||||
370, 371,-32766, 869, 835, 784, 785, 867, 841, 550,
|
||||
589, 375,-32766, 786,-32766,-32766,-32766,-32766,-32766,-32767,
|
||||
-32767,-32767,-32767, 839, 824, 837, 775, 868, 562,-32766,
|
||||
334, 329, 845, 834, 752, 0, 291, 334, 329, 370,
|
||||
371, 30, 31, 291, 32, 34, 370, 371, 530, 589,
|
||||
375, 332, 339, 223, 29, 530, 589, 375, 436, 790,
|
||||
791, 792, 787, 788, 320, 35, 248, 270, 247, 235,
|
||||
793, 789, 232, 533, 270, 334, 329, 36, 231, 37,
|
||||
532, 291, 42, 47, 370, 371,-32766,-32766,-32766, 75,
|
||||
76, 334, 222, 530, 589, 375, 195,-32766,-32766,-32766,
|
||||
370, 371,-32766, 133,-32766,-32766,-32766,-32766,-32766, 550,
|
||||
589, 375, 270,-32766, 269,-32766,-32766,-32766,-32766, 334,
|
||||
249, 132, 334, 125, 79, 78, 334, 23, 370, 371,
|
||||
77, 370, 371, 732, 581, 370, 371, 550, 589, 375,
|
||||
550, 589, 375, 441, 550, 589, 375, 850, 334, 443,
|
||||
497, 19, 25, 28, 295, 22, 24, 370, 371, 491,
|
||||
778, 800, 657, 334, 0, 551, 550, 589, 375, 330,
|
||||
334, 865, 370, 371, 759, 334, 758, 821, 783, 370,
|
||||
371, 550, 589, 375, 370, 371, 820, 761, 550, 589,
|
||||
375, 586, 760, 550, 589, 375, 757, 749, 492, 463,
|
||||
350, 299, 736, 729, 496, 733, 462, 0, 0, 0,
|
||||
774, 0, 836, 823, 838, 471
|
||||
);
|
||||
|
||||
protected static $yycheck = array(
|
||||
@ -521,11 +521,11 @@ class PHPParser_Parser
|
||||
);
|
||||
|
||||
protected static $yybase = array(
|
||||
0, 612, 605, 650, 566, 697, 2, -1, 745, 666,
|
||||
694, 738, 723, 701, 750, 750, 750, 750, 750, 373,
|
||||
390, 395, 395, 392, 395, 367, -2, -2, -2, 275,
|
||||
152, 152, 152, 152, 152, 152, 152, 152, 275, 562,
|
||||
439, 480, 357, 111, 316, 193, 234, 521, 521, 521,
|
||||
0, 605, 612, 650, 697, 701, 2, -1, 745, 723,
|
||||
566, 738, 666, 694, 750, 750, 750, 750, 750, 274,
|
||||
371, 367, 367, 392, 367, 373, -2, -2, -2, 193,
|
||||
234, 234, 234, 234, 234, 234, 234, 234, 193, 439,
|
||||
480, 562, 357, 111, 152, 275, 316, 521, 521, 521,
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
@ -534,43 +534,43 @@ class PHPParser_Parser
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
||||
521, 521, 521, 521, 55, 493, 431, 467, 469, 471,
|
||||
706, 707, 679, 685, 684, 428, 690, 443, 539, 540,
|
||||
274, 555, 556, 557, 558, 559, 564, 691, 742, 565,
|
||||
536, 686, 704, 119, 119, 119, 119, 119, 119, 119,
|
||||
521, 521, 521, 521, 55, 499, 498, 497, 494, 484,
|
||||
733, 732, 690, 682, 681, 428, 684, 443, 539, 540,
|
||||
377, 555, 556, 557, 558, 454, 564, 736, 742, 565,
|
||||
536, 683, 734, 119, 119, 119, 119, 119, 119, 119,
|
||||
119, 119, 119, 38, 315, 210, 210, 210, 210, 210,
|
||||
210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
|
||||
34, 34, 169, -3, 379, 607, 607, 607, 607, 607,
|
||||
607, 607, 607, 607, 607, 607, 607, 607, 607, 759,
|
||||
748, 658, 658, 658, 658, 13, -25, -25, -25, -25,
|
||||
164, 142, 112, 112, 112, 39, -53, 69, 432, 241,
|
||||
241, -52, -52, -52, -52, -52, -52, -52, -52, -52,
|
||||
-52, -52, -52, -52, -52, -52, -52, 176, 176, 176,
|
||||
231, 246, 239, 444, 128, 128, 128, -19, 436, 418,
|
||||
368, 384, 384, 384, 425, 425, -100, 425, 425, 425,
|
||||
124, 72, 72, 155, 516, 515, 453, 651, 78, 450,
|
||||
448, 106, 288, 369, 401, 400, 396, 224, 441, 454,
|
||||
437, 535, 461, 235, 461, 235, 172, 282, 285, 55,
|
||||
229, 420, 196, 409, 408, 419, 402, 64, 287, 98,
|
||||
182, 181, 220, 194, 180, 360, 663, 657, 708, 677,
|
||||
525, 263, 181, 181, 673, 682, 465, 205, 681, 66,
|
||||
417, 366, 417, 403, 585, 403, 438, 391, 403, 576,
|
||||
410, 391, 413, 391, 424, 417, 71, 421, 403, 497,
|
||||
494, 422, 366, 576, 403, 403, 270, 433, 403, 403,
|
||||
22, 597, 599, 371, 608, 596, 572, 600, 610, 415,
|
||||
509, 359, 411, 654, 652, 634, 412, 656, 645, 462,
|
||||
414, 455, 575, 459, 374, 429, 573, 456, 429, 457,
|
||||
446, 365, 407, 330, 328, 462, 406, 386, 627, 613,
|
||||
499, 31, 171, 623, 378, 429, 435, 429, 514, 655,
|
||||
429, 732, 376, 381, 462, 374, 374, 374, 582, 731,
|
||||
261, 583, 741, 584, 740, 730, 729, 739, 728, 583,
|
||||
584, 727, 737, 394, 735, 80, 661, 420, 458, 404,
|
||||
114, 492, 268, 343, 429, 698, 429, 429, 505, 507,
|
||||
498, 350, 734, 430, 418, 388, 609, 429, 726, 268,
|
||||
722, 717, 491, 501, 603, 500, 289, 447, 716, 426,
|
||||
429, 531, 429, 614, 489, 683, 486, 484, 434, 442,
|
||||
313, 620, 377, 370, 476, 427, 345, 733, 440, 393,
|
||||
475, 474, 423, 372, 621, 416, 375, 472, 736, 0,
|
||||
142, 164, 112, 112, 112, 39, -53, 69, 433, 241,
|
||||
241, 220, 220, 220, 220, 220, 220, 220, 220, 220,
|
||||
220, 220, 220, 220, 220, 220, 220, 176, 176, 176,
|
||||
263, 246, 239, 368, 128, 128, 128, -19, 436, 418,
|
||||
444, 384, 384, 384, 425, 425, -100, 425, 425, 425,
|
||||
124, 72, 72, 155, 516, 515, 456, 78, 448, 457,
|
||||
106, 288, 404, 396, 393, 391, 224, 441, 525, 437,
|
||||
531, 462, -52, 462, -52, 172, 285, 282, 55, 229,
|
||||
453, 181, 467, 408, 465, 402, 205, 98, 287, 182,
|
||||
196, 238, 235, 180, 360, 673, 663, 735, 679, 535,
|
||||
231, 196, 196, 677, 685, 431, 64, 686, 66, 412,
|
||||
366, 412, 403, 613, 403, 430, 378, 403, 576, 410,
|
||||
378, 413, 378, 424, 412, 80, 421, 403, 409, 419,
|
||||
422, 366, 576, 403, 403, 270, 440, 403, 403, 22,
|
||||
620, 621, 375, 661, 614, 656, 583, 655, 417, 509,
|
||||
411, 359, 609, 603, 600, 401, 623, 585, 461, 415,
|
||||
455, 573, 575, 459, 374, 446, 572, 450, 446, 458,
|
||||
429, 365, 469, 114, 171, 461, 406, 376, 599, 654,
|
||||
493, 251, 289, 597, 369, 446, 432, 446, 423, 584,
|
||||
446, 727, 394, 381, 461, 374, 374, 374, 596, 726,
|
||||
71, 608, 741, 610, 722, 717, 740, 716, 739, 608,
|
||||
610, 708, 737, 388, 730, 31, 627, 453, 420, 400,
|
||||
313, 471, 261, 372, 446, 698, 446, 446, 505, 514,
|
||||
407, 328, 729, 442, 418, 414, 645, 446, 707, 261,
|
||||
706, 704, 472, 501, 582, 500, 330, 447, 691, 426,
|
||||
446, 559, 446, 652, 474, 657, 475, 476, 438, 435,
|
||||
343, 634, 395, 370, 486, 427, 345, 728, 434, 386,
|
||||
489, 491, 507, 350, 651, 416, 390, 492, 731, 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,
|
||||
@ -594,27 +594,27 @@ class PHPParser_Parser
|
||||
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
||||
119, 119, 119, 119, 119, 119, 104, 104, 104, 104,
|
||||
104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
|
||||
119, 119, 119, 119, 119, 119, 429, 384, 384, 384,
|
||||
119, 119, 119, 119, 119, 119, 446, 384, 384, 384,
|
||||
384, 65, 65, 104, 104, 104, 104, 104, 104, 65,
|
||||
384, 384, 104, 104, 104, 104, 104, 104, 104, 104,
|
||||
104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
|
||||
104, 72, 72, 72, 72, 238, 238, 238, 104, 72,
|
||||
72, 72, 0, 0, 0, 104, 104, 238, 104, 104,
|
||||
104, 391, 0, 0, 0, 238, 238, 181, 196, 0,
|
||||
181, 181, 0, 462, 220, 194, 220, 194, 429, 291,
|
||||
291, 291, 291, 391, 0, 391, 0, 0, 0, 0,
|
||||
0, 0, 573, 0, 31, 627, 251, 462, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 462, 58, 58, 429,
|
||||
179, 429, 0, 0, 0, 179, 429, 251, 0, 429
|
||||
104, 72, 72, 72, 72, 194, 194, 194, 104, 72,
|
||||
72, 72, 0, 0, 0, 104, 104, 194, 104, 104,
|
||||
104, 378, 0, 0, 0, 194, 194, 196, 0, 196,
|
||||
196, 0, 461, 238, 235, 238, 235, 446, 291, 291,
|
||||
291, 291, 378, 0, 378, 0, 0, 0, 0, 0,
|
||||
0, 572, 0, 251, 599, 179, 461, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 461, 268, 268, 446, 58,
|
||||
446, 0, 0, 0, 58, 446, 179, 0, 446
|
||||
);
|
||||
|
||||
protected static $yydefault = array(
|
||||
3,32767,32767, 1,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767, 100, 93, 105, 92, 101,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767, 330,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767, 331,
|
||||
116, 116, 116, 116, 116, 116, 116, 116, 290,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767, 155, 155, 155,
|
||||
32767, 320, 320, 320, 320,32767,32767,32767,32767,32767,
|
||||
32767, 321, 321, 321, 321,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
@ -623,40 +623,40 @@ class PHPParser_Parser
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767, 335,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767, 336,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767, 213, 214, 216, 217, 154, 117, 321,
|
||||
153, 334, 119, 181, 183, 230, 182, 159, 164, 165,
|
||||
32767,32767,32767, 213, 214, 216, 217, 154, 117, 322,
|
||||
153, 335, 119, 181, 183, 230, 182, 159, 164, 165,
|
||||
166, 167, 168, 169, 170, 171, 172, 173, 174, 158,
|
||||
210, 209, 179, 180, 184, 287, 290,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767, 186,
|
||||
185, 201, 202, 199, 200, 157, 203, 204, 205, 206,
|
||||
139, 139, 329, 329, 329,32767,32767,32767, 140, 193,
|
||||
139, 139, 330, 330, 330,32767,32767,32767, 140, 193,
|
||||
194,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767, 250, 250, 250, 112, 112, 112,
|
||||
32767,32767,32767, 258,32767,32767,32767, 112,32767,32767,
|
||||
260, 188, 189, 187,32767,32767,32767,32767,32767,32767,
|
||||
32767, 259,32767,32767,32767,32767, 304, 309, 298, 304,
|
||||
304, 248,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767, 102, 104,32767,
|
||||
32767, 283, 309,32767,32767,32767, 17,32767,32767,32767,
|
||||
342, 304,32767,32767,32767, 19,32767,32767,32767,32767,
|
||||
32767,32767, 307, 308,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767, 63, 255, 63, 241,32767, 63, 261,
|
||||
32767,32767, 73,32767, 71,32767, 289, 75, 63, 91,
|
||||
91, 232, 54, 261, 63, 63, 289,32767, 63, 63,
|
||||
32767,32767,32767, 4,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767,32767, 243,
|
||||
32767,32767, 306,32767, 197, 176, 242,32767, 178, 246,
|
||||
32767, 259,32767,32767,32767,32767, 304, 298, 304, 304,
|
||||
248,32767,32767,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767, 102, 104,32767,32767,
|
||||
283, 310,32767,32767,32767, 17,32767,32767,32767, 343,
|
||||
304,32767,32767,32767, 19,32767,32767,32767,32767,32767,
|
||||
32767, 308, 309,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767, 63, 255, 63, 241,32767, 63, 261,32767,
|
||||
32767, 73,32767, 71,32767, 289, 75, 63, 91, 91,
|
||||
232, 54, 261, 63, 63, 289,32767, 63, 63,32767,
|
||||
32767,32767, 4,32767,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767,32767, 243,32767,
|
||||
32767, 307, 306,32767, 197, 176, 242,32767, 178, 246,
|
||||
249,32767,32767,32767, 128, 244,32767,32767,32767,32767,
|
||||
32767, 156,32767,32767,32767, 124,32767, 61,32767,32767,
|
||||
327,32767,32767, 281, 245, 190, 191, 192, 301,32767,
|
||||
115, 351,32767, 352,32767,32767,32767,32767,32767,32767,
|
||||
328,32767,32767, 281, 245, 190, 191, 192, 301,32767,
|
||||
115, 352,32767, 353,32767,32767,32767,32767,32767,32767,
|
||||
32767,32767,32767,32767,32767, 106,32767, 276,32767,32767,
|
||||
126,32767, 74,32767, 337,32767, 160, 118,32767,32767,
|
||||
126,32767, 74,32767, 338,32767, 160, 118,32767,32767,
|
||||
32767,32767,32767,32767,32767,32767,32767, 62,32767, 76,
|
||||
32767,32767,32767,32767,32767,32767, 108, 294,32767,32767,
|
||||
336,32767, 120,32767,32767,32767,32767,32767,32767,32767,
|
||||
337,32767, 120,32767,32767,32767,32767,32767,32767,32767,
|
||||
151,32767,32767,32767,32767,32767, 110,32767,32767,32767,
|
||||
32767,32767,32767, 149,32767,32767,32767,32767,32767, 25,
|
||||
25, 3, 3, 131, 25, 98, 25, 25, 131, 91,
|
||||
@ -678,35 +678,35 @@ class PHPParser_Parser
|
||||
160, 189, 134, 161, 162, 437, 437, 437, 437, 437,
|
||||
437, 437, 437, 437, 437, 437, 437, 437, 437, 544,
|
||||
650, 606, 798, 799, 648, 607, 630, 814, 673, 632,
|
||||
671, 853, 386, 386, 386, 386, 386, 386, 528, 528,
|
||||
528, 386, 386, 386, 386, 386, 386, 386, 386, 386,
|
||||
671, 854, 386, 386, 386, 386, 386, 386, 450, 475,
|
||||
288, 386, 386, 386, 386, 386, 386, 386, 386, 386,
|
||||
386, 386, 386, 386, 763, 763, 763, 634, 634, 634,
|
||||
425, 426, 428, 431, 458, 460, 461, 634, 529, 529,
|
||||
529, 424, 427, 432, 598, 598, 303, 593, 599, 479,
|
||||
424, 425, 427, 431, 458, 460, 461, 634, 529, 529,
|
||||
529, 528, 528, 528, 598, 598, 302, 593, 599, 479,
|
||||
438, 438, 438, 438, 438, 438, 438, 438, 438, 438,
|
||||
438, 438, 438, 438, 859, 859, 390, 390, 390, 302,
|
||||
302, 302, 862, 859, 571, 812, 572, 387, 387, 387,
|
||||
387, 387, 387, 289, 862, 862, 387, 387, 387, 387,
|
||||
438, 438, 438, 438, 860, 860, 426, 428, 432, 828,
|
||||
828, 828, 863, 860, 390, 390, 390, 387, 387, 387,
|
||||
387, 387, 387, 323, 863, 863, 387, 387, 387, 387,
|
||||
387, 387, 387, 387, 387, 387, 387, 387, 387, 389,
|
||||
389, 389, 279, 279, 279, 279, 279, 279, 450, 475,
|
||||
317, 279, 279, 279, 279, 279, 279, 279, 279, 279,
|
||||
279, 279, 279, 279, 280, 280, 280, 728, 353, 452,
|
||||
498, 827, 827, 827, 311, 311, 311, 1, 2, 260,
|
||||
324, 845, 845, 845, 252, 846, 311, 410, 410, 410,
|
||||
405, 446, 287, 826, 322, 323, 407, 407, 385, 388,
|
||||
318, 320, 444, 447, 457, 325, 470, 472, 328, 5,
|
||||
773, 772, 663, 14, 459, 6, 7, 355, 536, 326,
|
||||
389, 389, 278, 278, 278, 278, 278, 278, 571, 812,
|
||||
572, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
||||
278, 278, 278, 278, 279, 279, 279, 728, 352, 452,
|
||||
498, 827, 827, 827, 310, 310, 310, 1, 2, 260,
|
||||
847, 846, 846, 846, 252, 663, 310, 410, 410, 410,
|
||||
405, 446, 286, 826, 321, 322, 407, 407, 385, 388,
|
||||
317, 319, 444, 447, 457, 324, 470, 472, 327, 5,
|
||||
289, 290, 316, 14, 459, 6, 7, 773, 772, 642,
|
||||
8, 9, 10, 15, 16, 11, 17, 12, 18, 13,
|
||||
796, 796, 796, 796, 796, 796, 796, 796, 796, 796,
|
||||
796, 796, 796, 796, 527, 527, 527, 642, 542, 514,
|
||||
580, 221, 282, 682, 0, 809, 0, 0, 0, 0,
|
||||
796, 796, 796, 796, 527, 527, 527, 354, 536, 514,
|
||||
325, 542, 580, 281, 682, 221, 0, 0, 809, 0,
|
||||
0, 0, 617, 604, 602, 602, 600, 602, 505, 391,
|
||||
624, 620, 304, 0, 306, 398, 306, 0, 0, 0,
|
||||
0, 0, 290, 291, 0, 453, 0, 0, 0, 0,
|
||||
624, 620, 303, 0, 305, 398, 305, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 453, 0, 0, 0, 0,
|
||||
0, 243, 478, 0, 0, 489, 495, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 395,
|
||||
0, 0, 0, 315, 0, 414
|
||||
0, 0, 0, 314, 0, 414
|
||||
);
|
||||
|
||||
protected static $yygcheck = array(
|
||||
@ -723,31 +723,31 @@ class PHPParser_Parser
|
||||
15, 15, 15, 15, 15, 35, 35, 35, 35, 35,
|
||||
35, 35, 35, 35, 35, 35, 35, 35, 35, 12,
|
||||
12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
|
||||
12, 87, 35, 35, 35, 35, 35, 35, 6, 6,
|
||||
6, 35, 35, 35, 35, 35, 35, 35, 35, 35,
|
||||
12, 88, 35, 35, 35, 35, 35, 35, 21, 21,
|
||||
43, 35, 35, 35, 35, 35, 35, 35, 35, 35,
|
||||
35, 35, 35, 35, 35, 35, 35, 35, 35, 35,
|
||||
47, 47, 47, 47, 47, 47, 47, 35, 7, 7,
|
||||
7, 75, 75, 75, 35, 35, 26, 35, 35, 35,
|
||||
7, 6, 6, 6, 35, 35, 26, 35, 35, 35,
|
||||
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
||||
67, 67, 67, 67, 88, 88, 73, 73, 73, 69,
|
||||
69, 69, 88, 88, 29, 82, 29, 67, 67, 67,
|
||||
67, 67, 67, 43, 88, 88, 67, 67, 67, 67,
|
||||
67, 67, 67, 67, 89, 89, 75, 75, 75, 69,
|
||||
69, 69, 89, 89, 73, 73, 73, 67, 67, 67,
|
||||
67, 67, 67, 57, 89, 89, 67, 67, 67, 67,
|
||||
67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
||||
67, 67, 68, 68, 68, 68, 68, 68, 21, 21,
|
||||
27, 68, 68, 68, 68, 68, 68, 68, 68, 68,
|
||||
67, 67, 68, 68, 68, 68, 68, 68, 29, 82,
|
||||
29, 68, 68, 68, 68, 68, 68, 68, 68, 68,
|
||||
68, 68, 68, 68, 68, 68, 68, 58, 58, 36,
|
||||
36, 70, 70, 70, 68, 68, 68, 2, 2, 76,
|
||||
57, 70, 70, 70, 76, 85, 68, 28, 28, 28,
|
||||
86, 70, 70, 70, 76, 56, 68, 28, 28, 28,
|
||||
28, 28, 28, 70, 68, 68, 28, 28, 28, 28,
|
||||
28, 28, 28, 28, 28, 28, 28, 28, 28, 13,
|
||||
74, 74, 56, 13, 42, 13, 13, 46, 10, 9,
|
||||
43, 43, 27, 13, 42, 13, 13, 74, 74, 49,
|
||||
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
||||
77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
|
||||
77, 77, 77, 77, 5, 5, 5, 49, 11, 44,
|
||||
34, 40, 4, 59, -1, 81, -1, -1, -1, -1,
|
||||
77, 77, 77, 77, 5, 5, 5, 46, 10, 44,
|
||||
9, 11, 34, 4, 59, 40, -1, -1, 81, -1,
|
||||
-1, -1, 5, 5, 5, 5, 5, 5, 5, 5,
|
||||
5, 5, 30, -1, 4, 30, 4, -1, -1, -1,
|
||||
-1, -1, 43, 43, -1, 30, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, 30, -1, -1, -1, -1,
|
||||
-1, 30, 30, -1, -1, 30, 30, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 4,
|
||||
@ -755,27 +755,29 @@ class PHPParser_Parser
|
||||
);
|
||||
|
||||
protected static $yygbase = array(
|
||||
0, 0, -234, 0, 72, 333, 137, 167, 0, -23,
|
||||
14, -7, -78, -201, 0, -29, 0, 0, 0, 0,
|
||||
0, 190, 0, 0, 0, 0, 126, 8, 55, 182,
|
||||
27, 0, 0, 0, -12, -90, 11, 0, 0, 0,
|
||||
-167, 0, 39, -137, 40, 0, 50, 129, 0, 42,
|
||||
0, 0, 0, 0, 0, 0, 74, 47, 12, -10,
|
||||
0, 0, -234, 0, 73, 333, 170, 167, 0, 9,
|
||||
45, -3, -78, -201, 0, -29, 0, 0, 0, 0,
|
||||
0, 90, 0, 0, 0, 0, 126, 70, 55, 216,
|
||||
28, 0, 0, 0, -9, -90, 11, 0, 0, 0,
|
||||
-163, 0, 39, -209, 41, 0, 80, 129, 0, 15,
|
||||
0, 0, 0, 0, 0, 0, 47, -10, 12, -8,
|
||||
0, 0, 0, 0, 0, 0, 0, -15, 10, -45,
|
||||
17, 0, 0, -48, 45, 119, 16, 125, 0, 0,
|
||||
0, -11, 9, 0, 0, 51, 0, 93, -57, 0
|
||||
17, 0, 0, -40, 52, 144, 16, 125, 0, 0,
|
||||
0, -7, 43, 0, 0, 0, 46, 0, 93, -57,
|
||||
0
|
||||
);
|
||||
|
||||
protected static $yygdefault = array(
|
||||
-32768, 360, 3, 523, 379, 547, 548, 549, 307, 305,
|
||||
537, 543, 467, 4, 545, 135, 297, 552, 298, 483,
|
||||
554, 400, 556, 557, 308, 309, 401, 316, 215, 570,
|
||||
485, 314, 573, 352, 579, 301, 434, 380, 347, 448,
|
||||
220, 408, 442, 288, 517, 435, 348, 419, 420, 643,
|
||||
651, 357, 327, 469, 655, 228, 662, 319, 339, 683,
|
||||
746, 748, 411, 396, 465, 329, 818, 381, 276, 277,
|
||||
382, 768, 281, 817, 418, 422, 251, 805, 468, 803,
|
||||
356, 852, 813, 816, 278, 847, 346, 854, 861, 445
|
||||
-32768, 359, 3, 523, 378, 547, 548, 549, 306, 304,
|
||||
537, 543, 467, 4, 545, 135, 296, 552, 297, 483,
|
||||
554, 400, 556, 557, 307, 308, 401, 315, 215, 570,
|
||||
485, 313, 573, 351, 579, 300, 434, 379, 346, 448,
|
||||
220, 408, 442, 287, 517, 435, 347, 419, 420, 643,
|
||||
651, 356, 326, 469, 655, 228, 662, 318, 338, 683,
|
||||
746, 748, 411, 396, 465, 328, 818, 380, 276, 381,
|
||||
382, 768, 280, 817, 418, 422, 251, 805, 468, 803,
|
||||
355, 853, 813, 816, 277, 301, 848, 345, 855, 862,
|
||||
445
|
||||
);
|
||||
|
||||
protected static $yylhs = array(
|
||||
@ -809,12 +811,12 @@ class PHPParser_Parser
|
||||
77, 77, 77, 77, 77, 12, 12, 12, 12, 12,
|
||||
12, 61, 61, 61, 61, 61, 61, 78, 78, 81,
|
||||
81, 80, 80, 82, 82, 28, 28, 28, 83, 83,
|
||||
83, 84, 84, 84, 70, 70, 73, 73, 73, 73,
|
||||
69, 69, 69, 69, 69, 69, 68, 68, 68, 68,
|
||||
75, 75, 74, 74, 74, 57, 57, 85, 85, 85,
|
||||
62, 62, 86, 86, 87, 87, 87, 87, 76, 76,
|
||||
76, 76, 88, 88, 88, 88, 88, 88, 89, 89,
|
||||
89, 79, 79
|
||||
83, 84, 84, 84, 70, 70, 73, 73, 69, 69,
|
||||
69, 85, 85, 85, 85, 85, 85, 68, 68, 68,
|
||||
68, 75, 75, 74, 74, 74, 57, 57, 86, 86,
|
||||
86, 62, 62, 87, 87, 88, 88, 88, 88, 76,
|
||||
76, 76, 76, 89, 89, 89, 89, 89, 89, 90,
|
||||
90, 90, 79, 79
|
||||
);
|
||||
|
||||
protected static $yylen = array(
|
||||
@ -848,12 +850,12 @@ class PHPParser_Parser
|
||||
1, 1, 1, 3, 2, 1, 1, 2, 2, 4,
|
||||
3, 1, 1, 1, 1, 3, 3, 0, 2, 0,
|
||||
1, 3, 1, 3, 1, 1, 1, 1, 1, 4,
|
||||
6, 3, 4, 4, 1, 2, 1, 4, 4, 1,
|
||||
3, 3, 6, 6, 4, 4, 4, 4, 1, 4,
|
||||
0, 1, 1, 3, 1, 3, 1, 1, 4, 0,
|
||||
0, 2, 3, 1, 3, 1, 4, 2, 2, 2,
|
||||
1, 2, 1, 4, 3, 3, 6, 3, 1, 1,
|
||||
1, 3, 3
|
||||
6, 3, 4, 4, 1, 2, 1, 1, 4, 4,
|
||||
1, 3, 3, 6, 6, 4, 4, 4, 4, 1,
|
||||
4, 0, 1, 1, 3, 1, 3, 1, 1, 4,
|
||||
0, 0, 2, 3, 1, 3, 1, 4, 2, 2,
|
||||
2, 1, 2, 1, 4, 3, 3, 6, 3, 1,
|
||||
1, 1, 3, 3
|
||||
);
|
||||
|
||||
protected $yyval;
|
||||
@ -2223,7 +2225,7 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn307($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
}
|
||||
|
||||
protected function yyn308($line, $docComment) {
|
||||
@ -2231,11 +2233,11 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn309($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-4)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn310($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(3-1)], substr($this->yyastk[$this->yysp-(3-3)], 1), $line, $docComment);
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
}
|
||||
|
||||
protected function yyn311($line, $docComment) {
|
||||
@ -2243,7 +2245,7 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn312($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(6-1)], $this->yyastk[$this->yysp-(6-5)], $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(3-1)], substr($this->yyastk[$this->yysp-(3-3)], 1), $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn313($line, $docComment) {
|
||||
@ -2251,7 +2253,7 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn314($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->yysp-(6-1)], $this->yyastk[$this->yysp-(6-5)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn315($line, $docComment) {
|
||||
@ -2267,19 +2269,19 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn318($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->yysp-(4-1)], $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn319($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn320($line, $docComment) {
|
||||
$this->yyval = null;
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn321($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
$this->yyval = null;
|
||||
}
|
||||
|
||||
protected function yyn322($line, $docComment) {
|
||||
@ -2287,67 +2289,67 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn323($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
}
|
||||
|
||||
protected function yyn324($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
||||
}
|
||||
|
||||
protected function yyn325($line, $docComment) {
|
||||
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
||||
}
|
||||
|
||||
protected function yyn326($line, $docComment) {
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
||||
}
|
||||
|
||||
protected function yyn327($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
}
|
||||
|
||||
protected function yyn328($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
||||
}
|
||||
|
||||
protected function yyn329($line, $docComment) {
|
||||
$this->yyval = null;
|
||||
}
|
||||
|
||||
protected function yyn330($line, $docComment) {
|
||||
$this->yyval = array();
|
||||
}
|
||||
|
||||
protected function yyn331($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
||||
}
|
||||
|
||||
protected function yyn332($line, $docComment) {
|
||||
protected function yyn326($line, $docComment) {
|
||||
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
||||
}
|
||||
|
||||
protected function yyn333($line, $docComment) {
|
||||
protected function yyn327($line, $docComment) {
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
||||
}
|
||||
|
||||
protected function yyn328($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(1-1)];
|
||||
}
|
||||
|
||||
protected function yyn329($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(4-3)];
|
||||
}
|
||||
|
||||
protected function yyn330($line, $docComment) {
|
||||
$this->yyval = null;
|
||||
}
|
||||
|
||||
protected function yyn331($line, $docComment) {
|
||||
$this->yyval = array();
|
||||
}
|
||||
|
||||
protected function yyn332($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
||||
}
|
||||
|
||||
protected function yyn333($line, $docComment) {
|
||||
$this->yyastk[$this->yysp-(3-1)][] = $this->yyastk[$this->yysp-(3-3)]; $this->yyval = $this->yyastk[$this->yysp-(3-1)];
|
||||
}
|
||||
|
||||
protected function yyn334($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(3-3)], $this->yyastk[$this->yysp-(3-1)], false, $line, $docComment);
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
||||
}
|
||||
|
||||
protected function yyn335($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(1-1)], null, false, $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(3-3)], $this->yyastk[$this->yysp-(3-1)], false, $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn336($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(4-4)], $this->yyastk[$this->yysp-(4-1)], true, $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(1-1)], null, false, $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn337($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(2-2)], null, true, $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(4-4)], $this->yyastk[$this->yysp-(4-1)], true, $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn338($line, $docComment) {
|
||||
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->yysp-(2-2)], null, true, $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn339($line, $docComment) {
|
||||
@ -2355,54 +2357,58 @@ class PHPParser_Parser
|
||||
}
|
||||
|
||||
protected function yyn340($line, $docComment) {
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
||||
$this->yyastk[$this->yysp-(2-1)][] = $this->yyastk[$this->yysp-(2-2)]; $this->yyval = $this->yyastk[$this->yysp-(2-1)];
|
||||
}
|
||||
|
||||
protected function yyn341($line, $docComment) {
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]);
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(1-1)]);
|
||||
}
|
||||
|
||||
protected function yyn342($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
||||
$this->yyval = array($this->yyastk[$this->yysp-(2-1)], $this->yyastk[$this->yysp-(2-2)]);
|
||||
}
|
||||
|
||||
protected function yyn343($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(4-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn344($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(3-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn345($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn346($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(6-2)], $line, $docComment), $this->yyastk[$this->yysp-(6-4)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn347($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
||||
}
|
||||
|
||||
protected function yyn348($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn349($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn350($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn344($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(4-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(4-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn345($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(3-1)], 1), $line, $docComment), $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn346($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(3-2)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn347($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->yysp-(6-2)], $line, $docComment), $this->yyastk[$this->yysp-(6-4)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn348($line, $docComment) {
|
||||
$this->yyval = $this->yyastk[$this->yysp-(3-2)];
|
||||
}
|
||||
|
||||
protected function yyn349($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn350($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Scalar_LNumber((int) $this->yyastk[$this->yysp-(1-1)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn351($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
||||
$this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->yysp-(1-1)], 1), $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn352($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
||||
}
|
||||
|
||||
protected function yyn353($line, $docComment) {
|
||||
$this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->yysp-(3-1)], $this->yyastk[$this->yysp-(3-3)], $line, $docComment);
|
||||
}
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ class PHPParser_Parser_Debug extends PHPParser_Parser
|
||||
"function_call : name '(' function_call_argument_list ')'",
|
||||
"function_call : class_name T_PAAMAYIM_NEKUDOTAYIM T_STRING '(' function_call_argument_list ')'",
|
||||
"function_call : reference_variable T_PAAMAYIM_NEKUDOTAYIM T_STRING '(' function_call_argument_list ')'",
|
||||
"function_call : static_property_with_arrays '(' function_call_argument_list ')'",
|
||||
"function_call : static_property '(' function_call_argument_list ')'",
|
||||
"function_call : variable_without_objects '(' function_call_argument_list ')'",
|
||||
"class_name : T_STATIC",
|
||||
"class_name : name",
|
||||
@ -314,9 +314,10 @@ class PHPParser_Parser_Debug extends PHPParser_Parser
|
||||
"variable_without_objects : reference_variable",
|
||||
"variable_without_objects : '$' variable_without_objects",
|
||||
"base_variable : variable_without_objects",
|
||||
"base_variable : class_name T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable",
|
||||
"base_variable : reference_variable T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable",
|
||||
"base_variable : static_property_with_arrays",
|
||||
"base_variable : static_property",
|
||||
"static_property : class_name T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable",
|
||||
"static_property : reference_variable T_PAAMAYIM_NEKUDOTAYIM '$' reference_variable",
|
||||
"static_property : static_property_with_arrays",
|
||||
"static_property_with_arrays : class_name T_PAAMAYIM_NEKUDOTAYIM T_VARIABLE",
|
||||
"static_property_with_arrays : reference_variable T_PAAMAYIM_NEKUDOTAYIM T_VARIABLE",
|
||||
"static_property_with_arrays : class_name T_PAAMAYIM_NEKUDOTAYIM '$' '{' expr '}'",
|
||||
|
Loading…
Reference in New Issue
Block a user