php-parser/php5/php5.go

6936 lines
253 KiB
Go
Raw Normal View History

2018-01-26 13:24:56 +00:00
//line php5/php5.y:2
package php5
2017-11-23 15:33:47 +00:00
import __yyfmt__ "fmt"
2018-01-26 13:24:56 +00:00
//line php5/php5.y:2
2017-11-23 15:33:47 +00:00
import (
2018-01-31 10:55:50 +00:00
"strconv"
2018-02-04 17:37:27 +00:00
"strings"
2018-01-29 14:11:45 +00:00
"github.com/z7zmey/php-parser/node"
2018-01-29 14:37:09 +00:00
"github.com/z7zmey/php-parser/node/expr"
2018-02-19 11:12:09 +00:00
"github.com/z7zmey/php-parser/node/expr/assign"
"github.com/z7zmey/php-parser/node/expr/binary"
2018-02-04 17:37:27 +00:00
"github.com/z7zmey/php-parser/node/expr/cast"
2018-01-29 14:11:45 +00:00
"github.com/z7zmey/php-parser/node/name"
2018-01-29 14:22:04 +00:00
"github.com/z7zmey/php-parser/node/scalar"
"github.com/z7zmey/php-parser/node/stmt"
"github.com/z7zmey/php-parser/scanner"
2017-11-23 15:33:47 +00:00
)
2018-02-14 19:21:32 +00:00
//line php5/php5.y:21
2017-11-23 15:33:47 +00:00
type yySymType struct {
2018-02-03 17:33:22 +00:00
yys int
node node.Node
token *scanner.Token
2018-02-03 17:33:22 +00:00
boolWithToken boolWithToken
2018-02-01 14:07:18 +00:00
list []node.Node
foreachVariable foreachVariable
2018-01-29 19:12:12 +00:00
simpleIndirectReference simpleIndirectReference
2017-11-23 15:33:47 +00:00
}
const T_INCLUDE = 57346
const T_INCLUDE_ONCE = 57347
2018-01-29 14:11:45 +00:00
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_CONST = 57380
const T_RETURN = 57381
const T_TRY = 57382
const T_CATCH = 57383
const T_FINALLY = 57384
const T_THROW = 57385
const T_USE = 57386
const T_INSTEADOF = 57387
const T_GLOBAL = 57388
const T_VAR = 57389
const T_UNSET = 57390
const T_ISSET = 57391
const T_EMPTY = 57392
const T_HALT_COMPILER = 57393
const T_CLASS = 57394
const T_TRAIT = 57395
const T_INTERFACE = 57396
const T_EXTENDS = 57397
const T_IMPLEMENTS = 57398
const T_OBJECT_OPERATOR = 57399
const T_DOUBLE_ARROW = 57400
const T_LIST = 57401
const T_ARRAY = 57402
const T_CALLABLE = 57403
const T_CLASS_C = 57404
const T_TRAIT_C = 57405
const T_METHOD_C = 57406
const T_FUNC_C = 57407
const T_LINE = 57408
const T_FILE = 57409
const T_COMMENT = 57410
const T_DOC_COMMENT = 57411
const T_OPEN_TAG = 57412
const T_OPEN_TAG_WITH_ECHO = 57413
const T_CLOSE_TAG = 57414
const T_WHITESPACE = 57415
const T_START_HEREDOC = 57416
const T_END_HEREDOC = 57417
const T_DOLLAR_OPEN_CURLY_BRACES = 57418
const T_CURLY_OPEN = 57419
const T_PAAMAYIM_NEKUDOTAYIM = 57420
const T_NAMESPACE = 57421
const T_NS_C = 57422
const T_DIR = 57423
const T_NS_SEPARATOR = 57424
const T_ELLIPSIS = 57425
const T_EVAL = 57426
const T_REQUIRE = 57427
const T_REQUIRE_ONCE = 57428
const T_LOGICAL_OR = 57429
const T_LOGICAL_XOR = 57430
const T_LOGICAL_AND = 57431
const T_INSTANCEOF = 57432
const T_NEW = 57433
const T_CLONE = 57434
const T_ELSEIF = 57435
const T_ELSE = 57436
const T_ENDIF = 57437
const T_PRINT = 57438
const T_YIELD = 57439
const T_STATIC = 57440
const T_ABSTRACT = 57441
const T_FINAL = 57442
const T_PRIVATE = 57443
const T_PROTECTED = 57444
const T_PUBLIC = 57445
const T_INC = 57446
const T_DEC = 57447
const T_YIELD_FROM = 57448
const T_INT_CAST = 57449
const T_DOUBLE_CAST = 57450
const T_STRING_CAST = 57451
const T_ARRAY_CAST = 57452
const T_OBJECT_CAST = 57453
const T_BOOL_CAST = 57454
const T_UNSET_CAST = 57455
const T_COALESCE = 57456
const T_SPACESHIP = 57457
const T_NOELSE = 57458
const T_PLUS_EQUAL = 57459
const T_MINUS_EQUAL = 57460
const T_MUL_EQUAL = 57461
2018-05-27 15:02:58 +00:00
const T_POW_EQUAL = 57462
const T_DIV_EQUAL = 57463
const T_CONCAT_EQUAL = 57464
const T_MOD_EQUAL = 57465
const T_AND_EQUAL = 57466
const T_OR_EQUAL = 57467
const T_XOR_EQUAL = 57468
const T_SL_EQUAL = 57469
const T_SR_EQUAL = 57470
2018-01-29 14:11:45 +00:00
const T_BOOLEAN_OR = 57471
const T_BOOLEAN_AND = 57472
2018-05-27 15:02:58 +00:00
const T_POW = 57473
const T_SL = 57474
const T_SR = 57475
const T_IS_IDENTICAL = 57476
const T_IS_NOT_IDENTICAL = 57477
const T_IS_EQUAL = 57478
const T_IS_NOT_EQUAL = 57479
const T_IS_SMALLER_OR_EQUAL = 57480
const T_IS_GREATER_OR_EQUAL = 57481
2017-11-23 15:33:47 +00:00
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_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",
2018-01-27 10:33:13 +00:00
"T_DOUBLE_ARROW",
2017-11-23 15:33:47 +00:00
"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",
2018-01-29 14:11:45 +00:00
"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",
2018-01-27 10:33:13 +00:00
"T_YIELD_FROM",
2018-01-29 14:11:45 +00:00
"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",
2018-05-27 15:02:58 +00:00
"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_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",
2017-12-03 21:29:17 +00:00
"'\"'",
"'`'",
2017-12-07 09:46:25 +00:00
"'{'",
"'}'",
2017-12-08 14:54:44 +00:00
"';'",
2018-01-29 14:11:45 +00:00
"':'",
2017-11-30 16:25:41 +00:00
"'('",
"')'",
2018-01-29 14:11:45 +00:00
"'['",
2017-11-29 10:24:08 +00:00
"']'",
2018-01-29 14:11:45 +00:00
"'?'",
"'&'",
"'-'",
"'+'",
"'!'",
"'~'",
"'@'",
2017-11-28 16:00:27 +00:00
"'$'",
2018-01-29 14:11:45 +00:00
"','",
"'|'",
2018-05-27 15:02:58 +00:00
"'='",
2018-01-29 14:11:45 +00:00
"'^'",
"'*'",
"'/'",
"'%'",
2018-05-27 15:02:58 +00:00
"'<'",
"'>'",
"'.'",
2017-11-23 15:33:47 +00:00
}
var yyStatenames = [...]string{}
const yyEofCode = 1
const yyErrCode = 2
const yyInitialStackSize = 16
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3994
type foreachVariable struct {
node node.Node
byRef bool
}
type boolWithToken struct {
value bool
token *scanner.Token
}
type simpleIndirectReference struct {
all []*expr.Variable
last *expr.Variable
}
2017-11-24 01:36:58 +00:00
//line yacctab:1
2017-11-23 15:33:47 +00:00
var yyExca = [...]int{
-1, 1,
1, -1,
-2, 0,
2018-04-09 20:08:29 +00:00
-1, 2,
1, 1,
-2, 0,
-1, 51,
104, 435,
105, 435,
-2, 433,
-1, 102,
2018-02-04 17:37:27 +00:00
78, 332,
-2, 411,
2018-04-09 20:08:29 +00:00
-1, 114,
78, 451,
2018-05-27 15:02:58 +00:00
146, 447,
2018-04-09 20:08:29 +00:00
-2, 457,
-1, 154,
104, 435,
105, 435,
-2, 433,
-1, 204,
2018-05-27 15:02:58 +00:00
144, 306,
147, 306,
2018-04-09 20:08:29 +00:00
-2, 430,
-1, 205,
104, 435,
105, 435,
2018-05-27 15:02:58 +00:00
144, 307,
147, 307,
2018-04-09 20:08:29 +00:00
-2, 433,
-1, 271,
78, 451,
-2, 457,
-1, 298,
78, 334,
-2, 413,
-1, 302,
2018-05-27 15:02:58 +00:00
146, 448,
2018-04-09 20:08:29 +00:00
-2, 458,
-1, 311,
78, 333,
-2, 412,
-1, 378,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 274,
-1, 379,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 275,
-1, 380,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 276,
-1, 381,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 277,
-1, 382,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 278,
-1, 383,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 279,
-1, 384,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 280,
-1, 385,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 281,
-1, 392,
104, 435,
105, 435,
-2, 433,
-1, 400,
2018-05-27 15:02:58 +00:00
147, 142,
2018-04-09 20:08:29 +00:00
-2, 147,
2018-02-04 16:51:44 +00:00
-1, 462,
2018-04-09 20:08:29 +00:00
104, 435,
105, 435,
2018-05-27 15:02:58 +00:00
147, 514,
158, 514,
2018-04-09 20:08:29 +00:00
-2, 433,
-1, 463,
2018-05-27 15:02:58 +00:00
147, 515,
158, 515,
2018-04-09 20:08:29 +00:00
-2, 430,
-1, 464,
104, 435,
105, 435,
-2, 433,
-1, 486,
2018-05-27 15:02:58 +00:00
147, 156,
158, 156,
2018-04-09 20:08:29 +00:00
-2, 430,
-1, 487,
104, 435,
105, 435,
2018-05-27 15:02:58 +00:00
147, 157,
158, 157,
2018-04-09 20:08:29 +00:00
-2, 433,
-1, 493,
2018-05-27 15:02:58 +00:00
146, 472,
2018-04-09 20:08:29 +00:00
-2, 516,
-1, 499,
2018-05-27 15:02:58 +00:00
146, 472,
2018-04-09 20:08:29 +00:00
-2, 517,
-1, 521,
2018-02-04 17:37:27 +00:00
78, 332,
-2, 369,
2018-04-09 20:08:29 +00:00
-1, 539,
93, 135,
94, 135,
95, 135,
-2, 0,
-1, 551,
2018-05-27 15:02:58 +00:00
147, 142,
2018-04-09 20:08:29 +00:00
-2, 147,
-1, 564,
2018-05-27 15:02:58 +00:00
147, 142,
2018-04-09 20:08:29 +00:00
-2, 147,
-1, 581,
2018-05-27 15:02:58 +00:00
144, 308,
147, 308,
2018-04-09 20:08:29 +00:00
-2, 430,
-1, 582,
104, 435,
105, 435,
2018-05-27 15:02:58 +00:00
144, 309,
147, 309,
2018-04-09 20:08:29 +00:00
-2, 433,
-1, 681,
78, 334,
-2, 371,
-1, 779,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 397,
-1, 780,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 398,
-1, 781,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 399,
-1, 782,
2018-05-27 15:02:58 +00:00
134, 0,
135, 0,
136, 0,
137, 0,
2018-04-09 20:08:29 +00:00
-2, 400,
-1, 783,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 401,
-1, 784,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 402,
-1, 785,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 403,
-1, 786,
2018-05-27 15:02:58 +00:00
138, 0,
139, 0,
165, 0,
166, 0,
2018-04-09 20:08:29 +00:00
-2, 404,
-1, 789,
78, 333,
-2, 370,
-1, 839,
37, 201,
-2, 198,
-1, 879,
31, 128,
32, 128,
33, 128,
2018-05-27 15:02:58 +00:00
143, 128,
2018-04-09 20:08:29 +00:00
-2, 0,
-1, 914,
95, 140,
-2, 0,
-1, 916,
31, 127,
32, 127,
33, 127,
2018-05-27 15:02:58 +00:00
143, 127,
2018-04-09 20:08:29 +00:00
-2, 0,
-1, 943,
93, 136,
94, 136,
95, 136,
-2, 0,
-1, 971,
29, 189,
2018-01-29 14:11:45 +00:00
-2, 4,
2018-04-09 20:08:29 +00:00
-1, 980,
2018-05-27 15:02:58 +00:00
147, 142,
2018-04-09 20:08:29 +00:00
-2, 147,
-1, 997,
2018-05-27 15:02:58 +00:00
144, 193,
2018-04-09 20:08:29 +00:00
-2, 195,
2017-11-23 15:33:47 +00:00
}
const yyPrivate = 57344
2018-05-27 15:02:58 +00:00
const yyLast = 9012
2017-11-23 15:33:47 +00:00
var yyAct = [...]int{
2018-04-09 20:08:29 +00:00
102, 571, 843, 565, 1006, 965, 714, 807, 420, 826,
123, 131, 606, 200, 340, 918, 734, 567, 452, 815,
474, 683, 296, 594, 461, 592, 421, 61, 579, 142,
319, 315, 39, 98, 264, 390, 158, 517, 130, 2,
2018-05-27 15:02:58 +00:00
444, 115, 289, 978, 959, 118, 138, 140, 447, 544,
145, 485, 937, 657, 663, 664, 228, 228, 162, 477,
657, 331, 934, 941, 7, 940, 931, 821, 330, 737,
653, 6, 43, 26, 655, 654, 709, 653, 562, 939,
657, 267, 44, 516, 656, 658, 659, 358, 432, 665,
325, 656, 658, 659, 953, 932, 1002, 653, 735, 921,
251, 655, 654, 793, 298, 954, 897, 853, 153, 933,
586, 656, 658, 659, 270, 728, 665, 137, 586, 543,
898, 493, 272, 121, 192, 204, 311, 632, 192, 316,
320, 618, 585, 323, 114, 258, 329, 241, 633, 5,
510, 305, 619, 586, 450, 121, 121, 192, 499, 121,
121, 657, 663, 664, 511, 560, 339, 141, 677, 678,
126, 228, 121, 494, 310, 179, 561, 39, 653, 179,
182, 183, 655, 654, 159, 475, 357, 201, 556, 162,
506, 976, 656, 658, 659, 675, 676, 665, 179, 557,
177, 176, 359, 267, 507, 228, 178, 180, 181, 929,
178, 180, 181, 907, 117, 175, 360, 906, 355, 177,
176, 350, 904, 241, 126, 271, 121, 104, 861, 178,
180, 181, 356, 228, 175, 351, 270, 386, 126, 229,
121, 425, 230, 352, 272, 312, 210, 211, 212, 213,
214, 215, 216, 217, 218, 219, 220, 221, 233, 313,
302, 133, 657, 451, 855, 791, 595, 745, 301, 639,
232, 232, 228, 717, 300, 134, 620, 631, 120, 653,
456, 630, 624, 231, 231, 333, 451, 336, 393, 209,
451, 623, 611, 229, 597, 273, 230, 453, 610, 749,
120, 120, 353, 228, 303, 120, 596, 229, 265, 595,
230, 473, 233, 440, 748, 449, 604, 120, 294, 446,
295, 293, 287, 281, 131, 396, 233, 1018, 509, 160,
977, 490, 513, 254, 241, 253, 521, 271, 1001, 950,
915, 472, 885, 882, 504, 870, 825, 814, 930, 727,
39, 449, 693, 434, 634, 492, 449, 740, 491, 502,
498, 399, 505, 497, 625, 716, 621, 463, 465, 521,
430, 120, 428, 307, 913, 232, 541, 1013, 980, 892,
467, 484, 7, 139, 297, 120, 471, 297, 231, 6,
486, 824, 479, 480, 818, 809, 808, 192, 548, 495,
593, 682, 436, 437, 439, 546, 552, 273, 448, 232,
587, 572, 564, 572, 577, 572, 580, 458, 228, 551,
265, 400, 231, 537, 344, 288, 278, 345, 437, 436,
436, 295, 437, 275, 274, 588, 39, 232, 179, 182,
183, 250, 222, 196, 448, 189, 191, 195, 194, 448,
231, 144, 122, 1010, 876, 1009, 999, 5, 490, 177,
176, 135, 539, 989, 984, 540, 615, 983, 923, 178,
180, 181, 188, 190, 175, 912, 232, 609, 449, 449,
703, 704, 492, 498, 880, 491, 497, 811, 805, 231,
804, 309, 798, 308, 712, 1019, 699, 400, 581, 228,
703, 704, 547, 545, 542, 501, 449, 232, 616, 449,
614, 449, 398, 446, 348, 617, 156, 981, 316, 905,
231, 126, 320, 605, 637, 638, 975, 521, 917, 891,
641, 642, 890, 888, 681, 732, 521, 578, 306, 197,
435, 179, 39, 521, 521, 521, 521, 521, 192, 645,
224, 225, 648, 531, 874, 802, 803, 830, 635, 695,
696, 650, 572, 257, 652, 710, 647, 700, 228, 228,
228, 448, 448, 521, 7, 572, 718, 295, 726, 39,
39, 6, 91, 126, 515, 731, 531, 572, 580, 179,
126, 810, 729, 125, 612, 267, 259, 228, 228, 448,
730, 438, 448, 713, 448, 705, 739, 707, 680, 455,
723, 702, 424, 125, 295, 733, 987, 128, 129, 295,
687, 504, 232, 738, 126, 459, 742, 741, 270, 736,
126, 454, 126, 569, 570, 231, 272, 295, 228, 971,
228, 518, 427, 426, 304, 512, 744, 449, 299, 5,
126, 446, 573, 124, 754, 574, 282, 286, 469, 686,
260, 261, 132, 816, 521, 521, 521, 521, 521, 521,
2018-04-09 20:08:29 +00:00
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
2018-05-27 15:02:58 +00:00
521, 789, 743, 521, 54, 758, 321, 756, 295, 757,
864, 573, 317, 232, 574, 508, 259, 720, 573, 750,
595, 574, 463, 322, 790, 792, 231, 285, 62, 126,
521, 121, 132, 126, 468, 121, 486, 228, 126, 271,
121, 457, 263, 799, 576, 404, 402, 795, 208, 572,
448, 831, 207, 985, 531, 827, 572, 850, 819, 823,
226, 234, 1007, 531, 45, 725, 828, 813, 295, 832,
531, 531, 531, 531, 531, 851, 295, 856, 423, 453,
260, 261, 232, 232, 232, 742, 986, 609, 163, 796,
559, 858, 239, 338, 1017, 231, 231, 231, 229, 991,
531, 230, 268, 957, 955, 269, 925, 229, 521, 273,
230, 232, 232, 45, 521, 521, 896, 233, 259, 584,
893, 233, 265, 438, 231, 231, 233, 847, 848, 849,
846, 845, 844, 599, 878, 601, 600, 228, 550, 228,
877, 1003, 521, 883, 881, 572, 889, 884, 998, 854,
875, 960, 232, 800, 232, 935, 901, 859, 860, 820,
126, 760, 900, 572, 903, 231, 759, 231, 722, 651,
39, 649, 259, 1, 646, 259, 120, 284, 602, 887,
120, 470, 260, 261, 259, 120, 514, 228, 899, 438,
2018-04-09 20:08:29 +00:00
521, 531, 531, 531, 531, 531, 531, 531, 531, 531,
531, 531, 531, 531, 531, 531, 531, 531, 531, 531,
531, 531, 531, 531, 531, 531, 531, 531, 519, 259,
2018-05-27 15:02:58 +00:00
531, 922, 481, 259, 283, 908, 449, 395, 256, 39,
446, 324, 521, 936, 203, 285, 260, 261, 469, 260,
261, 232, 202, 199, 136, 879, 909, 531, 260, 261,
2018-05-02 00:36:53 +00:00
829, 519, 521, 747, 231, 521, 873, 753, 521, 863,
572, 962, 572, 970, 39, 445, 39, 812, 703, 704,
706, 703, 704, 608, 39, 589, 39, 39, 590, 591,
521, 684, 255, 260, 261, 572, 970, 260, 261, 956,
982, 839, 958, 39, 994, 961, 964, 39, 39, 521,
963, 572, 902, 483, 993, 403, 572, 995, 895, 997,
838, 835, 575, 566, 914, 1005, 916, 979, 1004, 448,
724, 394, 39, 572, 1011, 531, 924, 389, 926, 927,
1012, 531, 531, 164, 572, 1015, 992, 341, 697, 919,
39, 232, 919, 232, 538, 558, 928, 290, 460, 161,
157, 943, 318, 314, 231, 947, 231, 127, 948, 531,
335, 944, 1008, 343, 39, 938, 528, 607, 996, 969,
2018-05-27 15:02:58 +00:00
39, 968, 945, 967, 966, 837, 836, 834, 401, 40,
568, 15, 14, 822, 972, 719, 801, 694, 11, 249,
75, 232, 76, 116, 266, 64, 89, 598, 90, 520,
101, 74, 12, 326, 231, 100, 99, 531, 79, 519,
119, 526, 3, 990, 41, 0, 0, 0, 519, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 0, 519, 519, 519, 519, 519,
2018-05-27 15:02:58 +00:00
0, 0, 0, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 220, 221, 0, 0, 0, 1014, 531,
0, 0, 0, 0, 0, 519, 0, 1020, 0, 0,
169, 171, 170, 192, 0, 0, 0, 0, 0, 531,
0, 0, 531, 0, 0, 531, 209, 685, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 688, 689, 690, 691, 692, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 0, 0, 531, 0, 0,
0, 0, 167, 168, 179, 182, 183, 184, 185, 186,
187, 189, 191, 0, 0, 0, 531, 809, 808, 0,
0, 0, 0, 193, 173, 177, 176, 0, 0, 0,
0, 0, 172, 0, 174, 178, 180, 181, 188, 190,
175, 0, 0, 0, 0, 0, 519, 519, 519, 519,
2018-02-04 17:37:27 +00:00
519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
2018-04-09 20:08:29 +00:00
519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
2018-05-27 15:02:58 +00:00
519, 519, 519, 0, 0, 519, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 668, 666, 667, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 519, 0, 0, 761, 762, 763, 764, 765,
766, 767, 768, 769, 770, 771, 772, 773, 774, 775,
776, 777, 778, 779, 780, 781, 782, 783, 784, 785,
2018-05-27 15:02:58 +00:00
786, 788, 0, 0, 685, 670, 669, 657, 663, 664,
671, 672, 673, 674, 677, 678, 668, 666, 667, 0,
0, 869, 0, 0, 653, 0, 679, 661, 655, 654,
0, 0, 0, 0, 0, 660, 0, 662, 656, 658,
659, 675, 676, 665, 0, 0, 0, 0, 0, 0,
519, 0, 0, 0, 0, 0, 519, 519, 670, 669,
657, 663, 664, 671, 672, 673, 674, 677, 678, 0,
0, 0, 0, 0, 0, 31, 0, 653, 867, 679,
661, 655, 654, 0, 519, 0, 0, 0, 660, 0,
662, 656, 658, 659, 675, 676, 665, 0, 0, 147,
2018-04-09 20:08:29 +00:00
151, 155, 0, 0, 0, 165, 0, 0, 0, 868,
0, 0, 51, 198, 0, 871, 872, 0, 206, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 223,
0, 0, 519, 235, 236, 237, 238, 0, 154, 240,
2018-05-27 15:02:58 +00:00
0, 242, 243, 244, 245, 246, 247, 248, 0, 252,
0, 0, 0, 0, 262, 205, 0, 0, 0, 276,
2018-04-09 20:08:29 +00:00
277, 0, 279, 280, 0, 0, 0, 0, 227, 227,
2018-05-27 15:02:58 +00:00
0, 0, 0, 291, 519, 210, 211, 212, 213, 214,
215, 216, 217, 218, 219, 220, 221, 0, 0, 0,
0, 910, 0, 0, 519, 0, 0, 519, 0, 0,
519, 0, 670, 669, 657, 663, 664, 671, 672, 673,
674, 677, 678, 0, 0, 240, 0, 0, 209, 0,
342, 653, 519, 679, 661, 655, 654, 0, 0, 0,
0, 0, 660, 942, 662, 656, 658, 659, 675, 676,
665, 519, 0, 361, 362, 363, 364, 365, 366, 367,
2018-04-09 20:08:29 +00:00
368, 369, 370, 371, 372, 373, 374, 375, 376, 377,
378, 379, 380, 381, 382, 383, 384, 385, 0, 387,
2018-05-27 15:02:58 +00:00
0, 155, 0, 354, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 0, 406, 408, 409, 410, 411,
2018-05-27 15:02:58 +00:00
412, 413, 414, 415, 416, 417, 418, 419, 0, 0,
0, 0, 0, 0, 0, 0, 0, 391, 392, 670,
669, 657, 663, 664, 671, 672, 673, 674, 677, 678,
0, 0, 0, 0, 0, 0, 240, 0, 653, 433,
433, 661, 655, 654, 0, 422, 441, 0, 0, 660,
0, 662, 656, 658, 659, 675, 676, 665, 0, 0,
155, 155, 0, 0, 466, 0, 0, 433, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 433, 291, 0, 0, 0, 0, 433,
433, 0, 0, 155, 443, 0, 433, 496, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 500, 0, 0, 0, 0, 462, 464, 0,
0, 0, 83, 84, 72, 0, 105, 106, 126, 88,
121, 0, 0, 0, 0, 478, 95, 0, 0, 0,
487, 0, 0, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 220, 221, 45, 0, 0, 0, 549,
0, 0, 0, 0, 0, 0, 553, 81, 82, 0,
349, 0, 0, 0, 0, 0, 0, 52, 96, 0,
94, 110, 111, 112, 107, 108, 209, 0, 0, 0,
0, 0, 93, 0, 555, 0, 0, 143, 113, 109,
103, 489, 85, 86, 87, 0, 0, 0, 0, 80,
53, 155, 911, 0, 78, 42, 149, 0, 0, 0,
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
70, 71, 0, 0, 0, 0, 0, 0, 0, 0,
0, 668, 666, 667, 0, 0, 0, 0, 582, 0,
583, 0, 0, 0, 0, 0, 0, 613, 92, 77,
0, 0, 0, 0, 63, 482, 97, 0, 0, 488,
58, 57, 59, 60, 73, 120, 0, 0, 0, 0,
0, 626, 628, 670, 669, 657, 663, 664, 671, 672,
673, 674, 677, 678, 667, 636, 0, 0, 0, 0,
0, 0, 653, 0, 679, 661, 655, 654, 0, 0,
0, 0, 0, 660, 0, 662, 656, 658, 659, 675,
676, 665, 0, 0, 0, 0, 0, 0, 0, 0,
0, 478, 0, 0, 670, 669, 657, 663, 664, 671,
672, 673, 674, 677, 678, 0, 192, 0, 342, 701,
0, 0, 0, 653, 0, 679, 661, 655, 654, 0,
711, 0, 0, 0, 660, 0, 662, 656, 658, 659,
675, 676, 665, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 179, 182, 183,
184, 185, 186, 187, 189, 191, 0, 0, 0, 433,
391, 715, 715, 169, 171, 170, 192, 173, 177, 176,
746, 0, 0, 0, 0, 0, 433, 751, 178, 180,
181, 188, 190, 175, 0, 155, 0, 0, 0, 422,
422, 0, 0, 0, 0, 0, 0, 0, 0, 155,
0, 0, 668, 666, 667, 167, 168, 179, 182, 183,
184, 185, 186, 187, 189, 191, 0, 0, 0, 862,
0, 0, 462, 0, 0, 841, 193, 173, 177, 176,
478, 842, 478, 0, 840, 172, 487, 174, 178, 180,
181, 188, 190, 175, 670, 669, 657, 663, 664, 671,
672, 673, 674, 677, 678, 0, 0, 0, 0, 0,
0, 0, 797, 653, 0, 679, 661, 655, 654, 806,
0, 0, 0, 0, 660, 0, 662, 656, 658, 659,
675, 676, 665, 0, 0, 847, 848, 849, 846, 845,
844, 657, 663, 664, 671, 672, 673, 674, 677, 678,
0, 0, 0, 852, 0, 0, 433, 0, 653, 0,
0, 661, 655, 654, 433, 433, 0, 0, 0, 817,
0, 865, 656, 658, 659, 675, 676, 665, 0, 0,
894, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 4, 0, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 342, 0, 22, 0, 0, 0, 23, 24, 38,
45, 16, 25, 36, 0, 0, 37, 10, 0, 27,
0, 32, 81, 82, 8, 46, 48, 50, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 715,
0, 422, 9, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 28, 47, 49, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 478,
2018-02-01 18:40:04 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 92, 77, 17, 644, 35, 0, 63,
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 4, 0, 83, 84, 72, 18, 105, 106, 13,
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
2018-04-09 20:08:29 +00:00
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
2018-05-27 15:02:58 +00:00
0, 0, 0, 23, 24, 38, 45, 16, 25, 36,
2018-04-09 20:08:29 +00:00
0, 0, 37, 10, 0, 27, 0, 32, 81, 82,
8, 46, 48, 50, 0, 0, 0, 0, 52, 96,
2018-05-27 15:02:58 +00:00
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
0, 0, 0, 93, 0, 0, 0, 0, 9, 113,
2018-04-09 20:08:29 +00:00
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
2018-05-27 15:02:58 +00:00
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
69, 70, 71, 0, 0, 0, 0, 0, 0, 0,
2018-02-03 13:24:00 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 92,
77, 17, 503, 35, 0, 63, 0, 97, 0, 0,
0, 58, 57, 59, 60, 73, 120, 4, 0, 83,
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
33, 0, 34, 0, 0, 22, 0, 0, 0, 23,
24, 38, 45, 16, 25, 36, 0, 0, 37, 10,
0, 27, 0, 32, 81, 82, 8, 46, 48, 50,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 9, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 42, 28, 47, 49, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
2018-02-04 17:37:27 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 92, 77, 17, 0, 35,
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 328, 0, 83, 84, 72, 18, 105,
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
29, 20, 19, 0, 21, 0, 33, 0, 34, 0,
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
81, 82, 332, 46, 48, 50, 0, 0, 0, 0,
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
47, 49, 0, 0, 0, 55, 56, 0, 65, 66,
67, 68, 69, 70, 71, 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, 92, 77, 17, 1021, 35, 0, 63, 0, 97,
0, 0, 0, 58, 57, 59, 60, 73, 120, 328,
0, 83, 84, 72, 18, 105, 106, 13, 88, 121,
0, 30, 0, 0, 0, 95, 29, 20, 19, 0,
21, 0, 33, 0, 34, 0, 0, 22, 0, 0,
0, 23, 24, 38, 45, 0, 25, 36, 0, 0,
37, 0, 0, 27, 0, 32, 81, 82, 332, 46,
48, 50, 0, 0, 0, 0, 52, 96, 0, 94,
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
0, 0, 0, 78, 42, 28, 47, 49, 0, 0,
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
71, 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, 92, 77, 17,
1016, 35, 0, 63, 0, 97, 0, 0, 0, 58,
57, 59, 60, 73, 120, 328, 0, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
0, 32, 81, 82, 332, 46, 48, 50, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 28, 47, 49, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 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, 92, 77, 17, 1000, 35, 0, 63,
2018-04-09 20:08:29 +00:00
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 328, 0, 83, 84, 72, 18, 105, 106, 13,
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
2018-05-27 15:02:58 +00:00
19, 0, 21, 988, 33, 0, 34, 0, 0, 22,
2018-04-09 20:08:29 +00:00
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
332, 46, 48, 50, 0, 0, 0, 0, 52, 96,
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
2018-05-27 15:02:58 +00:00
69, 70, 71, 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, 92,
77, 17, 0, 35, 0, 63, 0, 97, 0, 0,
2018-04-09 20:08:29 +00:00
0, 58, 57, 59, 60, 73, 120, 328, 0, 83,
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
2018-05-27 15:02:58 +00:00
33, 974, 34, 0, 0, 22, 0, 0, 0, 23,
2018-04-09 20:08:29 +00:00
24, 38, 45, 0, 25, 36, 0, 0, 37, 0,
0, 27, 0, 32, 81, 82, 332, 46, 48, 50,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 42, 28, 47, 49, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
2018-05-27 15:02:58 +00:00
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, 92, 77, 17, 0, 35,
2018-04-09 20:08:29 +00:00
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 328, 0, 83, 84, 72, 18, 105,
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
2018-05-27 15:02:58 +00:00
29, 20, 19, 0, 21, 0, 33, 0, 34, 0,
2018-04-09 20:08:29 +00:00
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
81, 82, 332, 46, 48, 50, 0, 0, 0, 0,
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
47, 49, 0, 0, 0, 55, 56, 0, 65, 66,
2018-05-27 15:02:58 +00:00
67, 68, 69, 70, 71, 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,
2018-04-09 20:08:29 +00:00
0, 92, 77, 17, 973, 35, 0, 63, 0, 97,
0, 0, 0, 58, 57, 59, 60, 73, 120, 328,
0, 83, 84, 72, 18, 105, 106, 13, 88, 121,
0, 30, 0, 0, 0, 95, 29, 20, 19, 0,
21, 0, 33, 0, 34, 0, 0, 22, 0, 0,
0, 23, 24, 38, 45, 0, 25, 36, 0, 0,
37, 0, 0, 27, 0, 32, 81, 82, 332, 46,
48, 50, 0, 0, 0, 0, 52, 96, 0, 94,
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
0, 0, 0, 78, 42, 28, 47, 49, 0, 0,
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
2018-05-27 15:02:58 +00:00
71, 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, 92, 77, 17,
952, 35, 0, 63, 0, 97, 0, 0, 0, 58,
2018-04-09 20:08:29 +00:00
57, 59, 60, 73, 120, 328, 0, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
0, 32, 81, 82, 332, 46, 48, 50, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 28, 47, 49, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 17, 951, 35, 0, 63,
2018-04-09 20:08:29 +00:00
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 328, 0, 83, 84, 72, 18, 105, 106, 13,
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
2018-05-27 15:02:58 +00:00
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
2018-04-09 20:08:29 +00:00
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
332, 46, 48, 50, 0, 0, 0, 0, 52, 96,
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
2018-05-27 15:02:58 +00:00
69, 70, 71, 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, 92,
77, 17, 949, 35, 0, 63, 0, 97, 0, 0,
2018-04-09 20:08:29 +00:00
0, 58, 57, 59, 60, 73, 120, 328, 0, 83,
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
2018-05-27 15:02:58 +00:00
33, 0, 34, 886, 0, 22, 0, 0, 0, 23,
2018-04-09 20:08:29 +00:00
24, 38, 45, 0, 25, 36, 0, 0, 37, 0,
0, 27, 0, 32, 81, 82, 332, 46, 48, 50,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 42, 28, 47, 49, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
2018-05-27 15:02:58 +00:00
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, 92, 77, 17, 0, 35,
2018-04-09 20:08:29 +00:00
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
2018-05-27 15:02:58 +00:00
60, 73, 120, 328, 0, 83, 84, 72, 18, 105,
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
29, 20, 19, 698, 21, 0, 33, 0, 34, 0,
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
81, 82, 332, 46, 48, 50, 0, 0, 0, 0,
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
47, 49, 0, 0, 0, 55, 56, 0, 65, 66,
67, 68, 69, 70, 71, 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, 92, 77, 17, 0, 35, 0, 63, 0, 97,
0, 0, 0, 58, 57, 59, 60, 73, 120, 328,
0, 83, 84, 72, 18, 105, 106, 13, 88, 121,
0, 30, 0, 0, 0, 95, 29, 20, 19, 0,
21, 0, 33, 0, 34, 0, 0, 22, 0, 0,
0, 23, 24, 38, 45, 0, 25, 36, 0, 0,
37, 0, 0, 27, 0, 32, 81, 82, 332, 46,
48, 50, 0, 0, 0, 0, 52, 96, 0, 94,
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
0, 0, 0, 78, 42, 28, 47, 49, 0, 0,
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
71, 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, 92, 77, 17,
563, 35, 0, 63, 0, 97, 0, 0, 0, 58,
57, 59, 60, 73, 120, 328, 0, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
0, 32, 81, 82, 332, 46, 48, 50, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 28, 47, 49, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 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, 92, 77, 17, 327, 35, 0, 63,
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 328, 0, 83, 84, 72, 18, 105, 106, 13,
2018-04-09 20:08:29 +00:00
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
2018-05-27 15:02:58 +00:00
332, 46, 48, 50, 0, 0, 0, 0, 52, 96,
2018-04-09 20:08:29 +00:00
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
2018-04-09 20:08:29 +00:00
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
2018-05-27 15:02:58 +00:00
69, 70, 71, 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, 92,
77, 17, 0, 35, 0, 63, 0, 97, 0, 0,
0, 58, 57, 59, 60, 73, 120, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
0, 32, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 28, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 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, 92, 77, 17, 0, 35, 946, 63,
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 83, 84, 72, 18, 105, 106, 13, 88, 121,
0, 30, 0, 0, 0, 95, 29, 20, 19, 0,
21, 0, 33, 0, 34, 0, 0, 22, 0, 0,
0, 23, 24, 38, 45, 0, 25, 36, 0, 0,
37, 0, 0, 27, 0, 32, 81, 82, 0, 0,
0, 0, 0, 0, 0, 0, 52, 96, 0, 94,
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
0, 0, 0, 78, 42, 28, 0, 0, 0, 0,
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
71, 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, 92, 77, 17,
2018-04-09 20:08:29 +00:00
0, 35, 920, 63, 0, 97, 0, 0, 0, 58,
57, 59, 60, 73, 120, 83, 84, 72, 18, 105,
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
29, 20, 19, 0, 21, 0, 33, 0, 34, 0,
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
81, 82, 0, 0, 0, 0, 0, 0, 0, 0,
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
0, 0, 0, 0, 0, 55, 56, 0, 65, 66,
2018-05-27 15:02:58 +00:00
67, 68, 69, 70, 71, 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, 92, 77, 17, 0, 35, 721, 63, 0, 97,
0, 0, 0, 58, 57, 59, 60, 73, 120, 83,
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
33, 0, 34, 0, 0, 22, 0, 0, 0, 23,
24, 38, 45, 0, 25, 36, 0, 0, 37, 0,
0, 27, 0, 32, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 42, 28, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 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, 92, 77, 17, 0, 35,
337, 63, 0, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 83, 84, 72, 18, 105, 106, 13,
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
0, 0, 0, 0, 0, 0, 0, 0, 52, 96,
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
80, 53, 0, 0, 0, 78, 42, 28, 0, 0,
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
69, 70, 71, 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, 92,
77, 17, 0, 35, 334, 63, 0, 97, 0, 0,
2018-04-09 20:08:29 +00:00
0, 58, 57, 59, 60, 73, 120, 83, 84, 72,
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
0, 32, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
2018-05-27 15:02:58 +00:00
42, 28, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 17, 0, 35, 0, 63,
45, 97, 0, 0, 0, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 489, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
45, 97, 0, 0, 488, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
45, 97, 0, 0, 866, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
2018-04-09 20:08:29 +00:00
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
45, 97, 0, 0, 629, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
2018-05-27 15:02:58 +00:00
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
2018-04-09 20:08:29 +00:00
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
45, 97, 0, 0, 627, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
2018-05-27 15:02:58 +00:00
65, 66, 67, 68, 69, 70, 71, 83, 84, 72,
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
0, 95, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
45, 97, 0, 0, 292, 58, 57, 59, 60, 73,
120, 0, 81, 82, 0, 0, 0, 0, 0, 0,
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
42, 149, 0, 0, 0, 0, 0, 55, 56, 0,
65, 66, 67, 68, 69, 70, 71, 0, 0, 83,
2018-04-09 20:08:29 +00:00
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 92, 77, 0, 0, 0, 0, 63,
431, 97, 45, 0, 0, 58, 57, 59, 60, 73,
120, 0, 0, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 0,
0, 63, 45, 97, 0, 0, 407, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 0,
388, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 152,
0, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 150,
0, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 146,
0, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 442, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 0,
0, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
2018-05-27 15:02:58 +00:00
56, 0, 65, 66, 67, 68, 69, 70, 71, 83,
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 92, 77, 0, 0, 0,
0, 63, 45, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 0, 81, 82, 0, 0, 0, 0,
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
112, 107, 108, 0, 841, 0, 0, 0, 0, 93,
842, 0, 0, 840, 143, 113, 109, 103, 0, 85,
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
0, 78, 42, 149, 0, 0, 0, 0, 0, 55,
2018-04-09 20:08:29 +00:00
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
2018-05-27 15:02:58 +00:00
0, 169, 171, 170, 192, 0, 0, 0, 0, 0,
0, 0, 0, 0, 847, 848, 849, 846, 845, 844,
0, 0, 0, 0, 0, 92, 77, 794, 0, 0,
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
60, 73, 120, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 0, 0, 668, 666, 667, 833,
0, 0, 0, 857, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 755, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 670, 669,
657, 663, 664, 671, 672, 673, 674, 677, 678, 0,
0, 169, 171, 170, 192, 0, 0, 653, 0, 679,
661, 655, 654, 0, 0, 0, 0, 0, 660, 0,
662, 656, 658, 659, 675, 676, 665, 0, 0, 0,
2018-02-04 17:37:27 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 169, 171, 170, 192, 0, 0,
0, 0, 0, 0, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 167, 168, 179, 182,
183, 184, 185, 186, 187, 189, 191, 0, 0, 0,
752, 169, 171, 170, 192, 0, 0, 193, 173, 177,
176, 0, 0, 0, 0, 0, 172, 0, 174, 178,
180, 181, 188, 190, 175, 0, 0, 0, 0, 0,
2018-02-04 16:51:44 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 0, 0, 0, 708, 169, 171,
170, 192, 0, 0, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 0, 0, 0, 0, 0, 0, 0, 0,
2018-01-29 14:11:45 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
167, 168, 179, 182, 183, 184, 185, 186, 187, 189,
191, 0, 0, 0, 643, 169, 171, 170, 192, 0,
0, 193, 173, 177, 176, 0, 0, 0, 0, 0,
172, 0, 174, 178, 180, 181, 188, 190, 175, 0,
2018-02-03 17:33:22 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 0, 0, 167, 168, 179,
182, 183, 184, 185, 186, 187, 189, 191, 0, 0,
0, 640, 169, 171, 170, 192, 0, 0, 193, 173,
177, 176, 0, 0, 0, 0, 0, 172, 0, 174,
178, 180, 181, 188, 190, 175, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 167, 168, 179, 182, 183, 184,
185, 186, 187, 189, 191, 169, 171, 170, 192, 0,
0, 0, 622, 0, 0, 193, 173, 177, 176, 0,
0, 0, 0, 0, 172, 0, 174, 178, 180, 181,
188, 190, 175, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 167, 168, 179,
182, 183, 184, 185, 186, 187, 189, 191, 0, 0,
0, 603, 169, 171, 170, 192, 0, 0, 193, 173,
177, 176, 0, 0, 0, 0, 0, 172, 0, 174,
178, 180, 181, 188, 190, 175, 476, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 167, 168, 179, 182, 183, 184,
185, 186, 187, 189, 191, 169, 171, 170, 192, 0,
554, 0, 0, 0, 0, 193, 173, 177, 176, 0,
0, 0, 0, 0, 172, 0, 174, 178, 180, 181,
188, 190, 175, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 167, 168, 179,
182, 183, 184, 185, 186, 187, 189, 191, 169, 171,
170, 192, 0, 0, 0, 0, 0, 0, 193, 173,
177, 176, 0, 0, 0, 0, 0, 172, 0, 174,
178, 180, 181, 188, 190, 175, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 405, 0, 0, 0,
167, 168, 179, 182, 183, 184, 185, 186, 187, 189,
191, 0, 0, 0, 0, 0, 0, 0, 429, 0,
0, 193, 173, 177, 176, 169, 171, 170, 192, 0,
172, 0, 174, 178, 180, 181, 188, 190, 175, 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, 167, 168, 179,
182, 183, 184, 185, 186, 187, 189, 191, 169, 171,
170, 192, 0, 0, 0, 0, 0, 0, 193, 173,
177, 176, 0, 0, 0, 0, 0, 172, 0, 174,
178, 180, 181, 188, 190, 175, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
167, 168, 179, 182, 183, 184, 185, 186, 187, 189,
191, 169, 171, 170, 192, 397, 0, 0, 0, 0,
0, 193, 173, 177, 176, 0, 0, 0, 0, 0,
172, 0, 174, 178, 180, 181, 188, 190, 175, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 169, 171, 170, 192, 347, 0,
0, 0, 0, 0, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 167, 168, 179, 182,
183, 184, 185, 186, 187, 189, 191, 169, 171, 170,
192, 346, 0, 0, 0, 0, 0, 193, 173, 177,
176, 0, 0, 0, 0, 0, 172, 0, 174, 178,
180, 181, 188, 190, 175, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 668, 666, 667, 167,
168, 179, 182, 183, 184, 185, 186, 187, 189, 191,
0, 0, 0, 0, 166, 0, 0, 0, 0, 0,
193, 173, 177, 176, 0, 0, 0, 0, 0, 172,
0, 174, 178, 180, 181, 188, 190, 175, 670, 669,
657, 663, 664, 671, 672, 673, 674, 677, 678, 169,
171, 170, 192, 0, 0, 0, 0, 653, 0, 679,
661, 655, 654, 0, 0, 0, 0, 0, 660, 0,
662, 656, 658, 659, 675, 676, 665, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 666,
667, 167, 168, 179, 182, 183, 184, 185, 186, 187,
189, 191, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 193, 173, 177, 176, 0, 0, 0, 0,
0, 172, 0, 174, 178, 180, 181, 188, 190, 175,
670, 669, 657, 663, 664, 671, 672, 673, 674, 677,
678, 171, 170, 192, 0, 0, 0, 0, 0, 653,
0, 679, 661, 655, 654, 0, 0, 0, 0, 0,
660, 0, 662, 656, 658, 659, 675, 676, 665, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 167, 168, 179, 182, 183, 184, 185, 186,
187, 189, 191, 170, 192, 0, 0, 0, 0, 0,
0, 0, 0, 193, 173, 177, 176, 0, 0, 0,
0, 0, 172, 0, 174, 178, 180, 181, 188, 190,
175, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 192, 0, 0, 0, 0, 0,
0, 0, 0, 0, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 192, 0, 0, 0, 0, 0,
0, 0, 0, 0, 193, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 167, 168, 179, 182, 183, 184, 185,
186, 187, 189, 191, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 173, 177, 176, 0, 0,
0, 0, 0, 172, 0, 174, 178, 180, 181, 188,
190, 175, 669, 657, 663, 664, 671, 672, 673, 674,
677, 678, 192, 0, 0, 0, 0, 0, 0, 0,
653, 0, 0, 661, 655, 654, 0, 0, 0, 0,
0, 660, 0, 662, 656, 658, 659, 675, 676, 665,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 168, 179, 182, 183, 184, 185, 186, 187,
189, 191, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 173, 177, 176, 0, 0, 0, 0,
0, 172, 0, 174, 178, 180, 181, 188, 190, 175,
657, 663, 664, 671, 672, 673, 674, 677, 678, 192,
0, 0, 0, 0, 0, 0, 0, 653, 0, 0,
661, 655, 654, 0, 0, 0, 0, 0, 660, 0,
662, 656, 658, 659, 675, 676, 665, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
179, 182, 183, 184, 185, 186, 187, 189, 191, 0,
2018-02-01 18:40:04 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
173, 177, 176, 0, 0, 0, 0, 0, 172, 0,
174, 178, 180, 181, 188, 190, 175, 657, 663, 664,
671, 672, 673, 674, 677, 678, 192, 0, 0, 0,
0, 0, 0, 0, 653, 0, 0, 661, 655, 654,
0, 0, 0, 0, 0, 0, 0, 662, 656, 658,
659, 675, 676, 665, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 179, 182, 183,
184, 185, 186, 187, 189, 191, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 173, 177, 176,
0, 0, 0, 0, 0, 0, 0, 174, 178, 180,
181, 188, 190, 175, 657, 663, 664, 671, 672, 673,
674, 677, 678, 192, 0, 0, 0, 0, 0, 0,
0, 653, 0, 0, 0, 655, 654, 0, 0, 0,
0, 0, 0, 0, 0, 656, 658, 659, 675, 676,
665, 105, 106, 126, 0, 0, 0, 0, 0, 0,
0, 529, 0, 0, 179, 182, 183, 184, 185, 186,
187, 189, 191, 0, 105, 106, 126, 0, 0, 0,
0, 0, 0, 0, 529, 177, 176, 0, 0, 0,
0, 0, 0, 0, 0, 178, 180, 181, 188, 190,
175, 0, 0, 524, 0, 527, 110, 111, 112, 107,
108, 0, 0, 0, 0, 0, 0, 530, 0, 0,
0, 0, 522, 113, 109, 523, 524, 0, 527, 110,
111, 112, 107, 108, 0, 0, 0, 0, 0, 0,
530, 233, 0, 0, 0, 522, 113, 109, 523, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 233, 0, 0, 0, 0, 0,
2018-02-03 10:09:02 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-05-27 15:02:58 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 787, 536,
0, 525, 0, 0, 0, 535, 534, 532, 533, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 536, 0, 525, 0, 0, 0, 535, 534,
532, 533,
2018-01-29 14:11:45 +00:00
}
var yyPact = [...]int{
2018-05-27 15:02:58 +00:00
-1000, -1000, 2475, -1000, -1000, -1000, -1000, -1000, 296, 501,
570, 107, -1000, 306, -1000, -1000, 914, -1000, 227, 227,
5583, 295, 227, 6795, 6685, 6575, 362, 162, 756, 6905,
-1000, 8040, 292, 291, 287, -1000, 387, 6905, 913, 26,
912, 904, 6905, -1000, -1000, -1000, -1000, 680, -1000, 676,
-1000, 1368, 286, 6905, 436, 218, 218, 6905, 6905, 6905,
6905, -1000, -1000, 7125, -1000, 6905, 6905, 6905, 6905, 6905,
6905, 6905, 285, 6905, -1000, 177, 175, 891, 6905, 665,
703, 278, 277, 6905, 6905, 270, 6905, 6905, -1000, 165,
-1000, -1000, 887, 840, -1000, 164, 269, 6133, -1000, 163,
160, -1000, 228, 830, 560, -1000, -1000, -1000, -1000, -1000,
-1000, -1000, -1000, -1000, 116, 137, -1000, 556, 231, -1000,
386, -1000, 216, 339, -1000, 830, -1000, 91, 610, 604,
-1000, 674, 830, -1000, 901, -1000, -70, 4503, 5429, 7125,
5275, 752, 26, 521, 6905, 272, -1000, 7987, -1000, 707,
-1000, 7934, -1000, 360, 1606, 8132, -1000, 67, -1000, -1000,
150, 64, 26, -73, 48, 8132, -1000, 6905, 6905, 6905,
6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905,
6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905,
6905, 6905, 703, 6465, 218, 6905, 897, -1000, 7881, 358,
341, -1000, 671, 670, -1000, 1368, 7828, -1000, -1000, 6355,
6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905, 6905,
6905, 6905, 699, -1000, -1000, -1000, -1000, -1000, 228, 520,
830, 555, 554, -1000, -1000, 400, 400, 448, 400, 215,
7761, 213, 400, 400, 400, 400, 400, 400, 400, -1000,
6243, -1000, 400, 6905, 6905, 389, 684, 852, -1000, 246,
7015, 218, 8324, 134, 231, 543, -1000, 485, 517, 830,
664, 116, 137, 537, 6905, 6905, 8132, 8132, 6905, 8132,
8132, 6905, 574, 684, 843, -1000, 786, 6905, 6133, 152,
17, 7708, 218, 6905, 6905, 892, -1000, 1698, 228, 111,
6905, 6905, 116, 386, 138, -1000, 6905, 351, -1000, -1000,
2319, 228, -1000, 630, 36, -1000, 666, 830, -4, -1000,
606, 830, 856, 545, -77, 8856, -1000, -1000, -1000, -1000,
-1000, -1000, 267, -1000, -1000, -1000, -1000, -1000, 227, 265,
350, -39, 8132, -1000, 349, 348, -1000, -1000, -1000, -1000,
-1000, 162, -1000, 6905, -1000, -1000, 806, 263, 8856, -1000,
6905, 8462, 8549, 8223, 8324, 8274, 8636, 8723, 1836, 34,
34, 34, 448, 400, 448, 448, 57, 57, 297, 297,
297, 297, 38, 38, 38, 38, -1000, 7655, 6905, 31,
-1000, -1000, 996, 741, 8, -82, 4347, -1000, -1000, 256,
563, 668, 612, 385, 612, 6905, 8324, 708, 8324, 8324,
8324, 8324, 8324, 8324, 8324, 8324, 8324, 8324, 8324, 8324,
-15, -1000, -1000, 254, 830, 228, 134, 134, 242, -1000,
-1000, -1000, 147, 8132, 135, -1000, -1000, -1000, -1000, 803,
848, 7598, 158, 370, 231, 140, -1000, -1000, 116, 137,
-1000, 6905, -1000, -1000, 133, 830, 485, 134, 116, 133,
-16, -1000, 1368, -1000, 119, 209, 7545, 132, -1000, -1000,
-1000, 123, 207, -1000, -1000, 6023, 5913, -1000, -1000, 122,
118, -1000, -1000, -20, 197, -1000, -1000, 1368, 218, 6905,
-1000, 231, 231, -1000, -1000, 110, 7488, 231, 231, -1000,
7431, -1000, 2163, -1000, -1000, -1000, -1000, 610, 844, 527,
-1000, 604, 841, 522, -1000, 839, 8856, -1000, 8079, -1000,
-1000, 485, 516, 830, 245, 8856, -1000, -1000, -1000, -1000,
632, 532, 8856, 8856, 8856, 8856, 8856, 195, 456, 4659,
4191, 342, 6905, 6905, 458, -1000, 919, -1000, -1000, 7374,
-84, 563, -1000, 8132, 6905, 8374, 340, 218, 204, 204,
5121, 838, 8856, 704, 563, 192, -43, -1000, 26, -1000,
-1000, -1000, 485, 508, 830, 383, 612, -1000, -1000, -60,
-1000, -1000, 1368, -1000, 703, -91, 699, 699, 228, -1000,
-1000, 199, 643, 6905, -1000, 134, -1000, -1000, 108, -1000,
-1000, -1000, -1000, -1000, 6905, -1000, -1000, 156, 141, -1000,
6905, 6905, 116, 7317, -1000, 485, -1000, -1000, -1000, 6905,
-1000, -1000, -1000, -1000, -1000, -1000, 7264, 218, 8132, 218,
-1000, -1000, -1000, 5693, -1000, -1000, 8132, -1000, -1000, -1000,
-1000, -1000, -1000, -1000, -1000, -1000, -1000, 836, -1000, -1000,
831, -1000, -1000, 8856, 8856, 8856, 8856, 8856, 8856, 8856,
8856, 8856, 8856, 8856, 8856, 8856, 8856, 8856, 8856, 8856,
8856, 8856, 8856, 8856, 8856, 8856, 8856, 8856, 8856, 8833,
830, 485, 8856, 106, -55, 7209, 573, 717, 121, 121,
-71, -71, 1935, 338, -1000, 227, 5583, 452, 336, -1000,
334, 8132, -1000, 6905, 241, 438, 333, 916, -1000, 8856,
190, 8374, -1000, -1000, 595, -1000, 218, 238, 595, -1000,
-1000, -1000, -93, -1000, 697, 235, 189, 691, 563, 464,
830, 485, -1000, -60, 7156, 612, 231, 6905, -1000, -40,
6905, 643, -1000, 105, 231, -1000, 7154, 643, 6905, 6905,
69, 1896, -1000, 633, -1000, 5803, -1000, -1000, -1000, -1000,
-1000, 1239, -71, -71, 121, 121, 121, 121, 8586, 8673,
1980, -51, -51, -71, 1785, 1383, 8171, 8499, 8412, 20,
20, 20, 20, -78, -78, -78, -78, 8856, 1186, 485,
188, -1000, -1000, 8856, 8856, -1000, -1000, -1000, -1000, 5583,
-1000, 449, 227, 299, -1000, 6905, 1053, -1000, -1000, -1000,
-1000, -1000, 330, -1000, 691, 186, 204, -1000, 699, 185,
4035, 8856, -1000, 381, 612, 380, 377, 223, -1000, 788,
-1000, 485, 2007, -1000, -1000, 784, -38, -1000, 707, 709,
-1000, 826, 612, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
-1000, -1000, 8324, -1000, 63, -1000, -1000, 366, -1000, 58,
54, -1000, -1000, -1000, 134, 8132, 218, -1000, 1490, 8856,
-1000, 1734, 8079, -1000, 321, 219, -1000, 183, -1000, 4659,
-1000, 376, 4967, -1000, -48, 4967, 314, -1000, -1000, 774,
-1000, -1000, 187, -94, -1000, -49, -98, -1000, 825, 26,
-1000, -108, -79, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
1490, 8856, -1000, -1000, 4659, 4813, 4659, -1000, -1000, -1000,
-1000, -1000, -1000, -1000, 3879, 182, 3723, 3567, -53, -1000,
772, 8856, -1000, 771, 8856, -116, 821, 8856, -1000, 612,
-1000, 619, 8079, 4659, -1000, -1000, -1000, 3411, 3255, -1000,
374, -1000, -1000, -1000, 169, -1000, -1000, -117, -1000, 8856,
222, -1000, -1000, 364, 619, -1000, 313, 310, 688, 737,
528, -1000, 3099, -1000, 309, -1000, -1000, 767, 8856, -1000,
563, -1000, -1000, -1000, -1000, 612, 709, 818, 302, -1000,
2943, -1000, -1000, 181, -62, -1000, 811, -1000, -1000, -1000,
701, 301, 612, -1000, -1000, 701, -1000, 221, -1000, -1000,
-1000, -1000, -1000, 612, 2787, 762, -1000, 170, 343, -1000,
2631, -1000,
2018-01-29 14:11:45 +00:00
}
var yyPgo = [...]int{
2018-05-27 15:02:58 +00:00
0, 29, 1094, 1092, 38, 31, 30, 572, 1091, 1090,
134, 217, 204, 88, 1385, 82, 72, 59, 684, 1422,
1088, 33, 1086, 1085, 1083, 136, 1082, 36, 37, 1081,
1080, 1079, 1078, 135, 1077, 1076, 24, 1075, 26, 48,
45, 1074, 708, 34, 1073, 1, 1072, 1070, 27, 1069,
73, 68, 61, 1068, 1067, 1066, 35, 1065, 1063, 4,
1062, 1061, 1060, 17, 1059, 1058, 1057, 1056, 1055, 51,
5, 1054, 1053, 1051, 1049, 1048, 2, 1047, 631, 1046,
2018-05-02 00:36:53 +00:00
18, 22, 1045, 1043, 1042, 15, 1041, 1040, 39, 0,
1037, 1033, 1032, 117, 1030, 1029, 553, 1028, 1027, 42,
8, 1026, 9, 1024, 1018, 1017, 14, 49, 1013, 1007,
1001, 1000, 998, 995, 3, 993, 16, 992, 991, 990,
988, 985, 28, 983, 982, 980, 976, 974, 971, 962,
21, 961, 959, 958, 25, 955, 23, 12, 953, 40,
945, 939, 937, 933, 41, 6, 19, 13, 930, 853,
2018-04-09 20:08:29 +00:00
7, 20,
2017-11-23 15:33:47 +00:00
}
var yyR1 = [...]int{
2018-05-02 00:36:53 +00:00
0, 149, 88, 88, 89, 89, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 90, 90,
4, 4, 4, 4, 91, 91, 5, 5, 5, 5,
92, 92, 6, 6, 6, 6, 53, 53, 93, 93,
2018-04-09 20:08:29 +00:00
24, 24, 24, 24, 24, 25, 25, 26, 26, 26,
2018-02-03 17:33:22 +00:00
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
2018-05-02 00:36:53 +00:00
26, 26, 26, 26, 26, 111, 111, 58, 58, 112,
112, 113, 113, 59, 109, 109, 56, 51, 52, 147,
147, 148, 148, 60, 61, 61, 64, 64, 64, 64,
65, 65, 2, 121, 121, 117, 117, 122, 122, 146,
146, 145, 145, 145, 86, 86, 85, 85, 57, 57,
110, 110, 83, 83, 83, 83, 107, 107, 107, 150,
150, 87, 87, 103, 103, 104, 104, 54, 54, 55,
55, 114, 114, 115, 115, 63, 63, 62, 62, 62,
62, 81, 81, 81, 123, 123, 69, 69, 69, 69,
94, 94, 27, 27, 27, 95, 95, 95, 95, 116,
116, 66, 66, 66, 66, 68, 124, 124, 82, 82,
125, 125, 126, 126, 70, 70, 71, 127, 127, 74,
74, 73, 72, 72, 75, 75, 84, 84, 118, 118,
119, 119, 128, 128, 76, 76, 76, 76, 76, 76,
120, 120, 120, 120, 67, 67, 108, 108, 106, 106,
105, 105, 134, 134, 132, 132, 133, 133, 133, 135,
135, 42, 15, 15, 15, 15, 15, 15, 15, 15,
2018-02-03 17:33:22 +00:00
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
2018-02-04 17:37:27 +00:00
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
2018-04-09 20:08:29 +00:00
15, 15, 15, 15, 15, 15, 50, 50, 50, 50,
2018-05-02 00:36:53 +00:00
47, 47, 47, 47, 46, 46, 1, 102, 102, 101,
101, 101, 101, 23, 23, 23, 23, 23, 23, 23,
2018-04-09 20:08:29 +00:00
23, 11, 11, 11, 11, 45, 45, 45, 43, 43,
2018-05-02 00:36:53 +00:00
41, 41, 142, 142, 141, 49, 49, 49, 129, 129,
129, 80, 80, 7, 7, 7, 7, 7, 7, 7,
2018-04-09 20:08:29 +00:00
7, 7, 7, 7, 7, 8, 28, 78, 78, 78,
78, 78, 78, 78, 78, 78, 78, 79, 79, 79,
2018-02-18 18:29:33 +00:00
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
2018-04-09 20:08:29 +00:00
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
35, 35, 35, 35, 29, 29, 29, 29, 29, 29,
2018-05-02 00:36:53 +00:00
29, 130, 130, 151, 151, 131, 131, 131, 131, 14,
14, 48, 48, 16, 17, 18, 19, 19, 143, 143,
136, 138, 138, 77, 137, 137, 137, 40, 40, 44,
2018-04-09 20:08:29 +00:00
44, 12, 22, 22, 20, 20, 20, 21, 21, 21,
2018-05-02 00:36:53 +00:00
10, 10, 10, 9, 9, 13, 13, 139, 139, 140,
140, 140, 39, 39, 144, 144, 100, 100, 38, 38,
38, 99, 99, 98, 98, 98, 98, 98, 98, 98,
98, 96, 96, 96, 96, 33, 33, 33, 33, 33,
2018-04-09 20:08:29 +00:00
33, 34, 34, 34, 37, 37, 37, 37, 37, 37,
2018-05-02 00:36:53 +00:00
37, 37, 97, 97, 36, 36, 30, 30, 31, 32,
2017-11-23 15:33:47 +00:00
}
var yyR2 = [...]int{
2018-04-09 20:08:29 +00:00
0, 1, 2, 0, 1, 3, 1, 1, 1, 1,
4, 3, 5, 4, 3, 4, 4, 2, 3, 1,
1, 3, 2, 4, 3, 1, 1, 3, 2, 4,
3, 1, 1, 3, 2, 4, 5, 4, 2, 0,
1, 1, 1, 1, 4, 1, 2, 3, 5, 8,
3, 5, 9, 3, 2, 3, 2, 3, 2, 3,
3, 2, 3, 3, 3, 1, 2, 5, 8, 8,
5, 1, 6, 3, 3, 0, 9, 0, 4, 1,
0, 1, 2, 8, 1, 3, 1, 1, 1, 0,
1, 0, 1, 9, 7, 6, 1, 2, 1, 2,
0, 2, 1, 0, 2, 0, 2, 1, 3, 0,
2, 1, 2, 4, 1, 4, 1, 4, 1, 4,
3, 5, 3, 4, 4, 5, 0, 5, 4, 1,
1, 1, 4, 0, 4, 0, 5, 0, 2, 0,
3, 1, 0, 1, 3, 4, 6, 0, 1, 1,
1, 2, 3, 3, 1, 3, 1, 1, 2, 2,
3, 1, 1, 2, 4, 3, 5, 1, 3, 2,
0, 3, 2, 1, 8, 3, 1, 3, 1, 3,
0, 1, 1, 2, 2, 2, 3, 1, 3, 1,
1, 3, 4, 3, 0, 1, 1, 3, 1, 1,
0, 1, 1, 2, 1, 1, 1, 1, 1, 1,
3, 5, 1, 3, 5, 4, 3, 1, 0, 1,
3, 1, 2, 1, 4, 3, 2, 1, 1, 0,
1, 3, 6, 3, 4, 6, 2, 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, 1, 1, 4, 5, 4, 1, 2,
2, 2, 2, 2, 2, 2, 2, 2, 1, 1,
1, 3, 2, 1, 9, 10, 2, 2, 4, 4,
4, 4, 4, 4, 4, 3, 1, 0, 4, 3,
4, 1, 2, 2, 4, 3, 4, 4, 4, 4,
2, 1, 1, 3, 2, 1, 3, 2, 1, 1,
4, 1, 2, 0, 2, 0, 2, 1, 0, 1,
1, 0, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 3, 2, 3, 1, 1, 1, 1,
3, 2, 4, 3, 1, 1, 1, 4, 3, 3,
3, 3, 3, 3, 2, 2, 3, 3, 3, 3,
2018-01-29 14:42:52 +00:00
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
2018-04-09 20:08:29 +00:00
3, 3, 3, 3, 3, 4, 5, 2, 2, 3,
1, 1, 3, 2, 1, 1, 1, 1, 3, 3,
1, 0, 2, 0, 1, 5, 3, 3, 1, 1,
1, 3, 3, 1, 1, 1, 5, 1, 2, 0,
3, 4, 4, 1, 1, 1, 0, 1, 2, 3,
3, 1, 4, 4, 1, 1, 1, 1, 2, 1,
4, 4, 1, 1, 4, 0, 1, 1, 1, 4,
4, 1, 1, 3, 1, 2, 3, 1, 1, 4,
0, 0, 2, 5, 3, 3, 1, 6, 4, 4,
2, 2, 2, 1, 2, 1, 4, 3, 3, 6,
3, 1, 1, 1, 4, 4, 4, 2, 2, 4,
2, 2, 1, 3, 1, 1, 3, 3, 3, 3,
2017-11-23 15:33:47 +00:00
}
var yyChk = [...]int{
2018-05-02 00:36:53 +00:00
-1000, -149, -88, -3, 2, -25, -51, -52, 51, 79,
2018-05-27 15:02:58 +00:00
44, -53, -26, 10, -60, -61, 38, 142, 7, 21,
2018-04-09 20:08:29 +00:00
20, 23, 30, 34, 35, 39, -50, 46, 98, 19,
2018-05-27 15:02:58 +00:00
14, -14, 48, 25, 27, 144, 40, 43, 36, -1,
2018-04-09 20:08:29 +00:00
-64, -2, 97, -16, -15, 37, 52, 99, 53, 100,
2018-05-27 15:02:58 +00:00
54, -19, 59, 92, -18, 104, 105, 153, 152, 154,
155, -48, -42, 146, -37, 107, 108, 109, 110, 111,
112, 113, 6, 156, -29, -47, -46, 141, 96, -20,
2018-04-09 20:08:29 +00:00
91, 49, 50, 4, 5, 84, 85, 86, 11, -35,
2018-05-27 15:02:58 +00:00
-32, -7, 140, 74, 62, 18, 60, 148, -21, -22,
2018-05-02 00:36:53 +00:00
-23, -30, -89, 82, -11, 8, 9, 66, 67, 81,
63, 64, 65, 80, -10, -144, -44, -12, -40, -9,
157, 12, 146, -89, 142, 82, 10, -90, 37, 38,
-4, -89, 82, 144, 158, 145, 10, -93, -48, 146,
2018-05-27 15:02:58 +00:00
-48, -25, -1, 79, 146, -48, 144, -14, 97, 98,
2018-05-02 00:36:53 +00:00
144, -14, 144, -15, -19, -14, 144, -94, -27, 12,
157, -95, -1, 12, -108, -14, 144, 129, 130, 87,
2018-05-27 15:02:58 +00:00
89, 88, 159, 151, 161, 167, 153, 152, 162, 131,
163, 164, 132, 133, 134, 135, 136, 137, 165, 138,
166, 139, 90, 150, 146, 146, 146, 142, -14, 10,
2018-05-02 00:36:53 +00:00
-147, 151, 10, 10, -15, -19, -14, 52, 52, 160,
2018-05-27 15:02:58 +00:00
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
2018-05-02 00:36:53 +00:00
127, 128, 146, -14, 104, 105, -18, -19, -89, 79,
2018-04-09 20:08:29 +00:00
82, -11, -12, 98, -18, -14, -14, -14, -14, -42,
-14, -50, -14, -14, -14, -14, -14, -14, -14, -49,
2018-05-02 00:36:53 +00:00
146, -48, -14, 148, 148, -129, 17, -96, -33, 12,
76, 77, -14, 57, -43, -11, -41, -89, 79, 82,
-21, -10, -144, -12, 146, 146, -14, -14, 146, -14,
-14, 148, -96, 17, 17, 75, -96, 148, 146, -99,
-98, -14, 151, 148, 148, 82, -81, 146, -89, 78,
2018-04-29 16:58:49 +00:00
148, 142, -10, 157, 78, -81, 142, 147, 144, 142,
2018-05-02 00:36:53 +00:00
-88, -89, 144, 158, -91, -5, -89, 82, -92, -6,
-89, 82, 29, -89, 10, 160, -24, 143, 2, -25,
-51, -52, 51, -25, 145, -87, -25, 145, 21, -147,
-106, -105, -14, -83, 142, 145, 144, 144, 144, 144,
144, 158, -16, 142, -19, 144, 158, -147, 160, 144,
2018-05-27 15:02:58 +00:00
158, -14, -14, -14, -14, -14, -14, -14, -14, -14,
2018-02-03 17:33:22 +00:00
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
2018-05-02 00:36:53 +00:00
-14, -14, -14, -14, -14, -14, -43, -14, 145, -109,
-56, -19, -19, -15, -110, 10, -93, 144, 144, 10,
146, -65, 55, -121, 55, 58, -14, 151, -14, -14,
2018-02-04 17:37:27 +00:00
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
2018-05-02 00:36:53 +00:00
-100, -38, -19, 59, 82, -89, 78, 78, 147, 147,
2018-05-27 15:02:58 +00:00
147, 147, -13, -14, -13, 141, -33, -33, 17, 148,
2018-05-02 00:36:53 +00:00
57, -14, 11, -19, -139, -140, -40, -39, -10, -144,
10, 142, -80, -81, 78, 82, -89, 57, -10, 78,
-97, -36, -19, -15, -19, -15, -14, -13, 140, 75,
75, -13, -99, 149, -151, 158, 58, -17, -19, -13,
-13, 10, 147, -123, -50, -69, -15, -19, 151, 83,
2018-04-29 16:58:49 +00:00
-81, -39, -40, 10, 52, -13, -14, -39, -40, 10,
2018-05-02 00:36:53 +00:00
-14, 144, -88, 143, -81, -4, 144, 158, 29, -89,
144, 158, 29, -89, 10, 29, 160, -28, -78, -7,
-31, -89, 79, 82, 60, 148, -8, 62, -79, 18,
74, -11, 154, 155, 153, 152, 146, 146, -103, -93,
-93, -48, 144, 158, -107, 144, -107, 144, -27, -14,
2018-05-27 15:02:58 +00:00
12, 146, -28, -14, 145, -14, 147, 158, 29, 29,
2018-05-02 00:36:53 +00:00
147, 158, 160, 143, 146, -114, -115, -63, -62, 60,
61, -45, -89, 79, 82, -117, 56, -45, 142, -122,
-45, -15, -19, -19, 91, 147, 158, 146, -89, -135,
-133, -132, -134, 148, -136, 57, 149, 149, -34, 10,
13, 12, 10, 143, 148, 143, -137, -77, -138, -81,
148, 142, -10, -14, -40, -89, -139, -40, 147, 158,
2018-05-27 15:02:58 +00:00
147, 147, 147, 149, 149, 147, -14, 151, -14, 151,
2018-04-29 16:58:49 +00:00
149, 149, 147, 158, 147, -17, -14, -81, -81, 149,
143, -81, -81, 143, 143, -5, 10, 29, -6, 10,
2018-05-27 15:02:58 +00:00
29, 10, -28, 148, 153, 152, 162, 131, 163, 164,
159, 151, 161, 132, 133, 167, 88, 89, 87, 130,
129, 134, 135, 136, 137, 165, 166, 138, 139, 150,
2018-05-02 00:36:53 +00:00
82, -89, 146, -130, -131, -78, 17, 78, -78, -78,
-78, -78, -78, 147, -54, 93, 94, -104, 22, 144,
-106, -14, 143, 32, 33, -107, 31, -107, 143, 160,
-114, -14, 144, -56, -145, -19, 151, 59, -145, -57,
-25, 145, 10, -28, -111, 41, -114, 147, 158, -147,
82, -89, 142, -122, -116, 158, -43, 160, -38, -100,
148, -134, -136, -13, -139, 149, -14, -143, 148, 148,
-13, -14, 143, -142, -36, 58, -17, -17, -69, 10,
2018-04-09 20:08:29 +00:00
10, -78, -78, -78, -78, -78, -78, -78, -78, -78,
2018-02-18 18:29:33 +00:00
-78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
2018-05-02 00:36:53 +00:00
-78, -78, -78, -78, -78, -78, -78, 145, -78, -89,
-130, 149, -151, 158, 58, 10, 52, 147, 144, -48,
2018-05-27 15:02:58 +00:00
-25, -55, 93, 94, 144, 144, -14, -150, 145, 144,
2018-05-02 00:36:53 +00:00
143, 144, 31, -28, 147, -146, 58, -19, 146, -146,
-93, 160, -58, 42, 146, 147, -102, 44, -63, -148,
83, -89, -116, 143, -66, -118, -67, -68, -119, -128,
2018-04-09 20:08:29 +00:00
47, 38, 44, -76, 103, 102, 101, 98, 99, 100,
2018-05-02 00:36:53 +00:00
-45, -80, -14, 147, -13, 149, -137, 149, -136, -13,
-13, 149, 143, -141, 57, -14, 151, 149, -78, 145,
147, -78, -78, -25, 95, -48, 145, -106, -150, -93,
144, -102, 147, -145, -100, 147, 28, -28, 142, -45,
142, 142, 146, 12, 143, -120, 12, 144, 158, -1,
-76, 10, -124, -45, 149, 143, 149, 149, -139, -17,
-78, 58, 144, 145, -93, 147, -93, 142, -85, -25,
145, 147, -85, 144, -93, 12, -93, -93, -101, 12,
151, 160, 144, 158, 160, 10, -147, 160, -82, 158,
144, 142, -78, -93, -86, -25, 145, -93, -93, 143,
2018-05-27 15:02:58 +00:00
147, 143, 143, 147, 158, 12, -28, 12, -28, 160,
2018-05-02 00:36:53 +00:00
10, -28, -45, -125, -126, -70, -71, -72, -73, -74,
-45, 10, -93, 143, 26, 142, 12, 151, 160, -28,
2018-05-27 15:02:58 +00:00
146, 143, -70, 144, 144, 45, 29, 78, 24, 144,
2018-05-02 00:36:53 +00:00
-93, 12, -28, -114, -127, -45, -75, -76, 10, 144,
143, 147, 158, 10, -112, -113, -59, 41, -84, 144,
142, -45, -59, 146, -93, -45, 143, 12, 147, 142,
-93, 143,
2017-11-23 15:33:47 +00:00
}
var yyDef = [...]int{
2018-04-09 20:08:29 +00:00
3, -2, -2, 2, 6, 7, 8, 9, 0, 0,
0, 0, 45, 4, 87, 88, 0, 39, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 331, 0,
65, 0, 0, 0, 0, 71, 0, 0, 0, 89,
0, 0, 303, 429, 430, 316, 96, 0, 98, 0,
102, -2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 283, 284, 0, 288, 0, 0, 0, 0, 0,
0, 0, 345, 0, 298, 299, 300, 348, 0, 437,
0, 0, 0, 0, 0, 0, 0, 0, 414, 415,
416, 417, 0, 0, 420, 355, 0, 481, 454, 455,
456, 410, -2, 0, 0, 353, 354, 356, 357, 358,
359, 360, 361, 362, -2, 0, 459, 0, 0, 462,
474, 463, 0, 0, 3, 0, 4, 0, 0, 0,
19, 20, 0, 17, 0, 46, 0, 0, 0, 0,
0, 0, 89, 0, 218, 0, 54, 0, 303, 331,
56, 0, 58, 430, -2, 0, 61, 0, 161, 162,
0, 0, 89, 167, 0, 217, 66, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-01-29 14:11:45 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 0, 0, 0, 0, 0, 39, 0, 0,
0, 90, 100, 103, -2, -2, 0, 97, 99, 0,
2018-01-29 14:11:45 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, 0, 480, 236, 249, 251, 250, 435, 332, 0,
0, 0, 0, 331, 252, 270, 271, 272, 273, 284,
0, 0, 289, 290, 291, 292, 293, 294, 295, 296,
0, 347, 297, 465, 465, 0, 349, 350, 493, 495,
0, 0, 302, 0, 351, 338, 339, 332, 0, 0,
341, -2, 0, 0, 0, 0, 507, 508, 0, 510,
511, 465, 0, 0, 0, 364, 0, 465, 481, 0,
423, 486, 0, 465, 465, 0, 323, 0, -2, 0,
465, 0, -2, 475, 0, 330, 0, 0, 11, 3,
0, -2, 14, 0, 0, 25, 26, 0, 0, 31,
32, 0, 0, 22, 0, 0, 38, 47, 40, 41,
42, 43, 0, 133, 39, 50, 131, 39, 0, 0,
0, 219, 221, 53, 126, 126, 55, 57, 59, 60,
62, 0, 163, 0, 433, 63, 0, 0, 0, 64,
0, 253, 254, 255, 256, 257, 258, 259, 260, 261,
262, 263, 264, 265, 266, 267, 268, 269, -2, -2,
-2, -2, -2, -2, -2, -2, 282, 0, 0, 0,
84, 86, -2, 430, 0, 0, 0, 73, 74, 0,
-2, 105, 0, 0, 0, 0, 233, 0, 237, 238,
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
0, 477, 478, 0, 0, 334, 0, 0, 229, 431,
432, 346, 0, 466, 0, 301, 494, 491, 492, 0,
0, 0, 414, 0, 446, 467, 468, 471, 447, 0,
472, 0, 231, 352, 0, 0, 334, 0, 458, 0,
0, 512, -2, -2, -2, 430, 0, 0, 418, 363,
419, 0, 0, 315, 482, 424, 0, 490, 434, 0,
0, 5, 151, 0, 0, 154, -2, -2, 0, 0,
325, 0, 449, -2, 519, 0, 0, 0, 450, -2,
0, 10, 0, 13, 324, 18, 15, 0, 0, 28,
16, 0, 0, 34, 21, 0, 0, 37, 366, 367,
368, -2, 0, 0, 0, 421, 374, 375, 376, 355,
0, 0, 0, 0, 0, 0, 0, 0, 137, -2,
0, 0, 218, 0, 0, 126, 0, 126, 160, 0,
165, -2, 168, 216, 0, 287, 0, 0, 0, 0,
0, 0, 0, 75, -2, 0, 141, 143, 89, 148,
149, 150, 335, 0, 0, 0, 0, 101, 170, 104,
107, -2, -2, 234, 0, 0, 480, 480, 333, 285,
230, 227, 228, 465, 223, 0, 311, 310, 0, 501,
502, 503, 497, 498, 0, 500, 439, 444, 445, 443,
465, 0, 448, 0, 449, 333, 343, 450, 504, 0,
505, 506, 509, 313, 312, 314, 484, 0, 485, 0,
452, 453, 152, 0, 153, 158, 159, 326, 327, 460,
461, 328, 329, 464, 12, 24, 27, 0, 30, 33,
0, 23, 36, 0, 0, 0, 0, 0, 0, 0,
2018-01-29 14:11:45 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-02-03 17:33:22 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2018-04-09 20:08:29 +00:00
0, -2, 421, 0, 423, 428, 0, 0, 384, 385,
407, 408, 0, 0, 48, 0, 0, 139, 0, 51,
0, 220, 122, 0, 0, 0, 0, 0, 164, 0,
0, 286, 67, 85, 109, 111, 0, 0, 109, 70,
118, 39, 0, 120, 77, 0, 0, 317, 147, 91,
0, 337, 170, 106, 200, 0, 351, 0, 476, 0,
465, 226, 222, 0, 446, 496, 0, 436, 465, 465,
0, 0, 473, 340, 513, 0, 488, 489, 155, 29,
35, 0, 378, 379, 380, 381, 382, 383, 386, 387,
388, 389, 390, 391, 392, 393, 394, 395, 396, -2,
-2, -2, -2, -2, -2, -2, -2, 0, 0, -2,
0, 373, 422, 424, 0, 365, 518, 409, 44, 0,
138, 0, 0, 0, 132, 218, 0, 39, 129, 130,
123, 124, 0, 166, 317, 0, 0, 112, 480, 0,
0, 0, 72, 0, 0, 0, 0, 0, 144, 0,
92, 336, 200, 95, 169, 0, 0, 173, 0, -2,
199, 0, 0, 202, 204, 205, 206, 207, 208, 209,
108, 235, 232, 479, 0, 225, 440, 0, 438, 0,
0, 469, 470, 342, 0, 483, 0, 377, 405, 0,
372, 426, 427, 134, 0, 0, 39, 0, 39, -2,
125, 0, 0, 110, 0, 0, 0, 121, 39, 0,
39, 39, 0, 145, 94, 0, 212, 172, 0, 89,
203, 0, 0, 176, 224, 499, 442, 441, 344, 487,
406, 0, 49, 39, -2, 0, -2, 39, 68, 116,
39, 113, 69, 119, 0, 0, 0, 0, 0, 321,
0, 0, 171, 0, 0, 0, 0, 0, 175, 0,
178, 180, 425, -2, 52, 114, 39, 0, 0, 78,
0, 93, 304, 318, 0, 322, 146, 210, 213, 0,
0, 215, 177, 0, 181, 182, 0, 0, 190, 0,
0, -2, 0, 305, 0, 39, 319, 0, 0, 214,
-2, 179, 183, 184, 185, 0, 194, 0, 0, 117,
0, 320, 211, 0, 186, 187, 0, -2, 191, 115,
80, 0, 0, 192, 76, 79, 81, 0, 174, 196,
39, 188, 82, 0, 0, 0, 197, 0, 0, 39,
0, 83,
2017-11-23 15:33:47 +00:00
}
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,
2018-05-27 15:02:58 +00:00
3, 3, 3, 154, 140, 3, 157, 164, 151, 3,
146, 147, 162, 153, 158, 152, 167, 163, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 145, 144,
165, 160, 166, 150, 156, 3, 3, 3, 3, 3,
2017-11-23 15:33:47 +00:00
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
2018-05-27 15:02:58 +00:00
3, 148, 3, 149, 161, 3, 141, 3, 3, 3,
2017-11-23 15:33:47 +00:00
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
2018-05-27 15:02:58 +00:00
3, 3, 3, 142, 159, 143, 155,
2017-11-23 15:33:47 +00:00
}
var yyTok2 = [...]int{
2018-01-29 14:11:45 +00:00
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,
2018-05-27 15:02:58 +00:00
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,
2017-11-23 15:33:47 +00:00
}
var yyTok3 = [...]int{
0,
}
var yyErrorMessages = [...]struct {
state int
token int
msg string
}{}
2017-11-24 01:36:58 +00:00
//line yaccpar:1
2017-11-23 15:33:47 +00:00
/* parser for yacc output */
var (
yyDebug = 0
yyErrorVerbose = false
)
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]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:270
2017-11-23 15:33:47 +00:00
{
2018-05-02 09:14:24 +00:00
yylex.(*Parser).rootNode = node.NewRoot(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(yylex.(*Parser).rootNode, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2017-11-23 15:33:47 +00:00
}
2017-11-29 21:53:45 +00:00
case 2:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:278
2018-01-29 14:11:45 +00:00
{
2018-04-09 20:08:29 +00:00
if yyDollar[2].node != nil {
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
}
2018-01-29 14:11:45 +00:00
}
case 3:
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:283
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = []node.Node{}
2017-11-29 21:53:45 +00:00
}
case 4:
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:288
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
namePart := name.NewNamePart(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(namePart, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-29 14:11:45 +00:00
yyVAL.list = []node.Node{namePart}
yylex.(*Parser).comments.AddComments(namePart, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
case 5:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:295
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
namePart := name.NewNamePart(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(namePart, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yyVAL.list = append(yyDollar[1].list, namePart)
yylex.(*Parser).comments.AddComments(namePart, yyDollar[3].token.Comments())
2017-11-29 21:53:45 +00:00
}
case 6:
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:305
2017-11-29 21:53:45 +00:00
{
2018-04-09 20:08:29 +00:00
// error
yyVAL.node = nil
2017-11-29 21:53:45 +00:00
}
case 7:
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:310
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 21:53:45 +00:00
}
case 8:
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:312
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 21:53:45 +00:00
}
case 9:
2018-04-09 20:08:29 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:314
2018-04-09 20:08:29 +00:00
{
yyVAL.node = yyDollar[1].node
}
case 10:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:316
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewHaltCompiler()
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 11:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:322
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewNamespace(name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 12:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:332
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewNamespace(name, yyDollar[4].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 13:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:342
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewNamespace(nil, yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 14:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:348
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUseList(nil, yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 15:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:354
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
useType := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[2].token.Comments())
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUseList(useType, yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 16:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:364
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
useType := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[2].token.Comments())
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUseList(useType, yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 17:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:374
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 18:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:379
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 19:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:381
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 20:
2017-11-29 21:53:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:386
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 21:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:396
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 22:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:409
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 23:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:419
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[4].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[4].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 24:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:435
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 25:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:437
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 26:
2017-11-29 21:53:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:442
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 27:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:452
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 28:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:465
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 29:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:475
2018-01-29 14:11:45 +00:00
{
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[4].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[4].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 30:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:491
2017-11-29 21:53:45 +00:00
{
2018-01-29 14:11:45 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 31:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:493
2018-01-29 14:11:45 +00:00
{
yyVAL.list = []node.Node{yyDollar[1].node}
}
2018-04-09 20:08:29 +00:00
case 32:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:498
2018-01-29 14:11:45 +00:00
{
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 33:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:508
2018-01-29 14:11:45 +00:00
{
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 34:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:521
2018-01-29 14:11:45 +00:00
{
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 35:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:531
2018-01-29 14:11:45 +00:00
{
name := name.NewName(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
alias := node.NewIdentifier(yyDollar[4].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yyVAL.node = stmt.NewUse(nil, name, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
2018-01-29 14:11:45 +00:00
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
yylex.(*Parser).comments.AddComments(alias, yyDollar[4].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[2].list))
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 36:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:547
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
name := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[3].token.Comments())
2018-02-03 10:09:02 +00:00
constant := stmt.NewConstant(name, yyDollar[5].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[3].token.Comments())
2018-02-03 10:09:02 +00:00
constList := yyDollar[1].node.(*stmt.ConstList)
constList.Consts = append(constList.Consts, constant)
yyVAL.node = yyDollar[1].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeNodeListPosition(yyDollar[1].node, constList.Consts))
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 37:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:563
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
name := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[2].token.Comments())
2018-02-03 10:09:02 +00:00
constant := stmt.NewConstant(name, yyDollar[4].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[2].token.Comments())
2018-02-03 10:09:02 +00:00
constList := []node.Node{constant}
yyVAL.node = stmt.NewConstList(constList)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, constList))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 38:
2018-01-29 19:12:12 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:582
2018-01-29 19:12:12 +00:00
{
2018-04-09 20:08:29 +00:00
if yyDollar[2].node != nil {
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
}
2018-01-29 19:12:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 39:
2018-01-29 19:12:12 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:588
2018-01-29 19:12:12 +00:00
{
yyVAL.list = []node.Node{}
}
2018-04-09 20:08:29 +00:00
case 40:
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:594
2018-04-09 20:08:29 +00:00
{
// error
yyVAL.node = nil
}
case 41:
2018-01-29 19:12:12 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:599
2018-01-29 19:12:12 +00:00
{
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 42:
2018-01-29 19:12:12 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:601
2018-01-29 19:12:12 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = yyDollar[1].node
2018-01-29 19:12:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 43:
2017-11-29 21:53:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:603
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 44:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:605
2017-11-29 21:53:45 +00:00
{
2018-02-03 10:09:02 +00:00
yyVAL.node = stmt.NewHaltCompiler()
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 45:
2017-11-29 21:53:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:615
2018-01-29 14:11:45 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 46:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:617
2018-01-29 19:12:12 +00:00
{
2018-02-03 10:09:02 +00:00
label := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(label, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-02-03 10:09:02 +00:00
yyVAL.node = stmt.NewLabel(label)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
2018-02-03 10:09:02 +00:00
yylex.(*Parser).comments.AddComments(label, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-29 19:12:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 47:
2018-01-29 19:12:12 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:630
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 48:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:636
2018-01-29 14:11:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewIf(yyDollar[2].node, yyDollar[3].node, yyDollar[4].list, yyDollar[5].node)
if yyDollar[5].node != nil {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
2018-02-03 12:29:23 +00:00
} else if len(yyDollar[4].list) > 0 {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[4].list))
2018-02-03 12:29:23 +00:00
} else {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
2018-02-03 12:29:23 +00:00
}
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 49:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-8 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:650
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
stmts := stmt.NewStmtList(yyDollar[4].list)
yylex.(*Parser).positions.AddPosition(stmts, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[4].list))
2018-02-03 12:29:23 +00:00
2018-02-08 10:48:38 +00:00
yyVAL.node = stmt.NewAltIf(yyDollar[2].node, stmts, yyDollar[5].list, yyDollar[6].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 50:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:659
2017-11-29 21:53:45 +00:00
{
2018-05-02 00:36:53 +00:00
switch n := yyDollar[3].node.(type) {
case *stmt.While:
n.Cond = yyDollar[2].node
case *stmt.AltWhile:
n.Cond = yyDollar[2].node
2018-02-18 17:44:17 +00:00
}
2018-05-02 00:36:53 +00:00
yyVAL.node = yyDollar[3].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 51:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:673
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewDo(yyDollar[2].node, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 52:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-9 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:679
{
switch n := yyDollar[9].node.(type) {
case *stmt.For:
n.Init = yyDollar[3].list
n.Cond = yyDollar[5].list
n.Loop = yyDollar[7].list
case *stmt.AltFor:
n.Init = yyDollar[3].list
n.Cond = yyDollar[5].list
n.Loop = yyDollar[7].list
2018-02-18 17:57:54 +00:00
}
2018-05-02 00:36:53 +00:00
yyVAL.node = yyDollar[9].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 53:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:697
2017-11-29 21:53:45 +00:00
{
2018-04-29 20:10:56 +00:00
switch n := yyDollar[3].node.(type) {
case *stmt.Switch:
n.Cond = yyDollar[2].node
case *stmt.AltSwitch:
n.Cond = yyDollar[2].node
default:
panic("unexpected node type")
2018-02-18 18:39:41 +00:00
}
2018-04-29 20:10:56 +00:00
yyVAL.node = yyDollar[3].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 54:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:713
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewBreak(nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 55:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:719
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewBreak(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 56:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:725
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewContinue(nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 57:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:731
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewContinue(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 58:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:737
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewReturn(nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 59:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:743
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewReturn(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 60:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:749
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewReturn(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 61:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:755
2017-11-29 21:53:45 +00:00
{
2018-02-12 21:10:53 +00:00
yyVAL.node = stmt.NewExpression(yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 62:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:761
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewGlobal(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 63:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:767
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewStatic(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 64:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:773
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewEcho(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 65:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:779
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewInlineHtml(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 66:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:785
2017-11-29 21:53:45 +00:00
{
2018-02-08 10:48:38 +00:00
yyVAL.node = stmt.NewExpression(yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 67:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:791
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewUnset(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 68:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-8 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:797
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:41:34 +00:00
if yyDollar[6].foreachVariable.node == nil {
2018-05-02 00:36:53 +00:00
switch n := yyDollar[8].node.(type) {
case *stmt.Foreach:
n.Expr = yyDollar[3].node
n.ByRef = yyDollar[5].foreachVariable.byRef
n.Variable = yyDollar[5].foreachVariable.node
case *stmt.AltForeach:
n.Expr = yyDollar[3].node
n.ByRef = yyDollar[5].foreachVariable.byRef
n.Variable = yyDollar[5].foreachVariable.node
2018-02-18 18:29:33 +00:00
}
2018-02-03 12:41:34 +00:00
} else {
2018-05-02 00:36:53 +00:00
switch n := yyDollar[8].node.(type) {
case *stmt.Foreach:
n.Expr = yyDollar[3].node
n.Key = yyDollar[5].foreachVariable.node
n.ByRef = yyDollar[6].foreachVariable.byRef
n.Variable = yyDollar[6].foreachVariable.node
case *stmt.AltForeach:
n.Expr = yyDollar[3].node
n.Key = yyDollar[5].foreachVariable.node
n.ByRef = yyDollar[6].foreachVariable.byRef
n.Variable = yyDollar[6].foreachVariable.node
2018-02-18 18:29:33 +00:00
}
2018-02-03 12:41:34 +00:00
}
2018-05-02 00:36:53 +00:00
yyVAL.node = yyDollar[8].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 69:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-8 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:830
2017-11-29 21:53:45 +00:00
{
2018-02-03 12:41:34 +00:00
if yyDollar[6].foreachVariable.node == nil {
2018-05-02 00:36:53 +00:00
switch n := yyDollar[8].node.(type) {
case *stmt.Foreach:
n.Expr = yyDollar[3].node
n.ByRef = yyDollar[5].foreachVariable.byRef
n.Variable = yyDollar[5].foreachVariable.node
case *stmt.AltForeach:
n.Expr = yyDollar[3].node
n.ByRef = yyDollar[5].foreachVariable.byRef
n.Variable = yyDollar[5].foreachVariable.node
2018-02-18 18:29:33 +00:00
}
2018-02-03 12:41:34 +00:00
} else {
2018-05-02 00:36:53 +00:00
switch n := yyDollar[8].node.(type) {
case *stmt.Foreach:
n.Expr = yyDollar[3].node
n.Key = yyDollar[5].foreachVariable.node
n.ByRef = yyDollar[6].foreachVariable.byRef
n.Variable = yyDollar[6].foreachVariable.node
case *stmt.AltForeach:
n.Expr = yyDollar[3].node
n.Key = yyDollar[5].foreachVariable.node
n.ByRef = yyDollar[6].foreachVariable.byRef
n.Variable = yyDollar[6].foreachVariable.node
2018-02-18 18:29:33 +00:00
}
2018-02-03 12:41:34 +00:00
}
2018-05-02 00:36:53 +00:00
yyVAL.node = yyDollar[8].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 70:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:863
2017-11-29 21:53:45 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewDeclare(yyDollar[3].list, yyDollar[5].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 71:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:869
2017-11-29 21:53:45 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewNop()
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 72:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:875
2017-11-29 21:53:45 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewTry(yyDollar[3].list, yyDollar[5].list, yyDollar[6].node)
if yyDollar[6].node == nil {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[5].list))
2018-02-03 13:24:00 +00:00
} else {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
2018-02-03 13:24:00 +00:00
}
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:53:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 73:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:887
2017-11-27 23:09:44 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewThrow(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-27 23:09:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 74:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:893
2017-11-27 23:09:44 +00:00
{
2018-02-03 13:24:00 +00:00
label := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(label, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewGoto(label)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2018-02-03 13:24:00 +00:00
yylex.(*Parser).comments.AddComments(label, yyDollar[2].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-27 23:09:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 75:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:906
2017-11-24 01:36:58 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = []node.Node{}
2017-11-24 01:36:58 +00:00
}
2018-04-09 20:08:29 +00:00
case 76:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-9 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:908
2017-11-24 01:36:58 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[4].token.Comments())
2018-02-03 13:24:00 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[4].token.Comments())
2018-02-03 13:24:00 +00:00
catch := stmt.NewCatch([]node.Node{yyDollar[3].node}, variable, yyDollar[7].list)
yylex.(*Parser).positions.AddPosition(catch, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
yylex.(*Parser).comments.AddComments(catch, yyDollar[1].token.Comments())
2018-02-03 13:24:00 +00:00
yyVAL.list = append([]node.Node{catch}, yyDollar[9].list...)
2017-11-24 01:36:58 +00:00
}
2018-04-09 20:08:29 +00:00
case 77:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:926
{
2018-02-03 13:24:00 +00:00
yyVAL.node = nil
}
2018-04-09 20:08:29 +00:00
case 78:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:928
{
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewFinally(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
}
2018-04-09 20:08:29 +00:00
case 79:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:937
2018-01-29 19:12:12 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = yyDollar[1].list
2018-01-29 19:12:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 80:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:939
2017-11-30 16:25:41 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = []node.Node{}
2017-11-30 16:25:41 +00:00
}
2018-04-09 20:08:29 +00:00
case 81:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:944
2017-11-30 17:23:46 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-30 17:23:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 82:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:946
{
2018-02-03 13:24:00 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
}
2018-04-09 20:08:29 +00:00
case 83:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-8 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:951
2017-11-30 16:25:41 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[4].token.Comments())
2018-02-03 13:24:00 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[4].token.Comments())
2018-02-03 13:24:00 +00:00
yyVAL.node = stmt.NewCatch([]node.Node{yyDollar[3].node}, variable, yyDollar[7].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 16:25:41 +00:00
}
2018-04-09 20:08:29 +00:00
case 84:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:968
2017-11-30 17:16:01 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-30 17:16:01 +00:00
}
2018-04-09 20:08:29 +00:00
case 85:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:970
2017-11-30 16:25:41 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-30 16:25:41 +00:00
}
2018-04-09 20:08:29 +00:00
case 86:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:975
2017-11-30 17:04:52 +00:00
{
2018-02-03 13:24:00 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 87:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:980
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 88:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:985
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 89:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:990
{
2018-02-03 17:33:22 +00:00
yyVAL.boolWithToken = boolWithToken{false, nil}
}
2018-04-09 20:08:29 +00:00
case 90:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:992
{
yyVAL.boolWithToken = boolWithToken{true, yyDollar[1].token}
}
2018-04-09 20:08:29 +00:00
case 91:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:997
2017-11-28 16:00:27 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.boolWithToken = boolWithToken{false, nil}
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 92:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:999
2017-11-30 17:37:45 +00:00
{
yyVAL.boolWithToken = boolWithToken{true, yyDollar[1].token}
2017-11-30 17:37:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 93:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-9 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1004
{
2018-02-03 17:33:22 +00:00
name := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[3].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewFunction(name, yyDollar[2].boolWithToken.value, yyDollar[5].list, nil, yyDollar[8].list, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[9].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
}
2018-04-09 20:08:29 +00:00
case 94:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-7 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1017
2017-11-28 19:47:12 +00:00
{
2018-02-03 17:33:22 +00:00
switch n := yyDollar[1].node.(type) {
case *stmt.Class:
name := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-02-03 17:33:22 +00:00
n.ClassName = name
n.Stmts = yyDollar[6].list
n.Extends = yyDollar[3].node
n.Implements = yyDollar[4].list
case *stmt.Trait:
// TODO: is it possible that trait extend or implement
name := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-02-03 17:33:22 +00:00
n.TraitName = name
n.Stmts = yyDollar[6].list
}
yyVAL.node = yyDollar[1].node
2017-11-28 19:47:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 95:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1038
2017-11-28 19:56:09 +00:00
{
2018-02-03 17:33:22 +00:00
name := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[2].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewInterface(name, yyDollar[3].list, yyDollar[5].list, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 19:56:09 +00:00
}
2018-04-09 20:08:29 +00:00
case 96:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1052
2017-11-28 16:00:27 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewClass(nil, nil, nil, nil, nil, nil, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 97:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1058
2017-11-28 20:04:30 +00:00
{
2018-02-03 17:33:22 +00:00
classModifier := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(classModifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(classModifier, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewClass(nil, []node.Node{classModifier}, nil, nil, nil, nil, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:04:30 +00:00
}
2018-04-09 20:08:29 +00:00
case 98:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1068
2017-11-28 20:17:11 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewTrait(nil, nil, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 99:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1074
2017-11-28 20:36:21 +00:00
{
2018-02-03 17:33:22 +00:00
classModifier := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(classModifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(classModifier, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = stmt.NewClass(nil, []node.Node{classModifier}, nil, nil, nil, nil, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 100:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1087
2017-11-28 20:47:44 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = nil
2017-11-28 20:47:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 101:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1089
2017-11-28 20:47:44 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[2].node
2017-11-28 20:47:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 102:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1094
2017-11-28 19:47:12 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.token = yyDollar[1].token
2017-11-28 19:47:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 103:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1099
2017-12-01 07:15:46 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.list = nil
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 104:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1101
2017-11-29 13:53:44 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.list = yyDollar[2].list
2017-11-29 13:53:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 105:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1106
2018-02-03 17:33:22 +00:00
{
yyVAL.list = nil
}
2018-04-09 20:08:29 +00:00
case 106:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1108
2017-11-29 13:53:44 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.list = yyDollar[2].list
2017-11-29 13:53:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 107:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1113
2017-11-29 13:49:32 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 13:49:32 +00:00
}
2018-04-09 20:08:29 +00:00
case 108:
2017-11-30 17:04:52 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1115
2017-11-28 19:47:12 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-28 19:47:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 109:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1120
2017-11-29 13:33:59 +00:00
{
2018-02-03 12:41:34 +00:00
yyVAL.foreachVariable = foreachVariable{nil, false}
2017-11-29 13:33:59 +00:00
}
2018-04-09 20:08:29 +00:00
case 110:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1122
2017-11-30 17:04:52 +00:00
{
2018-02-03 12:41:34 +00:00
yyVAL.foreachVariable = yyDollar[2].foreachVariable
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 111:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1127
2017-11-30 17:04:52 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.foreachVariable = foreachVariable{yyDollar[1].node, false}
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 112:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1129
2017-11-30 17:04:52 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.foreachVariable = foreachVariable{yyDollar[2].node, true}
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 113:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1131
2017-11-30 17:04:52 +00:00
{
2018-02-01 10:35:43 +00:00
list := expr.NewList(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(list, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2018-02-01 10:35:43 +00:00
yyVAL.foreachVariable = foreachVariable{list, false}
yylex.(*Parser).comments.AddComments(list, yyDollar[1].token.Comments())
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 114:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1141
2018-02-03 12:29:23 +00:00
{
2018-05-02 00:36:53 +00:00
yyVAL.node = stmt.NewFor(nil, nil, nil, yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2018-02-03 12:29:23 +00:00
}
2018-04-09 20:08:29 +00:00
case 115:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1146
2018-02-03 12:41:34 +00:00
{
2018-05-02 00:36:53 +00:00
stmtList := stmt.NewStmtList(yyDollar[2].list)
yyVAL.node = stmt.NewAltFor(nil, nil, nil, stmtList)
yylex.(*Parser).positions.AddPosition(stmtList, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2018-02-03 12:41:34 +00:00
}
2018-04-09 20:08:29 +00:00
case 116:
2018-02-03 12:41:34 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1158
2018-02-03 12:41:34 +00:00
{
2018-05-02 00:36:53 +00:00
yyVAL.node = stmt.NewForeach(nil, nil, nil, yyDollar[1].node, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2018-02-03 12:41:34 +00:00
}
2018-04-09 20:08:29 +00:00
case 117:
2018-02-03 12:41:34 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1163
2018-02-03 12:29:23 +00:00
{
2018-05-02 00:36:53 +00:00
stmtList := stmt.NewStmtList(yyDollar[2].list)
yyVAL.node = stmt.NewAltForeach(nil, nil, nil, stmtList, false)
yylex.(*Parser).positions.AddPosition(stmtList, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2018-02-03 12:29:23 +00:00
}
2018-04-09 20:08:29 +00:00
case 118:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1175
2018-02-03 13:24:00 +00:00
{
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 119:
2018-02-03 13:24:00 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1177
2018-02-03 13:24:00 +00:00
{
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 13:24:00 +00:00
}
2018-04-09 20:08:29 +00:00
case 120:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1187
2017-11-30 17:04:52 +00:00
{
2018-02-03 13:24:00 +00:00
name := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-03 13:24:00 +00:00
constant := stmt.NewConstant(name, yyDollar[3].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[1].token.Comments())
2018-02-03 13:24:00 +00:00
yyVAL.list = []node.Node{constant}
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 121:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1199
2017-11-30 17:04:52 +00:00
{
2018-02-03 13:24:00 +00:00
name := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[3].token.Comments())
2018-02-03 13:24:00 +00:00
constant := stmt.NewConstant(name, yyDollar[5].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[3].token.Comments())
2018-02-03 13:24:00 +00:00
yyVAL.list = append(yyDollar[1].list, constant)
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 122:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1215
2017-11-30 17:04:52 +00:00
{
2018-04-29 20:10:56 +00:00
caseList := stmt.NewCaseList(yyDollar[2].list)
yyVAL.node = stmt.NewSwitch(nil, caseList)
yylex.(*Parser).positions.AddPosition(caseList, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 123:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1223
2017-11-30 17:04:52 +00:00
{
2018-04-29 20:10:56 +00:00
caseList := stmt.NewCaseList(yyDollar[3].list)
yyVAL.node = stmt.NewSwitch(nil, caseList)
yylex.(*Parser).positions.AddPosition(caseList, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 124:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1231
2017-11-30 17:04:52 +00:00
{
2018-04-29 20:10:56 +00:00
caseList := stmt.NewCaseList(yyDollar[2].list)
yyVAL.node = stmt.NewAltSwitch(nil, caseList)
yylex.(*Parser).positions.AddPosition(caseList, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 125:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1239
2017-11-30 17:04:52 +00:00
{
2018-04-29 20:10:56 +00:00
caseList := stmt.NewCaseList(yyDollar[3].list)
yyVAL.node = stmt.NewAltSwitch(nil, caseList)
yylex.(*Parser).positions.AddPosition(caseList, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[3].list))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 126:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1252
2018-02-03 12:29:23 +00:00
{
yyVAL.list = []node.Node{}
}
2018-04-09 20:08:29 +00:00
case 127:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1254
2017-11-30 17:04:52 +00:00
{
2018-02-03 12:29:23 +00:00
_case := stmt.NewCase(yyDollar[3].node, yyDollar[5].list)
yylex.(*Parser).positions.AddPosition(_case, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list))
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, _case)
yylex.(*Parser).comments.AddComments(_case, yyDollar[2].token.Comments())
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 128:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1261
2017-11-30 17:04:52 +00:00
{
2018-02-03 12:29:23 +00:00
_default := stmt.NewDefault(yyDollar[4].list)
yylex.(*Parser).positions.AddPosition(_default, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list))
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, _default)
yylex.(*Parser).comments.AddComments(_default, yyDollar[2].token.Comments())
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 131:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1278
2017-11-30 17:04:52 +00:00
{
2018-05-02 00:36:53 +00:00
yyVAL.node = stmt.NewWhile(nil, yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 132:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1283
2017-11-30 17:04:52 +00:00
{
2018-05-02 00:36:53 +00:00
stmtList := stmt.NewStmtList(yyDollar[2].list)
yyVAL.node = stmt.NewAltWhile(nil, stmtList)
yylex.(*Parser).positions.AddPosition(stmtList, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[2].list))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2017-11-30 17:04:52 +00:00
}
2018-04-09 20:08:29 +00:00
case 133:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1296
2017-11-29 13:33:59 +00:00
{
2018-02-08 21:31:38 +00:00
yyVAL.list = nil
2017-11-29 13:33:59 +00:00
}
2018-04-09 20:08:29 +00:00
case 134:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1298
2017-11-29 13:33:59 +00:00
{
2018-02-03 12:29:23 +00:00
_elseIf := stmt.NewElseIf(yyDollar[3].node, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(_elseIf, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(_elseIf, yyDollar[2].token.Comments())
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, _elseIf)
2017-11-29 13:33:59 +00:00
}
2018-04-09 20:08:29 +00:00
case 135:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1310
2018-02-03 12:29:23 +00:00
{
2018-02-08 10:48:38 +00:00
yyVAL.list = nil
2018-02-03 12:29:23 +00:00
}
2018-04-09 20:08:29 +00:00
case 136:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1312
2017-11-28 19:47:12 +00:00
{
2018-02-03 12:29:23 +00:00
stmts := stmt.NewStmtList(yyDollar[5].list)
yylex.(*Parser).positions.AddPosition(stmts, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[5].list))
2018-02-03 12:29:23 +00:00
_elseIf := stmt.NewAltElseIf(yyDollar[3].node, stmts)
yylex.(*Parser).positions.AddPosition(_elseIf, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list))
yylex.(*Parser).comments.AddComments(_elseIf, yyDollar[2].token.Comments())
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, _elseIf)
2017-11-28 19:47:12 +00:00
}
2018-04-09 20:08:29 +00:00
case 137:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1327
2017-11-28 19:56:09 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = nil
2017-11-28 19:56:09 +00:00
}
2018-04-09 20:08:29 +00:00
case 138:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1329
2018-02-03 12:29:23 +00:00
{
yyVAL.node = stmt.NewElse(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 12:29:23 +00:00
}
2018-04-09 20:08:29 +00:00
case 139:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1339
2017-11-28 19:56:09 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.node = nil
2017-11-28 19:56:09 +00:00
}
2018-04-09 20:08:29 +00:00
case 140:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1341
2018-02-03 12:29:23 +00:00
{
stmts := stmt.NewStmtList(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(stmts, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[3].list))
2018-02-03 12:29:23 +00:00
yyVAL.node = stmt.NewAltElse(stmts)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 12:29:23 +00:00
}
2018-04-09 20:08:29 +00:00
case 141:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1354
2018-02-03 17:33:22 +00:00
{
yyVAL.list = yyDollar[1].list
}
2018-04-09 20:08:29 +00:00
case 142:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1356
2018-02-03 17:33:22 +00:00
{
yyVAL.list = nil
}
2018-04-09 20:08:29 +00:00
case 143:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1361
2018-02-03 17:33:22 +00:00
{
yyVAL.list = []node.Node{yyDollar[1].node}
}
2018-04-09 20:08:29 +00:00
case 144:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1363
2018-02-03 17:33:22 +00:00
{
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
}
2018-04-09 20:08:29 +00:00
case 145:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1368
2017-11-28 19:56:09 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
if yyDollar[1].node != nil {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
} else if yyDollar[2].boolWithToken.value == true {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[2].boolWithToken.token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
2018-02-03 17:33:22 +00:00
} else if yyDollar[3].boolWithToken.value == true {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[3].boolWithToken.token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
2018-02-03 17:33:22 +00:00
} else {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
}
2017-11-28 19:56:09 +00:00
}
2018-04-09 20:08:29 +00:00
case 146:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1394
2017-11-28 19:56:09 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
if yyDollar[1].node != nil {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[6].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
} else if yyDollar[2].boolWithToken.value == true {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[2].boolWithToken.token, yyDollar[6].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
2018-02-03 17:33:22 +00:00
} else if yyDollar[3].boolWithToken.value == true {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].boolWithToken.token, yyDollar[6].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
2018-02-03 17:33:22 +00:00
} else {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
}
2017-11-28 19:56:09 +00:00
}
2018-04-09 20:08:29 +00:00
case 147:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1424
2018-02-01 10:35:43 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = nil
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 148:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1426
2017-11-28 20:04:30 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:04:30 +00:00
}
2018-04-09 20:08:29 +00:00
case 149:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1432
2017-11-28 20:04:30 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:04:30 +00:00
}
2018-04-09 20:08:29 +00:00
case 150:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1438
2017-11-28 20:17:11 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 151:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1444
2017-11-28 20:17:11 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = node.NewArgumentList(nil)
// save position
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 152:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1451
2017-11-28 20:17:11 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = node.NewArgumentList(yyDollar[2].list)
// save position
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 153:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1458
2018-02-03 18:13:11 +00:00
{
arg := node.NewArgument(yyDollar[2].node, false, false)
2018-04-29 16:58:49 +00:00
yyVAL.node = node.NewArgumentList([]node.Node{arg})
2018-02-03 18:13:11 +00:00
2018-04-29 16:58:49 +00:00
// save position
yylex.(*Parser).positions.AddPosition(arg, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[2].node))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2018-02-03 18:13:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 154:
2018-02-03 18:13:11 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1471
2018-02-03 18:13:11 +00:00
{
yyVAL.list = []node.Node{yyDollar[1].node}
}
2018-04-09 20:08:29 +00:00
case 155:
2018-02-03 18:13:11 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1473
2017-11-28 20:17:11 +00:00
{
2018-02-03 18:13:11 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 156:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1478
2017-11-30 18:36:10 +00:00
{
2018-02-03 18:13:11 +00:00
yyVAL.node = node.NewArgument(yyDollar[1].node, false, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 157:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1484
2017-11-30 18:36:10 +00:00
{
2018-02-03 18:13:11 +00:00
yyVAL.node = node.NewArgument(yyDollar[1].node, false, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 158:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1490
2017-11-30 18:36:10 +00:00
{
2018-02-03 18:13:11 +00:00
yyVAL.node = node.NewArgument(yyDollar[2].node, false, true)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 159:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1496
2017-11-30 18:36:10 +00:00
{
2018-02-03 18:13:11 +00:00
yyVAL.node = node.NewArgument(yyDollar[2].node, true, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 160:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1505
2017-11-28 20:36:21 +00:00
{
2018-01-31 10:29:38 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 161:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1507
2017-11-28 20:36:21 +00:00
{
2018-01-31 10:29:38 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 162:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1513
2017-11-28 20:36:21 +00:00
{
2018-03-18 14:50:19 +00:00
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
yyVAL.node = expr.NewVariable(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 163:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1523
2017-11-28 20:36:21 +00:00
{
2018-01-31 10:29:38 +00:00
yyVAL.node = expr.NewVariable(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 164:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1529
2017-11-28 20:36:21 +00:00
{
2018-01-31 10:29:38 +00:00
yyVAL.node = expr.NewVariable(yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 165:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1539
2017-11-28 20:36:21 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:29:38 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:29:38 +00:00
staticVar := stmt.NewStaticVar(variable, nil)
yylex.(*Parser).positions.AddPosition(staticVar, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:29:38 +00:00
yyVAL.list = append(yyDollar[1].list, staticVar)
yylex.(*Parser).comments.AddComments(identifier, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(staticVar, yyDollar[3].token.Comments())
2017-11-28 20:36:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 166:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1556
2017-11-28 20:17:11 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:29:38 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:29:38 +00:00
staticVar := stmt.NewStaticVar(variable, yyDollar[5].node)
yylex.(*Parser).positions.AddPosition(staticVar, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
2018-01-31 10:29:38 +00:00
yyVAL.list = append(yyDollar[1].list, staticVar)
yylex.(*Parser).comments.AddComments(identifier, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(staticVar, yyDollar[3].token.Comments())
2017-11-28 20:17:11 +00:00
}
2018-04-09 20:08:29 +00:00
case 167:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1573
2017-11-28 20:17:11 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
staticVar := stmt.NewStaticVar(variable, nil)
yylex.(*Parser).positions.AddPosition(staticVar, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
yyVAL.list = []node.Node{staticVar}
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(staticVar, yyDollar[1].token.Comments())
2017-11-29 10:24:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 168:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1590
2017-11-29 10:24:08 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:29:38 +00:00
staticVar := stmt.NewStaticVar(variable, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(staticVar, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
2018-01-31 10:29:38 +00:00
yyVAL.list = []node.Node{staticVar}
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(staticVar, yyDollar[1].token.Comments())
2017-11-29 10:24:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 169:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1612
2018-02-03 17:33:22 +00:00
{
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
}
2018-04-09 20:08:29 +00:00
case 170:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1614
2018-02-03 17:33:22 +00:00
{
yyVAL.list = []node.Node{}
}
2018-04-09 20:08:29 +00:00
case 171:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1620
2018-02-03 17:33:22 +00:00
{
yyVAL.node = stmt.NewPropertyList(yyDollar[1].list, yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 172:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1626
2018-02-03 17:33:22 +00:00
{
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 173:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1628
2017-11-28 21:20:08 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 21:20:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 174:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-8 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1630
2017-11-28 21:20:08 +00:00
{
2018-02-03 17:33:22 +00:00
name := node.NewIdentifier(yyDollar[4].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[4].token.Comments())
2018-02-03 17:33:22 +00:00
2018-06-03 06:35:44 +00:00
yyVAL.node = stmt.NewClassMethod(name, yyDollar[1].list, yyDollar[3].boolWithToken.value, yyDollar[6].list, nil, yyDollar[8].node, "")
if yyDollar[1].list == nil {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[8].node))
} else {
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListNodePosition(yyDollar[1].list, yyDollar[8].node))
}
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2017-11-28 21:20:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 175:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1649
2017-11-28 21:20:08 +00:00
{
2018-04-29 19:34:24 +00:00
var adaptationList *stmt.TraitAdaptationList
switch n := yyDollar[3].node.(type) {
case *stmt.TraitAdaptationList:
adaptationList = n
default:
adaptationList = nil
}
yyVAL.node = stmt.NewTraitUse(yyDollar[2].list, adaptationList)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 21:20:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 176:
2017-11-28 21:20:08 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1666
2018-01-29 14:11:45 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 177:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1668
2018-02-03 22:09:37 +00:00
{
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
}
2018-04-09 20:08:29 +00:00
case 178:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1673
2018-02-03 22:09:37 +00:00
{
2018-04-29 19:34:24 +00:00
yyVAL.node = stmt.NewNop()
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-02-03 22:09:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 179:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1679
2018-02-03 22:09:37 +00:00
{
2018-04-29 19:34:24 +00:00
yyVAL.node = stmt.NewTraitAdaptationList(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2018-02-03 22:09:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 180:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1688
2018-02-03 22:09:37 +00:00
{
yyVAL.list = nil
}
2018-04-09 20:08:29 +00:00
case 181:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1690
2018-02-03 22:09:37 +00:00
{
yyVAL.list = yyDollar[1].list
}
2018-04-09 20:08:29 +00:00
case 182:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1695
2018-02-03 22:09:37 +00:00
{
yyVAL.list = []node.Node{yyDollar[1].node}
}
2018-04-09 20:08:29 +00:00
case 183:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1697
2018-02-03 22:09:37 +00:00
{
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
}
2018-04-09 20:08:29 +00:00
case 184:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1702
2018-02-03 22:09:37 +00:00
{
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 185:
2018-02-03 22:09:37 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1704
2017-11-28 21:20:08 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 21:20:08 +00:00
}
2018-04-09 20:08:29 +00:00
case 186:
2017-11-28 21:20:08 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1709
2018-01-29 14:11:45 +00:00
{
2018-02-09 12:48:10 +00:00
yyVAL.node = stmt.NewTraitUsePrecedence(yyDollar[1].node, yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeNodeListPosition(yyDollar[1].node, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-29 14:11:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 187:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1718
2017-12-01 07:15:46 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 188:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1720
2018-02-01 10:35:43 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 189:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1725
{
2018-02-03 22:09:37 +00:00
name := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-03 22:09:37 +00:00
yyVAL.node = stmt.NewTraitMethodRef(nil, name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
}
2018-04-09 20:08:29 +00:00
case 190:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1735
{
2018-02-03 22:09:37 +00:00
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 191:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1740
{
2018-02-03 22:09:37 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
2018-02-03 22:09:37 +00:00
yyVAL.node = stmt.NewTraitMethodRef(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 192:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1753
{
2018-02-03 22:09:37 +00:00
alias := node.NewIdentifier(yyDollar[4].token.Value)
yylex.(*Parser).positions.AddPosition(alias, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
2018-02-03 22:09:37 +00:00
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, alias)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
2018-02-03 22:09:37 +00:00
yylex.(*Parser).comments.AddComments(alias, yyDollar[4].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 193:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1763
{
2018-02-03 22:09:37 +00:00
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 194:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1772
{
2018-02-03 22:09:37 +00:00
yyVAL.node = nil
}
2018-04-09 20:08:29 +00:00
case 195:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1774
2017-11-30 17:16:01 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 17:16:01 +00:00
}
2018-04-09 20:08:29 +00:00
case 196:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1779
2017-11-30 17:23:46 +00:00
{
2018-06-03 06:35:44 +00:00
yyVAL.node = stmt.NewNop()
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2017-11-30 17:23:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 197:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1785
2017-11-30 17:23:46 +00:00
{
2018-06-03 06:35:44 +00:00
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2017-11-30 17:23:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 198:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1794
2017-11-30 17:23:46 +00:00
{
2018-02-03 22:37:43 +00:00
yyVAL.list = yyDollar[1].list
2017-11-30 17:23:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 199:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1796
2017-11-30 17:35:13 +00:00
{
2018-02-03 22:37:43 +00:00
modifier := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(modifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(modifier, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.list = []node.Node{modifier}
2017-11-30 17:35:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 200:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1807
2017-11-30 17:35:13 +00:00
{
2018-02-03 22:37:43 +00:00
yyVAL.list = nil
2017-11-30 17:35:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 201:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1809
2017-11-30 17:35:13 +00:00
{
2018-02-03 22:37:43 +00:00
yyVAL.list = yyDollar[1].list
2017-11-30 17:35:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 202:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1814
2017-11-30 17:35:13 +00:00
{
2018-02-03 22:37:43 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-30 17:35:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 203:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1816
2017-12-01 07:15:46 +00:00
{
2018-02-03 22:37:43 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 204:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1821
2017-12-01 07:15:46 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 205:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1827
2017-11-30 17:23:46 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 206:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1833
2017-11-29 14:21:44 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 207:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1839
2017-11-29 14:21:44 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 208:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1845
2017-11-29 14:21:44 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 209:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1851
2017-11-29 14:21:44 +00:00
{
2018-02-03 22:09:37 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 210:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1860
2017-11-29 22:07:15 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
property := stmt.NewProperty(variable, nil, "")
yylex.(*Parser).positions.AddPosition(property, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(property, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.list = append(yyDollar[1].list, property)
2017-11-29 22:07:15 +00:00
}
2018-04-09 20:08:29 +00:00
case 211:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1876
2017-11-29 14:21:44 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
property := stmt.NewProperty(variable, yyDollar[5].node, "")
yylex.(*Parser).positions.AddPosition(property, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(property, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.list = append(yyDollar[1].list, property)
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 212:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1892
2017-11-29 14:21:44 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
property := stmt.NewProperty(variable, nil, "")
yylex.(*Parser).positions.AddPosition(property, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(property, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.list = []node.Node{property}
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 213:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1908
2017-11-29 14:21:44 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
property := stmt.NewProperty(variable, yyDollar[3].node, "")
yylex.(*Parser).positions.AddPosition(property, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(property, yyDollar[1].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.list = []node.Node{property}
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 214:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1927
2017-11-29 14:21:44 +00:00
{
2018-02-03 22:37:43 +00:00
name := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
constant := stmt.NewConstant(name, yyDollar[5].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[3].token.Comments())
2018-02-03 22:37:43 +00:00
2018-02-08 17:52:22 +00:00
yyDollar[1].node.(*stmt.ClassConstList).Consts = append(yyDollar[1].node.(*stmt.ClassConstList).Consts, constant)
yylex.(*Parser).positions.AddPosition(yyDollar[1].node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
2018-02-03 22:37:43 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 215:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1942
2017-11-29 20:56:37 +00:00
{
2018-02-03 22:37:43 +00:00
name := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(name, yyDollar[2].token.Comments())
2018-02-03 22:37:43 +00:00
constant := stmt.NewConstant(name, yyDollar[4].node, "")
yylex.(*Parser).positions.AddPosition(constant, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(constant, yyDollar[2].token.Comments())
2018-02-03 22:37:43 +00:00
yyVAL.node = stmt.NewClassConstList(nil, []node.Node{constant})
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 216:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1959
2017-11-29 14:21:44 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 217:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1961
2017-11-29 14:21:44 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 218:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1967
2017-11-29 20:56:37 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = nil
2017-11-29 20:56:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 219:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1969
2017-11-29 20:56:37 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 20:56:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 220:
2018-02-03 12:29:23 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1974
2017-11-29 20:56:37 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-29 20:56:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 221:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1976
2017-11-29 21:43:39 +00:00
{
2018-02-03 12:29:23 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 222:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1981
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 223:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1983
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 224:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1988
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, fetch)
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 225:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:1995
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[2].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{fetch}
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 226:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2005
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 227:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2007
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 228:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2009
2017-11-29 22:07:15 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 22:07:15 +00:00
}
2018-04-09 20:08:29 +00:00
case 229:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2014
2017-11-29 22:07:15 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = nil
2017-11-29 22:07:15 +00:00
}
2018-04-09 20:08:29 +00:00
case 230:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2016
2017-11-29 21:43:39 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 231:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2021
2017-11-29 21:43:39 +00:00
{
2018-04-29 16:58:49 +00:00
if yyDollar[3].node != nil {
yyVAL.node = expr.NewNew(yyDollar[2].node, yyDollar[3].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
2018-02-01 14:07:18 +00:00
} else {
yyVAL.node = expr.NewNew(yyDollar[2].node, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
2018-02-01 14:07:18 +00:00
}
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 232:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2037
2017-11-29 21:43:39 +00:00
{
2018-02-01 10:35:43 +00:00
list := expr.NewList(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(list, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewAssign(list, yyDollar[6].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
2018-02-01 10:35:43 +00:00
yylex.(*Parser).comments.AddComments(list, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 233:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2047
2018-02-03 17:33:22 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewAssign(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 234:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2053
2018-02-03 17:33:22 +00:00
{
2018-04-05 09:03:32 +00:00
yyVAL.node = assign.NewReference(yyDollar[1].node, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 235:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2059
2018-02-03 17:33:22 +00:00
{
2018-04-29 16:58:49 +00:00
var _new *expr.New
2018-02-04 17:37:27 +00:00
2018-04-29 16:58:49 +00:00
if yyDollar[6].node != nil {
_new = expr.NewNew(yyDollar[5].node, yyDollar[6].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(_new, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node))
} else {
_new = expr.NewNew(yyDollar[5].node, nil)
yylex.(*Parser).positions.AddPosition(_new, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[5].node))
2018-02-04 17:37:27 +00:00
}
yylex.(*Parser).comments.AddComments(_new, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 17:37:27 +00:00
2018-04-05 09:03:32 +00:00
yyVAL.node = assign.NewReference(yyDollar[1].node, _new)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, _new))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 236:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2076
2018-02-03 17:33:22 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewClone(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 237:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2082
2018-02-04 16:51:44 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewPlus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 238:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2088
2018-02-04 16:51:44 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewMinus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 239:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2094
2018-02-03 17:33:22 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewMul(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 240:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2100
2017-11-29 21:43:39 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewPow(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 21:43:39 +00:00
}
2018-04-09 20:08:29 +00:00
case 241:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2106
2017-11-29 20:56:37 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewDiv(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 20:56:37 +00:00
}
2018-04-09 20:08:29 +00:00
case 242:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2112
2017-11-29 14:21:44 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewConcat(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 243:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2118
2017-11-30 17:37:45 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewMod(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 17:37:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 244:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2124
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 245:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2130
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 246:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2136
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 247:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2142
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 248:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2148
2018-02-01 14:07:18 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = assign.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 14:07:18 +00:00
}
2018-04-09 20:08:29 +00:00
case 249:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2154
2017-11-29 14:21:44 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewPostInc(yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 250:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2160
2017-11-29 14:21:44 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewPreInc(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 251:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2166
2018-01-27 10:33:13 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewPostDec(yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 252:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2172
2018-01-27 10:33:13 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewPreDec(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 14:21:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 253:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2178
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 254:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2184
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 255:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2190
2017-12-01 07:15:46 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 256:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2196
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 257:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2202
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 258:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2208
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 259:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2214
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 260:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2220
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 261:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2226
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewConcat(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 262:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2232
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewPlus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 263:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2238
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMinus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 264:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2244
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMul(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 265:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2250
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewPow(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
}
2018-04-09 20:08:29 +00:00
case 266:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2256
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewDiv(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 267:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2262
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMod(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 268:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2268
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 269:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2274
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 270:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2280
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewUnaryPlus(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 271:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2286
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewUnaryMinus(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 272:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2292
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewBooleanNot(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-04 17:37:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 273:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2298
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewBitwiseNot(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 274:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2304
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewIdentical(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 275:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2310
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 276:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2316
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 277:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2322
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 278:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2328
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewSmaller(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 279:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2334
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 280:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2340
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewGreater(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 281:
2017-11-30 17:37:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2346
2017-11-28 16:00:27 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 282:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2352
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewInstanceOf(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 283:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2358
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 284:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2360
2017-11-28 16:00:27 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 285:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2362
2017-11-28 16:00:27 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.node = yyDollar[2].node
for _, n := range yyDollar[4].list {
switch nn := n.(type) {
case *expr.ArrayDimFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yyDollar[1].token.Comments())
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.PropertyFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yyDollar[1].token.Comments())
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.MethodCall:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yyDollar[1].token.Comments())
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
}
}
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 286:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2388
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewTernary(yyDollar[1].node, yyDollar[3].node, yyDollar[5].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 287:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2394
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewTernary(yyDollar[1].node, nil, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 288:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2400
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 289:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2402
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewInt(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 290:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2408
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewDouble(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 291:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2414
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewString(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 292:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2420
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewArray(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 293:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2426
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewObject(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 294:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2432
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewBool(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 295:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2438
2017-11-28 16:00:27 +00:00
{
2018-04-05 08:59:29 +00:00
yyVAL.node = cast.NewUnset(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 296:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2444
2017-11-28 16:00:27 +00:00
{
2018-02-18 17:09:18 +00:00
if strings.EqualFold(yyDollar[1].token.Value, "die") {
yyVAL.node = expr.NewDie(yyDollar[2].node)
} else {
yyVAL.node = expr.NewExit(yyDollar[2].node)
}
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 297:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2454
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewErrorSuppress(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 298:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2460
2017-11-28 16:00:27 +00:00
{
2018-02-03 17:33:22 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 299:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2462
2017-11-24 01:36:58 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = yyDollar[1].node
2017-11-24 01:36:58 +00:00
}
2018-04-09 20:08:29 +00:00
case 300:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2464
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = yyDollar[1].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 301:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2466
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewShellExec(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 302:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2472
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewPrint(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 303:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2478
2017-11-28 16:00:27 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewYield(nil, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 304:
2018-02-04 17:37:27 +00:00
yyDollar = yyS[yypt-9 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2484
2017-11-30 18:36:10 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewClosure(yyDollar[4].list, yyDollar[6].list, nil, yyDollar[8].list, false, yyDollar[2].boolWithToken.value, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[9].token))
2018-02-04 17:37:27 +00:00
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 305:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-10 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2491
2017-11-29 13:53:44 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.node = expr.NewClosure(yyDollar[5].list, yyDollar[7].list, nil, yyDollar[9].list, true, yyDollar[3].boolWithToken.value, "")
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[10].token))
2018-02-04 17:37:27 +00:00
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 13:53:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 306:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2501
2017-11-29 13:53:44 +00:00
{
2018-02-12 21:10:53 +00:00
yyVAL.node = expr.NewYield(nil, yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 13:53:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 307:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2507
2017-11-29 23:25:07 +00:00
{
2018-02-12 21:10:53 +00:00
yyVAL.node = expr.NewYield(nil, yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 308:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2513
2017-11-30 19:14:26 +00:00
{
2018-02-12 21:10:53 +00:00
yyVAL.node = expr.NewYield(yyDollar[2].node, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 309:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2519
2017-11-28 16:00:27 +00:00
{
2018-02-12 21:10:53 +00:00
yyVAL.node = expr.NewYield(yyDollar[2].node, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 310:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2528
2017-11-30 19:14:26 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 311:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2534
2017-11-28 16:00:27 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 312:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2540
2017-11-28 16:00:27 +00:00
{
2018-02-02 12:36:57 +00:00
str := scalar.NewString(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(str, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(str, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewArrayDimFetch(str, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(str, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[str])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 313:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2550
2017-11-28 16:00:27 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 314:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2559
2017-11-28 16:00:27 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewArray(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 315:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2565
2017-12-01 08:26:17 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = expr.NewShortArray(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-12-01 08:26:17 +00:00
}
2018-04-09 20:08:29 +00:00
case 316:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2574
2017-11-30 19:14:26 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.token = yyDollar[1].token
}
2018-04-09 20:08:29 +00:00
case 317:
2018-02-02 12:36:57 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2579
2018-02-02 12:36:57 +00:00
{
yyVAL.list = []node.Node{}
}
2018-04-09 20:08:29 +00:00
case 318:
2018-02-02 12:36:57 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2581
2018-02-02 12:36:57 +00:00
{
yyVAL.list = yyDollar[3].list
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 319:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2586
2017-11-30 19:14:26 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[3].token.Comments())
2018-02-02 12:36:57 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
2018-02-02 12:36:57 +00:00
2018-02-10 00:02:54 +00:00
use := expr.NewClosureUse(variable, false)
yylex.(*Parser).positions.AddPosition(use, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
yylex.(*Parser).comments.AddComments(use, yyDollar[3].token.Comments())
2018-02-02 12:36:57 +00:00
yyVAL.list = append(yyDollar[1].list, use)
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 320:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2602
2017-12-01 07:15:46 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[4].token.Comments())
2018-02-02 12:36:57 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[4].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[3].token.Comments())
2018-02-02 12:36:57 +00:00
2018-02-10 00:02:54 +00:00
use := expr.NewClosureUse(variable, true)
yylex.(*Parser).positions.AddPosition(use, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[3].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(use, yyDollar[3].token.Comments())
2018-02-02 12:36:57 +00:00
yyVAL.list = append(yyDollar[1].list, use)
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 321:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2618
2017-11-30 19:14:26 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
2018-02-10 00:02:54 +00:00
use := expr.NewClosureUse(variable, false)
yylex.(*Parser).positions.AddPosition(use, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(use, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
yyVAL.list = []node.Node{use}
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 322:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2634
2017-11-30 19:14:26 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[2].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(identifier, yyDollar[2].token.Comments())
2018-02-02 12:36:57 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
2018-02-10 00:02:54 +00:00
use := expr.NewClosureUse(variable, true)
yylex.(*Parser).positions.AddPosition(use, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(use, yyDollar[1].token.Comments())
2018-02-02 12:36:57 +00:00
yyVAL.list = []node.Node{use}
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 323:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2653
2017-11-30 19:14:26 +00:00
{
2018-02-03 18:13:11 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-02-03 18:13:11 +00:00
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewFunctionCall(name, yyDollar[2].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(name, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 324:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2663
2017-11-30 19:14:26 +00:00
{
2018-02-03 18:13:11 +00:00
funcName := name.NewRelative(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(funcName, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(funcName, yyDollar[1].token.Comments())
2018-02-03 18:13:11 +00:00
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewFunctionCall(funcName, yyDollar[4].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(funcName, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[funcName])
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 325:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2673
2018-01-27 10:33:13 +00:00
{
2018-02-03 18:13:11 +00:00
funcName := name.NewFullyQualified(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(funcName, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(funcName, yyDollar[1].token.Comments())
2018-02-03 18:13:11 +00:00
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewFunctionCall(funcName, yyDollar[3].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(funcName, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[funcName])
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 326:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2683
2017-12-01 07:15:46 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 327:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2689
2017-12-01 07:15:46 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 328:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2695
2017-12-01 07:15:46 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 329:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2701
2017-12-01 07:15:46 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-12-01 07:15:46 +00:00
}
2018-04-09 20:08:29 +00:00
case 330:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2707
2017-11-29 23:25:07 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewFunctionCall(yyDollar[1].node, yyDollar[2].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 331:
2017-11-29 23:25:07 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2716
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:37:09 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 332:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2722
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:37:09 +00:00
yyVAL.node = name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 333:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2728
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:37:09 +00:00
yyVAL.node = name.NewRelative(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 334:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2734
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:37:09 +00:00
yyVAL.node = name.NewFullyQualified(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 335:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2743
2018-01-27 10:33:13 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 336:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2749
2018-01-27 10:33:13 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = name.NewRelative(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 337:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2755
2018-01-27 10:33:13 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = name.NewFullyQualified(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 338:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2764
2018-02-01 14:07:18 +00:00
{
yyVAL.node = yyDollar[1].node
}
2018-04-09 20:08:29 +00:00
case 339:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2766
2018-01-27 10:33:13 +00:00
{
2018-02-01 14:07:18 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 340:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2771
2018-01-27 10:33:13 +00:00
{
2018-02-01 14:07:18 +00:00
yyVAL.node = yyDollar[1].node
2018-02-04 16:51:44 +00:00
for _, n := range yyDollar[3].list {
switch nn := n.(type) {
case *expr.ArrayDimFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.PropertyFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
2018-02-01 14:07:18 +00:00
}
}
2018-02-04 16:51:44 +00:00
for _, n := range yyDollar[4].list {
switch nn := n.(type) {
case *expr.ArrayDimFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.PropertyFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
2018-02-01 14:07:18 +00:00
}
}
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 341:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2807
2018-01-27 10:33:13 +00:00
{
2018-02-01 14:07:18 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 342:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2813
2018-01-27 10:33:13 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 343:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2815
2018-01-27 10:33:13 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{}
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 344:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2821
2018-01-27 10:33:13 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[2].list
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 345:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2826
2018-01-27 10:33:13 +00:00
{
2018-02-02 13:01:03 +00:00
yyVAL.node = nil
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 346:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2828
2018-01-27 10:33:13 +00:00
{
2018-02-02 13:01:03 +00:00
yyVAL.node = nil
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 347:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2830
2018-01-27 10:33:13 +00:00
{
2018-02-02 13:01:03 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 348:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2835
2018-01-27 10:33:13 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.list = []node.Node{}
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 349:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2837
2018-01-27 10:33:13 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.list = []node.Node{scalar.NewEncapsedStringPart(yyDollar[1].token.Value)}
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 350:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2839
2018-01-27 10:33:13 +00:00
{
2018-02-04 17:37:27 +00:00
yyVAL.list = yyDollar[1].list
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 351:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2844
2018-01-27 10:33:13 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = nil
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 352:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2846
2018-01-27 10:33:13 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 353:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2851
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 354:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2857
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewDnumber(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 355:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2863
2018-01-27 10:33:13 +00:00
{
2018-02-01 14:07:18 +00:00
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 356:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2869
2018-02-01 10:35:43 +00:00
{
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 357:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2875
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 358:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2881
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 359:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2887
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 360:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2893
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 361:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2899
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 362:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2905
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:22:04 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 363:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2911
2018-01-27 10:33:13 +00:00
{
2018-04-05 10:47:36 +00:00
encapsed := scalar.NewEncapsedStringPart(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(encapsed, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(encapsed, yyDollar[2].token.Comments())
2018-04-05 10:47:36 +00:00
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, []node.Node{encapsed})
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 364:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2921
2018-01-27 10:33:13 +00:00
{
2018-04-05 10:47:36 +00:00
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, nil)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 365:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2930
2018-01-27 10:33:13 +00:00
{
2018-01-29 14:37:09 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-29 14:37:09 +00:00
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
2018-01-29 14:37:09 +00:00
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 366:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2943
2018-02-04 16:51:44 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[1].node
2018-02-04 16:51:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 367:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2948
2018-02-04 16:51:44 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[1].node
2018-02-04 16:51:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 368:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2950
2018-02-04 16:51:44 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[1].node
2018-02-04 16:51:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 369:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2952
2018-02-01 18:40:04 +00:00
{
2018-02-12 10:09:56 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-02-12 10:09:56 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(name))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 370:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2962
2018-02-01 18:40:04 +00:00
{
2018-02-12 10:09:56 +00:00
name := name.NewRelative(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-12 10:09:56 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 371:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2972
2018-02-03 17:33:22 +00:00
{
2018-02-12 10:09:56 +00:00
name := name.NewFullyQualified(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-12 10:09:56 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 372:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2982
2018-02-03 17:33:22 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewArray(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 373:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2988
2018-02-03 17:33:22 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewShortArray(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 374:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2994
2018-02-03 17:33:22 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[1].node
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 375:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:2996
2018-02-03 17:33:22 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 17:33:22 +00:00
}
2018-04-09 20:08:29 +00:00
case 376:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3002
2018-02-01 18:40:04 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[1].node
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 377:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3007
2018-02-01 18:40:04 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 378:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3013
2018-02-01 18:40:04 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewPlus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 379:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3019
2018-02-01 18:40:04 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMinus(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 380:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3025
2018-02-01 18:40:04 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMul(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 381:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3031
2018-02-01 14:07:18 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewPow(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 14:07:18 +00:00
}
2018-04-09 20:08:29 +00:00
case 382:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3037
2018-02-01 18:40:04 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewDiv(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 18:40:04 +00:00
}
2018-04-09 20:08:29 +00:00
case 383:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3043
2018-02-01 14:07:18 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewMod(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 14:07:18 +00:00
}
2018-04-09 20:08:29 +00:00
case 384:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3049
2018-02-01 14:07:18 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewBooleanNot(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-01 14:07:18 +00:00
}
2018-04-09 20:08:29 +00:00
case 385:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3055
2018-02-03 10:09:02 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewBitwiseNot(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 386:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3061
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 387:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3067
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 388:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3073
2018-02-03 10:09:02 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-03 10:09:02 +00:00
}
2018-04-09 20:08:29 +00:00
case 389:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3079
2018-02-01 10:35:43 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 390:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3085
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 391:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3091
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewConcat(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 392:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3097
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 393:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3103
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 394:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3109
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 395:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3115
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 396:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3121
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 397:
2018-02-03 10:09:02 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3127
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewIdentical(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 398:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3133
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 399:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3139
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 400:
2018-02-01 14:07:18 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3145
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 401:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3151
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewSmaller(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 402:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3157
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewGreater(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 403:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3163
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 404:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3169
2018-01-27 10:33:13 +00:00
{
2018-02-19 11:12:09 +00:00
yyVAL.node = binary.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 405:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3175
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewTernary(yyDollar[1].node, nil, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 406:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3181
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewTernary(yyDollar[1].node, yyDollar[3].node, yyDollar[5].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 407:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3187
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewUnaryPlus(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 408:
2018-02-03 17:33:22 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3193
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewUnaryMinus(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 409:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3199
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = yyDollar[2].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 410:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3204
2018-01-27 10:33:13 +00:00
{
2018-02-02 12:36:57 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 411:
2018-02-01 18:40:04 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3206
2018-01-27 10:33:13 +00:00
{
2018-02-10 09:46:18 +00:00
name := name.NewName(yyDollar[1].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewNodeListPosition(yyDollar[1].list))
yylex.(*Parser).comments.AddComments(name, yylex.(*Parser).listGetFirstNodeComments(yyDollar[1].list))
2018-02-10 09:46:18 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(name))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 412:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3216
2018-01-27 10:33:13 +00:00
{
2018-02-10 09:46:18 +00:00
name := name.NewRelative(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-10 09:46:18 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(name))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 413:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3226
2018-01-27 10:33:13 +00:00
{
2018-02-10 09:46:18 +00:00
name := name.NewFullyQualified(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
2018-02-10 09:46:18 +00:00
yyVAL.node = expr.NewConstFetch(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(name))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[name])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 414:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3239
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
name := node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewVariable(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 415:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3249
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 416:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3251
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 417:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3253
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = yyDollar[1].node
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 418:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3255
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = scalar.NewEncapsed(yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 419:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3261
2018-01-27 10:33:13 +00:00
{
2018-04-05 10:47:36 +00:00
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, yyDollar[2].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 420:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3267
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 421:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3276
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.list = nil
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 422:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3278
2018-01-27 10:33:13 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.list = yyDollar[1].list
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 425:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3288
2018-02-01 10:35:43 +00:00
{
2018-02-04 18:55:45 +00:00
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[5].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[3].node])
2018-02-04 18:55:45 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 426:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3296
2017-11-29 23:25:07 +00:00
{
2018-02-04 18:55:45 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[3].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[3].node])
2018-02-04 18:55:45 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 427:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3304
2017-11-29 23:25:07 +00:00
{
2018-02-04 18:55:45 +00:00
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[3].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 18:55:45 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 428:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3312
2017-11-29 23:25:07 +00:00
{
2018-02-04 18:55:45 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[1].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 18:55:45 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 429:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3323
2017-11-29 23:25:07 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 430:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3325
2017-11-29 23:25:07 +00:00
{
2018-02-01 14:07:18 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 431:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3330
2017-11-28 16:00:27 +00:00
{
2018-02-02 13:01:03 +00:00
yyVAL.node = yyDollar[2].node
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 432:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3332
2017-11-28 20:47:44 +00:00
{
2018-02-02 13:01:03 +00:00
yyVAL.node = yyDollar[2].node
2017-11-28 20:47:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 433:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3338
2017-11-29 23:25:07 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 434:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3344
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 435:
2017-11-30 17:37:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3349
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 436:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3354
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.node = yyDollar[1].node
if yyDollar[4].list != nil {
yyDollar[4].list[0].(*expr.MethodCall).Method = yyDollar[3].list[len(yyDollar[3].list)-1].(*expr.PropertyFetch).Property
yyDollar[3].list = append(yyDollar[3].list[:len(yyDollar[3].list)-1], yyDollar[4].list...)
}
for _, n := range yyDollar[3].list {
switch nn := n.(type) {
case *expr.ArrayDimFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.PropertyFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.MethodCall:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
}
}
for _, n := range yyDollar[5].list {
switch nn := n.(type) {
case *expr.ArrayDimFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.PropertyFetch:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
case *expr.MethodCall:
nn.Variable = yyVAL.node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyVAL.node, nn))
yylex.(*Parser).comments.AddComments(nn, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-04 16:51:44 +00:00
yyVAL.node = nn
}
}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 437:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3407
2017-12-01 08:26:17 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[1].node
2017-12-01 08:26:17 +00:00
}
2018-04-09 20:08:29 +00:00
case 438:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3412
2017-12-01 08:26:17 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
2017-12-01 08:26:17 +00:00
}
2018-04-09 20:08:29 +00:00
case 439:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3414
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 440:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3420
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
if yyDollar[3].list != nil {
yyDollar[3].list[0].(*expr.MethodCall).Method = yyDollar[2].list[len(yyDollar[2].list)-1].(*expr.PropertyFetch).Property
yyDollar[2].list = append(yyDollar[2].list[:len(yyDollar[2].list)-1], yyDollar[3].list...)
}
yyVAL.list = yyDollar[2].list
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 441:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3432
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, fetch)
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 442:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3439
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{yyDollar[1].node, fetch}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 443:
2018-02-04 16:51:44 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3449
2017-11-29 23:25:07 +00:00
{
2018-04-29 16:58:49 +00:00
yyVAL.node = expr.NewMethodCall(nil, nil, yyDollar[1].node.(*node.ArgumentList))
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 444:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3457
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 445:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3459
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 446:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3461
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = nil
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 447:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3466
2017-11-29 23:25:07 +00:00
{
2018-02-01 18:40:04 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 448:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3468
2017-11-30 18:45:54 +00:00
{
2018-02-01 18:40:04 +00:00
yyDollar[1].simpleIndirectReference.last.SetVarName(yyDollar[2].node)
for _, n := range yyDollar[1].simpleIndirectReference.all {
yylex.(*Parser).positions[n] = yylex.(*Parser).positionBuilder.NewNodesPosition(n, yyDollar[2].node)
2018-02-01 18:40:04 +00:00
}
yyVAL.node = yyDollar[1].simpleIndirectReference.all[0]
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 449:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3481
2017-11-30 18:45:54 +00:00
{
2018-02-01 18:40:04 +00:00
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 450:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3487
2017-11-30 18:45:54 +00:00
{
2018-02-01 18:40:04 +00:00
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 451:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3497
2017-11-30 18:45:54 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 452:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3502
2017-11-30 18:45:54 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 453:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3508
2017-11-30 18:45:54 +00:00
{
2018-02-04 18:55:45 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 454:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3516
2017-11-30 18:45:54 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 455:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3517
2017-11-30 18:45:54 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 18:45:54 +00:00
}
2018-04-09 20:08:29 +00:00
case 456:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3518
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 457:
2018-01-02 11:53:55 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3524
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 458:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3526
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyDollar[1].simpleIndirectReference.last.SetVarName(yyDollar[2].node)
for _, n := range yyDollar[1].simpleIndirectReference.all {
yylex.(*Parser).positions[n] = yylex.(*Parser).positionBuilder.NewNodesPosition(n, yyDollar[2].node)
2018-01-29 19:12:12 +00:00
}
yyVAL.node = yyDollar[1].simpleIndirectReference.all[0]
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 459:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3536
2017-11-29 23:25:07 +00:00
{
2018-02-01 18:40:04 +00:00
yyVAL.node = yyDollar[1].node
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 460:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3541
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 461:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3547
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 462:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3553
2017-11-30 19:14:26 +00:00
{
2018-01-29 14:37:09 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 463:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3559
2018-01-02 11:53:55 +00:00
{
2018-03-18 14:50:19 +00:00
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-29 14:37:09 +00:00
yyVAL.node = expr.NewVariable(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-29 14:37:09 +00:00
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-02 11:53:55 +00:00
}
2018-04-09 20:08:29 +00:00
case 464:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3569
2017-11-30 19:14:26 +00:00
{
2018-01-31 10:29:38 +00:00
yyVAL.node = expr.NewVariable(yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 465:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3578
2017-11-30 19:14:26 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = nil
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 466:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3580
2017-11-30 19:14:26 +00:00
{
2018-01-29 19:12:12 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 467:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3586
2018-02-01 10:35:43 +00:00
{
2018-02-04 16:51:44 +00:00
yyVAL.list = yyDollar[1].list
2018-02-01 10:35:43 +00:00
}
2018-04-09 20:08:29 +00:00
case 468:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3588
2017-11-30 18:36:10 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewPropertyFetch(nil, yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{fetch}
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 469:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3598
2017-11-30 18:36:10 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, fetch)
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 470:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3605
2017-11-30 19:14:26 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = append(yyDollar[1].list, fetch)
2017-11-30 19:14:26 +00:00
}
2018-04-09 20:08:29 +00:00
case 471:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3612
2017-11-29 23:25:07 +00:00
{
2018-02-04 16:51:44 +00:00
fetch := expr.NewPropertyFetch(nil, yyDollar[1].node)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
2018-02-04 16:51:44 +00:00
yyVAL.list = []node.Node{fetch}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 472:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3622
2017-11-29 23:25:07 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 473:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3628
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = yyDollar[2].node
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 474:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3633
2017-11-30 18:07:45 +00:00
{
2018-01-29 19:12:12 +00:00
n := expr.NewVariable(nil)
yylex.(*Parser).positions.AddPosition(n, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(n, yyDollar[1].token.Comments())
2018-01-29 19:12:12 +00:00
yyVAL.simpleIndirectReference = simpleIndirectReference{[]*expr.Variable{n}, n}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 475:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3641
2017-11-29 23:25:07 +00:00
{
2018-01-29 19:12:12 +00:00
n := expr.NewVariable(nil)
yylex.(*Parser).positions.AddPosition(n, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
yylex.(*Parser).comments.AddComments(n, yyDollar[2].token.Comments())
2018-01-29 19:12:12 +00:00
yyDollar[1].simpleIndirectReference.last.SetVarName(n)
yyDollar[1].simpleIndirectReference.all = append(yyDollar[1].simpleIndirectReference.all, n)
yyDollar[1].simpleIndirectReference.last = n
yyVAL.simpleIndirectReference = yyDollar[1].simpleIndirectReference
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 476:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3656
2018-02-01 10:35:43 +00:00
{
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
}
2018-04-09 20:08:29 +00:00
case 477:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3658
2017-11-29 23:25:07 +00:00
{
2018-02-14 19:02:57 +00:00
if yyDollar[1].node == nil {
yyVAL.list = []node.Node{}
} else {
yyVAL.list = []node.Node{yyDollar[1].node}
}
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 478:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3670
2017-11-29 23:25:07 +00:00
{
2018-02-08 22:02:12 +00:00
yyVAL.node = expr.NewArrayItem(nil, yyDollar[1].node, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-29 23:25:07 +00:00
}
2018-04-09 20:08:29 +00:00
case 479:
2018-02-01 10:35:43 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3676
2017-11-28 16:00:27 +00:00
{
2018-02-10 11:25:08 +00:00
item := expr.NewList(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(item, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(item, yyDollar[1].token.Comments())
2018-02-10 11:25:08 +00:00
yyVAL.node = expr.NewArrayItem(nil, item, false)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodePosition(item))
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[item])
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 480:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3686
2017-11-28 16:00:27 +00:00
{
2018-02-01 10:35:43 +00:00
yyVAL.node = nil
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 481:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-0 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3692
2017-11-28 20:47:44 +00:00
{
2018-02-10 09:07:20 +00:00
yyVAL.list = []node.Node{}
2017-11-28 20:47:44 +00:00
}
2018-04-09 20:08:29 +00:00
case 482:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3694
{
2018-02-01 10:04:17 +00:00
yyVAL.list = yyDollar[1].list
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 483:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-5 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3699
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[5].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[5].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[3].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 484:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3707
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[3].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[3].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[3].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 485:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3715
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[3].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 486:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3723
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[1].node, false)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodePosition(yyDollar[1].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 487:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3731
2017-11-30 16:15:49 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[6].node, true)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[6].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[3].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 488:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3739
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[4].node, true)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(arrayItem, yyDollar[3].token.Comments())
2018-02-01 10:04:17 +00:00
yyVAL.list = append(yyDollar[1].list, arrayItem)
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 489:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3747
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[4].node, true)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
yylex.(*Parser).comments.AddComments(arrayItem, yylex.(*Parser).comments[yyDollar[1].node])
2018-02-01 10:04:17 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 490:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3755
2017-11-30 18:07:45 +00:00
{
2018-02-01 10:04:17 +00:00
arrayItem := expr.NewArrayItem(nil, yyDollar[2].node, true)
yylex.(*Parser).positions.AddPosition(arrayItem, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(arrayItem, yyDollar[1].token.Comments())
2018-02-01 10:04:17 +00:00
yyVAL.list = []node.Node{arrayItem}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 491:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3766
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 492:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3768
2017-11-30 16:15:49 +00:00
{
2018-01-31 10:55:50 +00:00
encapsed := scalar.NewEncapsedStringPart(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(encapsed, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-01-31 10:55:50 +00:00
yyVAL.list = append(yyDollar[1].list, encapsed)
yylex.(*Parser).comments.AddComments(encapsed, yyDollar[2].token.Comments())
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 493:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3775
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 494:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3777
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
encapsed := scalar.NewEncapsedStringPart(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(encapsed, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yyVAL.list = []node.Node{encapsed, yyDollar[2].node}
yylex.(*Parser).comments.AddComments(encapsed, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 495:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3787
2017-11-30 18:07:45 +00:00
{
2018-03-18 14:50:19 +00:00
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(name, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewVariable(name)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(name, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 496:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3797
2017-11-30 18:07:45 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 497:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3810
2017-11-30 18:07:45 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
fetch := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(fetch, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewPropertyFetch(variable, fetch)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(fetch, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 498:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3826
2018-01-27 10:33:13 +00:00
{
2018-02-08 10:48:38 +00:00
yyVAL.node = yyDollar[2].node
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 499:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-6 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3832
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
identifier := node.NewIdentifier(yyDollar[2].token.Value)
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-01-31 10:55:50 +00:00
variable := expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(variable, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[2].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[4].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(identifier, yyDollar[2].token.Comments())
yylex.(*Parser).comments.AddComments(variable, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 500:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3846
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = yyDollar[2].node
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 501:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3851
2017-11-30 18:07:45 +00:00
{
2018-01-31 10:55:50 +00:00
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 502:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3857
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
// TODO: add option to handle 64 bit integer
if _, err := strconv.Atoi(yyDollar[1].token.Value); err == nil {
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
} else {
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
}
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 18:07:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 503:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3869
2017-11-30 17:37:45 +00:00
{
2018-03-18 14:50:19 +00:00
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
yylex.(*Parser).positions.AddPosition(identifier, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewVariable(identifier)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[1].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(identifier, yyDollar[1].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 17:37:45 +00:00
}
2018-04-09 20:08:29 +00:00
case 504:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3882
2017-11-30 16:15:49 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewIsset(yyDollar[3].list)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 505:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3888
2017-11-30 16:15:49 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewEmpty(yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 506:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3894
2017-11-28 16:00:27 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewEmpty(yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 507:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3900
2017-11-28 22:35:21 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewInclude(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 22:35:21 +00:00
}
2018-04-09 20:08:29 +00:00
case 508:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3906
2017-11-28 16:00:27 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewIncludeOnce(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-28 16:00:27 +00:00
}
2018-04-09 20:08:29 +00:00
case 509:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-4 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3912
2018-01-27 10:33:13 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewEval(yyDollar[3].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 510:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3918
2017-11-30 16:15:49 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewRequire(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 511:
2017-12-01 07:15:46 +00:00
yyDollar = yyS[yypt-2 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3924
2017-11-30 16:15:49 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = expr.NewRequireOnce(yyDollar[2].node)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
yylex.(*Parser).comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
2017-11-30 16:15:49 +00:00
}
2018-04-09 20:08:29 +00:00
case 512:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3933
2017-11-30 18:36:10 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.list = []node.Node{yyDollar[1].node}
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 513:
2018-02-01 10:04:17 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3935
2017-11-30 18:36:10 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 514:
2018-02-01 10:04:17 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3940
2017-11-30 18:36:10 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 515:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-1 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3942
2017-11-30 18:36:10 +00:00
{
2018-02-01 10:04:17 +00:00
yyVAL.node = yyDollar[1].node
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 516:
2018-01-31 10:55:50 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3947
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 517:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3957
2017-11-30 18:36:10 +00:00
{
2018-01-31 10:55:50 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:36:10 +00:00
}
2018-04-09 20:08:29 +00:00
case 518:
2018-01-29 14:11:45 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3970
2018-01-27 10:33:13 +00:00
{
2018-01-31 10:55:50 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2018-01-27 10:33:13 +00:00
}
2018-04-09 20:08:29 +00:00
case 519:
2018-01-27 10:33:13 +00:00
yyDollar = yyS[yypt-3 : yypt+1]
2018-05-02 00:36:53 +00:00
//line php5/php5.y:3983
2017-11-30 18:36:10 +00:00
{
2018-01-31 10:55:50 +00:00
target := node.NewIdentifier(yyDollar[3].token.Value)
yylex.(*Parser).positions.AddPosition(target, yylex.(*Parser).positionBuilder.NewTokenPosition(yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
yylex.(*Parser).positions.AddPosition(yyVAL.node, yylex.(*Parser).positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
2018-01-31 10:55:50 +00:00
yylex.(*Parser).comments.AddComments(target, yyDollar[3].token.Comments())
yylex.(*Parser).comments.AddComments(yyVAL.node, yylex.(*Parser).comments[yyDollar[1].node])
2017-11-30 18:36:10 +00:00
}
2017-11-23 15:33:47 +00:00
}
goto yystack /* stack new state and value */
}