7708 lines
228 KiB
Go
Generated
7708 lines
228 KiB
Go
Generated
// Code generated by goyacc -o internal/php7/php7.go internal/php7/php7.y. DO NOT EDIT.
|
|
|
|
// line internal/php7/php7.y:2
|
|
package php7
|
|
|
|
import __yyfmt__ "fmt"
|
|
|
|
// line internal/php7/php7.y:2
|
|
|
|
import (
|
|
"bytes"
|
|
"strconv"
|
|
|
|
"github.com/z7zmey/php-parser/internal/position"
|
|
"github.com/z7zmey/php-parser/pkg/ast"
|
|
"github.com/z7zmey/php-parser/pkg/token"
|
|
)
|
|
|
|
// line internal/php7/php7.y:15
|
|
type yySymType struct {
|
|
yys int
|
|
node ast.Vertex
|
|
token *token.Token
|
|
tkn *token.Token
|
|
list []ast.Vertex
|
|
|
|
ClosureUse *ast.ExprClosureUse
|
|
}
|
|
|
|
const T_INCLUDE = 57346
|
|
const T_INCLUDE_ONCE = 57347
|
|
const T_EXIT = 57348
|
|
const T_IF = 57349
|
|
const T_LNUMBER = 57350
|
|
const T_DNUMBER = 57351
|
|
const T_STRING = 57352
|
|
const T_STRING_VARNAME = 57353
|
|
const T_VARIABLE = 57354
|
|
const T_NUM_STRING = 57355
|
|
const T_INLINE_HTML = 57356
|
|
const T_CHARACTER = 57357
|
|
const T_BAD_CHARACTER = 57358
|
|
const T_ENCAPSED_AND_WHITESPACE = 57359
|
|
const T_CONSTANT_ENCAPSED_STRING = 57360
|
|
const T_ECHO = 57361
|
|
const T_DO = 57362
|
|
const T_WHILE = 57363
|
|
const T_ENDWHILE = 57364
|
|
const T_FOR = 57365
|
|
const T_ENDFOR = 57366
|
|
const T_FOREACH = 57367
|
|
const T_ENDFOREACH = 57368
|
|
const T_DECLARE = 57369
|
|
const T_ENDDECLARE = 57370
|
|
const T_AS = 57371
|
|
const T_SWITCH = 57372
|
|
const T_ENDSWITCH = 57373
|
|
const T_CASE = 57374
|
|
const T_DEFAULT = 57375
|
|
const T_BREAK = 57376
|
|
const T_CONTINUE = 57377
|
|
const T_GOTO = 57378
|
|
const T_FUNCTION = 57379
|
|
const T_FN = 57380
|
|
const T_CONST = 57381
|
|
const T_RETURN = 57382
|
|
const T_TRY = 57383
|
|
const T_CATCH = 57384
|
|
const T_FINALLY = 57385
|
|
const T_THROW = 57386
|
|
const T_USE = 57387
|
|
const T_INSTEADOF = 57388
|
|
const T_GLOBAL = 57389
|
|
const T_VAR = 57390
|
|
const T_UNSET = 57391
|
|
const T_ISSET = 57392
|
|
const T_EMPTY = 57393
|
|
const T_HALT_COMPILER = 57394
|
|
const T_CLASS = 57395
|
|
const T_TRAIT = 57396
|
|
const T_INTERFACE = 57397
|
|
const T_EXTENDS = 57398
|
|
const T_IMPLEMENTS = 57399
|
|
const T_OBJECT_OPERATOR = 57400
|
|
const T_DOUBLE_ARROW = 57401
|
|
const T_LIST = 57402
|
|
const T_ARRAY = 57403
|
|
const T_CALLABLE = 57404
|
|
const T_CLASS_C = 57405
|
|
const T_TRAIT_C = 57406
|
|
const T_METHOD_C = 57407
|
|
const T_FUNC_C = 57408
|
|
const T_LINE = 57409
|
|
const T_FILE = 57410
|
|
const T_COMMENT = 57411
|
|
const T_DOC_COMMENT = 57412
|
|
const T_OPEN_TAG = 57413
|
|
const T_OPEN_TAG_WITH_ECHO = 57414
|
|
const T_CLOSE_TAG = 57415
|
|
const T_WHITESPACE = 57416
|
|
const T_START_HEREDOC = 57417
|
|
const T_END_HEREDOC = 57418
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 57419
|
|
const T_CURLY_OPEN = 57420
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 57421
|
|
const T_NAMESPACE = 57422
|
|
const T_NS_C = 57423
|
|
const T_DIR = 57424
|
|
const T_NS_SEPARATOR = 57425
|
|
const T_ELLIPSIS = 57426
|
|
const T_EVAL = 57427
|
|
const T_REQUIRE = 57428
|
|
const T_REQUIRE_ONCE = 57429
|
|
const T_LOGICAL_OR = 57430
|
|
const T_LOGICAL_XOR = 57431
|
|
const T_LOGICAL_AND = 57432
|
|
const T_INSTANCEOF = 57433
|
|
const T_NEW = 57434
|
|
const T_CLONE = 57435
|
|
const T_ELSEIF = 57436
|
|
const T_ELSE = 57437
|
|
const T_ENDIF = 57438
|
|
const T_PRINT = 57439
|
|
const T_YIELD = 57440
|
|
const T_STATIC = 57441
|
|
const T_ABSTRACT = 57442
|
|
const T_FINAL = 57443
|
|
const T_PRIVATE = 57444
|
|
const T_PROTECTED = 57445
|
|
const T_PUBLIC = 57446
|
|
const T_INC = 57447
|
|
const T_DEC = 57448
|
|
const T_YIELD_FROM = 57449
|
|
const T_INT_CAST = 57450
|
|
const T_DOUBLE_CAST = 57451
|
|
const T_STRING_CAST = 57452
|
|
const T_ARRAY_CAST = 57453
|
|
const T_OBJECT_CAST = 57454
|
|
const T_BOOL_CAST = 57455
|
|
const T_UNSET_CAST = 57456
|
|
const T_COALESCE = 57457
|
|
const T_SPACESHIP = 57458
|
|
const T_NOELSE = 57459
|
|
const T_PLUS_EQUAL = 57460
|
|
const T_MINUS_EQUAL = 57461
|
|
const T_MUL_EQUAL = 57462
|
|
const T_POW_EQUAL = 57463
|
|
const T_DIV_EQUAL = 57464
|
|
const T_CONCAT_EQUAL = 57465
|
|
const T_MOD_EQUAL = 57466
|
|
const T_AND_EQUAL = 57467
|
|
const T_OR_EQUAL = 57468
|
|
const T_XOR_EQUAL = 57469
|
|
const T_SL_EQUAL = 57470
|
|
const T_SR_EQUAL = 57471
|
|
const T_COALESCE_EQUAL = 57472
|
|
const T_BOOLEAN_OR = 57473
|
|
const T_BOOLEAN_AND = 57474
|
|
const T_POW = 57475
|
|
const T_SL = 57476
|
|
const T_SR = 57477
|
|
const T_IS_IDENTICAL = 57478
|
|
const T_IS_NOT_IDENTICAL = 57479
|
|
const T_IS_EQUAL = 57480
|
|
const T_IS_NOT_EQUAL = 57481
|
|
const T_IS_SMALLER_OR_EQUAL = 57482
|
|
const T_IS_GREATER_OR_EQUAL = 57483
|
|
|
|
var yyToknames = [...]string{
|
|
"$end",
|
|
"error",
|
|
"$unk",
|
|
"T_INCLUDE",
|
|
"T_INCLUDE_ONCE",
|
|
"T_EXIT",
|
|
"T_IF",
|
|
"T_LNUMBER",
|
|
"T_DNUMBER",
|
|
"T_STRING",
|
|
"T_STRING_VARNAME",
|
|
"T_VARIABLE",
|
|
"T_NUM_STRING",
|
|
"T_INLINE_HTML",
|
|
"T_CHARACTER",
|
|
"T_BAD_CHARACTER",
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
"T_ECHO",
|
|
"T_DO",
|
|
"T_WHILE",
|
|
"T_ENDWHILE",
|
|
"T_FOR",
|
|
"T_ENDFOR",
|
|
"T_FOREACH",
|
|
"T_ENDFOREACH",
|
|
"T_DECLARE",
|
|
"T_ENDDECLARE",
|
|
"T_AS",
|
|
"T_SWITCH",
|
|
"T_ENDSWITCH",
|
|
"T_CASE",
|
|
"T_DEFAULT",
|
|
"T_BREAK",
|
|
"T_CONTINUE",
|
|
"T_GOTO",
|
|
"T_FUNCTION",
|
|
"T_FN",
|
|
"T_CONST",
|
|
"T_RETURN",
|
|
"T_TRY",
|
|
"T_CATCH",
|
|
"T_FINALLY",
|
|
"T_THROW",
|
|
"T_USE",
|
|
"T_INSTEADOF",
|
|
"T_GLOBAL",
|
|
"T_VAR",
|
|
"T_UNSET",
|
|
"T_ISSET",
|
|
"T_EMPTY",
|
|
"T_HALT_COMPILER",
|
|
"T_CLASS",
|
|
"T_TRAIT",
|
|
"T_INTERFACE",
|
|
"T_EXTENDS",
|
|
"T_IMPLEMENTS",
|
|
"T_OBJECT_OPERATOR",
|
|
"T_DOUBLE_ARROW",
|
|
"T_LIST",
|
|
"T_ARRAY",
|
|
"T_CALLABLE",
|
|
"T_CLASS_C",
|
|
"T_TRAIT_C",
|
|
"T_METHOD_C",
|
|
"T_FUNC_C",
|
|
"T_LINE",
|
|
"T_FILE",
|
|
"T_COMMENT",
|
|
"T_DOC_COMMENT",
|
|
"T_OPEN_TAG",
|
|
"T_OPEN_TAG_WITH_ECHO",
|
|
"T_CLOSE_TAG",
|
|
"T_WHITESPACE",
|
|
"T_START_HEREDOC",
|
|
"T_END_HEREDOC",
|
|
"T_DOLLAR_OPEN_CURLY_BRACES",
|
|
"T_CURLY_OPEN",
|
|
"T_PAAMAYIM_NEKUDOTAYIM",
|
|
"T_NAMESPACE",
|
|
"T_NS_C",
|
|
"T_DIR",
|
|
"T_NS_SEPARATOR",
|
|
"T_ELLIPSIS",
|
|
"T_EVAL",
|
|
"T_REQUIRE",
|
|
"T_REQUIRE_ONCE",
|
|
"T_LOGICAL_OR",
|
|
"T_LOGICAL_XOR",
|
|
"T_LOGICAL_AND",
|
|
"T_INSTANCEOF",
|
|
"T_NEW",
|
|
"T_CLONE",
|
|
"T_ELSEIF",
|
|
"T_ELSE",
|
|
"T_ENDIF",
|
|
"T_PRINT",
|
|
"T_YIELD",
|
|
"T_STATIC",
|
|
"T_ABSTRACT",
|
|
"T_FINAL",
|
|
"T_PRIVATE",
|
|
"T_PROTECTED",
|
|
"T_PUBLIC",
|
|
"T_INC",
|
|
"T_DEC",
|
|
"T_YIELD_FROM",
|
|
"T_INT_CAST",
|
|
"T_DOUBLE_CAST",
|
|
"T_STRING_CAST",
|
|
"T_ARRAY_CAST",
|
|
"T_OBJECT_CAST",
|
|
"T_BOOL_CAST",
|
|
"T_UNSET_CAST",
|
|
"T_COALESCE",
|
|
"T_SPACESHIP",
|
|
"T_NOELSE",
|
|
"T_PLUS_EQUAL",
|
|
"T_MINUS_EQUAL",
|
|
"T_MUL_EQUAL",
|
|
"T_POW_EQUAL",
|
|
"T_DIV_EQUAL",
|
|
"T_CONCAT_EQUAL",
|
|
"T_MOD_EQUAL",
|
|
"T_AND_EQUAL",
|
|
"T_OR_EQUAL",
|
|
"T_XOR_EQUAL",
|
|
"T_SL_EQUAL",
|
|
"T_SR_EQUAL",
|
|
"T_COALESCE_EQUAL",
|
|
"T_BOOLEAN_OR",
|
|
"T_BOOLEAN_AND",
|
|
"T_POW",
|
|
"T_SL",
|
|
"T_SR",
|
|
"T_IS_IDENTICAL",
|
|
"T_IS_NOT_IDENTICAL",
|
|
"T_IS_EQUAL",
|
|
"T_IS_NOT_EQUAL",
|
|
"T_IS_SMALLER_OR_EQUAL",
|
|
"T_IS_GREATER_OR_EQUAL",
|
|
"'\"'",
|
|
"'`'",
|
|
"'{'",
|
|
"'}'",
|
|
"';'",
|
|
"':'",
|
|
"'('",
|
|
"')'",
|
|
"'['",
|
|
"']'",
|
|
"'?'",
|
|
"'&'",
|
|
"'-'",
|
|
"'+'",
|
|
"'!'",
|
|
"'~'",
|
|
"'@'",
|
|
"'$'",
|
|
"','",
|
|
"'|'",
|
|
"'='",
|
|
"'^'",
|
|
"'*'",
|
|
"'/'",
|
|
"'%'",
|
|
"'<'",
|
|
"'>'",
|
|
"'.'",
|
|
}
|
|
|
|
var yyStatenames = [...]string{}
|
|
|
|
const yyEofCode = 1
|
|
const yyErrCode = 2
|
|
const yyInitialStackSize = 16
|
|
|
|
// line internal/php7/php7.y:4992
|
|
|
|
// line yacctab:1
|
|
var yyExca = [...]int{
|
|
-1, 1,
|
|
1, -1,
|
|
-2, 0,
|
|
-1, 2,
|
|
1, 1,
|
|
-2, 0,
|
|
-1, 44,
|
|
58, 426,
|
|
79, 426,
|
|
144, 426,
|
|
150, 426,
|
|
-2, 421,
|
|
-1, 48,
|
|
148, 429,
|
|
-2, 438,
|
|
-1, 85,
|
|
58, 428,
|
|
79, 428,
|
|
144, 428,
|
|
148, 431,
|
|
150, 428,
|
|
-2, 416,
|
|
-1, 109,
|
|
79, 389,
|
|
-2, 418,
|
|
-1, 233,
|
|
58, 426,
|
|
79, 426,
|
|
144, 426,
|
|
150, 426,
|
|
-2, 315,
|
|
-1, 236,
|
|
148, 431,
|
|
-2, 428,
|
|
-1, 239,
|
|
58, 426,
|
|
79, 426,
|
|
144, 426,
|
|
150, 426,
|
|
-2, 317,
|
|
-1, 358,
|
|
116, 0,
|
|
136, 0,
|
|
137, 0,
|
|
138, 0,
|
|
139, 0,
|
|
-2, 339,
|
|
-1, 359,
|
|
116, 0,
|
|
136, 0,
|
|
137, 0,
|
|
138, 0,
|
|
139, 0,
|
|
-2, 340,
|
|
-1, 360,
|
|
116, 0,
|
|
136, 0,
|
|
137, 0,
|
|
138, 0,
|
|
139, 0,
|
|
-2, 341,
|
|
-1, 361,
|
|
116, 0,
|
|
136, 0,
|
|
137, 0,
|
|
138, 0,
|
|
139, 0,
|
|
-2, 342,
|
|
-1, 362,
|
|
140, 0,
|
|
141, 0,
|
|
167, 0,
|
|
168, 0,
|
|
-2, 343,
|
|
-1, 363,
|
|
140, 0,
|
|
141, 0,
|
|
167, 0,
|
|
168, 0,
|
|
-2, 344,
|
|
-1, 364,
|
|
140, 0,
|
|
141, 0,
|
|
167, 0,
|
|
168, 0,
|
|
-2, 345,
|
|
-1, 365,
|
|
140, 0,
|
|
141, 0,
|
|
167, 0,
|
|
168, 0,
|
|
-2, 346,
|
|
-1, 366,
|
|
116, 0,
|
|
136, 0,
|
|
137, 0,
|
|
138, 0,
|
|
139, 0,
|
|
-2, 347,
|
|
-1, 373,
|
|
149, 164,
|
|
160, 164,
|
|
-2, 426,
|
|
-1, 418,
|
|
149, 466,
|
|
151, 466,
|
|
160, 466,
|
|
-2, 426,
|
|
-1, 423,
|
|
58, 427,
|
|
79, 427,
|
|
144, 427,
|
|
148, 430,
|
|
150, 427,
|
|
-2, 349,
|
|
-1, 437,
|
|
148, 452,
|
|
-2, 419,
|
|
-1, 438,
|
|
148, 454,
|
|
-2, 444,
|
|
-1, 518,
|
|
148, 452,
|
|
-2, 420,
|
|
-1, 519,
|
|
148, 454,
|
|
-2, 445,
|
|
-1, 536,
|
|
149, 214,
|
|
-2, 219,
|
|
-1, 578,
|
|
149, 214,
|
|
-2, 219,
|
|
-1, 603,
|
|
148, 430,
|
|
-2, 427,
|
|
-1, 669,
|
|
149, 184,
|
|
-2, 426,
|
|
-1, 677,
|
|
149, 214,
|
|
-2, 219,
|
|
-1, 693,
|
|
149, 465,
|
|
151, 465,
|
|
160, 465,
|
|
-2, 426,
|
|
-1, 730,
|
|
149, 185,
|
|
-2, 426,
|
|
-1, 746,
|
|
37, 269,
|
|
39, 269,
|
|
-2, 266,
|
|
-1, 760,
|
|
94, 209,
|
|
95, 209,
|
|
96, 209,
|
|
-2, 0,
|
|
-1, 789,
|
|
149, 184,
|
|
-2, 426,
|
|
-1, 791,
|
|
149, 187,
|
|
-2, 400,
|
|
-1, 806,
|
|
94, 210,
|
|
95, 210,
|
|
96, 210,
|
|
-2, 0,
|
|
-1, 856,
|
|
31, 200,
|
|
32, 200,
|
|
33, 200,
|
|
145, 200,
|
|
-2, 0,
|
|
-1, 888,
|
|
29, 77,
|
|
-2, 81,
|
|
-1, 893,
|
|
31, 199,
|
|
32, 199,
|
|
33, 199,
|
|
145, 199,
|
|
-2, 0,
|
|
-1, 921,
|
|
149, 214,
|
|
-2, 219,
|
|
}
|
|
|
|
const yyPrivate = 57344
|
|
|
|
const yyLast = 7766
|
|
|
|
var yyAct = [...]int{
|
|
28, 132, 765, 631, 843, 880, 748, 442, 866, 839,
|
|
585, 109, 842, 785, 820, 191, 635, 682, 113, 634,
|
|
668, 128, 140, 140, 140, 712, 650, 153, 380, 572,
|
|
117, 123, 633, 649, 224, 188, 327, 723, 540, 529,
|
|
636, 410, 372, 521, 318, 382, 226, 5, 322, 81,
|
|
152, 9, 321, 228, 232, 8, 85, 240, 241, 242,
|
|
243, 244, 149, 134, 245, 246, 247, 248, 249, 250,
|
|
251, 580, 254, 145, 127, 262, 263, 264, 320, 319,
|
|
436, 7, 6, 130, 139, 520, 258, 129, 268, 876,
|
|
277, 278, 873, 280, 281, 850, 860, 691, 273, 2,
|
|
83, 847, 597, 846, 234, 234, 338, 142, 143, 314,
|
|
899, 236, 236, 411, 874, 107, 870, 684, 575, 684,
|
|
771, 900, 287, 549, 716, 706, 643, 339, 875, 313,
|
|
871, 336, 628, 295, 324, 297, 334, 307, 329, 330,
|
|
304, 340, 573, 310, 107, 337, 311, 564, 416, 107,
|
|
335, 326, 867, 290, 292, 181, 341, 342, 343, 344,
|
|
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
|
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
365, 366, 192, 368, 370, 312, 374, 270, 306, 376,
|
|
708, 791, 607, 273, 610, 608, 44, 167, 700, 313,
|
|
696, 617, 307, 604, 392, 394, 395, 396, 397, 398,
|
|
399, 400, 401, 402, 403, 404, 405, 406, 300, 592,
|
|
407, 140, 409, 415, 228, 384, 265, 525, 166, 168,
|
|
169, 419, 613, 430, 234, 932, 421, 614, 895, 228,
|
|
828, 236, 80, 827, 388, 861, 818, 412, 526, 807,
|
|
795, 233, 239, 738, 140, 728, 710, 181, 414, 705,
|
|
222, 431, 108, 703, 695, 666, 140, 146, 655, 645,
|
|
367, 437, 518, 422, 375, 605, 530, 531, 596, 234,
|
|
532, 288, 270, 296, 921, 663, 236, 835, 664, 537,
|
|
793, 108, 541, 868, 228, 731, 108, 822, 821, 167,
|
|
170, 171, 694, 677, 119, 408, 177, 179, 291, 578,
|
|
562, 234, 560, 524, 766, 559, 536, 758, 236, 523,
|
|
165, 164, 420, 391, 551, 429, 554, 311, 543, 274,
|
|
166, 168, 169, 176, 178, 163, 609, 389, 424, 568,
|
|
387, 153, 293, 426, 427, 5, 221, 279, 517, 9,
|
|
435, 289, 220, 8, 276, 638, 639, 275, 527, 181,
|
|
253, 223, 219, 186, 185, 184, 138, 137, 294, 426,
|
|
571, 427, 427, 426, 136, 133, 115, 114, 190, 7,
|
|
6, 373, 552, 119, 927, 107, 181, 936, 587, 935,
|
|
588, 569, 910, 589, 590, 582, 909, 558, 586, 546,
|
|
567, 167, 170, 171, 894, 857, 829, 824, 577, 566,
|
|
780, 781, 817, 595, 584, 780, 781, 228, 599, 777,
|
|
759, 228, 165, 164, 274, 727, 418, 579, 167, 299,
|
|
726, 298, 166, 168, 169, 616, 724, 163, 722, 719,
|
|
619, 157, 159, 158, 181, 563, 637, 548, 545, 165,
|
|
164, 390, 378, 136, 594, 602, 114, 333, 433, 166,
|
|
168, 169, 332, 598, 163, 413, 331, 301, 183, 180,
|
|
851, 119, 237, 816, 813, 808, 773, 615, 915, 745,
|
|
618, 864, 747, 544, 155, 156, 167, 170, 171, 172,
|
|
173, 174, 175, 177, 179, 863, 809, 425, 544, 822,
|
|
821, 544, 798, 544, 794, 182, 161, 165, 164, 438,
|
|
519, 740, 683, 119, 160, 107, 162, 166, 168, 169,
|
|
176, 178, 163, 823, 140, 623, 583, 167, 779, 187,
|
|
122, 119, 108, 752, 753, 754, 751, 750, 749, 769,
|
|
257, 198, 199, 644, 116, 119, 259, 181, 640, 193,
|
|
116, 428, 200, 202, 201, 77, 272, 294, 627, 913,
|
|
309, 620, 522, 659, 329, 661, 267, 624, 266, 642,
|
|
849, 665, 554, 626, 554, 311, 729, 651, 146, 889,
|
|
309, 148, 678, 136, 745, 119, 114, 747, 654, 167,
|
|
640, 5, 681, 586, 309, 9, 78, 79, 692, 8,
|
|
660, 136, 237, 581, 114, 118, 657, 309, 622, 680,
|
|
383, 260, 261, 119, 294, 698, 667, 714, 553, 386,
|
|
674, 912, 911, 234, 234, 7, 6, 119, 259, 530,
|
|
236, 236, 653, 428, 648, 647, 688, 555, 752, 753,
|
|
754, 751, 750, 749, 541, 284, 285, 797, 557, 640,
|
|
234, 679, 303, 325, 125, 697, 126, 236, 305, 840,
|
|
720, 550, 108, 309, 638, 639, 554, 46, 704, 713,
|
|
901, 554, 554, 228, 717, 651, 535, 733, 709, 715,
|
|
259, 737, 711, 136, 869, 428, 114, 718, 802, 640,
|
|
801, 760, 761, 260, 261, 228, 756, 148, 702, 119,
|
|
124, 755, 725, 735, 736, 812, 194, 732, 739, 752,
|
|
753, 754, 751, 750, 749, 135, 106, 308, 640, 259,
|
|
234, 652, 259, 329, 286, 150, 125, 236, 126, 762,
|
|
757, 764, 228, 554, 121, 554, 713, 119, 651, 767,
|
|
772, 611, 770, 774, 534, 260, 261, 259, 775, 259,
|
|
788, 150, 282, 804, 256, 640, 803, 586, 799, 778,
|
|
806, 131, 782, 800, 784, 621, 790, 259, 413, 625,
|
|
373, 669, 119, 786, 107, 556, 135, 106, 640, 234,
|
|
112, 819, 544, 811, 260, 261, 236, 260, 261, 826,
|
|
554, 381, 379, 814, 810, 197, 832, 693, 833, 834,
|
|
196, 195, 815, 189, 1, 831, 825, 780, 781, 38,
|
|
746, 283, 260, 261, 260, 261, 836, 743, 844, 783,
|
|
780, 781, 856, 111, 744, 632, 528, 848, 865, 879,
|
|
328, 533, 260, 261, 855, 841, 676, 255, 796, 385,
|
|
371, 859, 136, 656, 852, 114, 934, 662, 845, 877,
|
|
890, 891, 886, 227, 43, 42, 892, 893, 16, 885,
|
|
838, 237, 539, 853, 15, 897, 898, 730, 830, 872,
|
|
151, 606, 786, 896, 903, 271, 49, 905, 48, 217,
|
|
218, 902, 110, 50, 886, 908, 84, 82, 904, 72,
|
|
252, 885, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 225, 906, 62, 269, 918,
|
|
235, 61, 238, 884, 883, 882, 881, 928, 926, 925,
|
|
924, 108, 922, 586, 742, 929, 789, 147, 144, 45,
|
|
930, 734, 919, 640, 920, 933, 203, 4, 937, 89,
|
|
90, 70, 47, 94, 95, 36, 673, 107, 315, 27,
|
|
120, 302, 3, 112, 26, 18, 17, 441, 19, 768,
|
|
30, 707, 31, 0, 0, 20, 0, 0, 0, 21,
|
|
22, 35, 37, 106, 13, 23, 33, 0, 0, 34,
|
|
12, 0, 24, 0, 29, 87, 88, 10, 39, 40,
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
100, 101, 96, 97, 745, 0, 0, 747, 0, 0,
|
|
104, 0, 0, 0, 0, 11, 102, 98, 114, 0,
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 752, 753,
|
|
754, 751, 750, 749, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 105, 73, 14,
|
|
646, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
56, 58, 59, 71, 108, 4, 0, 89, 90, 70,
|
|
47, 94, 95, 36, 837, 107, 0, 27, 0, 0,
|
|
0, 112, 26, 18, 17, 0, 19, 0, 30, 0,
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
|
37, 106, 13, 23, 33, 0, 0, 34, 12, 0,
|
|
24, 0, 29, 87, 88, 10, 39, 40, 41, 0,
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
|
96, 97, 745, 0, 0, 747, 0, 0, 104, 0,
|
|
0, 0, 0, 11, 102, 98, 114, 0, 91, 92,
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
|
76, 63, 64, 65, 66, 67, 68, 69, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 752, 753, 754, 751,
|
|
750, 749, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 105, 73, 14, 547, 32,
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
|
59, 71, 108, 4, 0, 89, 90, 70, 47, 94,
|
|
95, 36, 805, 107, 0, 27, 0, 0, 0, 112,
|
|
26, 18, 17, 0, 19, 0, 30, 0, 31, 0,
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
|
13, 23, 33, 0, 0, 34, 12, 0, 24, 0,
|
|
29, 87, 88, 10, 39, 40, 41, 0, 0, 0,
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
|
745, 0, 0, 747, 0, 0, 104, 0, 0, 0,
|
|
0, 11, 102, 98, 114, 0, 91, 92, 93, 0,
|
|
0, 0, 0, 86, 53, 0, 0, 0, 74, 75,
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
|
64, 65, 66, 67, 68, 69, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 752, 753, 754, 751, 750, 749,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 105, 73, 14, 0, 32, 0, 60,
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
|
741, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
|
111, 0, 103, 99, 100, 101, 96, 97, 0, 0,
|
|
0, 0, 0, 0, 104, 0, 0, 0, 0, 136,
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
|
66, 67, 68, 69, 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, 105, 73, 14, 938, 32, 0, 60, 0, 52,
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
|
0, 89, 90, 70, 47, 94, 95, 36, 0, 107,
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
|
19, 0, 30, 0, 31, 0, 0, 20, 0, 0,
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
68, 69, 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, 105,
|
|
73, 14, 931, 32, 0, 60, 0, 52, 0, 0,
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
|
30, 0, 31, 0, 0, 20, 0, 0, 0, 21,
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
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, 105, 73, 14,
|
|
917, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
56, 58, 59, 71, 108, 317, 0, 89, 90, 70,
|
|
47, 94, 95, 36, 0, 107, 0, 27, 0, 0,
|
|
0, 112, 26, 18, 17, 0, 19, 0, 30, 0,
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
|
37, 106, 0, 23, 33, 0, 0, 34, 0, 0,
|
|
24, 0, 29, 87, 88, 323, 39, 40, 41, 0,
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
|
96, 97, 0, 0, 0, 0, 0, 0, 104, 0,
|
|
0, 0, 0, 136, 102, 98, 114, 0, 91, 92,
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
|
76, 63, 64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 916, 32,
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
|
59, 71, 108, 317, 0, 89, 90, 70, 47, 94,
|
|
95, 36, 0, 107, 0, 27, 0, 0, 0, 112,
|
|
26, 18, 17, 0, 19, 914, 30, 0, 31, 0,
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
|
0, 23, 33, 0, 0, 34, 0, 0, 24, 0,
|
|
29, 87, 88, 323, 39, 40, 41, 0, 0, 0,
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
|
0, 0, 0, 0, 0, 0, 104, 0, 0, 0,
|
|
0, 136, 102, 98, 114, 0, 91, 92, 93, 0,
|
|
0, 0, 0, 86, 53, 0, 0, 0, 74, 75,
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
|
64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32, 0, 60,
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
|
0, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
|
111, 0, 103, 99, 100, 101, 96, 97, 0, 0,
|
|
0, 0, 0, 0, 104, 0, 0, 0, 0, 136,
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
|
66, 67, 68, 69, 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, 105, 73, 14, 862, 32, 0, 60, 0, 52,
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
|
0, 89, 90, 70, 47, 94, 95, 36, 0, 107,
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
|
19, 0, 30, 858, 31, 0, 0, 20, 0, 0,
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
68, 69, 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, 105,
|
|
73, 14, 0, 32, 0, 60, 0, 52, 0, 0,
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
|
30, 0, 31, 792, 0, 20, 0, 0, 0, 21,
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
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, 105, 73, 14,
|
|
0, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
56, 58, 59, 71, 108, 317, 0, 89, 90, 70,
|
|
47, 94, 95, 36, 0, 107, 0, 27, 0, 0,
|
|
0, 112, 26, 18, 17, 776, 19, 0, 30, 0,
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
|
37, 106, 0, 23, 33, 0, 0, 34, 0, 0,
|
|
24, 0, 29, 87, 88, 323, 39, 40, 41, 0,
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
|
96, 97, 0, 0, 0, 0, 0, 0, 104, 0,
|
|
0, 0, 0, 136, 102, 98, 114, 0, 91, 92,
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
|
76, 63, 64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32,
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
|
59, 71, 108, 317, 0, 89, 90, 70, 47, 94,
|
|
95, 36, 0, 107, 0, 27, 0, 0, 0, 112,
|
|
26, 18, 17, 0, 19, 0, 30, 0, 31, 0,
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
|
0, 23, 33, 0, 0, 34, 0, 0, 24, 0,
|
|
29, 87, 88, 323, 39, 40, 41, 0, 0, 0,
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
|
0, 0, 0, 0, 0, 0, 104, 0, 0, 0,
|
|
0, 136, 102, 98, 114, 0, 91, 92, 93, 0,
|
|
0, 0, 0, 86, 53, 0, 0, 687, 74, 75,
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
|
64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32, 0, 60,
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
|
0, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
|
111, 0, 103, 99, 100, 101, 96, 97, 0, 0,
|
|
0, 0, 0, 0, 104, 0, 0, 0, 0, 136,
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
|
66, 67, 68, 69, 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, 105, 73, 14, 576, 32, 0, 60, 0, 52,
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
|
0, 89, 90, 70, 47, 94, 95, 36, 0, 107,
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
|
19, 0, 30, 0, 31, 0, 0, 20, 0, 0,
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
68, 69, 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, 105,
|
|
73, 14, 316, 32, 0, 60, 0, 52, 0, 0,
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
|
30, 0, 31, 0, 0, 20, 0, 0, 0, 21,
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
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, 105, 73, 14,
|
|
0, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
56, 58, 59, 71, 108, 449, 450, 460, 461, 0,
|
|
0, 440, 0, 107, 0, 0, 0, 0, 0, 0,
|
|
465, 466, 467, 468, 469, 470, 471, 472, 473, 474,
|
|
475, 495, 496, 497, 498, 499, 487, 488, 489, 516,
|
|
490, 491, 476, 477, 478, 479, 480, 481, 482, 483,
|
|
484, 485, 486, 0, 507, 505, 506, 502, 503, 0,
|
|
0, 494, 500, 501, 508, 509, 511, 510, 512, 513,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 504, 515, 514, 0, 0, 451, 452, 453, 454,
|
|
455, 456, 457, 458, 459, 462, 463, 464, 492, 493,
|
|
443, 444, 445, 446, 447, 448, 89, 90, 70, 47,
|
|
94, 95, 36, 0, 107, 0, 27, 0, 0, 0,
|
|
112, 26, 18, 17, 0, 19, 0, 30, 0, 31,
|
|
0, 0, 20, 0, 0, 0, 21, 22, 35, 135,
|
|
106, 0, 23, 33, 0, 439, 34, 0, 0, 24,
|
|
0, 29, 87, 88, 0, 0, 0, 0, 0, 0,
|
|
108, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
|
75, 25, 0, 0, 0, 0, 0, 54, 55, 76,
|
|
63, 64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32, 787,
|
|
60, 0, 52, 0, 0, 0, 57, 56, 58, 59,
|
|
71, 108, 89, 90, 70, 47, 94, 95, 36, 0,
|
|
107, 0, 27, 0, 0, 0, 112, 26, 18, 17,
|
|
0, 19, 0, 30, 0, 31, 0, 0, 20, 0,
|
|
0, 0, 21, 22, 35, 135, 106, 0, 23, 33,
|
|
0, 0, 34, 0, 0, 24, 0, 29, 87, 88,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 51, 111,
|
|
0, 103, 99, 100, 101, 96, 97, 0, 0, 0,
|
|
0, 0, 0, 104, 0, 0, 0, 0, 136, 102,
|
|
98, 114, 0, 91, 92, 93, 0, 0, 0, 0,
|
|
86, 53, 0, 0, 0, 74, 75, 25, 0, 0,
|
|
0, 0, 0, 54, 55, 76, 63, 64, 65, 66,
|
|
67, 68, 69, 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,
|
|
105, 73, 14, 0, 32, 854, 60, 0, 52, 0,
|
|
0, 0, 57, 56, 58, 59, 71, 108, 89, 90,
|
|
70, 47, 94, 95, 36, 0, 107, 0, 27, 0,
|
|
0, 0, 112, 26, 18, 17, 0, 19, 0, 30,
|
|
0, 31, 0, 0, 20, 0, 0, 0, 21, 22,
|
|
35, 135, 106, 0, 23, 33, 0, 0, 34, 0,
|
|
0, 24, 0, 29, 87, 88, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
|
0, 0, 0, 0, 136, 102, 98, 114, 0, 91,
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
|
0, 74, 75, 25, 0, 0, 0, 0, 0, 54,
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0,
|
|
32, 689, 60, 0, 52, 0, 0, 0, 57, 56,
|
|
58, 59, 71, 108, 89, 90, 70, 47, 94, 95,
|
|
36, 0, 107, 0, 27, 0, 0, 0, 112, 26,
|
|
18, 17, 0, 19, 0, 30, 0, 31, 0, 0,
|
|
20, 0, 0, 0, 21, 22, 35, 135, 106, 0,
|
|
23, 33, 0, 0, 34, 0, 0, 24, 0, 29,
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
136, 102, 98, 114, 0, 91, 92, 93, 0, 0,
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 25,
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
|
65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32, 675, 60, 0,
|
|
52, 0, 0, 0, 57, 56, 58, 59, 71, 108,
|
|
89, 90, 70, 47, 94, 95, 36, 0, 107, 0,
|
|
27, 0, 0, 0, 112, 26, 18, 17, 0, 19,
|
|
0, 30, 0, 31, 0, 0, 20, 0, 0, 0,
|
|
21, 22, 35, 135, 106, 0, 23, 33, 0, 0,
|
|
34, 0, 0, 24, 0, 29, 87, 88, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 51, 111, 0, 103,
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
|
0, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
|
0, 0, 0, 74, 75, 25, 0, 0, 0, 0,
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
|
69, 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, 105, 73,
|
|
14, 0, 32, 658, 60, 0, 52, 0, 0, 0,
|
|
57, 56, 58, 59, 71, 108, 89, 90, 70, 47,
|
|
94, 95, 36, 0, 107, 0, 27, 0, 0, 0,
|
|
112, 26, 18, 17, 0, 19, 0, 30, 0, 31,
|
|
0, 0, 20, 0, 0, 0, 21, 22, 35, 135,
|
|
106, 0, 23, 33, 0, 0, 34, 0, 0, 24,
|
|
0, 29, 87, 88, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
|
75, 25, 0, 0, 0, 0, 0, 54, 55, 76,
|
|
63, 64, 65, 66, 67, 68, 69, 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, 105, 73, 14, 0, 32, 0,
|
|
60, 0, 52, 0, 0, 0, 57, 56, 58, 59,
|
|
71, 108, 449, 450, 460, 461, 0, 0, 888, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 465, 466, 467,
|
|
468, 469, 470, 471, 472, 473, 474, 475, 495, 496,
|
|
497, 498, 499, 487, 488, 489, 516, 490, 491, 476,
|
|
477, 478, 479, 480, 481, 482, 483, 484, 485, 486,
|
|
0, 507, 505, 506, 502, 503, 0, 0, 494, 500,
|
|
501, 508, 509, 511, 510, 512, 513, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 887, 515,
|
|
514, 114, 0, 451, 452, 453, 454, 455, 456, 457,
|
|
458, 459, 462, 463, 464, 492, 493, 443, 444, 445,
|
|
446, 447, 448, 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, 449,
|
|
450, 460, 461, 0, 0, 888, 0, 0, 0, 0,
|
|
0, 0, 0, 907, 465, 466, 467, 468, 469, 470,
|
|
471, 472, 473, 474, 475, 495, 496, 497, 498, 499,
|
|
487, 488, 489, 516, 490, 491, 476, 477, 478, 479,
|
|
480, 481, 482, 483, 484, 485, 486, 0, 507, 505,
|
|
506, 502, 503, 0, 0, 494, 500, 501, 508, 509,
|
|
511, 510, 512, 513, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 887, 515, 514, 114, 0,
|
|
451, 452, 453, 454, 455, 456, 457, 458, 459, 462,
|
|
463, 464, 492, 493, 443, 444, 445, 446, 447, 448,
|
|
89, 90, 70, 0, 94, 95, 119, 0, 107, 0,
|
|
0, 0, 0, 0, 112, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 135, 106, 0, 0, 0, 0, 0,
|
|
878, 0, 0, 0, 0, 0, 87, 88, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 231, 111, 0, 103,
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
|
230, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
|
0, 0, 0, 74, 75, 141, 0, 0, 0, 0,
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
|
69, 0, 0, 0, 89, 90, 70, 0, 94, 95,
|
|
119, 0, 107, 0, 0, 0, 0, 0, 112, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 105, 73,
|
|
0, 0, 0, 0, 60, 0, 52, 135, 106, 229,
|
|
57, 56, 58, 59, 71, 108, 0, 0, 0, 0,
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
136, 102, 98, 114, 542, 91, 92, 93, 0, 0,
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 141,
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
|
65, 66, 67, 68, 69, 0, 0, 0, 89, 90,
|
|
70, 0, 94, 95, 119, 0, 107, 0, 0, 0,
|
|
0, 0, 112, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 105, 73, 0, 0, 0, 0, 60, 538,
|
|
52, 135, 106, 0, 57, 56, 58, 59, 71, 108,
|
|
0, 0, 0, 0, 87, 88, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
|
0, 0, 0, 0, 136, 102, 98, 114, 542, 91,
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
|
0, 74, 75, 141, 0, 0, 0, 0, 0, 54,
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 0,
|
|
0, 0, 89, 90, 70, 0, 94, 95, 119, 0,
|
|
107, 0, 0, 0, 0, 0, 112, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 105, 73, 0, 0,
|
|
0, 0, 60, 0, 52, 135, 106, 0, 57, 56,
|
|
58, 59, 71, 108, 0, 0, 0, 0, 87, 88,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 601, 111,
|
|
0, 103, 99, 100, 101, 96, 97, 0, 0, 0,
|
|
0, 0, 0, 104, 0, 0, 0, 0, 136, 102,
|
|
98, 114, 0, 91, 92, 93, 0, 0, 0, 0,
|
|
86, 53, 0, 0, 0, 74, 75, 141, 0, 0,
|
|
0, 0, 0, 54, 55, 76, 63, 64, 65, 66,
|
|
67, 68, 69, 0, 0, 0, 89, 90, 70, 0,
|
|
94, 95, 119, 432, 107, 0, 0, 0, 0, 0,
|
|
112, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
105, 73, 0, 0, 0, 0, 60, 0, 52, 135,
|
|
106, 600, 57, 56, 58, 59, 71, 108, 0, 0,
|
|
0, 0, 87, 88, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
|
75, 141, 0, 0, 0, 0, 0, 54, 55, 76,
|
|
63, 64, 65, 66, 67, 68, 69, 0, 0, 0,
|
|
89, 90, 70, 0, 94, 95, 119, 0, 107, 0,
|
|
0, 0, 0, 0, 112, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 105, 73, 0, 0, 0, 0,
|
|
60, 0, 52, 135, 106, 0, 57, 56, 58, 59,
|
|
71, 108, 0, 0, 0, 0, 87, 88, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 51, 111, 0, 103,
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
|
0, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
|
0, 0, 0, 74, 75, 141, 0, 0, 0, 0,
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
|
69, 0, 0, 0, 89, 90, 70, 0, 94, 95,
|
|
119, 0, 107, 0, 0, 0, 0, 0, 112, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 105, 73,
|
|
0, 0, 0, 0, 60, 0, 52, 135, 106, 393,
|
|
57, 56, 58, 59, 71, 108, 0, 0, 0, 0,
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
136, 102, 98, 114, 0, 91, 92, 93, 0, 0,
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 141,
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
|
65, 66, 67, 68, 69, 0, 0, 0, 89, 90,
|
|
70, 0, 94, 95, 119, 0, 107, 0, 0, 0,
|
|
0, 0, 112, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 105, 73, 0, 0, 0, 369, 60, 0,
|
|
52, 135, 106, 0, 57, 56, 58, 59, 71, 108,
|
|
0, 0, 0, 0, 87, 88, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
|
0, 0, 0, 0, 136, 102, 98, 114, 0, 91,
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
|
0, 74, 75, 141, 0, 0, 0, 0, 0, 54,
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 0,
|
|
0, 157, 159, 158, 181, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 105, 73, 183, 180,
|
|
0, 0, 60, 0, 52, 0, 0, 0, 57, 56,
|
|
58, 59, 71, 108, 155, 156, 167, 170, 171, 172,
|
|
173, 174, 175, 177, 179, 0, 157, 159, 158, 181,
|
|
0, 0, 0, 0, 763, 182, 161, 165, 164, 0,
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
176, 178, 163, 183, 180, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 155,
|
|
156, 167, 170, 171, 172, 173, 174, 175, 177, 179,
|
|
0, 157, 159, 158, 181, 0, 0, 721, 0, 0,
|
|
182, 161, 165, 164, 0, 0, 0, 0, 0, 160,
|
|
0, 162, 166, 168, 169, 176, 178, 163, 183, 180,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
|
173, 174, 175, 177, 179, 0, 0, 0, 701, 157,
|
|
159, 158, 181, 0, 0, 182, 161, 165, 164, 0,
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
176, 178, 163, 0, 0, 0, 183, 180, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
175, 177, 179, 0, 0, 0, 699, 157, 159, 158,
|
|
181, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
163, 0, 0, 0, 183, 180, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
155, 156, 167, 170, 171, 172, 173, 174, 175, 177,
|
|
179, 0, 0, 0, 690, 157, 159, 158, 181, 0,
|
|
0, 182, 161, 165, 164, 0, 0, 0, 0, 0,
|
|
160, 0, 162, 166, 168, 169, 176, 178, 163, 0,
|
|
0, 0, 183, 180, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
|
157, 159, 158, 181, 0, 0, 686, 0, 0, 182,
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
|
162, 166, 168, 169, 176, 178, 163, 183, 180, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
|
174, 175, 177, 179, 0, 157, 159, 158, 181, 0,
|
|
0, 685, 0, 0, 182, 161, 165, 164, 0, 0,
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
|
178, 163, 183, 180, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
|
0, 0, 641, 157, 159, 158, 181, 0, 0, 182,
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
|
162, 166, 168, 169, 176, 178, 163, 0, 0, 0,
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
|
171, 172, 173, 174, 175, 177, 179, 0, 157, 159,
|
|
158, 181, 0, 0, 630, 0, 0, 182, 161, 165,
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
|
168, 169, 176, 178, 163, 183, 180, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
|
177, 179, 0, 157, 159, 158, 181, 0, 0, 629,
|
|
0, 0, 182, 161, 165, 164, 0, 0, 0, 0,
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
|
171, 172, 173, 174, 175, 177, 179, 0, 0, 0,
|
|
612, 157, 159, 158, 181, 0, 0, 182, 161, 165,
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
|
168, 169, 176, 178, 163, 0, 0, 0, 183, 180,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
|
173, 174, 175, 177, 179, 0, 157, 159, 158, 181,
|
|
0, 0, 603, 0, 0, 182, 161, 165, 164, 0,
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
176, 178, 163, 183, 180, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 155,
|
|
156, 167, 170, 171, 172, 173, 174, 175, 177, 179,
|
|
574, 0, 0, 593, 157, 159, 158, 181, 0, 0,
|
|
182, 161, 165, 164, 0, 0, 0, 0, 0, 160,
|
|
0, 162, 166, 168, 169, 176, 178, 163, 0, 0,
|
|
0, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
159, 158, 181, 0, 0, 591, 0, 0, 182, 161,
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
175, 177, 179, 0, 157, 159, 158, 181, 0, 0,
|
|
0, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
163, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
159, 158, 181, 570, 0, 0, 0, 0, 182, 161,
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
175, 177, 179, 0, 157, 159, 158, 181, 0, 0,
|
|
565, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
163, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
159, 158, 181, 0, 0, 561, 0, 0, 182, 161,
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 417, 0,
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
175, 177, 179, 0, 0, 0, 0, 0, 0, 0,
|
|
423, 0, 0, 182, 161, 165, 164, 157, 159, 158,
|
|
181, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
163, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 183, 180, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
155, 156, 167, 170, 171, 172, 173, 174, 175, 177,
|
|
179, 0, 157, 159, 158, 181, 0, 0, 0, 0,
|
|
0, 182, 161, 165, 164, 0, 0, 0, 0, 0,
|
|
160, 0, 162, 166, 168, 169, 176, 178, 163, 183,
|
|
180, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 155, 156, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
377, 157, 159, 158, 181, 0, 182, 161, 165, 164,
|
|
0, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
|
169, 176, 178, 163, 0, 0, 0, 0, 183, 180,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
|
173, 174, 175, 177, 179, 0, 0, 0, 0, 154,
|
|
157, 159, 158, 181, 0, 182, 161, 165, 164, 0,
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
176, 178, 163, 0, 0, 0, 0, 183, 180, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
|
174, 175, 177, 179, 0, 0, 159, 158, 181, 0,
|
|
0, 0, 0, 0, 182, 161, 165, 164, 0, 0,
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
|
178, 163, 183, 180, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
|
0, 0, 158, 181, 0, 0, 0, 0, 0, 182,
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
|
162, 166, 168, 169, 176, 178, 163, 183, 180, 434,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
|
174, 175, 177, 179, 0, 0, 0, 0, 0, 0,
|
|
0, 181, 0, 0, 182, 161, 165, 164, 0, 0,
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
|
178, 163, 0, 0, 0, 183, 180, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
|
177, 179, 0, 0, 0, 0, 181, 0, 0, 0,
|
|
0, 0, 182, 161, 165, 164, 0, 0, 0, 0,
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
|
171, 172, 173, 174, 175, 177, 179, 0, 0, 0,
|
|
0, 181, 0, 0, 0, 0, 0, 182, 161, 165,
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
|
168, 169, 176, 178, 163, 183, 180, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
|
177, 179, 0, 0, 0, 181, 0, 0, 0, 0,
|
|
0, 0, 0, 161, 165, 164, 0, 0, 0, 0,
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
|
180, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 181, 156, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
180, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
180, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
180, 0, 0, 0, 0, 0, 0, 162, 166, 168,
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
180, 0, 0, 0, 0, 0, 0, 0, 166, 168,
|
|
169, 176, 178, 163, 0, 0, 0, 167, 170, 171,
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 165, 164,
|
|
449, 450, 460, 461, 0, 0, 440, 0, 166, 168,
|
|
169, 176, 178, 163, 0, 465, 466, 467, 468, 469,
|
|
470, 471, 472, 473, 474, 475, 495, 496, 497, 498,
|
|
499, 487, 488, 489, 516, 490, 491, 476, 477, 478,
|
|
479, 480, 481, 482, 483, 484, 485, 486, 0, 507,
|
|
505, 506, 502, 503, 0, 0, 494, 500, 501, 508,
|
|
509, 511, 510, 512, 513, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 504, 515, 514, 0,
|
|
0, 451, 452, 453, 454, 455, 456, 457, 458, 459,
|
|
462, 463, 464, 492, 493, 443, 444, 445, 446, 447,
|
|
448, 449, 450, 460, 461, 0, 0, 923, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 465, 466, 467, 468,
|
|
469, 470, 471, 472, 473, 474, 475, 495, 496, 497,
|
|
498, 499, 487, 488, 489, 516, 490, 491, 476, 477,
|
|
478, 479, 480, 481, 482, 483, 484, 485, 486, 0,
|
|
507, 505, 506, 502, 503, 0, 0, 494, 500, 501,
|
|
508, 509, 511, 510, 512, 513, 119, 0, 107, 0,
|
|
0, 0, 0, 0, 112, 0, 0, 504, 515, 514,
|
|
0, 0, 451, 452, 453, 454, 455, 456, 457, 458,
|
|
459, 462, 463, 464, 492, 493, 752, 753, 754, 751,
|
|
750, 749, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 671, 111, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 136, 0, 0, 114,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 237, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 235, 0, 672, 0, 0, 670,
|
|
0, 0, 0, 0, 0, 108,
|
|
}
|
|
|
|
var yyPact = [...]int{
|
|
-1000, -1000, 1251, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
228, 461, 617, 751, -1000, -1000, -1000, 227, 4342, 219,
|
|
218, 5524, 5524, 5524, 132, 739, 5524, -1000, 6743, 217,
|
|
216, 215, -1000, 385, 5524, 793, 231, 29, 496, 791,
|
|
790, 785, 447, 458, 774, -1000, -1000, 214, -1000, -1000,
|
|
202, 213, 4726, 5524, 762, 762, 5524, 5524, 5524, 5524,
|
|
5524, -1000, -1000, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
212, 5524, -1000, 737, 5524, 5524, 5524, -1000, -1000, -1000,
|
|
-1000, 76, -1000, 489, 487, -1000, 503, 209, 206, 5524,
|
|
5524, 199, 5524, 5524, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, 735, 707, 29, -1000, 137, 160,
|
|
160, 194, -1000, 474, 727, 134, 727, 285, -1000, -1000,
|
|
321, 575, 42, 634, 727, -1000, -1000, -1000, -1000, 39,
|
|
-1000, -53, 3147, 5524, 632, 29, 467, 5524, 5524, 320,
|
|
6802, 678, 316, 311, -10, -1000, -1000, -15, -1000, -1000,
|
|
-56, -19, -1000, 6802, -1000, 5524, 5524, 5524, 5524, 5524,
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
5524, 373, 5410, 5524, 762, 5524, 751, -1000, 6684, 306,
|
|
-1000, 782, -1000, 781, -1000, 554, -1000, 563, 192, 4342,
|
|
189, 305, 176, 5296, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, -1000, -1000, 5524,
|
|
5524, 5524, 103, 4726, 72, -12, -1000, -1000, 6629, 762,
|
|
5524, 174, -1000, -1000, 76, 5524, -1000, -1000, 4726, -1000,
|
|
394, 394, 456, 394, 6561, 394, 394, 394, 394, 394,
|
|
394, 394, -1000, 5524, 394, 354, 710, 616, -1000, 175,
|
|
5182, 762, 7025, 6970, 7025, 5524, 3461, 3461, 160, -1000,
|
|
483, 169, 160, -1000, -1000, 5524, 5524, 6802, 6802, 5524,
|
|
6802, 6802, 755, -1000, 668, 534, 710, 168, 5524, -1000,
|
|
-1000, 4840, -1000, 4726, 772, 474, 302, 474, -1000, -1000,
|
|
1093, -1000, 301, -23, 578, 727, -1000, 535, 493, 765,
|
|
565, -1000, -1000, 751, 5524, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, 164, 6506, 162, -1000, 299, -13, 6802,
|
|
6451, -1000, -1000, -1000, -1000, 132, -1000, 713, 5524, -1000,
|
|
5524, 7134, 7174, 6857, 7025, 6912, 7214, 7294, 7254, 64,
|
|
64, 64, 456, 394, 456, 456, 295, 295, 166, 166,
|
|
166, 166, 268, 268, 268, 268, 166, -1000, 6396, 5524,
|
|
7080, -18, -1000, -1000, 6341, -31, 2989, -1000, -1000, -1000,
|
|
161, 554, 546, 521, 382, -1000, 521, 5524, -1000, 5524,
|
|
-1000, -1000, 7025, 5524, 7025, 7025, 7025, 7025, 7025, 7025,
|
|
7025, 7025, 7025, 7025, 7025, 7025, 7025, 6286, 68, 6228,
|
|
160, -1000, 5524, -1000, 129, -60, 4726, 5068, -1000, 6802,
|
|
4726, 6173, 52, -1000, 126, -1000, -1000, -1000, -1000, 182,
|
|
731, 6115, 87, 332, 5524, 50, 160, -1000, -1000, 5524,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, 160, -1000, -1000,
|
|
-1000, -1000, 132, 5524, 5524, 103, 132, 554, -28, -1000,
|
|
6802, 6060, 6005, -1000, -1000, -1000, 294, 5947, -1000, -34,
|
|
-1000, 6802, 5524, 120, -1000, -1000, 935, -1000, -1000, -1000,
|
|
491, 551, -1000, 727, 531, 689, -1000, 488, -1000, 6802,
|
|
119, 4186, 5524, 5524, 5524, 141, -1000, -1000, 6802, -1000,
|
|
5524, 7080, 116, 762, 7606, 4030, -1000, 155, 294, 546,
|
|
-1000, 521, -1000, -1000, 368, -41, -1000, 5892, 5837, 2831,
|
|
7294, 3874, -1000, -1000, -1000, 5779, -65, 5524, -1000, 6802,
|
|
762, 154, 115, -1000, -1000, -1000, 49, -1000, -1000, 642,
|
|
-1000, -1000, -1000, -1000, 5524, -1000, 7025, -1000, -1000, 5721,
|
|
-1000, -1000, 47, 5663, -1000, -1000, 546, 114, 5524, -1000,
|
|
-1000, 110, -35, -1000, 37, -1000, -1000, 603, -1000, -1000,
|
|
-1000, -1000, 107, 4954, 6802, -1000, -1000, 727, 473, -36,
|
|
-1000, -1000, 727, 689, -1000, 293, -1000, -1000, -1000, 5608,
|
|
292, 6802, -1000, 290, 284, 7080, 279, -1000, 106, 517,
|
|
762, 147, 4726, -1000, -1000, -1000, 661, 294, 104, -1000,
|
|
367, -41, 1275, -1000, 521, 4342, 170, 274, -1000, -1000,
|
|
-1000, 5524, 7025, -1000, 4726, -65, -1000, -1000, 5553, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, 167, 294, 455, -1000, -1000,
|
|
-1000, -1000, -40, -1000, 727, 331, 689, -1000, -36, -1000,
|
|
2673, 273, 5524, 383, -1000, 788, -1000, -1000, 3562, 7606,
|
|
-1000, 4726, 40, 2515, -1000, 142, 360, 101, 602, 358,
|
|
-1000, -1000, -1000, 294, 651, 521, 610, -1000, -1000, -1000,
|
|
-1000, -1000, -1000, -1000, -1000, 1117, -1000, -1000, -1000, -1000,
|
|
3305, 7025, 100, 330, 352, -1000, 294, -1000, 693, -1000,
|
|
329, 727, -40, -1000, -1000, 328, 266, -1000, 97, -1000,
|
|
5524, 151, 378, 261, 775, -1000, -1000, -1000, 94, -1000,
|
|
91, -1000, 260, 521, -1000, 167, 167, 139, -1000, 959,
|
|
647, 7446, 29, -43, -1000, -1000, 3305, -65, -1000, -1000,
|
|
511, -1000, -67, -1000, -1000, 325, -1000, -1000, 3718, 353,
|
|
-1000, -1000, -1000, -1000, -1000, 259, 2357, 3562, -1000, -1000,
|
|
84, -1000, 2199, 351, 337, 140, 539, -1000, -30, -1000,
|
|
-70, -32, -1000, -73, 7446, -1000, -1000, 4625, 434, 5524,
|
|
5524, -1000, -1000, -1000, -1000, -1000, 3305, -1000, 258, -1000,
|
|
89, 521, -1000, -1000, -1000, -39, -1000, -1000, 658, -1000,
|
|
-1000, 647, -1000, 5524, -1000, 7446, 5524, -1000, -1000, 4498,
|
|
-1000, 250, 246, 576, 592, 480, -1000, 467, -1000, -1000,
|
|
7025, 6802, 2041, 3305, -1000, 334, -1000, 1883, 1725, -1000,
|
|
140, -1000, -1000, 6802, -1000, 6802, 136, -1000, -1000, -1000,
|
|
-1000, 521, 7547, 7446, 238, -1000, -1000, -1000, -1000, -1000,
|
|
-1000, 294, -41, -1000, -1000, 7446, -1000, -1000, 1567, 86,
|
|
-1000, -1000, 167, 243, -1000, -1000, -1000, 1409, -1000,
|
|
}
|
|
|
|
var yyPgo = [...]int{
|
|
0, 961, 959, 15, 7, 957, 4, 29, 14, 952,
|
|
11, 44, 79, 78, 52, 48, 951, 26, 950, 74,
|
|
21, 83, 948, 0, 84, 946, 931, 42, 196, 32,
|
|
19, 38, 929, 928, 73, 927, 62, 924, 5, 916,
|
|
915, 914, 913, 9, 50, 911, 908, 100, 88, 242,
|
|
907, 905, 34, 890, 889, 8, 887, 80, 41, 886,
|
|
56, 49, 883, 882, 878, 876, 875, 86, 871, 870,
|
|
868, 10, 864, 87, 862, 860, 858, 855, 12, 854,
|
|
853, 46, 39, 40, 2, 16, 667, 43, 85, 848,
|
|
847, 846, 13, 844, 843, 555, 840, 45, 71, 839,
|
|
838, 6, 721, 20, 540, 837, 18, 836, 835, 36,
|
|
830, 25, 33, 37, 829, 530, 828, 826, 99, 1,
|
|
3, 825, 17, 824, 817, 810, 809, 804, 28,
|
|
}
|
|
|
|
var yyR1 = [...]int{
|
|
0, 127, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
5, 5, 5, 5, 5, 5, 5, 6, 6, 118,
|
|
118, 106, 106, 10, 10, 10, 9, 9, 9, 9,
|
|
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
|
9, 102, 102, 16, 16, 18, 18, 7, 7, 112,
|
|
112, 111, 111, 115, 115, 17, 17, 20, 20, 19,
|
|
19, 73, 73, 119, 119, 22, 22, 22, 22, 22,
|
|
22, 22, 11, 11, 11, 11, 11, 11, 11, 11,
|
|
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
|
|
11, 11, 11, 11, 11, 11, 107, 107, 70, 70,
|
|
26, 26, 96, 96, 27, 12, 1, 1, 2, 2,
|
|
13, 13, 126, 126, 86, 86, 14, 15, 97, 97,
|
|
99, 99, 98, 98, 103, 103, 103, 103, 93, 93,
|
|
92, 92, 25, 25, 90, 90, 90, 90, 113, 113,
|
|
113, 8, 8, 94, 94, 77, 77, 72, 72, 79,
|
|
79, 76, 76, 120, 120, 121, 121, 29, 29, 30,
|
|
30, 85, 85, 83, 83, 83, 84, 84, 87, 87,
|
|
74, 74, 31, 31, 33, 33, 34, 35, 35, 36,
|
|
36, 122, 122, 37, 37, 37, 37, 71, 71, 89,
|
|
89, 89, 114, 114, 38, 38, 39, 40, 40, 40,
|
|
40, 42, 42, 41, 91, 91, 124, 124, 123, 123,
|
|
125, 125, 101, 101, 101, 101, 101, 101, 75, 75,
|
|
43, 43, 108, 108, 78, 21, 69, 69, 44, 109,
|
|
109, 110, 110, 46, 45, 45, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 95, 95, 128, 3, 3, 100, 100,
|
|
116, 116, 55, 55, 56, 56, 56, 56, 47, 47,
|
|
48, 48, 53, 53, 105, 105, 105, 88, 88, 60,
|
|
60, 60, 54, 54, 54, 54, 54, 54, 54, 54,
|
|
54, 54, 54, 54, 54, 54, 54, 54, 61, 61,
|
|
61, 23, 23, 24, 24, 59, 62, 62, 62, 63,
|
|
63, 63, 64, 64, 64, 64, 64, 64, 28, 28,
|
|
28, 49, 49, 49, 65, 65, 66, 66, 66, 66,
|
|
66, 66, 57, 57, 57, 58, 58, 58, 52, 81,
|
|
81, 51, 51, 80, 80, 80, 80, 80, 80, 80,
|
|
104, 104, 104, 104, 67, 67, 67, 67, 67, 67,
|
|
67, 68, 68, 68, 68, 50, 50, 50, 50, 50,
|
|
50, 50, 117, 117, 82,
|
|
}
|
|
|
|
var yyR2 = [...]int{
|
|
0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
|
|
0, 1, 3, 1, 3, 2, 1, 1, 1, 1,
|
|
1, 1, 4, 3, 5, 4, 3, 4, 3, 4,
|
|
3, 1, 1, 6, 7, 6, 7, 0, 1, 3,
|
|
1, 3, 1, 3, 1, 1, 2, 1, 3, 1,
|
|
2, 3, 1, 2, 0, 1, 1, 1, 1, 1,
|
|
1, 4, 3, 1, 1, 5, 7, 9, 5, 3,
|
|
3, 3, 3, 3, 3, 1, 2, 6, 7, 9,
|
|
5, 1, 6, 3, 3, 2, 0, 9, 1, 3,
|
|
0, 4, 1, 3, 1, 11, 0, 1, 0, 1,
|
|
9, 8, 1, 2, 1, 1, 6, 7, 0, 2,
|
|
0, 2, 0, 2, 1, 2, 4, 3, 1, 4,
|
|
1, 4, 1, 4, 3, 4, 4, 5, 0, 5,
|
|
4, 1, 1, 1, 4, 5, 6, 1, 3, 6,
|
|
7, 3, 6, 1, 0, 1, 3, 4, 6, 0,
|
|
1, 1, 2, 1, 1, 1, 0, 2, 2, 4,
|
|
1, 3, 1, 2, 3, 1, 1, 3, 1, 1,
|
|
3, 2, 0, 4, 4, 3, 10, 1, 3, 1,
|
|
2, 3, 1, 2, 2, 2, 3, 3, 3, 4,
|
|
3, 1, 1, 3, 1, 3, 1, 1, 0, 1,
|
|
1, 2, 1, 1, 1, 1, 1, 1, 3, 1,
|
|
2, 4, 3, 1, 4, 4, 3, 1, 1, 0,
|
|
1, 3, 1, 8, 3, 2, 6, 5, 3, 4,
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 2, 2, 2, 2, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 2, 2, 2, 2, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
1, 5, 4, 3, 1, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 1, 3, 2, 1, 2, 4,
|
|
2, 1, 2, 11, 9, 0, 0, 1, 0, 4,
|
|
3, 1, 1, 2, 2, 4, 4, 2, 1, 1,
|
|
1, 1, 0, 3, 0, 1, 1, 0, 1, 4,
|
|
3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 3, 2, 3, 3, 1, 1, 1, 3,
|
|
3, 1, 1, 0, 1, 1, 1, 3, 1, 1,
|
|
3, 1, 1, 4, 4, 4, 4, 1, 1, 1,
|
|
3, 1, 4, 2, 3, 3, 1, 4, 4, 3,
|
|
3, 3, 1, 3, 1, 1, 3, 1, 1, 0,
|
|
1, 3, 1, 3, 1, 4, 2, 2, 6, 4,
|
|
2, 2, 1, 2, 1, 4, 3, 3, 3, 6,
|
|
3, 1, 1, 2, 1, 5, 4, 2, 2, 4,
|
|
2, 2, 1, 3, 1,
|
|
}
|
|
|
|
var yyChk = [...]int{
|
|
-1000, -127, -118, -9, 2, -11, -12, -13, -14, -15,
|
|
52, 80, 45, 39, 144, -72, -76, 21, 20, 23,
|
|
30, 34, 35, 40, 47, 99, 19, 14, -23, 49,
|
|
25, 27, 146, 41, 44, 36, 10, 37, -126, 53,
|
|
54, 55, -77, -79, -28, -32, -86, 7, -64, -65,
|
|
-62, 60, 150, 93, 105, 106, 155, 154, 156, 157,
|
|
148, -45, -50, 108, 109, 110, 111, 112, 113, 114,
|
|
6, 158, -54, 143, 97, 98, 107, -95, 100, 101,
|
|
-49, -61, -56, -47, -59, -60, 92, 50, 51, 4,
|
|
5, 85, 86, 87, 8, 9, 67, 68, 82, 64,
|
|
65, 66, 81, 63, 75, 142, 38, 12, 159, -10,
|
|
-63, 61, 18, -106, 83, 148, 83, -106, 144, 10,
|
|
-18, -102, -115, -106, 83, 37, 39, -19, -20, -73,
|
|
-21, 10, -119, 148, -11, 37, 80, 148, 148, -24,
|
|
-23, 99, -24, -24, -33, -34, -49, -35, -95, -36,
|
|
12, -69, -44, -23, 146, 131, 132, 88, 90, 89,
|
|
161, 153, 163, 169, 155, 154, 164, 133, 165, 166,
|
|
134, 135, 136, 137, 138, 139, 167, 140, 168, 141,
|
|
116, 91, 152, 115, 148, 148, 148, 144, -23, 10,
|
|
147, -3, 153, 53, -86, 10, 10, 10, 94, 95,
|
|
94, 96, 95, 162, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 105, 106, 148,
|
|
150, 144, 58, 148, -52, -51, -81, -80, -23, 153,
|
|
84, 60, -23, -28, -61, 148, -60, 99, 150, -28,
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
|
-23, -23, -53, 148, -23, -105, 17, -104, -67, 12,
|
|
77, 78, -23, -23, -23, 150, 79, 79, -48, -46,
|
|
-47, -66, 53, -10, -49, 148, 148, -23, -23, 148,
|
|
-23, -23, 17, 76, -104, -104, 17, -3, 144, -49,
|
|
-87, 148, -87, 148, 83, -106, 149, -106, 146, 144,
|
|
-118, 146, -16, -115, -106, 83, 146, 160, 83, 29,
|
|
-106, -20, 146, 160, 162, -22, 145, 2, -11, -12,
|
|
-13, -14, -15, 52, -23, 21, -3, -109, -110, -23,
|
|
-23, 146, 146, 146, 146, 160, 146, 160, 162, 146,
|
|
160, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
|
-23, -23, -23, -23, -23, -23, -23, -48, -23, 147,
|
|
-23, -96, -27, -28, -23, -73, -119, 146, 146, 10,
|
|
-128, 10, -97, 56, -128, -99, 56, 148, -11, 148,
|
|
146, 147, -23, 153, -23, -23, -23, -23, -23, -23,
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -24, -23,
|
|
-58, 10, 144, -49, -52, 151, 160, 59, -28, -23,
|
|
148, -23, -52, 149, -24, 143, -67, -67, 17, 150,
|
|
58, -23, 11, -28, 59, -24, -57, -6, -49, 144,
|
|
10, -5, -4, 99, 100, 101, 102, 103, 104, 4,
|
|
5, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
6, 7, 94, 95, 96, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 35, 36, 37,
|
|
39, 40, 97, 98, 60, 30, 31, 32, 33, 34,
|
|
61, 62, 56, 57, 80, 54, 55, 53, 63, 64,
|
|
66, 65, 67, 68, 82, 81, 38, -57, -6, -49,
|
|
-88, -87, 79, 150, 144, 58, 79, -88, -117, -82,
|
|
-23, -23, -23, 76, 76, 142, 148, -23, 149, -74,
|
|
-31, -23, 84, -52, 10, 146, -118, 145, 146, 146,
|
|
83, -106, -19, 83, -106, 144, 10, 83, -21, -23,
|
|
148, 149, 148, 146, 160, 149, -34, -36, -23, -44,
|
|
147, -23, -7, 160, 29, 149, 145, -128, 148, -97,
|
|
-98, 57, -10, 144, -128, -71, -10, -23, -23, -119,
|
|
-23, 149, 151, 145, -87, -23, 149, 162, -81, -23,
|
|
153, 60, -52, 149, 151, 149, -68, 10, 13, 154,
|
|
12, 10, 145, 145, 150, 145, -23, 151, -87, -23,
|
|
-87, -49, -24, -23, -58, -49, -97, -7, 160, 149,
|
|
149, -120, -121, -29, -30, -85, -83, 152, 61, 62,
|
|
-10, 145, -7, 160, -23, 149, 145, 144, 83, -112,
|
|
-17, -20, -102, 144, -128, 149, -94, -11, 147, -23,
|
|
-109, -23, -90, 144, 147, -23, 149, -27, -103, -28,
|
|
153, 60, 150, -25, -11, 147, -107, 148, -120, -98,
|
|
-128, -71, -122, 144, 160, 149, 149, 96, -11, 147,
|
|
145, 162, -23, -28, 148, 149, 151, 13, -23, 145,
|
|
151, 145, -98, 149, -82, 149, 160, -1, 153, -83,
|
|
149, -31, -111, -20, 144, -7, 160, -20, -112, 146,
|
|
-119, 149, 146, -113, 146, -113, 146, 146, 149, 59,
|
|
-28, 148, -52, -119, -26, 42, 43, -120, 149, -128,
|
|
144, 145, -37, -124, -123, 45, -125, 48, -101, 104,
|
|
103, 102, 99, 100, 101, -122, -10, -11, 147, 146,
|
|
-119, -23, -52, 151, -128, -84, 147, -29, -2, 84,
|
|
-7, 160, -111, 145, -17, -7, 22, 146, -109, 145,
|
|
32, 33, -113, 31, -113, -92, -11, 147, -103, -28,
|
|
-52, 151, 28, 148, 144, 149, -100, 45, 144, -122,
|
|
-30, 39, 37, -71, -101, 145, -119, 149, 145, 144,
|
|
-128, -85, 12, 145, -20, -7, 145, 146, 149, -23,
|
|
-8, 147, 146, 145, 146, 31, -119, 149, 149, 146,
|
|
-70, -10, -119, -84, -84, 148, -122, 145, -75, -43,
|
|
12, -108, -78, -6, -3, -89, 146, 144, -122, 59,
|
|
162, 145, -93, -11, 147, -8, -119, 146, 26, -92,
|
|
12, 161, 145, 144, 144, -116, -55, 12, 153, 145,
|
|
146, 160, -128, 162, 146, 160, 162, -6, 145, -114,
|
|
-38, -39, -40, -41, -42, -10, -6, 80, 10, 145,
|
|
-23, -23, -119, -119, 146, 149, -10, -119, -119, 149,
|
|
160, 12, -43, -23, -78, -23, -128, 145, -38, 146,
|
|
146, 46, 29, 79, 24, 144, 145, 145, -55, -128,
|
|
-128, 148, -71, 10, -4, -101, -6, 146, -119, -120,
|
|
-6, 145, 149, -84, -91, 146, 144, -119, 145,
|
|
}
|
|
|
|
var yyDef = [...]int{
|
|
80, -2, -2, 79, 86, 87, 88, 89, 90, 91,
|
|
0, 0, 0, 0, 124, 133, 134, 0, 0, 0,
|
|
0, 423, 423, 423, 0, 388, 0, 145, 0, 0,
|
|
0, 0, 151, 0, 0, 0, 81, 376, 0, 0,
|
|
0, 0, 207, 0, -2, 422, 172, 0, -2, 439,
|
|
425, 0, 459, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 350, 354, 0, 0, 0, 0, 0, 0, 0,
|
|
392, 0, 364, 394, 0, 367, 0, 371, 174, 175,
|
|
432, 417, 437, 0, 0, -2, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 402, 403, 404, 405, 406, 407,
|
|
408, 409, 410, 411, 0, 0, 376, 441, 0, -2,
|
|
0, 0, 401, 83, 0, 0, 0, 0, 80, 81,
|
|
0, 0, 0, 117, 0, 101, 102, 114, 119, 0,
|
|
122, 0, 0, 0, 0, 376, 0, 289, 0, 0,
|
|
424, 388, 0, 0, 0, 235, 236, 0, 372, 238,
|
|
239, 0, 287, 288, 146, 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, 124, 0, 0,
|
|
155, 375, 377, 0, 173, 178, 375, 180, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 314, 316, 0,
|
|
423, 0, 0, 459, 0, 458, 462, 460, 464, 0,
|
|
0, 0, 300, -2, 0, 0, -2, 388, 459, -2,
|
|
335, 336, 337, 338, 0, 355, 356, 357, 358, 359,
|
|
360, 361, 362, 423, 363, 0, 395, 396, 472, 474,
|
|
0, 0, 366, 368, 370, 423, 0, 0, 397, 295,
|
|
390, 391, 397, 389, 446, 0, 0, 487, 488, 0,
|
|
490, 491, 0, 413, 0, 0, 0, 0, 0, 443,
|
|
384, 0, 387, 459, 0, 85, 0, 84, 93, 80,
|
|
0, 96, 0, 0, 117, 0, 98, 0, 0, 0,
|
|
117, 120, 100, 0, 0, 123, 132, 125, 126, 127,
|
|
128, 129, 130, 0, 0, 0, 375, 0, 290, 292,
|
|
0, 139, 140, 141, 142, 0, 143, 0, 0, 144,
|
|
0, 318, 319, 320, 321, 322, 323, 324, 325, 326,
|
|
327, 328, 329, 330, 331, 332, 333, 334, -2, -2,
|
|
-2, -2, -2, -2, -2, -2, -2, 348, 0, 0,
|
|
353, 107, 162, -2, 0, 0, 0, 153, 154, 375,
|
|
0, 178, 182, 0, 0, 375, 0, 0, 208, 0,
|
|
211, 124, 298, 0, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 0, 0, 0,
|
|
440, 455, 0, 457, 0, 400, 459, 0, -2, 467,
|
|
459, 0, 0, -2, 0, 365, 473, 470, 471, 0,
|
|
0, 0, 0, 426, 0, 0, 0, -2, -2, 0,
|
|
77, 78, 70, 71, 72, 73, 74, 75, 76, 2,
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
|
|
63, 64, 65, 66, 67, 68, 69, 0, -2, -2,
|
|
294, 398, 0, 423, 0, 0, 0, 178, 107, 492,
|
|
494, 0, 0, 412, 415, 414, -2, 0, 228, 107,
|
|
230, 232, 0, 0, 82, 92, 0, 95, 97, 99,
|
|
0, 117, 113, 0, 117, 0, 118, 0, 121, 375,
|
|
0, 0, 0, 289, 0, 0, 234, 237, 240, 286,
|
|
0, 352, 0, 108, 0, 0, 156, 0, -2, 182,
|
|
375, 0, 179, 242, 0, 181, 247, 0, 0, 0,
|
|
299, 0, 433, 435, 436, 0, 0, 0, 461, 463,
|
|
0, 0, 0, -2, 400, 393, 0, 481, 482, 0,
|
|
484, 476, 477, 478, 0, 480, 369, 434, 385, 0,
|
|
386, 450, 0, 0, 449, 451, 182, 0, 108, 486,
|
|
489, 0, 213, 215, 166, 220, 221, 0, 223, 224,
|
|
225, 442, 0, 108, 233, 399, 94, 0, 0, 107,
|
|
110, 115, 0, 0, 285, 0, 135, 203, 124, 0,
|
|
0, 291, 138, 198, 198, 351, 0, 163, 0, -2,
|
|
0, 0, 459, 150, 192, 124, 160, -2, 0, 375,
|
|
0, 183, 268, 242, 0, 0, 0, 0, 205, 124,
|
|
456, 0, 297, -2, 459, 469, 475, 483, 0, 453,
|
|
447, 448, 375, 485, 493, 226, 219, 168, 167, 222,
|
|
229, 231, 107, 112, 0, 0, 108, 116, 107, 131,
|
|
0, 0, 289, 0, 198, 0, 198, 147, 0, 0,
|
|
-2, 459, 0, 0, 152, 0, 0, 0, 378, 0,
|
|
242, 176, 241, 219, 0, 0, -2, 267, 270, 272,
|
|
273, 274, 275, 276, 277, 268, 248, 206, 124, 212,
|
|
-2, 296, 0, 0, 0, 375, 0, 216, 0, 169,
|
|
0, 108, 107, 105, 109, 0, 0, 136, 0, 194,
|
|
0, 0, 0, 0, 0, 148, 190, 124, 0, -2,
|
|
0, -2, 0, 0, 124, 226, 226, 0, 242, 268,
|
|
0, 0, 376, 0, 271, 177, -2, 468, 479, 242,
|
|
0, 227, 217, 103, 111, 0, 106, 204, 0, 0,
|
|
124, 201, 202, 195, 196, 0, 0, 0, 186, 193,
|
|
0, 158, 0, 0, 0, 0, 268, 171, 0, 279,
|
|
375, 0, 283, 0, 0, 245, 249, 0, 268, 0,
|
|
0, 104, 137, 188, 124, 124, -2, 197, 0, 149,
|
|
0, 0, 161, 124, 124, 0, 381, 382, 0, 170,
|
|
243, 0, 280, 0, 244, 0, 0, 375, 250, 0,
|
|
252, 0, 0, 262, 0, 0, 261, 57, -2, 293,
|
|
374, 218, 0, -2, 191, 0, 159, 0, 0, 379,
|
|
0, 383, 278, 375, 282, 375, 0, 251, 253, 254,
|
|
255, 0, 0, 0, 0, 124, 165, 373, 380, 281,
|
|
284, -2, 256, 257, 258, 260, 263, 189, 0, 0,
|
|
259, 157, 226, 0, 246, 264, 124, 0, 265,
|
|
}
|
|
|
|
var yyTok1 = [...]int{
|
|
1, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 156, 142, 3, 159, 166, 153, 3,
|
|
148, 149, 164, 155, 160, 154, 169, 165, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 147, 146,
|
|
167, 162, 168, 152, 158, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 150, 3, 151, 163, 3, 143, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
3, 3, 3, 144, 161, 145, 157,
|
|
}
|
|
|
|
var yyTok2 = [...]int{
|
|
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
}
|
|
|
|
var yyTok3 = [...]int{
|
|
0,
|
|
}
|
|
|
|
var yyErrorMessages = [...]struct {
|
|
state int
|
|
token int
|
|
msg string
|
|
}{}
|
|
|
|
// line yaccpar:1
|
|
|
|
/* parser for yacc output */
|
|
|
|
var (
|
|
yyDebug = 0
|
|
yyErrorVerbose = true
|
|
)
|
|
|
|
type yyLexer interface {
|
|
Lex(lval *yySymType) int
|
|
Error(s string)
|
|
}
|
|
|
|
type yyParser interface {
|
|
Parse(yyLexer) int
|
|
Lookahead() int
|
|
}
|
|
|
|
type yyParserImpl struct {
|
|
lval yySymType
|
|
stack [yyInitialStackSize]yySymType
|
|
char int
|
|
}
|
|
|
|
func (p *yyParserImpl) Lookahead() int {
|
|
return p.char
|
|
}
|
|
|
|
func yyNewParser() yyParser {
|
|
return &yyParserImpl{}
|
|
}
|
|
|
|
const yyFlag = -1000
|
|
|
|
func yyTokname(c int) string {
|
|
if c >= 1 && c-1 < len(yyToknames) {
|
|
if yyToknames[c-1] != "" {
|
|
return yyToknames[c-1]
|
|
}
|
|
}
|
|
return __yyfmt__.Sprintf("tok-%v", c)
|
|
}
|
|
|
|
func yyStatname(s int) string {
|
|
if s >= 0 && s < len(yyStatenames) {
|
|
if yyStatenames[s] != "" {
|
|
return yyStatenames[s]
|
|
}
|
|
}
|
|
return __yyfmt__.Sprintf("state-%v", s)
|
|
}
|
|
|
|
func yyErrorMessage(state, lookAhead int) string {
|
|
const TOKSTART = 4
|
|
|
|
if !yyErrorVerbose {
|
|
return "syntax error"
|
|
}
|
|
|
|
for _, e := range yyErrorMessages {
|
|
if e.state == state && e.token == lookAhead {
|
|
return "syntax error: " + e.msg
|
|
}
|
|
}
|
|
|
|
res := "syntax error: unexpected " + yyTokname(lookAhead)
|
|
|
|
// To match Bison, suggest at most four expected tokens.
|
|
expected := make([]int, 0, 4)
|
|
|
|
// Look for shiftable tokens.
|
|
base := yyPact[state]
|
|
for tok := TOKSTART; tok-1 < len(yyToknames); tok++ {
|
|
if n := base + tok; n >= 0 && n < yyLast && yyChk[yyAct[n]] == tok {
|
|
if len(expected) == cap(expected) {
|
|
return res
|
|
}
|
|
expected = append(expected, tok)
|
|
}
|
|
}
|
|
|
|
if yyDef[state] == -2 {
|
|
i := 0
|
|
for yyExca[i] != -1 || yyExca[i+1] != state {
|
|
i += 2
|
|
}
|
|
|
|
// Look for tokens that we accept or reduce.
|
|
for i += 2; yyExca[i] >= 0; i += 2 {
|
|
tok := yyExca[i]
|
|
if tok < TOKSTART || yyExca[i+1] == 0 {
|
|
continue
|
|
}
|
|
if len(expected) == cap(expected) {
|
|
return res
|
|
}
|
|
expected = append(expected, tok)
|
|
}
|
|
|
|
// If the default action is to accept or reduce, give up.
|
|
if yyExca[i+1] != 0 {
|
|
return res
|
|
}
|
|
}
|
|
|
|
for i, tok := range expected {
|
|
if i == 0 {
|
|
res += ", expecting "
|
|
} else {
|
|
res += " or "
|
|
}
|
|
res += yyTokname(tok)
|
|
}
|
|
return res
|
|
}
|
|
|
|
func yylex1(lex yyLexer, lval *yySymType) (char, token int) {
|
|
token = 0
|
|
char = lex.Lex(lval)
|
|
if char <= 0 {
|
|
token = yyTok1[0]
|
|
goto out
|
|
}
|
|
if char < len(yyTok1) {
|
|
token = yyTok1[char]
|
|
goto out
|
|
}
|
|
if char >= yyPrivate {
|
|
if char < yyPrivate+len(yyTok2) {
|
|
token = yyTok2[char-yyPrivate]
|
|
goto out
|
|
}
|
|
}
|
|
for i := 0; i < len(yyTok3); i += 2 {
|
|
token = yyTok3[i+0]
|
|
if token == char {
|
|
token = yyTok3[i+1]
|
|
goto out
|
|
}
|
|
}
|
|
|
|
out:
|
|
if token == 0 {
|
|
token = yyTok2[1] /* unknown char */
|
|
}
|
|
if yyDebug >= 3 {
|
|
__yyfmt__.Printf("lex %s(%d)\n", yyTokname(token), uint(char))
|
|
}
|
|
return char, token
|
|
}
|
|
|
|
func yyParse(yylex yyLexer) int {
|
|
return yyNewParser().Parse(yylex)
|
|
}
|
|
|
|
func (yyrcvr *yyParserImpl) Parse(yylex yyLexer) int {
|
|
var yyn int
|
|
var yyVAL yySymType
|
|
var yyDollar []yySymType
|
|
_ = yyDollar // silence set and not used
|
|
yyS := yyrcvr.stack[:]
|
|
|
|
Nerrs := 0 /* number of errors */
|
|
Errflag := 0 /* error recovery flag */
|
|
yystate := 0
|
|
yyrcvr.char = -1
|
|
yytoken := -1 // yyrcvr.char translated into internal numbering
|
|
defer func() {
|
|
// Make sure we report no lookahead when not parsing.
|
|
yystate = -1
|
|
yyrcvr.char = -1
|
|
yytoken = -1
|
|
}()
|
|
yyp := -1
|
|
goto yystack
|
|
|
|
ret0:
|
|
return 0
|
|
|
|
ret1:
|
|
return 1
|
|
|
|
yystack:
|
|
/* put a state and value onto the stack */
|
|
if yyDebug >= 4 {
|
|
__yyfmt__.Printf("char %v in %v\n", yyTokname(yytoken), yyStatname(yystate))
|
|
}
|
|
|
|
yyp++
|
|
if yyp >= len(yyS) {
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
copy(nyys, yyS)
|
|
yyS = nyys
|
|
}
|
|
yyS[yyp] = yyVAL
|
|
yyS[yyp].yys = yystate
|
|
|
|
yynewstate:
|
|
yyn = yyPact[yystate]
|
|
if yyn <= yyFlag {
|
|
goto yydefault /* simple state */
|
|
}
|
|
if yyrcvr.char < 0 {
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
}
|
|
yyn += yytoken
|
|
if yyn < 0 || yyn >= yyLast {
|
|
goto yydefault
|
|
}
|
|
yyn = yyAct[yyn]
|
|
if yyChk[yyn] == yytoken { /* valid shift */
|
|
yyrcvr.char = -1
|
|
yytoken = -1
|
|
yyVAL = yyrcvr.lval
|
|
yystate = yyn
|
|
if Errflag > 0 {
|
|
Errflag--
|
|
}
|
|
goto yystack
|
|
}
|
|
|
|
yydefault:
|
|
/* default state action */
|
|
yyn = yyDef[yystate]
|
|
if yyn == -2 {
|
|
if yyrcvr.char < 0 {
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
}
|
|
|
|
/* look through exception table */
|
|
xi := 0
|
|
for {
|
|
if yyExca[xi+0] == -1 && yyExca[xi+1] == yystate {
|
|
break
|
|
}
|
|
xi += 2
|
|
}
|
|
for xi += 2; ; xi += 2 {
|
|
yyn = yyExca[xi+0]
|
|
if yyn < 0 || yyn == yytoken {
|
|
break
|
|
}
|
|
}
|
|
yyn = yyExca[xi+1]
|
|
if yyn < 0 {
|
|
goto ret0
|
|
}
|
|
}
|
|
if yyn == 0 {
|
|
/* error ... attempt to resume parsing */
|
|
switch Errflag {
|
|
case 0: /* brand new error */
|
|
yylex.Error(yyErrorMessage(yystate, yytoken))
|
|
Nerrs++
|
|
if yyDebug >= 1 {
|
|
__yyfmt__.Printf("%s", yyStatname(yystate))
|
|
__yyfmt__.Printf(" saw %s\n", yyTokname(yytoken))
|
|
}
|
|
fallthrough
|
|
|
|
case 1, 2: /* incompletely recovered error ... try again */
|
|
Errflag = 3
|
|
|
|
/* find a state where "error" is a legal shift action */
|
|
for yyp >= 0 {
|
|
yyn = yyPact[yyS[yyp].yys] + yyErrCode
|
|
if yyn >= 0 && yyn < yyLast {
|
|
yystate = yyAct[yyn] /* simulate a shift of "error" */
|
|
if yyChk[yystate] == yyErrCode {
|
|
goto yystack
|
|
}
|
|
}
|
|
|
|
/* the current p has no shift on "error", pop stack */
|
|
if yyDebug >= 2 {
|
|
__yyfmt__.Printf("error recovery pops state %d\n", yyS[yyp].yys)
|
|
}
|
|
yyp--
|
|
}
|
|
/* there is no state on the stack with an error shift ... abort */
|
|
goto ret1
|
|
|
|
case 3: /* no shift yet; clobber input char */
|
|
if yyDebug >= 2 {
|
|
__yyfmt__.Printf("error recovery discards %s\n", yyTokname(yytoken))
|
|
}
|
|
if yytoken == yyEofCode {
|
|
goto ret1
|
|
}
|
|
yyrcvr.char = -1
|
|
yytoken = -1
|
|
goto yynewstate /* try again in the same state */
|
|
}
|
|
}
|
|
|
|
/* reduction by production yyn */
|
|
if yyDebug >= 2 {
|
|
__yyfmt__.Printf("reduce %v in:\n\t%v\n", yyn, yyStatname(yystate))
|
|
}
|
|
|
|
yynt := yyn
|
|
yypt := yyp
|
|
_ = yypt // guard against "declared and not used"
|
|
|
|
yyp -= yyR2[yyn]
|
|
// yyp is now the index of $0. Perform the default action. Iff the
|
|
// reduced production is ε, $1 is possibly out of range.
|
|
if yyp+1 >= len(yyS) {
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
copy(nyys, yyS)
|
|
yyS = nyys
|
|
}
|
|
yyVAL = yyS[yyp+1]
|
|
|
|
/* consult goto table to find next state */
|
|
yyn = yyR1[yyn]
|
|
yyg := yyPgo[yyn]
|
|
yyj := yyg + yyS[yyp].yys + 1
|
|
|
|
if yyj >= yyLast {
|
|
yystate = yyAct[yyg]
|
|
} else {
|
|
yystate = yyAct[yyj]
|
|
if yyChk[yystate] != -yyn {
|
|
yystate = yyAct[yyg]
|
|
}
|
|
}
|
|
// dummy call; replaced with literal code
|
|
switch yynt {
|
|
|
|
case 1:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:291
|
|
{
|
|
yylex.(*Parser).rootNode = &ast.Root{ast.Node{}, yyDollar[1].list}
|
|
|
|
// save position
|
|
yylex.(*Parser).rootNode.GetNode().Position = position.NewNodeListPosition(yyDollar[1].list)
|
|
|
|
yylex.(*Parser).setFreeFloating(yylex.(*Parser).rootNode, token.End, yylex.(*Parser).currentToken.SkippedTokens)
|
|
}
|
|
case 2:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 3:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 4:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 5:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 6:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 7:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 8:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 9:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:302
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 10:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 11:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 12:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 13:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 14:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 15:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 16:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 17:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 18:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 19:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 20:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 21:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:303
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 22:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 23:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 24:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 25:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 26:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 27:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 28:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 29:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 30:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 31:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:304
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 32:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 33:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 34:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 35:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 36:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 37:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 38:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 39:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 40:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 41:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:305
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 42:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 43:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 44:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 45:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 46:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 47:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 48:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 49:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 50:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 51:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 52:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:306
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 53:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 54:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 55:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 56:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 57:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 58:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 59:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 60:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:307
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 61:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 62:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 63:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 64:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 65:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 66:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 67:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 68:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 69:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:308
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 70:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:313
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 71:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 72:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 73:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 74:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 75:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 76:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:316
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 77:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:321
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 78:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:325
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 79:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:332
|
|
{
|
|
if inlineHtmlNode, ok := yyDollar[2].node.(*ast.StmtInlineHtml); ok && len(yyDollar[1].list) > 0 {
|
|
prevNode := lastNode(yyDollar[1].list)
|
|
yylex.(*Parser).splitSemiColonAndPhpCloseTag(inlineHtmlNode, prevNode)
|
|
}
|
|
|
|
if yyDollar[2].node != nil {
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
}
|
|
case 80:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:343
|
|
{
|
|
yyVAL.list = []ast.Vertex{}
|
|
}
|
|
case 81:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:350
|
|
{
|
|
yyVAL.list = []ast.Vertex{
|
|
&ast.NameNamePart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
StringTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 82:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:362
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, &ast.NameNamePart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[3].token),
|
|
},
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
StringTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
})
|
|
}
|
|
case 83:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:376
|
|
{
|
|
yyVAL.node = &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Parts: yyDollar[1].list,
|
|
}
|
|
}
|
|
case 84:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:385
|
|
{
|
|
yyVAL.node = &ast.NameRelative{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list),
|
|
},
|
|
NsTkn: yyDollar[1].token,
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
Parts: yyDollar[3].list,
|
|
}
|
|
}
|
|
case 85:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:396
|
|
{
|
|
yyVAL.node = &ast.NameFullyQualified{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list),
|
|
},
|
|
NsSeparatorTkn: yyDollar[1].token,
|
|
Parts: yyDollar[2].list,
|
|
}
|
|
}
|
|
case 86:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:409
|
|
{
|
|
// error
|
|
yyVAL.node = nil
|
|
}
|
|
case 87:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:414
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 88:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:418
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 89:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:422
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 90:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:426
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 91:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:430
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 92:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:434
|
|
{
|
|
yyVAL.node = &ast.StmtHaltCompiler{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
HaltCompilerTkn: yyDollar[1].token,
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
CloseParenthesisTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 93:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:446
|
|
{
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
NsTkn: yyDollar[1].token,
|
|
Name: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Parts: yyDollar[2].list,
|
|
},
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 94:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:462
|
|
{
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token),
|
|
},
|
|
NsTkn: yyDollar[1].token,
|
|
Name: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Parts: yyDollar[2].list,
|
|
},
|
|
OpenCurlyBracket: yyDollar[3].token,
|
|
Stmts: yyDollar[4].list,
|
|
CloseCurlyBracket: yyDollar[5].token,
|
|
}
|
|
}
|
|
case 95:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:480
|
|
{
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
NsTkn: yyDollar[1].token,
|
|
OpenCurlyBracket: yyDollar[2].token,
|
|
Stmts: yyDollar[3].list,
|
|
CloseCurlyBracket: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 96:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:492
|
|
{
|
|
use := yyDollar[2].node.(*ast.StmtGroupUse)
|
|
|
|
use.Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
use.UseTkn = yyDollar[1].token
|
|
use.SemiColonTkn = yyDollar[3].token
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 97:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:502
|
|
{
|
|
use := yyDollar[3].node.(*ast.StmtGroupUse)
|
|
|
|
use.Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
use.UseTkn = yyDollar[1].token
|
|
use.Type = yyDollar[2].node
|
|
use.SemiColonTkn = yyDollar[4].token
|
|
|
|
yyVAL.node = yyDollar[3].node
|
|
}
|
|
case 98:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:513
|
|
{
|
|
yyVAL.node = &ast.StmtUse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
UseTkn: yyDollar[1].token,
|
|
UseDeclarations: yyDollar[2].list,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 99:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:524
|
|
{
|
|
yyVAL.node = &ast.StmtUse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
UseTkn: yyDollar[1].token,
|
|
Type: yyDollar[2].node,
|
|
UseDeclarations: yyDollar[3].list,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 100:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:536
|
|
{
|
|
yyVAL.node = &ast.StmtConstList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
ConstTkn: yyDollar[1].token,
|
|
Consts: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 101:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:551
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 102:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:561
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 103:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:574
|
|
{
|
|
if len(yyDollar[4].list) > 0 {
|
|
yyDollar[4].list[len(yyDollar[4].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[5].token
|
|
}
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token),
|
|
},
|
|
Prefix: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Parts: yyDollar[1].list,
|
|
},
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
OpenCurlyBracketTkn: yyDollar[3].token,
|
|
UseDeclarations: yyDollar[4].list,
|
|
CloseCurlyBracketTkn: yyDollar[6].token,
|
|
}
|
|
}
|
|
case 104:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:596
|
|
{
|
|
yyDollar[5].list[len(yyDollar[5].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[6].token
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
},
|
|
LeadingNsSeparatorTkn: yyDollar[1].token,
|
|
Prefix: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Parts: yyDollar[2].list,
|
|
},
|
|
NsSeparatorTkn: yyDollar[3].token,
|
|
OpenCurlyBracketTkn: yyDollar[4].token,
|
|
UseDeclarations: yyDollar[5].list,
|
|
CloseCurlyBracketTkn: yyDollar[7].token,
|
|
}
|
|
}
|
|
case 105:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:620
|
|
{
|
|
yyDollar[4].list[len(yyDollar[4].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[5].token
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token),
|
|
},
|
|
Prefix: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Parts: yyDollar[1].list,
|
|
},
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
OpenCurlyBracketTkn: yyDollar[3].token,
|
|
UseDeclarations: yyDollar[4].list,
|
|
CloseCurlyBracketTkn: yyDollar[6].token,
|
|
}
|
|
}
|
|
case 106:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:640
|
|
{
|
|
yyDollar[5].list[len(yyDollar[5].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[6].token
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
},
|
|
LeadingNsSeparatorTkn: yyDollar[1].token,
|
|
Prefix: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Parts: yyDollar[2].list,
|
|
},
|
|
NsSeparatorTkn: yyDollar[3].token,
|
|
OpenCurlyBracketTkn: yyDollar[4].token,
|
|
UseDeclarations: yyDollar[5].list,
|
|
CloseCurlyBracketTkn: yyDollar[7].token,
|
|
}
|
|
}
|
|
case 107:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:664
|
|
{
|
|
yyVAL.token = nil
|
|
}
|
|
case 108:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:668
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 109:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:675
|
|
{
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
}
|
|
case 110:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:681
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 111:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:688
|
|
{
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
}
|
|
case 112:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:694
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 113:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:701
|
|
{
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
}
|
|
case 114:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:707
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 115:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:714
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 116:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:718
|
|
{
|
|
decl := yyDollar[2].node.(*ast.StmtUseDeclaration)
|
|
decl.Type = yyDollar[1].node
|
|
decl.Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 117:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:729
|
|
{
|
|
yyVAL.node = &ast.StmtUseDeclaration{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Use: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Parts: yyDollar[1].list,
|
|
},
|
|
}
|
|
}
|
|
case 118:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:743
|
|
{
|
|
yyVAL.node = &ast.StmtUseDeclaration{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token),
|
|
},
|
|
Use: &ast.NameName{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
},
|
|
Parts: yyDollar[1].list,
|
|
},
|
|
AsTkn: yyDollar[2].token,
|
|
Alias: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 119:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:768
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 120:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:772
|
|
{
|
|
decl := yyDollar[2].node.(*ast.StmtUseDeclaration)
|
|
decl.NsSeparatorTkn = yyDollar[1].token
|
|
decl.Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 121:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:783
|
|
{
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns = append(yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).Items = append(yyDollar[1].node.(*ast.ParserSeparatedList).Items, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 122:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:790
|
|
{
|
|
yyVAL.node = &ast.ParserSeparatedList{
|
|
Items: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 123:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:799
|
|
{
|
|
if inlineHtmlNode, ok := yyDollar[2].node.(*ast.StmtInlineHtml); ok && len(yyDollar[1].list) > 0 {
|
|
prevNode := lastNode(yyDollar[1].list)
|
|
yylex.(*Parser).splitSemiColonAndPhpCloseTag(inlineHtmlNode, prevNode)
|
|
}
|
|
|
|
if yyDollar[2].node != nil {
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
}
|
|
case 124:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:810
|
|
{
|
|
yyVAL.list = []ast.Vertex{}
|
|
}
|
|
case 125:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:817
|
|
{
|
|
// error
|
|
yyVAL.node = nil
|
|
}
|
|
case 126:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:822
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 127:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:826
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 128:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:830
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 129:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:834
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 130:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:838
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 131:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:842
|
|
{
|
|
yyVAL.node = &ast.StmtHaltCompiler{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
HaltCompilerTkn: yyDollar[1].token,
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
CloseParenthesisTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 132:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:856
|
|
{
|
|
yyVAL.node = &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenCurlyBracket: yyDollar[1].token,
|
|
Stmts: yyDollar[2].list,
|
|
CloseCurlyBracket: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 133:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:867
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 134:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:871
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 135:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:875
|
|
{
|
|
yyDollar[5].node.(*ast.StmtWhile).WhileTkn = yyDollar[1].token
|
|
yyDollar[5].node.(*ast.StmtWhile).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[5].node.(*ast.StmtWhile).Cond = yyDollar[3].node
|
|
yyDollar[5].node.(*ast.StmtWhile).CloseParenthesisTkn = yyDollar[4].token
|
|
yyDollar[5].node.(*ast.StmtWhile).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
|
|
|
yyVAL.node = yyDollar[5].node
|
|
}
|
|
case 136:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:885
|
|
{
|
|
yyVAL.node = &ast.StmtDo{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
},
|
|
DoTkn: yyDollar[1].token,
|
|
Stmt: yyDollar[2].node,
|
|
WhileTkn: yyDollar[3].token,
|
|
OpenParenthesisTkn: yyDollar[4].token,
|
|
Cond: yyDollar[5].node,
|
|
CloseParenthesisTkn: yyDollar[6].token,
|
|
SemiColonTkn: yyDollar[7].token,
|
|
}
|
|
}
|
|
case 137:
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
|
// line internal/php7/php7.y:900
|
|
{
|
|
yyDollar[9].node.(*ast.StmtFor).ForTkn = yyDollar[1].token
|
|
yyDollar[9].node.(*ast.StmtFor).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[9].node.(*ast.StmtFor).Init = yyDollar[3].list
|
|
yyDollar[9].node.(*ast.StmtFor).InitSemiColonTkn = yyDollar[4].token
|
|
yyDollar[9].node.(*ast.StmtFor).Cond = yyDollar[5].list
|
|
yyDollar[9].node.(*ast.StmtFor).CondSemiColonTkn = yyDollar[6].token
|
|
yyDollar[9].node.(*ast.StmtFor).Loop = yyDollar[7].list
|
|
yyDollar[9].node.(*ast.StmtFor).CloseParenthesisTkn = yyDollar[8].token
|
|
yyDollar[9].node.(*ast.StmtFor).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node)
|
|
|
|
yyVAL.node = yyDollar[9].node
|
|
}
|
|
case 138:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:914
|
|
{
|
|
yyDollar[5].node.(*ast.StmtSwitch).SwitchTkn = yyDollar[1].token
|
|
yyDollar[5].node.(*ast.StmtSwitch).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[5].node.(*ast.StmtSwitch).Cond = yyDollar[3].node
|
|
yyDollar[5].node.(*ast.StmtSwitch).CloseParenthesisTkn = yyDollar[4].token
|
|
yyDollar[5].node.(*ast.StmtSwitch).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
|
|
|
yyVAL.node = yyDollar[5].node
|
|
}
|
|
case 139:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:924
|
|
{
|
|
yyVAL.node = &ast.StmtBreak{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
BreakTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 140:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:935
|
|
{
|
|
yyVAL.node = &ast.StmtContinue{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
ContinueTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 141:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:946
|
|
{
|
|
yyVAL.node = &ast.StmtReturn{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
ReturnTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 142:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:957
|
|
{
|
|
yyDollar[2].node.(*ast.StmtGlobal).GlobalTkn = yyDollar[1].token
|
|
yyDollar[2].node.(*ast.StmtGlobal).SemiColonTkn = yyDollar[3].token
|
|
yyDollar[2].node.(*ast.StmtGlobal).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 143:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:965
|
|
{
|
|
yyDollar[2].node.(*ast.StmtStatic).StaticTkn = yyDollar[1].token
|
|
yyDollar[2].node.(*ast.StmtStatic).SemiColonTkn = yyDollar[3].token
|
|
yyDollar[2].node.(*ast.StmtStatic).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 144:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:973
|
|
{
|
|
yyDollar[2].node.(*ast.StmtEcho).EchoTkn = yyDollar[1].token
|
|
yyDollar[2].node.(*ast.StmtEcho).SemiColonTkn = yyDollar[3].token
|
|
yyDollar[2].node.(*ast.StmtEcho).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 145:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:981
|
|
{
|
|
yyVAL.node = &ast.StmtInlineHtml{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
InlineHtmlTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 146:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:991
|
|
{
|
|
yyVAL.node = &ast.StmtExpression{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token),
|
|
},
|
|
Expr: yyDollar[1].node,
|
|
SemiColonTkn: yyDollar[2].token,
|
|
}
|
|
}
|
|
case 147:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1001
|
|
{
|
|
yyDollar[3].node.(*ast.StmtUnset).UnsetTkn = yyDollar[1].token
|
|
yyDollar[3].node.(*ast.StmtUnset).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[3].node.(*ast.StmtUnset).SeparatorTkns = append(yyDollar[3].node.(*ast.StmtUnset).SeparatorTkns, yyDollar[4].token)
|
|
yyDollar[3].node.(*ast.StmtUnset).CloseParenthesisTkn = yyDollar[5].token
|
|
yyDollar[3].node.(*ast.StmtUnset).SemiColonTkn = yyDollar[6].token
|
|
yyDollar[3].node.(*ast.StmtUnset).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token)
|
|
|
|
yyVAL.node = yyDollar[3].node
|
|
}
|
|
case 148:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:1012
|
|
{
|
|
yyDollar[7].node.(*ast.StmtForeach).ForeachTkn = yyDollar[1].token
|
|
yyDollar[7].node.(*ast.StmtForeach).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[7].node.(*ast.StmtForeach).Expr = yyDollar[3].node
|
|
yyDollar[7].node.(*ast.StmtForeach).AsTkn = yyDollar[4].token
|
|
yyDollar[7].node.(*ast.StmtForeach).Var = yyDollar[5].node
|
|
yyDollar[7].node.(*ast.StmtForeach).CloseParenthesisTkn = yyDollar[6].token
|
|
yyDollar[7].node.(*ast.StmtForeach).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[7].node)
|
|
|
|
yyVAL.node = yyDollar[7].node
|
|
}
|
|
case 149:
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
|
// line internal/php7/php7.y:1024
|
|
{
|
|
yyDollar[9].node.(*ast.StmtForeach).ForeachTkn = yyDollar[1].token
|
|
yyDollar[9].node.(*ast.StmtForeach).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[9].node.(*ast.StmtForeach).Expr = yyDollar[3].node
|
|
yyDollar[9].node.(*ast.StmtForeach).AsTkn = yyDollar[4].token
|
|
yyDollar[9].node.(*ast.StmtForeach).Key = yyDollar[5].node
|
|
yyDollar[9].node.(*ast.StmtForeach).DoubleArrowTkn = yyDollar[6].token
|
|
yyDollar[9].node.(*ast.StmtForeach).Var = yyDollar[7].node
|
|
yyDollar[9].node.(*ast.StmtForeach).CloseParenthesisTkn = yyDollar[8].token
|
|
yyDollar[9].node.(*ast.StmtForeach).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node)
|
|
|
|
yyVAL.node = yyDollar[9].node
|
|
}
|
|
case 150:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:1038
|
|
{
|
|
yyDollar[5].node.(*ast.StmtDeclare).DeclareTkn = yyDollar[1].token
|
|
yyDollar[5].node.(*ast.StmtDeclare).OpenParenthesisTkn = yyDollar[2].token
|
|
yyDollar[5].node.(*ast.StmtDeclare).Consts = yyDollar[3].node.(*ast.ParserSeparatedList).Items
|
|
yyDollar[5].node.(*ast.StmtDeclare).SeparatorTkns = yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns
|
|
yyDollar[5].node.(*ast.StmtDeclare).CloseParenthesisTkn = yyDollar[4].token
|
|
yyDollar[5].node.(*ast.StmtDeclare).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
|
|
|
yyVAL.node = yyDollar[5].node
|
|
}
|
|
case 151:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1049
|
|
{
|
|
yyVAL.node = &ast.StmtNop{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
SemiColonTkn: yyDollar[1].token,
|
|
}
|
|
}
|
|
case 152:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1058
|
|
{
|
|
yyVAL.node = &ast.StmtTry{
|
|
TryTkn: yyDollar[1].token,
|
|
OpenCurlyBracket: yyDollar[2].token,
|
|
Stmts: yyDollar[3].list,
|
|
CloseCurlyBracket: yyDollar[4].token,
|
|
Catches: yyDollar[5].list,
|
|
Finally: yyDollar[6].node,
|
|
}
|
|
|
|
if yyDollar[6].node == nil {
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[5].list)
|
|
} else {
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node)
|
|
}
|
|
}
|
|
case 153:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1075
|
|
{
|
|
yyVAL.node = &ast.StmtThrow{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
ThrowTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 154:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1086
|
|
{
|
|
yyVAL.node = &ast.StmtGoto{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
GotoTkn: yyDollar[1].token,
|
|
Label: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
SemiColonTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 155:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1103
|
|
{
|
|
yyVAL.node = &ast.StmtLabel{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token),
|
|
},
|
|
LabelName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
ColonTkn: yyDollar[2].token,
|
|
}
|
|
}
|
|
case 156:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1121
|
|
{
|
|
yyVAL.list = []ast.Vertex{}
|
|
}
|
|
case 157:
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
|
// line internal/php7/php7.y:1125
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[5].token),
|
|
},
|
|
IdentifierTkn: yyDollar[5].token,
|
|
Value: yyDollar[5].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
catch := yyDollar[4].node.(*ast.StmtCatch)
|
|
catch.CatchTkn = yyDollar[2].token
|
|
catch.OpenParenthesisTkn = yyDollar[3].token
|
|
catch.Var = variable
|
|
catch.CloseParenthesisTkn = yyDollar[6].token
|
|
catch.OpenCurlyBracketTkn = yyDollar[7].token
|
|
catch.Stmts = yyDollar[8].list
|
|
catch.CloseCurlyBracketTkn = yyDollar[9].token
|
|
catch.GetNode().Position = position.NewTokensPosition(yyDollar[2].token, yyDollar[9].token)
|
|
|
|
yyVAL.list = append(yyDollar[1].list, catch)
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[5].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[5].token.SkippedTokens)
|
|
}
|
|
case 158:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1156
|
|
{
|
|
yyVAL.node = &ast.StmtCatch{
|
|
Types: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 159:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1162
|
|
{
|
|
yyDollar[1].node.(*ast.StmtCatch).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtCatch).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.StmtCatch).Types = append(yyDollar[1].node.(*ast.StmtCatch).Types, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 160:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1172
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 161:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1176
|
|
{
|
|
yyVAL.node = &ast.StmtFinally{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
FinallyTkn: yyDollar[1].token,
|
|
OpenCurlyBracketTkn: yyDollar[2].token,
|
|
Stmts: yyDollar[3].list,
|
|
CloseCurlyBracketTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 162:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1191
|
|
{
|
|
yyVAL.node = &ast.StmtUnset{
|
|
Vars: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 163:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1197
|
|
{
|
|
yyDollar[1].node.(*ast.StmtUnset).Vars = append(yyDollar[1].node.(*ast.StmtUnset).Vars, yyDollar[3].node)
|
|
yyDollar[1].node.(*ast.StmtUnset).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtUnset).SeparatorTkns, yyDollar[2].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 164:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1207
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 165:
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
|
// line internal/php7/php7.y:1214
|
|
{
|
|
yyVAL.node = &ast.StmtFunction{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[11].token),
|
|
},
|
|
FunctionTkn: yyDollar[1].token,
|
|
AmpersandTkn: yyDollar[2].token,
|
|
FunctionName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
OpenParenthesisTkn: yyDollar[5].token,
|
|
Params: yyDollar[6].list,
|
|
CloseParenthesisTkn: yyDollar[7].token,
|
|
ColonTkn: yyDollar[8].node.(*ast.ReturnType).ColonTkn,
|
|
ReturnType: yyDollar[8].node.(*ast.ReturnType).Type,
|
|
OpenCurlyBracketTkn: yyDollar[9].token,
|
|
Stmts: yyDollar[10].list,
|
|
CloseCurlyBracketTkn: yyDollar[11].token,
|
|
}
|
|
}
|
|
case 166:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1242
|
|
{
|
|
yyVAL.token = nil
|
|
}
|
|
case 167:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1246
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 168:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1253
|
|
{
|
|
yyVAL.token = nil
|
|
}
|
|
case 169:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1257
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 170:
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
|
// line internal/php7/php7.y:1264
|
|
{
|
|
yyVAL.node = &ast.StmtClass{
|
|
Node: ast.Node{
|
|
Position: position.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[9].token),
|
|
},
|
|
Modifiers: yyDollar[1].list,
|
|
ClassTkn: yyDollar[2].token,
|
|
ClassName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
Extends: yyDollar[4].node,
|
|
Implements: yyDollar[5].node,
|
|
OpenCurlyBracket: yyDollar[7].token,
|
|
Stmts: yyDollar[8].list,
|
|
CloseCurlyBracket: yyDollar[9].token,
|
|
}
|
|
}
|
|
case 171:
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
|
// line internal/php7/php7.y:1286
|
|
{
|
|
yyVAL.node = &ast.StmtClass{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[8].token),
|
|
},
|
|
ClassTkn: yyDollar[1].token,
|
|
ClassName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
Extends: yyDollar[3].node,
|
|
Implements: yyDollar[4].node,
|
|
OpenCurlyBracket: yyDollar[6].token,
|
|
Stmts: yyDollar[7].list,
|
|
CloseCurlyBracket: yyDollar[8].token,
|
|
}
|
|
}
|
|
case 172:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1310
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 173:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1314
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
case 174:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1321
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 175:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1331
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 176:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1344
|
|
{
|
|
yyVAL.node = &ast.StmtTrait{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token),
|
|
},
|
|
TraitTkn: yyDollar[1].token,
|
|
TraitName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
OpenCurlyBracket: yyDollar[4].token,
|
|
Stmts: yyDollar[5].list,
|
|
CloseCurlyBracket: yyDollar[6].token,
|
|
}
|
|
}
|
|
case 177:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:1366
|
|
{
|
|
yyVAL.node = &ast.StmtInterface{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
},
|
|
InterfaceTkn: yyDollar[1].token,
|
|
InterfaceName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
Extends: yyDollar[3].node,
|
|
OpenCurlyBracketTkn: yyDollar[5].token,
|
|
Stmts: yyDollar[6].list,
|
|
CloseCurlyBracketTkn: yyDollar[7].token,
|
|
}
|
|
}
|
|
case 178:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1389
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 179:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1393
|
|
{
|
|
yyVAL.node = &ast.StmtClassExtends{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node),
|
|
},
|
|
ExtendTkn: yyDollar[1].token,
|
|
ClassName: yyDollar[2].node,
|
|
}
|
|
}
|
|
case 180:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1406
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 181:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1410
|
|
{
|
|
yyVAL.node = &ast.StmtInterfaceExtends{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].node.(*ast.ParserSeparatedList).Items),
|
|
},
|
|
ExtendsTkn: yyDollar[1].token,
|
|
InterfaceNames: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
}
|
|
}
|
|
case 182:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1424
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 183:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1428
|
|
{
|
|
yyVAL.node = &ast.StmtClassImplements{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].node.(*ast.ParserSeparatedList).Items),
|
|
},
|
|
ImplementsTkn: yyDollar[1].token,
|
|
InterfaceNames: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
}
|
|
}
|
|
case 184:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1442
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 185:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1446
|
|
{
|
|
yyVAL.node = &ast.ExprReference{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 186:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1456
|
|
{
|
|
yyVAL.node = &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
ListTkn: yyDollar[1].token,
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Items: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 187:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1469
|
|
{
|
|
yyVAL.node = &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Items: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 188:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1484
|
|
{
|
|
yyVAL.node = &ast.StmtFor{
|
|
Node: ast.Node{
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
},
|
|
Stmt: yyDollar[1].node,
|
|
}
|
|
}
|
|
case 189:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1493
|
|
{
|
|
yyVAL.node = &ast.StmtFor{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Stmts: yyDollar[2].list,
|
|
},
|
|
EndForTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 190:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1514
|
|
{
|
|
yyVAL.node = &ast.StmtForeach{
|
|
Node: ast.Node{
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
},
|
|
Stmt: yyDollar[1].node,
|
|
}
|
|
}
|
|
case 191:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1523
|
|
{
|
|
yyVAL.node = &ast.StmtForeach{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Stmts: yyDollar[2].list,
|
|
},
|
|
EndForeachTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 192:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1544
|
|
{
|
|
yyVAL.node = &ast.StmtDeclare{
|
|
Node: ast.Node{
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
},
|
|
Stmt: yyDollar[1].node,
|
|
}
|
|
}
|
|
case 193:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1553
|
|
{
|
|
yyVAL.node = &ast.StmtDeclare{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Stmts: yyDollar[2].list,
|
|
},
|
|
EndDeclareTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 194:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1574
|
|
{
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenCurlyBracketTkn: yyDollar[1].token,
|
|
CaseList: yyDollar[2].list,
|
|
CloseCurlyBracketTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 195:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1585
|
|
{
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
OpenCurlyBracketTkn: yyDollar[1].token,
|
|
CaseSeparatorTkn: yyDollar[2].token,
|
|
CaseList: yyDollar[3].list,
|
|
CloseCurlyBracketTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 196:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1597
|
|
{
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
CaseList: yyDollar[2].list,
|
|
EndSwitchTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 197:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:1610
|
|
{
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
CaseSeparatorTkn: yyDollar[2].token,
|
|
CaseList: yyDollar[3].list,
|
|
EndSwitchTkn: yyDollar[4].token,
|
|
SemiColonTkn: yyDollar[5].token,
|
|
}
|
|
}
|
|
case 198:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1627
|
|
{
|
|
yyVAL.list = nil
|
|
}
|
|
case 199:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:1631
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, &ast.StmtCase{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list),
|
|
},
|
|
CaseTkn: yyDollar[2].token,
|
|
Cond: yyDollar[3].node,
|
|
CaseSeparatorTkn: yyDollar[4].token,
|
|
Stmts: yyDollar[5].list,
|
|
})
|
|
}
|
|
case 200:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1643
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, &ast.StmtDefault{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list),
|
|
},
|
|
DefaultTkn: yyDollar[2].token,
|
|
CaseSeparatorTkn: yyDollar[3].token,
|
|
Stmts: yyDollar[4].list,
|
|
})
|
|
}
|
|
case 201:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1657
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 202:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1661
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 203:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1668
|
|
{
|
|
yyVAL.node = &ast.StmtWhile{
|
|
Node: ast.Node{
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
},
|
|
Stmt: yyDollar[1].node,
|
|
}
|
|
}
|
|
case 204:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1677
|
|
{
|
|
yyVAL.node = &ast.StmtWhile{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
Alt: true,
|
|
ColonTkn: yyDollar[1].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
},
|
|
Stmts: yyDollar[2].list,
|
|
},
|
|
EndWhileTkn: yyDollar[3].token,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 205:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:1698
|
|
{
|
|
yyVAL.node = &ast.StmtIf{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node),
|
|
},
|
|
IfTkn: yyDollar[1].token,
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
Cond: yyDollar[3].node,
|
|
CloseParenthesisTkn: yyDollar[4].token,
|
|
Stmt: yyDollar[5].node,
|
|
}
|
|
}
|
|
case 206:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1711
|
|
{
|
|
yyDollar[1].node.(*ast.StmtIf).ElseIf = append(yyDollar[1].node.(*ast.StmtIf).ElseIf, &ast.StmtElseIf{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[2].token, yyDollar[6].node),
|
|
},
|
|
ElseIfTkn: yyDollar[2].token,
|
|
OpenParenthesisTkn: yyDollar[3].token,
|
|
Cond: yyDollar[4].node,
|
|
CloseParenthesisTkn: yyDollar[5].token,
|
|
Stmt: yyDollar[6].node,
|
|
})
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[6].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 207:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1731
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 208:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1735
|
|
{
|
|
yyDollar[1].node.(*ast.StmtIf).Else = &ast.StmtElse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[2].token, yyDollar[3].node),
|
|
},
|
|
ElseTkn: yyDollar[2].token,
|
|
Stmt: yyDollar[3].node,
|
|
}
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 209:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1752
|
|
{
|
|
yyVAL.node = &ast.StmtIf{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[6].list),
|
|
},
|
|
Alt: true,
|
|
IfTkn: yyDollar[1].token,
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
Cond: yyDollar[3].node,
|
|
CloseParenthesisTkn: yyDollar[4].token,
|
|
ColonTkn: yyDollar[5].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[6].list),
|
|
},
|
|
Stmts: yyDollar[6].list,
|
|
},
|
|
}
|
|
}
|
|
case 210:
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
|
// line internal/php7/php7.y:1772
|
|
{
|
|
yyDollar[1].node.(*ast.StmtIf).ElseIf = append(yyDollar[1].node.(*ast.StmtIf).ElseIf, &ast.StmtElseIf{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[7].list),
|
|
},
|
|
Alt: true,
|
|
ElseIfTkn: yyDollar[2].token,
|
|
OpenParenthesisTkn: yyDollar[3].token,
|
|
Cond: yyDollar[4].node,
|
|
CloseParenthesisTkn: yyDollar[5].token,
|
|
ColonTkn: yyDollar[6].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[7].list),
|
|
},
|
|
Stmts: yyDollar[7].list,
|
|
},
|
|
})
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 211:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1797
|
|
{
|
|
yyDollar[1].node.(*ast.StmtIf).EndIfTkn = yyDollar[2].token
|
|
yyDollar[1].node.(*ast.StmtIf).SemiColonTkn = yyDollar[3].token
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 212:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1805
|
|
{
|
|
yyDollar[1].node.(*ast.StmtIf).Else = &ast.StmtElse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list),
|
|
},
|
|
Alt: true,
|
|
ElseTkn: yyDollar[2].token,
|
|
ColonTkn: yyDollar[3].token,
|
|
Stmt: &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListPosition(yyDollar[4].list),
|
|
},
|
|
Stmts: yyDollar[4].list,
|
|
},
|
|
}
|
|
yyDollar[1].node.(*ast.StmtIf).EndIfTkn = yyDollar[5].token
|
|
yyDollar[1].node.(*ast.StmtIf).SemiColonTkn = yyDollar[6].token
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 213:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1830
|
|
{
|
|
yyVAL.list = yyDollar[1].list
|
|
}
|
|
case 214:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1834
|
|
{
|
|
yyVAL.list = nil
|
|
}
|
|
case 215:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1841
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 216:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:1845
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 217:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:1855
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[4].token),
|
|
},
|
|
IdentifierTkn: yyDollar[4].token,
|
|
Value: yyDollar[4].token.Value,
|
|
}
|
|
|
|
var variable ast.Vertex
|
|
variable = &ast.ExprVariable{ast.Node{}, identifier}
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[4].token.SkippedTokens)
|
|
|
|
if yyDollar[3].token != nil {
|
|
variable = &ast.Variadic{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token),
|
|
},
|
|
VariadicTkn: yyDollar[3].token,
|
|
Var: variable,
|
|
}
|
|
}
|
|
|
|
if yyDollar[2].token != nil {
|
|
variable = &ast.Reference{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
},
|
|
AmpersandTkn: yyDollar[2].token,
|
|
Var: variable,
|
|
}
|
|
}
|
|
|
|
pos := position.NewTokenPosition(yyDollar[4].token)
|
|
if yyDollar[1].node != nil {
|
|
pos = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
} else if yyDollar[2].token != nil {
|
|
pos = position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token)
|
|
} else if yyDollar[3].token != nil {
|
|
pos = position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token)
|
|
}
|
|
|
|
yyVAL.node = &ast.Parameter{
|
|
Node: ast.Node{
|
|
Position: pos,
|
|
},
|
|
Type: yyDollar[1].node,
|
|
Var: variable,
|
|
}
|
|
}
|
|
case 218:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:1907
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[4].token),
|
|
},
|
|
IdentifierTkn: yyDollar[4].token,
|
|
Value: yyDollar[4].token.Value,
|
|
}
|
|
|
|
var variable ast.Vertex
|
|
variable = &ast.ExprVariable{ast.Node{}, identifier}
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[4].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(variable, token.End, yyDollar[5].token.SkippedTokens)
|
|
|
|
if yyDollar[3].token != nil {
|
|
variable = &ast.Variadic{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token),
|
|
},
|
|
VariadicTkn: yyDollar[3].token,
|
|
Var: variable,
|
|
}
|
|
}
|
|
|
|
if yyDollar[2].token != nil {
|
|
variable = &ast.Reference{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
},
|
|
AmpersandTkn: yyDollar[2].token,
|
|
Var: variable,
|
|
}
|
|
}
|
|
|
|
pos := position.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node)
|
|
if yyDollar[1].node != nil {
|
|
pos = position.NewNodesPosition(yyDollar[1].node, yyDollar[6].node)
|
|
} else if yyDollar[2].token != nil {
|
|
pos = position.NewTokenNodePosition(yyDollar[2].token, yyDollar[6].node)
|
|
} else if yyDollar[3].token != nil {
|
|
pos = position.NewTokenNodePosition(yyDollar[3].token, yyDollar[6].node)
|
|
}
|
|
|
|
yyVAL.node = &ast.Parameter{
|
|
Node: ast.Node{
|
|
Position: pos,
|
|
},
|
|
Type: yyDollar[1].node,
|
|
Var: variable,
|
|
EqualTkn: yyDollar[5].token,
|
|
DefaultValue: yyDollar[6].node,
|
|
}
|
|
}
|
|
case 219:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:1965
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 220:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1969
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 221:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1976
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 222:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:1980
|
|
{
|
|
yyVAL.node = &ast.Nullable{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node),
|
|
},
|
|
QuestionTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
}
|
|
}
|
|
case 223:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:1993
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 224:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2003
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 225:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2013
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 226:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:2020
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 227:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2024
|
|
{
|
|
yyVAL.node = &ast.ReturnType{
|
|
ColonTkn: yyDollar[1].token,
|
|
Type: yyDollar[2].node,
|
|
}
|
|
}
|
|
case 228:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2034
|
|
{
|
|
yyVAL.node = &ast.ArgumentList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token),
|
|
},
|
|
OpenParenthesisTkn: yyDollar[1].token,
|
|
CloseParenthesisTkn: yyDollar[2].token,
|
|
}
|
|
}
|
|
case 229:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2044
|
|
{
|
|
argumentList := yyDollar[2].node.(*ast.ArgumentList)
|
|
argumentList.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
argumentList.OpenParenthesisTkn = yyDollar[1].token
|
|
argumentList.SeparatorTkns = append(argumentList.SeparatorTkns, yyDollar[3].token)
|
|
argumentList.CloseParenthesisTkn = yyDollar[4].token
|
|
|
|
yyVAL.node = argumentList
|
|
}
|
|
case 230:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2057
|
|
{
|
|
yyVAL.node = &ast.ArgumentList{
|
|
Arguments: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 231:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2063
|
|
{
|
|
yyDollar[1].node.(*ast.ArgumentList).SeparatorTkns = append(yyDollar[1].node.(*ast.ArgumentList).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.ArgumentList).Arguments = append(yyDollar[1].node.(*ast.ArgumentList).Arguments, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 232:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2073
|
|
{
|
|
yyVAL.node = &ast.Argument{
|
|
Node: ast.Node{
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
},
|
|
Expr: yyDollar[1].node,
|
|
}
|
|
}
|
|
case 233:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2082
|
|
{
|
|
yyVAL.node = &ast.Argument{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node),
|
|
},
|
|
VariadicTkn: yyDollar[1].token,
|
|
Expr: yyDollar[2].node,
|
|
}
|
|
}
|
|
case 234:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2095
|
|
{
|
|
yyDollar[1].node.(*ast.StmtGlobal).Vars = append(yyDollar[1].node.(*ast.StmtGlobal).Vars, yyDollar[3].node)
|
|
yyDollar[1].node.(*ast.StmtGlobal).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtGlobal).SeparatorTkns, yyDollar[2].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 235:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2102
|
|
{
|
|
yyVAL.node = &ast.StmtGlobal{
|
|
Vars: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 236:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2111
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 237:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2118
|
|
{
|
|
yyDollar[1].node.(*ast.StmtStatic).Vars = append(yyDollar[1].node.(*ast.StmtStatic).Vars, yyDollar[3].node)
|
|
yyDollar[1].node.(*ast.StmtStatic).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtStatic).SeparatorTkns, yyDollar[2].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 238:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2125
|
|
{
|
|
yyVAL.node = &ast.StmtStatic{
|
|
Vars: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 239:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2134
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.StmtStaticVar{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
Var: variable,
|
|
}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 240:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2158
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
yyVAL.node = &ast.StmtStaticVar{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
},
|
|
Var: variable,
|
|
EqualTkn: yyDollar[2].token,
|
|
Expr: yyDollar[3].node,
|
|
}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 241:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2186
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
case 242:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:2190
|
|
{
|
|
yyVAL.list = []ast.Vertex{}
|
|
}
|
|
case 243:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2197
|
|
{
|
|
yyVAL.node = &ast.StmtPropertyList{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[4].token),
|
|
},
|
|
Modifiers: yyDollar[1].list,
|
|
Type: yyDollar[2].node,
|
|
Properties: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 244:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2210
|
|
{
|
|
yyVAL.node = &ast.StmtClassConstList{
|
|
Node: ast.Node{
|
|
Position: position.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[4].token),
|
|
},
|
|
Modifiers: yyDollar[1].list,
|
|
ConstTkn: yyDollar[2].token,
|
|
Consts: yyDollar[3].list,
|
|
SemiColonTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 245:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2222
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUse{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
},
|
|
UseTkn: yyDollar[1].token,
|
|
Traits: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
Adaptations: yyDollar[3].node,
|
|
}
|
|
}
|
|
case 246:
|
|
yyDollar = yyS[yypt-10 : yypt+1]
|
|
// line internal/php7/php7.y:2234
|
|
{
|
|
pos := position.NewTokenNodePosition(yyDollar[2].token, yyDollar[10].node)
|
|
if yyDollar[1].list != nil {
|
|
yyVAL.node.GetNode().Position = position.NewNodeListNodePosition(yyDollar[1].list, yyDollar[10].node)
|
|
}
|
|
|
|
yyVAL.node = &ast.StmtClassMethod{
|
|
Node: ast.Node{
|
|
Position: pos,
|
|
},
|
|
Modifiers: yyDollar[1].list,
|
|
FunctionTkn: yyDollar[2].token,
|
|
AmpersandTkn: yyDollar[3].token,
|
|
MethodName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[4].token),
|
|
},
|
|
IdentifierTkn: yyDollar[4].token,
|
|
Value: yyDollar[4].token.Value,
|
|
},
|
|
OpenParenthesisTkn: yyDollar[6].token,
|
|
Params: yyDollar[7].list,
|
|
CloseParenthesisTkn: yyDollar[8].token,
|
|
ColonTkn: yyDollar[9].node.(*ast.ReturnType).ColonTkn,
|
|
ReturnType: yyDollar[9].node.(*ast.ReturnType).Type,
|
|
Stmt: yyDollar[10].node,
|
|
}
|
|
}
|
|
case 247:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2266
|
|
{
|
|
yyVAL.node = &ast.ParserSeparatedList{
|
|
Items: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 248:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2272
|
|
{
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns = append(yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).Items = append(yyDollar[1].node.(*ast.ParserSeparatedList).Items, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 249:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2282
|
|
{
|
|
yyVAL.node = &ast.StmtNop{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
SemiColonTkn: yyDollar[1].token,
|
|
}
|
|
}
|
|
case 250:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2291
|
|
{
|
|
yyVAL.node = &ast.StmtTraitAdaptationList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token),
|
|
},
|
|
OpenParenthesisTkn: yyDollar[1].token,
|
|
CloseParenthesisTkn: yyDollar[2].token,
|
|
}
|
|
}
|
|
case 251:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2301
|
|
{
|
|
yyVAL.node = &ast.StmtTraitAdaptationList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenParenthesisTkn: yyDollar[1].token,
|
|
Adaptations: yyDollar[2].list,
|
|
CloseParenthesisTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 252:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2315
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 253:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2319
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
case 254:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2326
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.NameList, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 255:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2334
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Alias, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 256:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2345
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUsePrecedence{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeNodeListPosition(yyDollar[1].node, yyDollar[3].node.(*ast.ParserSeparatedList).Items),
|
|
},
|
|
Ref: yyDollar[1].node,
|
|
InsteadofTkn: yyDollar[2].token,
|
|
Insteadof: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
}
|
|
}
|
|
case 257:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2360
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUseAlias{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token),
|
|
},
|
|
Ref: yyDollar[1].node,
|
|
AsTkn: yyDollar[2].token,
|
|
Alias: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 258:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2377
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUseAlias{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token),
|
|
},
|
|
Ref: yyDollar[1].node,
|
|
AsTkn: yyDollar[2].token,
|
|
Alias: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 259:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2394
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUseAlias{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token),
|
|
},
|
|
Ref: yyDollar[1].node,
|
|
AsTkn: yyDollar[2].token,
|
|
Modifier: yyDollar[3].node,
|
|
Alias: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[4].token),
|
|
},
|
|
IdentifierTkn: yyDollar[4].token,
|
|
Value: yyDollar[4].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 260:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2412
|
|
{
|
|
yyVAL.node = &ast.StmtTraitUseAlias{
|
|
Node: ast.Node{
|
|
Position: position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node),
|
|
},
|
|
Ref: yyDollar[1].node,
|
|
AsTkn: yyDollar[2].token,
|
|
Modifier: yyDollar[3].node,
|
|
}
|
|
}
|
|
case 261:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2426
|
|
{
|
|
yyVAL.node = &ast.StmtTraitMethodRef{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
Method: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 262:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2441
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 263:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2448
|
|
{
|
|
yyVAL.node = &ast.StmtTraitMethodRef{
|
|
Node: ast.Node{
|
|
Position: position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token),
|
|
},
|
|
Trait: yyDollar[1].node,
|
|
DoubleColonTkn: yyDollar[2].token,
|
|
Method: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 264:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2468
|
|
{
|
|
yyVAL.node = &ast.StmtNop{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
SemiColonTkn: yyDollar[1].token,
|
|
}
|
|
}
|
|
case 265:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2477
|
|
{
|
|
yyVAL.node = &ast.StmtStmtList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenCurlyBracket: yyDollar[1].token,
|
|
Stmts: yyDollar[2].list,
|
|
CloseCurlyBracket: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 266:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2491
|
|
{
|
|
yyVAL.list = yyDollar[1].list
|
|
}
|
|
case 267:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2495
|
|
{
|
|
yyVAL.list = []ast.Vertex{
|
|
&ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 268:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:2510
|
|
{
|
|
yyVAL.list = nil
|
|
}
|
|
case 269:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2514
|
|
{
|
|
yyVAL.list = yyDollar[1].list
|
|
}
|
|
case 270:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2521
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 271:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2525
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
case 272:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2532
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 273:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2542
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 274:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2552
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 275:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2562
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 276:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2572
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 277:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2582
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 278:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2595
|
|
{
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns = append(yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).Items = append(yyDollar[1].node.(*ast.ParserSeparatedList).Items, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 279:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2602
|
|
{
|
|
yyVAL.node = &ast.ParserSeparatedList{
|
|
Items: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 280:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2611
|
|
{
|
|
yyVAL.node = &ast.StmtProperty{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
Var: &ast.ExprVariable{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
VarName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
},
|
|
Expr: nil,
|
|
}
|
|
}
|
|
case 281:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2632
|
|
{
|
|
yyVAL.node = &ast.StmtProperty{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
},
|
|
Var: &ast.ExprVariable{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
VarName: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
},
|
|
EqualTkn: yyDollar[2].token,
|
|
Expr: yyDollar[3].node,
|
|
}
|
|
}
|
|
case 282:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2657
|
|
{
|
|
lastNode(yyDollar[1].list).(*ast.StmtConstant).CommaTkn = yyDollar[2].token
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
}
|
|
case 283:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2663
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 284:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2670
|
|
{
|
|
yyVAL.node = &ast.StmtConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
},
|
|
Name: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
EqualTkn: yyDollar[2].token,
|
|
Expr: yyDollar[3].node,
|
|
}
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node.(*ast.StmtConstant).Name, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 285:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2692
|
|
{
|
|
yyVAL.node = &ast.StmtConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
},
|
|
Name: &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
EqualTkn: yyDollar[2].token,
|
|
Expr: yyDollar[3].node,
|
|
}
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node.(*ast.StmtConstant).Name, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 286:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2714
|
|
{
|
|
yyDollar[1].node.(*ast.StmtEcho).Exprs = append(yyDollar[1].node.(*ast.StmtEcho).Exprs, yyDollar[3].node)
|
|
yyDollar[1].node.(*ast.StmtEcho).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtEcho).SeparatorTkns, yyDollar[2].token)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 287:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2721
|
|
{
|
|
yyVAL.node = &ast.StmtEcho{
|
|
Exprs: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 288:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2730
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 289:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:2737
|
|
{
|
|
yyVAL.list = nil
|
|
}
|
|
case 290:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2741
|
|
{
|
|
yyVAL.list = yyDollar[1].list
|
|
}
|
|
case 291:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2748
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 292:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:2755
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 293:
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
|
// line internal/php7/php7.y:2762
|
|
{
|
|
yyVAL.node = &ast.StmtClass{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[8].token),
|
|
},
|
|
ClassTkn: yyDollar[1].token,
|
|
ArgumentList: yyDollar[2].node,
|
|
Extends: yyDollar[3].node,
|
|
Implements: yyDollar[4].node,
|
|
OpenCurlyBracket: yyDollar[6].token,
|
|
Stmts: yyDollar[7].list,
|
|
CloseCurlyBracket: yyDollar[8].token,
|
|
}
|
|
}
|
|
case 294:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2780
|
|
{
|
|
if yyDollar[3].node != nil {
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, yyDollar[3].node.(*ast.ArgumentList)}
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node)
|
|
} else {
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, nil}
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 295:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2793
|
|
{
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, nil}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 296:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:2806
|
|
{
|
|
listNode := &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
ListTkn: yyDollar[1].token,
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Items: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, listNode, yyDollar[6].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[5].token.SkippedTokens)
|
|
}
|
|
case 297:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:2826
|
|
{
|
|
listNode := &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Items: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, listNode, yyDollar[5].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 298:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2845
|
|
{
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 299:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:2856
|
|
{
|
|
yyVAL.node = &ast.ExprAssignReference{ast.Node{}, yyDollar[1].node, yyDollar[4].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Equal, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 300:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:2868
|
|
{
|
|
yyVAL.node = &ast.ExprClone{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 301:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2878
|
|
{
|
|
yyVAL.node = &ast.ExprAssignPlus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 302:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2889
|
|
{
|
|
yyVAL.node = &ast.ExprAssignMinus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 303:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2900
|
|
{
|
|
yyVAL.node = &ast.ExprAssignMul{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 304:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2911
|
|
{
|
|
yyVAL.node = &ast.ExprAssignPow{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 305:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2922
|
|
{
|
|
yyVAL.node = &ast.ExprAssignDiv{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 306:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2933
|
|
{
|
|
yyVAL.node = &ast.ExprAssignConcat{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 307:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2944
|
|
{
|
|
yyVAL.node = &ast.ExprAssignMod{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 308:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2955
|
|
{
|
|
yyVAL.node = &ast.ExprAssignBitwiseAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 309:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2966
|
|
{
|
|
yyVAL.node = &ast.ExprAssignBitwiseOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 310:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2977
|
|
{
|
|
yyVAL.node = &ast.ExprAssignBitwiseXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 311:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2988
|
|
{
|
|
yyVAL.node = &ast.ExprAssignShiftLeft{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 312:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:2999
|
|
{
|
|
yyVAL.node = &ast.ExprAssignShiftRight{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 313:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3010
|
|
{
|
|
yyVAL.node = &ast.ExprAssignCoalesce{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 314:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3021
|
|
{
|
|
yyVAL.node = &ast.ExprPostInc{ast.Node{}, yyDollar[1].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 315:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3032
|
|
{
|
|
yyVAL.node = &ast.ExprPreInc{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 316:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3042
|
|
{
|
|
yyVAL.node = &ast.ExprPostDec{ast.Node{}, yyDollar[1].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 317:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3053
|
|
{
|
|
yyVAL.node = &ast.ExprPreDec{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 318:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3063
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryBooleanOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 319:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3074
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryBooleanAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 320:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3085
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryLogicalOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 321:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3096
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryLogicalAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 322:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3107
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryLogicalXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 323:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3118
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryBitwiseOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 324:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3129
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryBitwiseAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 325:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3140
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryBitwiseXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 326:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3151
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryConcat{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 327:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3161
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryPlus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 328:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3172
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryMinus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 329:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3183
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryMul{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 330:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3194
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryPow{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 331:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3205
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryDiv{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 332:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3216
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryMod{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 333:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3227
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryShiftLeft{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 334:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3238
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryShiftRight{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 335:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3249
|
|
{
|
|
yyVAL.node = &ast.ExprUnaryPlus{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 336:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3259
|
|
{
|
|
yyVAL.node = &ast.ExprUnaryMinus{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 337:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3269
|
|
{
|
|
yyVAL.node = &ast.ExprBooleanNot{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 338:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3279
|
|
{
|
|
yyVAL.node = &ast.ExprBitwiseNot{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 339:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3289
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryIdentical{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 340:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3300
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryNotIdentical{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 341:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3311
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 342:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3322
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryNotEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Equal, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 343:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3334
|
|
{
|
|
yyVAL.node = &ast.ExprBinarySmaller{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 344:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3345
|
|
{
|
|
yyVAL.node = &ast.ExprBinarySmallerOrEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 345:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3356
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryGreater{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 346:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3367
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryGreaterOrEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 347:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3378
|
|
{
|
|
yyVAL.node = &ast.ExprBinarySpaceship{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 348:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3389
|
|
{
|
|
yyVAL.node = &ast.ExprInstanceOf{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 349:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3400
|
|
{
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Child: yyDollar[2].node,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 350:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3415
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 351:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:3419
|
|
{
|
|
yyVAL.node = &ast.ExprTernary{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[5].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[5].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.True, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 352:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3431
|
|
{
|
|
yyVAL.node = &ast.ExprTernary{ast.Node{}, yyDollar[1].node, nil, yyDollar[4].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.True, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 353:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3443
|
|
{
|
|
yyVAL.node = &ast.ExprBinaryCoalesce{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 354:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3454
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 355:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3458
|
|
{
|
|
yyVAL.node = &ast.ExprCastInt{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 356:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3469
|
|
{
|
|
yyVAL.node = &ast.ExprCastDouble{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 357:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3480
|
|
{
|
|
yyVAL.node = &ast.ExprCastString{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 358:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3491
|
|
{
|
|
yyVAL.node = &ast.ExprCastArray{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 359:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3502
|
|
{
|
|
yyVAL.node = &ast.ExprCastObject{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 360:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3513
|
|
{
|
|
yyVAL.node = &ast.ExprCastBool{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 361:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3524
|
|
{
|
|
yyVAL.node = &ast.ExprCastUnset{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 362:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3535
|
|
{
|
|
yyVAL.node = &ast.ExprExit{ast.Node{}, false, yyDollar[2].node}
|
|
|
|
if bytes.EqualFold(yyDollar[1].token.Value, []byte("die")) {
|
|
yyVAL.node.(*ast.ExprExit).Die = true
|
|
}
|
|
|
|
// save position
|
|
if yyDollar[2].node == nil {
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
} else {
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 363:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3553
|
|
{
|
|
yyVAL.node = &ast.ExprErrorSuppress{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 364:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3563
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 365:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3567
|
|
{
|
|
yyVAL.node = &ast.ExprShellExec{ast.Node{}, yyDollar[2].list}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 366:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3577
|
|
{
|
|
yyVAL.node = &ast.ExprPrint{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 367:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3587
|
|
{
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, nil, nil}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 368:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3597
|
|
{
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, nil, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 369:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3607
|
|
{
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, yyDollar[2].node, yyDollar[4].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 370:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3618
|
|
{
|
|
yyVAL.node = &ast.ExprYieldFrom{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 371:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3628
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 372:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3632
|
|
{
|
|
switch n := yyDollar[2].node.(type) {
|
|
case *ast.ExprClosure:
|
|
n.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
n.StaticTkn = yyDollar[1].token
|
|
case *ast.ExprArrowFunction:
|
|
n.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
n.StaticTkn = yyDollar[1].token
|
|
}
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
}
|
|
case 373:
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
|
// line internal/php7/php7.y:3648
|
|
{
|
|
yyVAL.node = &ast.ExprClosure{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[11].token),
|
|
},
|
|
FunctionTkn: yyDollar[1].token,
|
|
AmpersandTkn: yyDollar[2].token,
|
|
OpenParenthesisTkn: yyDollar[4].token,
|
|
Params: yyDollar[5].list,
|
|
CloseParenthesisTkn: yyDollar[6].token,
|
|
ClosureUse: yyDollar[7].ClosureUse,
|
|
ColonTkn: yyDollar[8].node.(*ast.ReturnType).ColonTkn,
|
|
ReturnType: yyDollar[8].node.(*ast.ReturnType).Type,
|
|
OpenCurlyBracketTkn: yyDollar[9].token,
|
|
Stmts: yyDollar[10].list,
|
|
CloseCurlyBracketTkn: yyDollar[11].token,
|
|
}
|
|
}
|
|
case 374:
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
|
// line internal/php7/php7.y:3667
|
|
{
|
|
yyVAL.node = &ast.ExprArrowFunction{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node),
|
|
},
|
|
FnTkn: yyDollar[1].token,
|
|
AmpersandTkn: yyDollar[2].token,
|
|
OpenParenthesisTkn: yyDollar[3].token,
|
|
Params: yyDollar[4].list,
|
|
CloseParenthesisTkn: yyDollar[5].token,
|
|
ColonTkn: yyDollar[6].node.(*ast.ReturnType).ColonTkn,
|
|
ReturnType: yyDollar[6].node.(*ast.ReturnType).Type,
|
|
DoubleArrowTkn: yyDollar[8].token,
|
|
Expr: yyDollar[9].node,
|
|
}
|
|
}
|
|
case 376:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:3691
|
|
{
|
|
yyVAL.token = nil
|
|
}
|
|
case 377:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3695
|
|
{
|
|
yyVAL.token = yyDollar[1].token
|
|
}
|
|
case 378:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:3702
|
|
{
|
|
yyVAL.ClosureUse = nil
|
|
}
|
|
case 379:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3706
|
|
{
|
|
yyVAL.ClosureUse = &ast.ExprClosureUse{ast.Node{}, yyDollar[3].list}
|
|
|
|
// save position
|
|
yyVAL.ClosureUse.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.Use, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.LexicalVarList, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 380:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3721
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 381:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3728
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 382:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3735
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 383:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3752
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
yyVAL.node = &ast.ExprReference{ast.Node{}, variable}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 384:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3775
|
|
{
|
|
yyVAL.node = &ast.ExprFunctionCall{ast.Node{}, yyDollar[1].node, yyDollar[2].node.(*ast.ArgumentList)}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
}
|
|
case 385:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3785
|
|
{
|
|
yyVAL.node = &ast.ExprStaticCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 386:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3796
|
|
{
|
|
yyVAL.node = &ast.ExprStaticCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 387:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:3807
|
|
{
|
|
yyVAL.node = &ast.ExprFunctionCall{ast.Node{}, yyDollar[1].node, yyDollar[2].node.(*ast.ArgumentList)}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
}
|
|
case 388:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3820
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 389:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3830
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 390:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3837
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 391:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3841
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 392:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:3848
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 393:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3852
|
|
{
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Child: yyDollar[2].node,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 394:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:3870
|
|
{
|
|
yyVAL.list = []ast.Vertex{}
|
|
}
|
|
case 395:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3874
|
|
{
|
|
yyVAL.list = []ast.Vertex{
|
|
&ast.ScalarEncapsedStringPart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
EncapsedStrTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
}
|
|
}
|
|
case 396:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3886
|
|
{
|
|
yyVAL.list = yyDollar[1].list
|
|
}
|
|
case 397:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:3893
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 398:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3897
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 399:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:3904
|
|
{
|
|
yyVAL.node = &ast.ExprArray{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
ArrayTkn: yyDollar[1].token,
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Items: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
}
|
|
case 400:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:3917
|
|
{
|
|
yyVAL.node = &ast.ExprArray{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Items: yyDollar[2].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[2].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 401:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3929
|
|
{
|
|
yyVAL.node = &ast.ScalarString{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
StringTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 402:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3942
|
|
{
|
|
yyVAL.node = &ast.ScalarLnumber{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
NumberTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 403:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3952
|
|
{
|
|
yyVAL.node = &ast.ScalarDnumber{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
NumberTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 404:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3962
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 405:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3972
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 406:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3982
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 407:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:3992
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 408:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4002
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 409:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4012
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 410:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4022
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 411:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4032
|
|
{
|
|
yyVAL.node = &ast.ScalarMagicConstant{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
MagicConstTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 412:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4042
|
|
{
|
|
yyVAL.node = &ast.ScalarHeredoc{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenHeredocTkn: yyDollar[1].token,
|
|
Parts: []ast.Vertex{
|
|
&ast.ScalarEncapsedStringPart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
EncapsedStrTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
},
|
|
CloseHeredocTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 413:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4061
|
|
{
|
|
yyVAL.node = &ast.ScalarHeredoc{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token),
|
|
},
|
|
OpenHeredocTkn: yyDollar[1].token,
|
|
CloseHeredocTkn: yyDollar[2].token,
|
|
}
|
|
}
|
|
case 414:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4071
|
|
{
|
|
yyVAL.node = &ast.ScalarEncapsed{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenQoteTkn: yyDollar[1].token,
|
|
Parts: yyDollar[2].list,
|
|
CloseQoteTkn: yyDollar[1].token,
|
|
}
|
|
}
|
|
case 415:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4082
|
|
{
|
|
yyVAL.node = &ast.ScalarHeredoc{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenHeredocTkn: yyDollar[1].token,
|
|
Parts: yyDollar[2].list,
|
|
CloseHeredocTkn: yyDollar[3].token,
|
|
}
|
|
}
|
|
case 416:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4093
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 417:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4097
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 418:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4104
|
|
{
|
|
yyVAL.node = &ast.ExprConstFetch{ast.Node{}, yyDollar[1].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
}
|
|
case 419:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4114
|
|
{
|
|
target := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprClassConstFetch{ast.Node{}, yyDollar[1].node, target}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 420:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4132
|
|
{
|
|
target := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprClassConstFetch{ast.Node{}, yyDollar[1].node, target}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 421:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4153
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 422:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4157
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 423:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:4164
|
|
{
|
|
yyVAL.node = nil
|
|
}
|
|
case 424:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4168
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 425:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4175
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 426:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4182
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 427:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4186
|
|
{
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Child: yyDollar[2].node,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 428:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4201
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 429:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4208
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 430:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4212
|
|
{
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
Child: yyDollar[2].node,
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
}
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 431:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4227
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 432:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4234
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 433:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4238
|
|
{
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 434:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4249
|
|
{
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 435:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4260
|
|
{
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 436:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4271
|
|
{
|
|
yyVAL.node = &ast.ExprMethodCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 437:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4282
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 438:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4289
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 439:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4293
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 440:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4297
|
|
{
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 441:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4311
|
|
{
|
|
name := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, name}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 442:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4328
|
|
{
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyDollar[3].node, token.Start, append(yyDollar[2].token.SkippedTokens, yyDollar[3].node.GetNode().Tokens[token.Start]...))
|
|
yylex.(*Parser).setFreeFloatingTokens(yyDollar[3].node, token.End, append(yyDollar[3].node.GetNode().Tokens[token.End], yyDollar[4].token.SkippedTokens...))
|
|
}
|
|
case 443:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4340
|
|
{
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 444:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4353
|
|
{
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 445:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4364
|
|
{
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 446:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4378
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 447:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4382
|
|
{
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 448:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4393
|
|
{
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 449:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4404
|
|
{
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 450:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4415
|
|
{
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 451:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4426
|
|
{
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 452:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4440
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 453:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4450
|
|
{
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, append(yyDollar[1].token.SkippedTokens, yyVAL.node.GetNode().Tokens[token.Start]...))
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, append(yyVAL.node.GetNode().Tokens[token.End], yyDollar[3].token.SkippedTokens...))
|
|
}
|
|
case 454:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4458
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 455:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4465
|
|
{
|
|
yyVAL.node = &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 456:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4475
|
|
{
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, append(yyDollar[1].token.SkippedTokens, yyVAL.node.GetNode().Tokens[token.Start]...))
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, append(yyVAL.node.GetNode().Tokens[token.End], yyDollar[3].token.SkippedTokens...))
|
|
}
|
|
case 457:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4483
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 458:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4490
|
|
{
|
|
pairList := yyDollar[1].node.(*ast.ParserSeparatedList)
|
|
fistPair := pairList.Items[0].(*ast.ExprArrayItem)
|
|
|
|
if fistPair.Key == nil && fistPair.Val == nil && len(pairList.Items) == 1 {
|
|
pairList.Items = nil
|
|
}
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 459:
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
|
// line internal/php7/php7.y:4504
|
|
{
|
|
yyVAL.node = &ast.ExprArrayItem{}
|
|
}
|
|
case 460:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4508
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 461:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4515
|
|
{
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns = append(yyDollar[1].node.(*ast.ParserSeparatedList).SeparatorTkns, yyDollar[2].token)
|
|
yyDollar[1].node.(*ast.ParserSeparatedList).Items = append(yyDollar[1].node.(*ast.ParserSeparatedList).Items, yyDollar[3].node)
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
case 462:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4522
|
|
{
|
|
yyVAL.node = &ast.ParserSeparatedList{
|
|
Items: []ast.Vertex{yyDollar[1].node},
|
|
}
|
|
}
|
|
case 463:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4531
|
|
{
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, yyDollar[3].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 464:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4542
|
|
{
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, yyDollar[1].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
}
|
|
case 465:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4552
|
|
{
|
|
reference := &ast.ExprReference{ast.Node{}, yyDollar[4].node}
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, reference}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
reference.GetNode().Position = position.NewTokenNodePosition(yyDollar[3].token, yyDollar[4].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(reference, token.Start, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 466:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4566
|
|
{
|
|
reference := &ast.ExprReference{ast.Node{}, yyDollar[2].node}
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, reference}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
reference.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 467:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4578
|
|
{
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, true, nil, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 468:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:4588
|
|
{
|
|
listNode := &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[3].token, yyDollar[6].token),
|
|
},
|
|
ListTkn: yyDollar[3].token,
|
|
OpenBracketTkn: yyDollar[4].token,
|
|
Items: yyDollar[5].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[5].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[6].token,
|
|
}
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, listNode}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 469:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4609
|
|
{
|
|
listNode := &ast.ExprList{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
},
|
|
ListTkn: yyDollar[1].token,
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Items: yyDollar[3].node.(*ast.ParserSeparatedList).Items,
|
|
SeparatorTkns: yyDollar[3].node.(*ast.ParserSeparatedList).SeparatorTkns,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, listNode}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
}
|
|
case 470:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4629
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
}
|
|
case 471:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4633
|
|
{
|
|
yyVAL.list = append(
|
|
yyDollar[1].list,
|
|
&ast.ScalarEncapsedStringPart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
EncapsedStrTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
},
|
|
)
|
|
}
|
|
case 472:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4646
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 473:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4650
|
|
{
|
|
yyVAL.list = []ast.Vertex{
|
|
&ast.ScalarEncapsedStringPart{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
EncapsedStrTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
},
|
|
yyDollar[2].node,
|
|
}
|
|
}
|
|
case 474:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4666
|
|
{
|
|
name := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, name}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 475:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4683
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, variable, yyDollar[3].node}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 476:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4703
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
fetch := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
},
|
|
IdentifierTkn: yyDollar[3].token,
|
|
Value: yyDollar[3].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, variable, fetch}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 477:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4729
|
|
{
|
|
variable := &ast.ExprVariable{ast.Node{}, yyDollar[2].node}
|
|
|
|
yyVAL.node = variable
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 478:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4742
|
|
{
|
|
name := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, name}
|
|
|
|
yyVAL.node = variable
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 479:
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
|
// line internal/php7/php7.y:4762
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
IdentifierTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
}
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, variable, yyDollar[4].node}
|
|
|
|
// save position
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setToken(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[3].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[5].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[6].token.SkippedTokens)
|
|
}
|
|
case 480:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4784
|
|
{
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
// save comments
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
|
}
|
|
case 481:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4795
|
|
{
|
|
yyVAL.node = &ast.ScalarString{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
StringTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
case 482:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4805
|
|
{
|
|
// TODO: add option to handle 64 bit integer
|
|
if _, err := strconv.Atoi(string(yyDollar[1].token.Value)); err == nil {
|
|
yyVAL.node = &ast.ScalarLnumber{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
NumberTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
} else {
|
|
yyVAL.node = &ast.ScalarString{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
StringTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
}
|
|
}
|
|
case 483:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4826
|
|
{
|
|
_, err := strconv.Atoi(string(yyDollar[2].token.Value))
|
|
isInt := err == nil
|
|
|
|
if isInt {
|
|
lnumber := &ast.ScalarLnumber{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[2].token),
|
|
},
|
|
NumberTkn: yyDollar[2].token,
|
|
Value: yyDollar[2].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprUnaryMinus{ast.Node{}, lnumber}
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
|
} else {
|
|
yyVAL.node = &ast.ScalarString{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token),
|
|
},
|
|
MinusTkn: yyDollar[1].token,
|
|
StringTkn: yyDollar[2].token,
|
|
Value: append([]byte("-"), yyDollar[2].token.Value...),
|
|
}
|
|
}
|
|
}
|
|
case 484:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4852
|
|
{
|
|
identifier := &ast.Identifier{
|
|
Node: ast.Node{
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
},
|
|
IdentifierTkn: yyDollar[1].token,
|
|
Value: yyDollar[1].token.Value,
|
|
}
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 485:
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
|
// line internal/php7/php7.y:4872
|
|
{
|
|
yyVAL.node = &ast.ExprIsset{ast.Node{}, yyDollar[3].list}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Isset, yyDollar[2].token.SkippedTokens)
|
|
if yyDollar[4].token == nil {
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, yyDollar[5].token.SkippedTokens)
|
|
} else {
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, append(yyDollar[4].token.SkippedTokens, yyDollar[5].token.SkippedTokens...))
|
|
}
|
|
}
|
|
case 486:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4888
|
|
{
|
|
exprBrackets := &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Child: yyDollar[3].node,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
yyVAL.node = &ast.ExprEmpty{ast.Node{}, exprBrackets}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.Start, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.End, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 487:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4908
|
|
{
|
|
yyVAL.node = &ast.ExprInclude{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 488:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4918
|
|
{
|
|
yyVAL.node = &ast.ExprIncludeOnce{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 489:
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
|
// line internal/php7/php7.y:4928
|
|
{
|
|
exprBrackets := &ast.ParserBrackets{
|
|
Node: ast.Node{
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
},
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
Child: yyDollar[3].node,
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
}
|
|
yyVAL.node = &ast.ExprEval{ast.Node{}, exprBrackets}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.Start, yyDollar[2].token.SkippedTokens)
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.End, yyDollar[4].token.SkippedTokens)
|
|
}
|
|
case 490:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4948
|
|
{
|
|
yyVAL.node = &ast.ExprRequire{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 491:
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
|
// line internal/php7/php7.y:4958
|
|
{
|
|
yyVAL.node = &ast.ExprRequireOnce{ast.Node{}, yyDollar[2].node}
|
|
|
|
// save position
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
}
|
|
case 492:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4971
|
|
{
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
|
}
|
|
case 493:
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
|
// line internal/php7/php7.y:4975
|
|
{
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
// save comments
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
|
}
|
|
case 494:
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
// line internal/php7/php7.y:4985
|
|
{
|
|
yyVAL.node = yyDollar[1].node
|
|
}
|
|
}
|
|
goto yystack /* stack new state and value */
|
|
}
|