2020-05-12 21:16:36 +00:00
|
|
|
// Code generated by goyacc -o internal/php7/php7.go internal/php7/php7.y. DO NOT EDIT.
|
|
|
|
|
|
|
|
// line internal/php7/php7.y:2
|
2018-01-26 13:24:56 +00:00
|
|
|
package php7
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
import __yyfmt__ "fmt"
|
|
|
|
|
2020-05-12 21:16:36 +00:00
|
|
|
// line internal/php7/php7.y:2
|
|
|
|
|
2017-11-23 15:33:47 +00:00
|
|
|
import (
|
2020-05-12 21:16:36 +00:00
|
|
|
"bytes"
|
2018-01-24 16:42:23 +00:00
|
|
|
"strconv"
|
2020-05-12 21:16:36 +00:00
|
|
|
|
2020-06-29 11:38:10 +00:00
|
|
|
"github.com/z7zmey/php-parser/internal/position"
|
2020-05-12 21:16:36 +00:00
|
|
|
"github.com/z7zmey/php-parser/pkg/ast"
|
|
|
|
"github.com/z7zmey/php-parser/pkg/token"
|
2017-11-23 15:33:47 +00:00
|
|
|
)
|
|
|
|
|
2020-08-17 17:31:04 +00:00
|
|
|
// line internal/php7/php7.y:15
|
2017-11-23 15:33:47 +00:00
|
|
|
type yySymType struct {
|
2018-05-14 15:09:11 +00:00
|
|
|
yys int
|
2020-05-12 21:16:36 +00:00
|
|
|
node ast.Vertex
|
2020-08-17 17:31:04 +00:00
|
|
|
token *token.Token
|
|
|
|
tkn *token.Token
|
2020-05-12 21:16:36 +00:00
|
|
|
list []ast.Vertex
|
2018-05-12 20:10:01 +00:00
|
|
|
|
2020-05-12 21:16:36 +00:00
|
|
|
ClassExtends *ast.StmtClassExtends
|
|
|
|
ClassImplements *ast.StmtClassImplements
|
|
|
|
InterfaceExtends *ast.StmtInterfaceExtends
|
|
|
|
ClosureUse *ast.ExprClosureUse
|
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
|
2019-12-24 14:16:35 +00:00
|
|
|
const T_FN = 57380
|
|
|
|
const T_CONST = 57381
|
|
|
|
const T_RETURN = 57382
|
|
|
|
const T_TRY = 57383
|
|
|
|
const T_CATCH = 57384
|
|
|
|
const T_FINALLY = 57385
|
|
|
|
const T_THROW = 57386
|
|
|
|
const T_USE = 57387
|
|
|
|
const T_INSTEADOF = 57388
|
|
|
|
const T_GLOBAL = 57389
|
|
|
|
const T_VAR = 57390
|
|
|
|
const T_UNSET = 57391
|
|
|
|
const T_ISSET = 57392
|
|
|
|
const T_EMPTY = 57393
|
|
|
|
const T_HALT_COMPILER = 57394
|
|
|
|
const T_CLASS = 57395
|
|
|
|
const T_TRAIT = 57396
|
|
|
|
const T_INTERFACE = 57397
|
|
|
|
const T_EXTENDS = 57398
|
|
|
|
const T_IMPLEMENTS = 57399
|
|
|
|
const T_OBJECT_OPERATOR = 57400
|
|
|
|
const T_DOUBLE_ARROW = 57401
|
|
|
|
const T_LIST = 57402
|
|
|
|
const T_ARRAY = 57403
|
|
|
|
const T_CALLABLE = 57404
|
|
|
|
const T_CLASS_C = 57405
|
|
|
|
const T_TRAIT_C = 57406
|
|
|
|
const T_METHOD_C = 57407
|
|
|
|
const T_FUNC_C = 57408
|
|
|
|
const T_LINE = 57409
|
|
|
|
const T_FILE = 57410
|
|
|
|
const T_COMMENT = 57411
|
|
|
|
const T_DOC_COMMENT = 57412
|
|
|
|
const T_OPEN_TAG = 57413
|
|
|
|
const T_OPEN_TAG_WITH_ECHO = 57414
|
|
|
|
const T_CLOSE_TAG = 57415
|
|
|
|
const T_WHITESPACE = 57416
|
|
|
|
const T_START_HEREDOC = 57417
|
|
|
|
const T_END_HEREDOC = 57418
|
|
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 57419
|
|
|
|
const T_CURLY_OPEN = 57420
|
|
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 57421
|
|
|
|
const T_NAMESPACE = 57422
|
|
|
|
const T_NS_C = 57423
|
|
|
|
const T_DIR = 57424
|
|
|
|
const T_NS_SEPARATOR = 57425
|
|
|
|
const T_ELLIPSIS = 57426
|
|
|
|
const T_EVAL = 57427
|
|
|
|
const T_REQUIRE = 57428
|
|
|
|
const T_REQUIRE_ONCE = 57429
|
|
|
|
const T_LOGICAL_OR = 57430
|
|
|
|
const T_LOGICAL_XOR = 57431
|
|
|
|
const T_LOGICAL_AND = 57432
|
|
|
|
const T_INSTANCEOF = 57433
|
|
|
|
const T_NEW = 57434
|
|
|
|
const T_CLONE = 57435
|
|
|
|
const T_ELSEIF = 57436
|
|
|
|
const T_ELSE = 57437
|
|
|
|
const T_ENDIF = 57438
|
|
|
|
const T_PRINT = 57439
|
|
|
|
const T_YIELD = 57440
|
|
|
|
const T_STATIC = 57441
|
|
|
|
const T_ABSTRACT = 57442
|
|
|
|
const T_FINAL = 57443
|
|
|
|
const T_PRIVATE = 57444
|
|
|
|
const T_PROTECTED = 57445
|
|
|
|
const T_PUBLIC = 57446
|
|
|
|
const T_INC = 57447
|
|
|
|
const T_DEC = 57448
|
|
|
|
const T_YIELD_FROM = 57449
|
|
|
|
const T_INT_CAST = 57450
|
|
|
|
const T_DOUBLE_CAST = 57451
|
|
|
|
const T_STRING_CAST = 57452
|
|
|
|
const T_ARRAY_CAST = 57453
|
|
|
|
const T_OBJECT_CAST = 57454
|
|
|
|
const T_BOOL_CAST = 57455
|
|
|
|
const T_UNSET_CAST = 57456
|
|
|
|
const T_COALESCE = 57457
|
|
|
|
const T_SPACESHIP = 57458
|
|
|
|
const T_NOELSE = 57459
|
|
|
|
const T_PLUS_EQUAL = 57460
|
|
|
|
const T_MINUS_EQUAL = 57461
|
|
|
|
const T_MUL_EQUAL = 57462
|
|
|
|
const T_POW_EQUAL = 57463
|
|
|
|
const T_DIV_EQUAL = 57464
|
|
|
|
const T_CONCAT_EQUAL = 57465
|
|
|
|
const T_MOD_EQUAL = 57466
|
|
|
|
const T_AND_EQUAL = 57467
|
|
|
|
const T_OR_EQUAL = 57468
|
|
|
|
const T_XOR_EQUAL = 57469
|
|
|
|
const T_SL_EQUAL = 57470
|
|
|
|
const T_SR_EQUAL = 57471
|
|
|
|
const T_COALESCE_EQUAL = 57472
|
|
|
|
const T_BOOLEAN_OR = 57473
|
|
|
|
const T_BOOLEAN_AND = 57474
|
|
|
|
const T_POW = 57475
|
|
|
|
const T_SL = 57476
|
|
|
|
const T_SR = 57477
|
|
|
|
const T_IS_IDENTICAL = 57478
|
|
|
|
const T_IS_NOT_IDENTICAL = 57479
|
|
|
|
const T_IS_EQUAL = 57480
|
|
|
|
const T_IS_NOT_EQUAL = 57481
|
|
|
|
const T_IS_SMALLER_OR_EQUAL = 57482
|
|
|
|
const T_IS_GREATER_OR_EQUAL = 57483
|
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",
|
2019-12-24 14:16:35 +00:00
|
|
|
"T_FN",
|
2017-11-23 15:33:47 +00:00
|
|
|
"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-29 14:11:45 +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",
|
|
|
|
"T_YIELD_FROM",
|
|
|
|
"T_INT_CAST",
|
|
|
|
"T_DOUBLE_CAST",
|
|
|
|
"T_STRING_CAST",
|
|
|
|
"T_ARRAY_CAST",
|
|
|
|
"T_OBJECT_CAST",
|
|
|
|
"T_BOOL_CAST",
|
|
|
|
"T_UNSET_CAST",
|
|
|
|
"T_COALESCE",
|
|
|
|
"T_SPACESHIP",
|
|
|
|
"T_NOELSE",
|
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",
|
2019-12-24 14:16:35 +00:00
|
|
|
"T_COALESCE_EQUAL",
|
2018-05-27 15:02:58 +00:00
|
|
|
"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
|
|
|
|
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4821
|
2018-04-09 21:52:38 +00:00
|
|
|
|
2020-01-08 07:47:23 +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, 44,
|
2019-12-28 20:26:54 +00:00
|
|
|
58, 426,
|
|
|
|
79, 426,
|
|
|
|
144, 426,
|
|
|
|
150, 426,
|
|
|
|
-2, 421,
|
2018-04-09 20:08:29 +00:00
|
|
|
-1, 48,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 429,
|
|
|
|
-2, 438,
|
|
|
|
-1, 85,
|
|
|
|
58, 428,
|
|
|
|
79, 428,
|
|
|
|
144, 428,
|
|
|
|
148, 431,
|
|
|
|
150, 428,
|
|
|
|
-2, 416,
|
|
|
|
-1, 109,
|
|
|
|
79, 389,
|
|
|
|
-2, 418,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 233,
|
2019-12-28 20:26:54 +00:00
|
|
|
58, 426,
|
|
|
|
79, 426,
|
|
|
|
144, 426,
|
|
|
|
150, 426,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 315,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 236,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 431,
|
|
|
|
-2, 428,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 239,
|
2019-12-28 20:26:54 +00:00
|
|
|
58, 426,
|
|
|
|
79, 426,
|
|
|
|
144, 426,
|
|
|
|
150, 426,
|
|
|
|
-2, 317,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 358,
|
2019-12-24 14:16:35 +00:00
|
|
|
116, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
136, 0,
|
|
|
|
137, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
138, 0,
|
|
|
|
139, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 339,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 359,
|
2019-12-24 14:16:35 +00:00
|
|
|
116, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
136, 0,
|
|
|
|
137, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
138, 0,
|
|
|
|
139, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 340,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 360,
|
2019-12-24 14:16:35 +00:00
|
|
|
116, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
136, 0,
|
|
|
|
137, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
138, 0,
|
|
|
|
139, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 341,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 361,
|
2019-12-24 14:16:35 +00:00
|
|
|
116, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
136, 0,
|
|
|
|
137, 0,
|
|
|
|
138, 0,
|
|
|
|
139, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 342,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 362,
|
2019-12-24 14:16:35 +00:00
|
|
|
140, 0,
|
|
|
|
141, 0,
|
|
|
|
167, 0,
|
|
|
|
168, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 343,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 363,
|
2019-12-24 14:16:35 +00:00
|
|
|
140, 0,
|
|
|
|
141, 0,
|
|
|
|
167, 0,
|
|
|
|
168, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 344,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 364,
|
2019-12-24 14:16:35 +00:00
|
|
|
140, 0,
|
|
|
|
141, 0,
|
|
|
|
167, 0,
|
|
|
|
168, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 345,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 365,
|
2019-12-24 14:16:35 +00:00
|
|
|
140, 0,
|
|
|
|
141, 0,
|
|
|
|
167, 0,
|
|
|
|
168, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 346,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 366,
|
2019-12-24 14:16:35 +00:00
|
|
|
116, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
136, 0,
|
|
|
|
137, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
138, 0,
|
|
|
|
139, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 347,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 373,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 164,
|
|
|
|
160, 164,
|
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 418,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 466,
|
|
|
|
151, 466,
|
|
|
|
160, 466,
|
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 423,
|
2019-12-28 20:26:54 +00:00
|
|
|
58, 427,
|
|
|
|
79, 427,
|
|
|
|
144, 427,
|
|
|
|
148, 430,
|
|
|
|
150, 427,
|
|
|
|
-2, 349,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 437,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 452,
|
|
|
|
-2, 419,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 438,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 454,
|
|
|
|
-2, 444,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 518,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 452,
|
|
|
|
-2, 420,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 519,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 454,
|
|
|
|
-2, 445,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 536,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 214,
|
|
|
|
-2, 219,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 578,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 214,
|
|
|
|
-2, 219,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 603,
|
2019-12-28 20:26:54 +00:00
|
|
|
148, 430,
|
|
|
|
-2, 427,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 669,
|
2019-12-24 14:16:35 +00:00
|
|
|
149, 184,
|
2019-12-28 20:26:54 +00:00
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 677,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 214,
|
|
|
|
-2, 219,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 693,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 465,
|
|
|
|
151, 465,
|
|
|
|
160, 465,
|
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 730,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 185,
|
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 746,
|
2019-12-29 14:36:56 +00:00
|
|
|
37, 269,
|
|
|
|
39, 269,
|
|
|
|
-2, 266,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 760,
|
2018-04-09 20:08:29 +00:00
|
|
|
94, 209,
|
|
|
|
95, 209,
|
2019-12-24 14:16:35 +00:00
|
|
|
96, 209,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 789,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 184,
|
|
|
|
-2, 426,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 791,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 187,
|
|
|
|
-2, 400,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 806,
|
2019-12-28 20:26:54 +00:00
|
|
|
94, 210,
|
|
|
|
95, 210,
|
|
|
|
96, 210,
|
|
|
|
-2, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 856,
|
2019-12-28 20:26:54 +00:00
|
|
|
31, 200,
|
|
|
|
32, 200,
|
|
|
|
33, 200,
|
|
|
|
145, 200,
|
|
|
|
-2, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 888,
|
2019-12-28 20:26:54 +00:00
|
|
|
29, 77,
|
|
|
|
-2, 81,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 893,
|
2018-04-09 20:08:29 +00:00
|
|
|
31, 199,
|
|
|
|
32, 199,
|
|
|
|
33, 199,
|
2019-12-24 14:16:35 +00:00
|
|
|
145, 199,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1, 921,
|
2019-12-28 20:26:54 +00:00
|
|
|
149, 214,
|
|
|
|
-2, 219,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const yyPrivate = 57344
|
|
|
|
|
2019-12-29 20:42:52 +00:00
|
|
|
const yyLast = 7766
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyAct = [...]int{
|
|
|
|
|
2019-12-29 20:42:52 +00:00
|
|
|
28, 132, 765, 631, 843, 880, 866, 585, 442, 748,
|
|
|
|
842, 109, 785, 820, 191, 839, 635, 682, 113, 634,
|
|
|
|
668, 128, 140, 140, 140, 712, 650, 153, 380, 572,
|
|
|
|
117, 123, 633, 649, 224, 188, 327, 580, 540, 529,
|
|
|
|
636, 410, 372, 521, 318, 723, 226, 5, 322, 81,
|
|
|
|
382, 9, 321, 228, 232, 8, 85, 240, 241, 242,
|
|
|
|
243, 244, 152, 134, 245, 246, 247, 248, 249, 250,
|
|
|
|
251, 320, 254, 149, 7, 262, 263, 264, 319, 145,
|
|
|
|
2, 6, 130, 127, 139, 520, 436, 268, 129, 876,
|
|
|
|
277, 278, 873, 280, 281, 850, 691, 597, 273, 258,
|
|
|
|
83, 860, 338, 314, 234, 234, 899, 142, 143, 874,
|
|
|
|
870, 236, 236, 847, 411, 846, 107, 900, 549, 575,
|
|
|
|
684, 287, 339, 875, 871, 771, 716, 336, 334, 684,
|
|
|
|
313, 312, 307, 295, 324, 297, 340, 306, 329, 330,
|
|
|
|
304, 337, 335, 310, 706, 313, 311, 643, 628, 573,
|
|
|
|
326, 307, 564, 290, 292, 181, 341, 342, 343, 344,
|
|
|
|
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
|
|
|
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
|
|
365, 366, 416, 368, 370, 192, 374, 270, 708, 376,
|
|
|
|
44, 791, 222, 273, 119, 107, 107, 167, 700, 300,
|
|
|
|
607, 696, 610, 608, 392, 394, 395, 396, 397, 398,
|
|
|
|
399, 400, 401, 402, 403, 404, 405, 406, 165, 164,
|
|
|
|
407, 140, 409, 181, 228, 384, 867, 107, 166, 168,
|
|
|
|
169, 419, 617, 163, 234, 604, 421, 272, 613, 228,
|
|
|
|
119, 236, 107, 614, 388, 233, 239, 592, 412, 415,
|
|
|
|
861, 265, 932, 921, 140, 895, 430, 828, 414, 181,
|
|
|
|
827, 431, 818, 108, 136, 167, 140, 114, 807, 367,
|
|
|
|
795, 437, 518, 422, 80, 375, 530, 531, 221, 234,
|
|
|
|
532, 835, 270, 237, 220, 525, 236, 738, 728, 537,
|
|
|
|
710, 705, 541, 703, 228, 119, 166, 168, 169, 146,
|
|
|
|
695, 167, 170, 171, 666, 408, 526, 655, 177, 179,
|
|
|
|
136, 234, 645, 114, 605, 559, 596, 793, 236, 296,
|
|
|
|
822, 821, 165, 164, 551, 731, 554, 311, 543, 237,
|
|
|
|
694, 927, 166, 168, 169, 176, 178, 163, 424, 568,
|
|
|
|
677, 153, 108, 108, 609, 5, 638, 639, 429, 9,
|
|
|
|
435, 291, 663, 8, 517, 664, 426, 427, 527, 288,
|
|
|
|
578, 274, 425, 910, 562, 136, 560, 868, 114, 536,
|
|
|
|
571, 524, 7, 420, 108, 373, 389, 523, 294, 6,
|
|
|
|
546, 387, 426, 289, 427, 427, 426, 293, 587, 108,
|
|
|
|
588, 552, 279, 589, 590, 582, 558, 276, 586, 275,
|
|
|
|
253, 223, 219, 569, 186, 185, 184, 138, 577, 137,
|
|
|
|
133, 567, 115, 595, 584, 566, 766, 228, 599, 758,
|
|
|
|
418, 228, 391, 157, 159, 158, 181, 936, 190, 935,
|
|
|
|
909, 851, 579, 780, 781, 616, 894, 637, 857, 299,
|
|
|
|
619, 298, 181, 780, 781, 829, 824, 817, 777, 759,
|
|
|
|
183, 180, 433, 727, 594, 602, 274, 726, 724, 722,
|
|
|
|
719, 563, 548, 598, 545, 390, 155, 156, 167, 170,
|
|
|
|
171, 172, 173, 174, 175, 177, 179, 378, 333, 332,
|
|
|
|
618, 822, 821, 331, 167, 170, 171, 182, 161, 165,
|
|
|
|
164, 301, 816, 119, 813, 808, 160, 413, 162, 166,
|
|
|
|
168, 169, 176, 178, 163, 165, 164, 773, 615, 544,
|
|
|
|
915, 544, 544, 217, 218, 166, 168, 169, 864, 863,
|
|
|
|
163, 544, 809, 798, 140, 623, 204, 205, 206, 207,
|
|
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 794,
|
|
|
|
740, 438, 519, 644, 683, 167, 823, 583, 640, 187,
|
|
|
|
198, 199, 181, 257, 122, 77, 779, 193, 627, 769,
|
|
|
|
116, 620, 119, 659, 329, 661, 116, 624, 309, 642,
|
|
|
|
203, 665, 554, 294, 554, 311, 913, 651, 626, 309,
|
|
|
|
309, 148, 678, 745, 522, 267, 747, 259, 654, 681,
|
|
|
|
640, 5, 428, 586, 167, 9, 266, 119, 692, 8,
|
|
|
|
660, 200, 202, 201, 78, 79, 657, 119, 622, 680,
|
|
|
|
146, 309, 119, 638, 639, 698, 667, 679, 7, 849,
|
|
|
|
674, 729, 294, 234, 234, 6, 581, 118, 259, 530,
|
|
|
|
236, 236, 136, 648, 557, 114, 688, 752, 753, 754,
|
|
|
|
751, 750, 749, 714, 541, 653, 647, 383, 309, 640,
|
|
|
|
234, 386, 260, 261, 911, 555, 797, 236, 284, 285,
|
|
|
|
720, 119, 735, 736, 702, 550, 554, 136, 704, 713,
|
|
|
|
114, 554, 554, 228, 717, 651, 303, 733, 709, 715,
|
|
|
|
553, 737, 711, 889, 802, 305, 801, 718, 125, 640,
|
|
|
|
126, 760, 761, 260, 261, 228, 756, 148, 119, 119,
|
|
|
|
107, 755, 308, 135, 106, 46, 112, 732, 739, 912,
|
|
|
|
725, 752, 753, 754, 751, 750, 749, 535, 640, 259,
|
|
|
|
234, 325, 697, 329, 428, 840, 125, 236, 126, 762,
|
|
|
|
757, 764, 228, 554, 124, 554, 713, 901, 651, 767,
|
|
|
|
772, 812, 770, 774, 194, 150, 259, 119, 775, 111,
|
|
|
|
788, 428, 1, 803, 259, 640, 804, 586, 799, 778,
|
|
|
|
806, 611, 652, 800, 373, 669, 790, 38, 136, 259,
|
|
|
|
782, 114, 784, 786, 286, 121, 131, 259, 640, 234,
|
|
|
|
556, 819, 282, 811, 260, 261, 236, 237, 150, 826,
|
|
|
|
554, 693, 544, 814, 810, 381, 832, 621, 833, 834,
|
|
|
|
413, 625, 815, 746, 379, 831, 825, 780, 781, 197,
|
|
|
|
534, 260, 261, 135, 106, 196, 836, 844, 533, 260,
|
|
|
|
261, 743, 856, 259, 783, 780, 781, 848, 256, 195,
|
|
|
|
189, 744, 632, 855, 260, 261, 235, 539, 238, 225,
|
|
|
|
859, 283, 260, 261, 528, 865, 371, 108, 879, 877,
|
2020-09-10 20:11:08 +00:00
|
|
|
890, 891, 886, 838, 328, 841, 892, 893, 676, 885,
|
|
|
|
830, 730, 255, 853, 796, 897, 898, 385, 656, 872,
|
|
|
|
852, 934, 786, 896, 903, 662, 845, 905, 227, 43,
|
|
|
|
42, 16, 15, 151, 886, 908, 904, 902, 260, 261,
|
2020-09-09 19:53:51 +00:00
|
|
|
606, 885, 271, 49, 48, 110, 50, 84, 82, 72,
|
|
|
|
252, 62, 269, 61, 884, 883, 906, 918, 882, 881,
|
|
|
|
742, 147, 144, 45, 734, 673, 315, 928, 926, 922,
|
2019-12-29 20:42:52 +00:00
|
|
|
789, 924, 925, 586, 120, 929, 302, 3, 441, 768,
|
|
|
|
930, 707, 919, 640, 920, 933, 0, 4, 937, 89,
|
|
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
|
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
|
|
|
30, 0, 31, 0, 0, 20, 0, 0, 0, 21,
|
|
|
|
22, 35, 37, 106, 13, 23, 33, 0, 0, 34,
|
|
|
|
12, 0, 24, 0, 29, 87, 88, 10, 39, 40,
|
|
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
|
|
100, 101, 96, 97, 745, 0, 0, 747, 0, 0,
|
|
|
|
104, 0, 0, 0, 0, 11, 102, 98, 114, 0,
|
|
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 752, 753,
|
|
|
|
754, 751, 750, 749, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 105, 73, 14,
|
|
|
|
646, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
|
|
56, 58, 59, 71, 108, 4, 0, 89, 90, 70,
|
|
|
|
47, 94, 95, 36, 869, 107, 0, 27, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 112, 26, 18, 17, 0, 19, 0, 30, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
2019-12-28 20:26:54 +00:00
|
|
|
37, 106, 13, 23, 33, 0, 0, 34, 12, 0,
|
|
|
|
24, 0, 29, 87, 88, 10, 39, 40, 41, 0,
|
|
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
2019-12-29 20:42:52 +00:00
|
|
|
96, 97, 745, 0, 0, 747, 0, 0, 104, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 11, 102, 98, 114, 0, 91, 92,
|
|
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
|
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
2019-12-24 14:16:35 +00:00
|
|
|
76, 63, 64, 65, 66, 67, 68, 69, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 752, 753, 754, 751,
|
|
|
|
750, 749, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 105, 73, 14, 547, 32,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
2019-12-29 14:36:56 +00:00
|
|
|
59, 71, 108, 4, 0, 89, 90, 70, 47, 94,
|
2019-12-29 20:42:52 +00:00
|
|
|
95, 36, 837, 107, 0, 27, 0, 0, 0, 112,
|
2019-12-24 14:16:35 +00:00
|
|
|
26, 18, 17, 0, 19, 0, 30, 0, 31, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
2019-12-29 14:36:56 +00:00
|
|
|
13, 23, 33, 0, 0, 34, 12, 0, 24, 0,
|
|
|
|
29, 87, 88, 10, 39, 40, 41, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
2019-12-29 20:42:52 +00:00
|
|
|
745, 0, 0, 747, 0, 0, 104, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 11, 102, 98, 114, 0, 91, 92, 93, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 86, 53, 0, 0, 0, 74, 75,
|
|
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
2019-12-24 14:16:35 +00:00
|
|
|
64, 65, 66, 67, 68, 69, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 752, 753, 754, 751, 750, 749,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 105, 73, 14, 0, 32, 0, 60,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
2019-12-29 20:42:52 +00:00
|
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
|
|
|
805, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
2018-05-27 15:02:58 +00:00
|
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
|
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
|
|
|
111, 0, 103, 99, 100, 101, 96, 97, 745, 0,
|
|
|
|
0, 747, 0, 0, 104, 0, 0, 0, 0, 136,
|
2019-12-28 20:26:54 +00:00
|
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
|
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
|
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
2019-12-24 14:16:35 +00:00
|
|
|
66, 67, 68, 69, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 752, 753, 754, 751, 750, 749, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 105, 73, 14, 938, 32, 0, 60, 0, 52,
|
|
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
|
|
|
0, 89, 90, 70, 47, 94, 95, 36, 741, 107,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
19, 0, 30, 0, 31, 0, 0, 20, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
2019-12-28 20:26:54 +00:00
|
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
|
|
68, 69, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 105,
|
2019-12-29 20:42:52 +00:00
|
|
|
73, 14, 931, 32, 0, 60, 0, 52, 0, 0,
|
|
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
|
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
30, 0, 31, 0, 0, 20, 0, 0, 0, 21,
|
2019-12-28 20:26:54 +00:00
|
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
2019-12-28 20:26:54 +00:00
|
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 105, 73, 14,
|
2019-12-29 20:42:52 +00:00
|
|
|
917, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
|
|
56, 58, 59, 71, 108, 317, 0, 89, 90, 70,
|
2019-12-28 20:26:54 +00:00
|
|
|
47, 94, 95, 36, 0, 107, 0, 27, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 112, 26, 18, 17, 0, 19, 0, 30, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
2019-12-28 20:26:54 +00:00
|
|
|
37, 106, 0, 23, 33, 0, 0, 34, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
24, 0, 29, 87, 88, 323, 39, 40, 41, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
|
|
|
96, 97, 0, 0, 0, 0, 0, 0, 104, 0,
|
|
|
|
0, 0, 0, 136, 102, 98, 114, 0, 91, 92,
|
|
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
|
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
2019-12-24 14:16:35 +00:00
|
|
|
76, 63, 64, 65, 66, 67, 68, 69, 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,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 105, 73, 14, 916, 32,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
2019-12-29 20:42:52 +00:00
|
|
|
59, 71, 108, 317, 0, 89, 90, 70, 47, 94,
|
2019-12-28 20:26:54 +00:00
|
|
|
95, 36, 0, 107, 0, 27, 0, 0, 0, 112,
|
2019-12-29 20:42:52 +00:00
|
|
|
26, 18, 17, 0, 19, 914, 30, 0, 31, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 23, 33, 0, 0, 34, 0, 0, 24, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
29, 87, 88, 323, 39, 40, 41, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
|
|
|
0, 0, 0, 0, 0, 0, 104, 0, 0, 0,
|
|
|
|
0, 136, 102, 98, 114, 0, 91, 92, 93, 0,
|
|
|
|
0, 0, 0, 86, 53, 0, 0, 0, 74, 75,
|
|
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
2019-12-24 14:16:35 +00:00
|
|
|
64, 65, 66, 67, 68, 69, 0, 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,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 105, 73, 14, 0, 32, 0, 60,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
2019-12-29 20:42:52 +00:00
|
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
2019-12-29 20:42:52 +00:00
|
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
2019-12-29 20:42:52 +00:00
|
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
2019-12-28 20:26:54 +00:00
|
|
|
111, 0, 103, 99, 100, 101, 96, 97, 0, 0,
|
|
|
|
0, 0, 0, 0, 104, 0, 0, 0, 0, 136,
|
|
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
|
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
|
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
2019-12-24 14:16:35 +00:00
|
|
|
66, 67, 68, 69, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 105, 73, 14, 862, 32, 0, 60, 0, 52,
|
|
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 89, 90, 70, 47, 94, 95, 36, 0, 107,
|
|
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
19, 0, 30, 858, 31, 0, 0, 20, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
2019-12-28 20:26:54 +00:00
|
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
|
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
|
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
|
|
68, 69, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 105,
|
2019-12-29 20:42:52 +00:00
|
|
|
73, 14, 0, 32, 0, 60, 0, 52, 0, 0,
|
|
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
2019-12-28 20:26:54 +00:00
|
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
30, 0, 31, 792, 0, 20, 0, 0, 0, 21,
|
2019-12-28 20:26:54 +00:00
|
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
2019-12-28 20:26:54 +00:00
|
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
|
|
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, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 105, 73, 14,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
2019-12-29 20:42:52 +00:00
|
|
|
56, 58, 59, 71, 108, 317, 0, 89, 90, 70,
|
2019-12-28 20:26:54 +00:00
|
|
|
47, 94, 95, 36, 0, 107, 0, 27, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 112, 26, 18, 17, 776, 19, 0, 30, 0,
|
|
|
|
31, 0, 0, 20, 0, 0, 0, 21, 22, 35,
|
2019-12-28 20:26:54 +00:00
|
|
|
37, 106, 0, 23, 33, 0, 0, 34, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
24, 0, 29, 87, 88, 323, 39, 40, 41, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 51, 111, 0, 103, 99, 100, 101,
|
|
|
|
96, 97, 0, 0, 0, 0, 0, 0, 104, 0,
|
|
|
|
0, 0, 0, 136, 102, 98, 114, 0, 91, 92,
|
2019-12-29 14:36:56 +00:00
|
|
|
93, 0, 0, 0, 0, 86, 53, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
74, 75, 25, 78, 79, 0, 0, 0, 54, 55,
|
2019-12-24 14:16:35 +00:00
|
|
|
76, 63, 64, 65, 66, 67, 68, 69, 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,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 105, 73, 14, 0, 32,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 60, 0, 52, 0, 0, 0, 57, 56, 58,
|
2019-12-29 20:42:52 +00:00
|
|
|
59, 71, 108, 317, 0, 89, 90, 70, 47, 94,
|
2019-12-28 20:26:54 +00:00
|
|
|
95, 36, 0, 107, 0, 27, 0, 0, 0, 112,
|
2019-12-29 20:42:52 +00:00
|
|
|
26, 18, 17, 0, 19, 0, 30, 0, 31, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 20, 0, 0, 0, 21, 22, 35, 37, 106,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 23, 33, 0, 0, 34, 0, 0, 24, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
29, 87, 88, 323, 39, 40, 41, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 51, 111, 0, 103, 99, 100, 101, 96, 97,
|
|
|
|
0, 0, 0, 0, 0, 0, 104, 0, 0, 0,
|
|
|
|
0, 136, 102, 98, 114, 0, 91, 92, 93, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 86, 53, 0, 0, 687, 74, 75,
|
2019-12-28 20:26:54 +00:00
|
|
|
25, 78, 79, 0, 0, 0, 54, 55, 76, 63,
|
2019-12-24 14:16:35 +00:00
|
|
|
64, 65, 66, 67, 68, 69, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 105, 73, 14, 0, 32, 0, 60,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 52, 0, 0, 0, 57, 56, 58, 59, 71,
|
2019-12-29 20:42:52 +00:00
|
|
|
108, 317, 0, 89, 90, 70, 47, 94, 95, 36,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 107, 0, 27, 0, 0, 0, 112, 26, 18,
|
2019-12-24 14:16:35 +00:00
|
|
|
17, 0, 19, 0, 30, 0, 31, 0, 0, 20,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 21, 22, 35, 37, 106, 0, 23,
|
|
|
|
33, 0, 0, 34, 0, 0, 24, 0, 29, 87,
|
2019-12-29 20:42:52 +00:00
|
|
|
88, 323, 39, 40, 41, 0, 0, 0, 0, 51,
|
2019-12-28 20:26:54 +00:00
|
|
|
111, 0, 103, 99, 100, 101, 96, 97, 0, 0,
|
|
|
|
0, 0, 0, 0, 104, 0, 0, 0, 0, 136,
|
|
|
|
102, 98, 114, 0, 91, 92, 93, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 86, 53, 0, 0, 0, 74, 75, 25, 78,
|
2019-12-28 20:26:54 +00:00
|
|
|
79, 0, 0, 0, 54, 55, 76, 63, 64, 65,
|
2019-12-24 14:16:35 +00:00
|
|
|
66, 67, 68, 69, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 105, 73, 14, 576, 32, 0, 60, 0, 52,
|
|
|
|
0, 0, 0, 57, 56, 58, 59, 71, 108, 317,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 89, 90, 70, 47, 94, 95, 36, 0, 107,
|
|
|
|
0, 27, 0, 0, 0, 112, 26, 18, 17, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
19, 0, 30, 0, 31, 0, 0, 20, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 21, 22, 35, 37, 106, 0, 23, 33, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 34, 0, 0, 24, 0, 29, 87, 88, 323,
|
2019-12-28 20:26:54 +00:00
|
|
|
39, 40, 41, 0, 0, 0, 0, 51, 111, 0,
|
|
|
|
103, 99, 100, 101, 96, 97, 0, 0, 0, 0,
|
|
|
|
0, 0, 104, 0, 0, 0, 0, 136, 102, 98,
|
|
|
|
114, 0, 91, 92, 93, 0, 0, 0, 0, 86,
|
|
|
|
53, 0, 0, 0, 74, 75, 25, 78, 79, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 54, 55, 76, 63, 64, 65, 66, 67,
|
|
|
|
68, 69, 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, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 105,
|
2019-12-29 20:42:52 +00:00
|
|
|
73, 14, 316, 32, 0, 60, 0, 52, 0, 0,
|
|
|
|
0, 57, 56, 58, 59, 71, 108, 317, 0, 89,
|
2019-12-29 14:36:56 +00:00
|
|
|
90, 70, 47, 94, 95, 36, 0, 107, 0, 27,
|
|
|
|
0, 0, 0, 112, 26, 18, 17, 0, 19, 0,
|
|
|
|
30, 0, 31, 0, 0, 20, 0, 0, 0, 21,
|
|
|
|
22, 35, 37, 106, 0, 23, 33, 0, 0, 34,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 24, 0, 29, 87, 88, 323, 39, 40,
|
2019-12-29 14:36:56 +00:00
|
|
|
41, 0, 0, 0, 0, 51, 111, 0, 103, 99,
|
|
|
|
100, 101, 96, 97, 0, 0, 0, 0, 0, 0,
|
|
|
|
104, 0, 0, 0, 0, 136, 102, 98, 114, 0,
|
|
|
|
91, 92, 93, 0, 0, 0, 0, 86, 53, 0,
|
|
|
|
0, 0, 74, 75, 25, 78, 79, 0, 0, 0,
|
|
|
|
54, 55, 76, 63, 64, 65, 66, 67, 68, 69,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 105, 73, 14,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 32, 0, 60, 0, 52, 0, 0, 0, 57,
|
|
|
|
56, 58, 59, 71, 108, 449, 450, 460, 461, 0,
|
|
|
|
0, 440, 0, 107, 0, 0, 0, 0, 0, 0,
|
|
|
|
465, 466, 467, 468, 469, 470, 471, 472, 473, 474,
|
|
|
|
475, 495, 496, 497, 498, 499, 487, 488, 489, 516,
|
|
|
|
490, 491, 476, 477, 478, 479, 480, 481, 482, 483,
|
|
|
|
484, 485, 486, 0, 507, 505, 506, 502, 503, 0,
|
|
|
|
0, 494, 500, 501, 508, 509, 511, 510, 512, 513,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 504, 515, 514, 0, 0, 451, 452, 453, 454,
|
|
|
|
455, 456, 457, 458, 459, 462, 463, 464, 492, 493,
|
|
|
|
443, 444, 445, 446, 447, 448, 89, 90, 70, 47,
|
2019-12-28 20:26:54 +00:00
|
|
|
94, 95, 36, 0, 107, 0, 27, 0, 0, 0,
|
|
|
|
112, 26, 18, 17, 0, 19, 0, 30, 0, 31,
|
|
|
|
0, 0, 20, 0, 0, 0, 21, 22, 35, 135,
|
2019-12-29 20:42:52 +00:00
|
|
|
106, 0, 23, 33, 0, 439, 34, 0, 0, 24,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 29, 87, 88, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
108, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
2019-12-28 20:26:54 +00:00
|
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
|
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
|
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
2019-12-24 14:16:35 +00:00
|
|
|
75, 25, 0, 0, 0, 0, 0, 54, 55, 76,
|
2018-05-27 15:02:58 +00:00
|
|
|
63, 64, 65, 66, 67, 68, 69, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 105, 73, 14, 0, 32, 787,
|
2019-12-24 14:16:35 +00:00
|
|
|
60, 0, 52, 0, 0, 0, 57, 56, 58, 59,
|
2019-12-28 20:26:54 +00:00
|
|
|
71, 108, 89, 90, 70, 47, 94, 95, 36, 0,
|
|
|
|
107, 0, 27, 0, 0, 0, 112, 26, 18, 17,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 19, 0, 30, 0, 31, 0, 0, 20, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 21, 22, 35, 135, 106, 0, 23, 33,
|
|
|
|
0, 0, 34, 0, 0, 24, 0, 29, 87, 88,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 51, 111,
|
|
|
|
0, 103, 99, 100, 101, 96, 97, 0, 0, 0,
|
|
|
|
0, 0, 0, 104, 0, 0, 0, 0, 136, 102,
|
|
|
|
98, 114, 0, 91, 92, 93, 0, 0, 0, 0,
|
|
|
|
86, 53, 0, 0, 0, 74, 75, 25, 0, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 0, 0, 54, 55, 76, 63, 64, 65, 66,
|
|
|
|
67, 68, 69, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
105, 73, 14, 0, 32, 854, 60, 0, 52, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 57, 56, 58, 59, 71, 108, 89, 90,
|
|
|
|
70, 47, 94, 95, 36, 0, 107, 0, 27, 0,
|
|
|
|
0, 0, 112, 26, 18, 17, 0, 19, 0, 30,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 31, 0, 0, 20, 0, 0, 0, 21, 22,
|
2019-12-28 20:26:54 +00:00
|
|
|
35, 135, 106, 0, 23, 33, 0, 0, 34, 0,
|
|
|
|
0, 24, 0, 29, 87, 88, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
|
|
|
0, 0, 0, 0, 136, 102, 98, 114, 0, 91,
|
|
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 74, 75, 25, 0, 0, 0, 0, 0, 54,
|
2018-05-27 15:02:58 +00:00
|
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 105, 73, 14, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
32, 689, 60, 0, 52, 0, 0, 0, 57, 56,
|
2019-12-29 14:36:56 +00:00
|
|
|
58, 59, 71, 108, 89, 90, 70, 47, 94, 95,
|
|
|
|
36, 0, 107, 0, 27, 0, 0, 0, 112, 26,
|
|
|
|
18, 17, 0, 19, 0, 30, 0, 31, 0, 0,
|
|
|
|
20, 0, 0, 0, 21, 22, 35, 135, 106, 0,
|
|
|
|
23, 33, 0, 0, 34, 0, 0, 24, 0, 29,
|
|
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
|
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
|
|
136, 102, 98, 114, 0, 91, 92, 93, 0, 0,
|
|
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 25,
|
|
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
|
|
|
65, 66, 67, 68, 69, 0, 0, 0, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 105, 73, 14, 0, 32, 675, 60, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
52, 0, 0, 0, 57, 56, 58, 59, 71, 108,
|
2019-12-29 20:42:52 +00:00
|
|
|
89, 90, 70, 47, 94, 95, 36, 0, 107, 0,
|
|
|
|
27, 0, 0, 0, 112, 26, 18, 17, 0, 19,
|
|
|
|
0, 30, 0, 31, 0, 0, 20, 0, 0, 0,
|
|
|
|
21, 22, 35, 135, 106, 0, 23, 33, 0, 0,
|
|
|
|
34, 0, 0, 24, 0, 29, 87, 88, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 51, 111, 0, 103,
|
|
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
|
|
|
0, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
|
|
|
0, 0, 0, 74, 75, 25, 0, 0, 0, 0,
|
|
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
|
|
|
69, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 105, 73,
|
|
|
|
14, 0, 32, 658, 60, 0, 52, 0, 0, 0,
|
|
|
|
57, 56, 58, 59, 71, 108, 89, 90, 70, 47,
|
|
|
|
94, 95, 36, 0, 107, 0, 27, 0, 0, 0,
|
|
|
|
112, 26, 18, 17, 0, 19, 0, 30, 0, 31,
|
|
|
|
0, 0, 20, 0, 0, 0, 21, 22, 35, 135,
|
|
|
|
106, 0, 23, 33, 0, 0, 34, 0, 0, 24,
|
|
|
|
0, 29, 87, 88, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
|
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
|
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
|
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
|
|
|
75, 25, 0, 0, 0, 0, 0, 54, 55, 76,
|
|
|
|
63, 64, 65, 66, 67, 68, 69, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 105, 73, 14, 0, 32, 0,
|
|
|
|
60, 0, 52, 0, 0, 0, 57, 56, 58, 59,
|
|
|
|
71, 108, 449, 450, 460, 461, 0, 0, 888, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 465, 466, 467,
|
|
|
|
468, 469, 470, 471, 472, 473, 474, 475, 495, 496,
|
|
|
|
497, 498, 499, 487, 488, 489, 516, 490, 491, 476,
|
|
|
|
477, 478, 479, 480, 481, 482, 483, 484, 485, 486,
|
|
|
|
0, 507, 505, 506, 502, 503, 0, 0, 494, 500,
|
|
|
|
501, 508, 509, 511, 510, 512, 513, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 887, 515,
|
|
|
|
514, 114, 0, 451, 452, 453, 454, 455, 456, 457,
|
|
|
|
458, 459, 462, 463, 464, 492, 493, 443, 444, 445,
|
|
|
|
446, 447, 448, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 449,
|
|
|
|
450, 460, 461, 0, 0, 888, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 907, 465, 466, 467, 468, 469, 470,
|
|
|
|
471, 472, 473, 474, 475, 495, 496, 497, 498, 499,
|
|
|
|
487, 488, 489, 516, 490, 491, 476, 477, 478, 479,
|
|
|
|
480, 481, 482, 483, 484, 485, 486, 0, 507, 505,
|
|
|
|
506, 502, 503, 0, 0, 494, 500, 501, 508, 509,
|
|
|
|
511, 510, 512, 513, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 887, 515, 514, 114, 0,
|
|
|
|
451, 452, 453, 454, 455, 456, 457, 458, 459, 462,
|
|
|
|
463, 464, 492, 493, 443, 444, 445, 446, 447, 448,
|
|
|
|
89, 90, 70, 0, 94, 95, 119, 0, 107, 0,
|
|
|
|
0, 0, 0, 0, 112, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 135, 106, 0, 0, 0, 0, 0,
|
|
|
|
878, 0, 0, 0, 0, 0, 87, 88, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 231, 111, 0, 103,
|
|
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
|
|
|
230, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
|
|
|
0, 0, 0, 74, 75, 141, 0, 0, 0, 0,
|
|
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
|
|
|
69, 0, 0, 0, 89, 90, 70, 0, 94, 95,
|
|
|
|
119, 0, 107, 0, 0, 0, 0, 0, 112, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 105, 73,
|
|
|
|
0, 0, 0, 0, 60, 0, 52, 135, 106, 229,
|
|
|
|
57, 56, 58, 59, 71, 108, 0, 0, 0, 0,
|
|
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
|
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
|
|
136, 102, 98, 114, 542, 91, 92, 93, 0, 0,
|
|
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 141,
|
|
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
|
|
|
65, 66, 67, 68, 69, 0, 0, 0, 89, 90,
|
2019-12-29 14:36:56 +00:00
|
|
|
70, 0, 94, 95, 119, 0, 107, 0, 0, 0,
|
|
|
|
0, 0, 112, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 105, 73, 0, 0, 0, 0, 60, 538,
|
|
|
|
52, 135, 106, 0, 57, 56, 58, 59, 71, 108,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 87, 88, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 136, 102, 98, 114, 542, 91,
|
2019-12-29 14:36:56 +00:00
|
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
|
|
|
0, 74, 75, 141, 0, 0, 0, 0, 0, 54,
|
|
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 0,
|
|
|
|
0, 0, 89, 90, 70, 0, 94, 95, 119, 0,
|
|
|
|
107, 0, 0, 0, 0, 0, 112, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 105, 73, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 60, 0, 52, 135, 106, 0, 57, 56,
|
2019-12-29 14:36:56 +00:00
|
|
|
58, 59, 71, 108, 0, 0, 0, 0, 87, 88,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 601, 111,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 103, 99, 100, 101, 96, 97, 0, 0, 0,
|
|
|
|
0, 0, 0, 104, 0, 0, 0, 0, 136, 102,
|
2019-12-29 14:36:56 +00:00
|
|
|
98, 114, 0, 91, 92, 93, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
86, 53, 0, 0, 0, 74, 75, 141, 0, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 0, 0, 54, 55, 76, 63, 64, 65, 66,
|
2019-12-28 20:26:54 +00:00
|
|
|
67, 68, 69, 0, 0, 0, 89, 90, 70, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
94, 95, 119, 432, 107, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
112, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
105, 73, 0, 0, 0, 0, 60, 0, 52, 135,
|
2019-12-29 20:42:52 +00:00
|
|
|
106, 600, 57, 56, 58, 59, 71, 108, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 87, 88, 0, 0, 0, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 51, 111, 0, 103, 99, 100, 101, 96,
|
2019-12-28 20:26:54 +00:00
|
|
|
97, 0, 0, 0, 0, 0, 0, 104, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 136, 102, 98, 114, 0, 91, 92, 93,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 86, 53, 0, 0, 0, 74,
|
|
|
|
75, 141, 0, 0, 0, 0, 0, 54, 55, 76,
|
|
|
|
63, 64, 65, 66, 67, 68, 69, 0, 0, 0,
|
|
|
|
89, 90, 70, 0, 94, 95, 119, 0, 107, 0,
|
|
|
|
0, 0, 0, 0, 112, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 105, 73, 0, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
60, 0, 52, 135, 106, 0, 57, 56, 58, 59,
|
2019-12-28 20:26:54 +00:00
|
|
|
71, 108, 0, 0, 0, 0, 87, 88, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 51, 111, 0, 103,
|
2019-12-28 20:26:54 +00:00
|
|
|
99, 100, 101, 96, 97, 0, 0, 0, 0, 0,
|
|
|
|
0, 104, 0, 0, 0, 0, 136, 102, 98, 114,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 91, 92, 93, 0, 0, 0, 0, 86, 53,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 74, 75, 141, 0, 0, 0, 0,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 54, 55, 76, 63, 64, 65, 66, 67, 68,
|
2019-12-28 20:26:54 +00:00
|
|
|
69, 0, 0, 0, 89, 90, 70, 0, 94, 95,
|
2019-12-29 20:42:52 +00:00
|
|
|
119, 0, 107, 0, 0, 0, 0, 0, 112, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 105, 73,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 60, 0, 52, 135, 106, 393,
|
2019-12-28 20:26:54 +00:00
|
|
|
57, 56, 58, 59, 71, 108, 0, 0, 0, 0,
|
|
|
|
87, 88, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
51, 111, 0, 103, 99, 100, 101, 96, 97, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
|
|
|
|
136, 102, 98, 114, 0, 91, 92, 93, 0, 0,
|
|
|
|
0, 0, 86, 53, 0, 0, 0, 74, 75, 141,
|
2018-05-27 15:02:58 +00:00
|
|
|
0, 0, 0, 0, 0, 54, 55, 76, 63, 64,
|
2019-12-28 20:26:54 +00:00
|
|
|
65, 66, 67, 68, 69, 0, 0, 0, 89, 90,
|
2019-12-29 14:36:56 +00:00
|
|
|
70, 0, 94, 95, 119, 0, 107, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 112, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 105, 73, 0, 0, 0, 369, 60, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
52, 135, 106, 0, 57, 56, 58, 59, 71, 108,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 87, 88, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 51, 111, 0, 103, 99, 100,
|
|
|
|
101, 96, 97, 0, 0, 0, 0, 0, 0, 104,
|
|
|
|
0, 0, 0, 0, 136, 102, 98, 114, 0, 91,
|
|
|
|
92, 93, 0, 0, 0, 0, 86, 53, 0, 0,
|
|
|
|
0, 74, 75, 141, 0, 0, 0, 0, 0, 54,
|
2019-12-24 14:16:35 +00:00
|
|
|
55, 76, 63, 64, 65, 66, 67, 68, 69, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 157, 159, 158, 181, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 105, 73, 183, 180,
|
|
|
|
0, 0, 60, 0, 52, 0, 0, 0, 57, 56,
|
|
|
|
58, 59, 71, 108, 155, 156, 167, 170, 171, 172,
|
|
|
|
173, 174, 175, 177, 179, 0, 157, 159, 158, 181,
|
|
|
|
0, 0, 0, 0, 763, 182, 161, 165, 164, 0,
|
|
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
|
|
176, 178, 163, 183, 180, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 155,
|
|
|
|
156, 167, 170, 171, 172, 173, 174, 175, 177, 179,
|
|
|
|
0, 157, 159, 158, 181, 0, 0, 721, 0, 0,
|
|
|
|
182, 161, 165, 164, 0, 0, 0, 0, 0, 160,
|
|
|
|
0, 162, 166, 168, 169, 176, 178, 163, 183, 180,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
|
|
|
173, 174, 175, 177, 179, 0, 0, 0, 701, 157,
|
|
|
|
159, 158, 181, 0, 0, 182, 161, 165, 164, 0,
|
|
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
|
|
176, 178, 163, 0, 0, 0, 183, 180, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
|
|
175, 177, 179, 0, 0, 0, 699, 157, 159, 158,
|
|
|
|
181, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
|
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
|
|
163, 0, 0, 0, 183, 180, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
155, 156, 167, 170, 171, 172, 173, 174, 175, 177,
|
2019-12-29 20:42:52 +00:00
|
|
|
179, 0, 0, 0, 690, 157, 159, 158, 181, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 182, 161, 165, 164, 0, 0, 0, 0, 0,
|
|
|
|
160, 0, 162, 166, 168, 169, 176, 178, 163, 0,
|
|
|
|
0, 0, 183, 180, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
157, 159, 158, 181, 0, 0, 686, 0, 0, 182,
|
|
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
|
|
|
162, 166, 168, 169, 176, 178, 163, 183, 180, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
|
|
|
174, 175, 177, 179, 0, 157, 159, 158, 181, 0,
|
|
|
|
0, 685, 0, 0, 182, 161, 165, 164, 0, 0,
|
|
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
|
|
|
178, 163, 183, 180, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
|
|
|
0, 0, 641, 157, 159, 158, 181, 0, 0, 182,
|
2019-12-29 14:36:56 +00:00
|
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
|
|
|
162, 166, 168, 169, 176, 178, 163, 0, 0, 0,
|
|
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
2019-12-28 20:26:54 +00:00
|
|
|
171, 172, 173, 174, 175, 177, 179, 0, 157, 159,
|
2019-12-29 20:42:52 +00:00
|
|
|
158, 181, 0, 0, 630, 0, 0, 182, 161, 165,
|
2019-12-28 20:26:54 +00:00
|
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
|
|
|
168, 169, 176, 178, 163, 183, 180, 0, 0, 0,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
2019-12-29 20:42:52 +00:00
|
|
|
177, 179, 0, 157, 159, 158, 181, 0, 0, 629,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 182, 161, 165, 164, 0, 0, 0, 0,
|
|
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
|
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
|
|
|
171, 172, 173, 174, 175, 177, 179, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
612, 157, 159, 158, 181, 0, 0, 182, 161, 165,
|
2019-12-28 20:26:54 +00:00
|
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
|
|
|
168, 169, 176, 178, 163, 0, 0, 0, 183, 180,
|
2017-11-29 23:25:07 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
2019-12-29 14:36:56 +00:00
|
|
|
173, 174, 175, 177, 179, 0, 157, 159, 158, 181,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 603, 0, 0, 182, 161, 165, 164, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
|
|
176, 178, 163, 183, 180, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 155,
|
|
|
|
156, 167, 170, 171, 172, 173, 174, 175, 177, 179,
|
2019-12-29 20:42:52 +00:00
|
|
|
574, 0, 0, 593, 157, 159, 158, 181, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
182, 161, 165, 164, 0, 0, 0, 0, 0, 160,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 162, 166, 168, 169, 176, 178, 163, 0, 0,
|
|
|
|
0, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
|
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
|
|
159, 158, 181, 0, 0, 591, 0, 0, 182, 161,
|
|
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
|
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
|
|
175, 177, 179, 0, 157, 159, 158, 181, 0, 0,
|
|
|
|
0, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
|
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
|
|
163, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
|
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
|
|
159, 158, 181, 570, 0, 0, 0, 0, 182, 161,
|
|
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
|
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
2019-12-29 14:36:56 +00:00
|
|
|
175, 177, 179, 0, 157, 159, 158, 181, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
565, 0, 0, 182, 161, 165, 164, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
2019-12-29 14:36:56 +00:00
|
|
|
163, 183, 180, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 155, 156, 167,
|
2019-12-29 20:42:52 +00:00
|
|
|
170, 171, 172, 173, 174, 175, 177, 179, 0, 157,
|
|
|
|
159, 158, 181, 0, 0, 561, 0, 0, 182, 161,
|
2019-12-29 14:36:56 +00:00
|
|
|
165, 164, 0, 0, 0, 0, 0, 160, 0, 162,
|
2019-12-29 20:42:52 +00:00
|
|
|
166, 168, 169, 176, 178, 163, 183, 180, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 417, 0,
|
|
|
|
0, 0, 155, 156, 167, 170, 171, 172, 173, 174,
|
|
|
|
175, 177, 179, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
423, 0, 0, 182, 161, 165, 164, 157, 159, 158,
|
|
|
|
181, 0, 160, 0, 162, 166, 168, 169, 176, 178,
|
|
|
|
163, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 183, 180, 0, 0, 0, 0,
|
2017-12-07 09:46:25 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
155, 156, 167, 170, 171, 172, 173, 174, 175, 177,
|
2019-12-29 14:36:56 +00:00
|
|
|
179, 0, 157, 159, 158, 181, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 182, 161, 165, 164, 0, 0, 0, 0, 0,
|
|
|
|
160, 0, 162, 166, 168, 169, 176, 178, 163, 183,
|
|
|
|
180, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 155, 156, 167, 170, 171,
|
2019-12-29 20:42:52 +00:00
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
377, 157, 159, 158, 181, 0, 182, 161, 165, 164,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
2019-12-29 20:42:52 +00:00
|
|
|
169, 176, 178, 163, 0, 0, 0, 0, 183, 180,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 155, 156, 167, 170, 171, 172,
|
|
|
|
173, 174, 175, 177, 179, 0, 0, 0, 0, 154,
|
|
|
|
157, 159, 158, 181, 0, 182, 161, 165, 164, 0,
|
|
|
|
0, 0, 0, 0, 160, 0, 162, 166, 168, 169,
|
|
|
|
176, 178, 163, 0, 0, 0, 0, 183, 180, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
|
|
|
174, 175, 177, 179, 0, 0, 159, 158, 181, 0,
|
|
|
|
0, 0, 0, 0, 182, 161, 165, 164, 0, 0,
|
|
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
|
|
|
178, 163, 183, 180, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 155, 156,
|
|
|
|
167, 170, 171, 172, 173, 174, 175, 177, 179, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 158, 181, 0, 0, 0, 0, 0, 182,
|
2019-12-28 20:26:54 +00:00
|
|
|
161, 165, 164, 0, 0, 0, 0, 0, 160, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
162, 166, 168, 169, 176, 178, 163, 183, 180, 434,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 155, 156, 167, 170, 171, 172, 173,
|
2019-12-29 20:42:52 +00:00
|
|
|
174, 175, 177, 179, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 181, 0, 0, 182, 161, 165, 164, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 160, 0, 162, 166, 168, 169, 176,
|
2019-12-29 20:42:52 +00:00
|
|
|
178, 163, 0, 0, 0, 183, 180, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
2019-12-29 20:42:52 +00:00
|
|
|
177, 179, 0, 0, 0, 0, 181, 0, 0, 0,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 182, 161, 165, 164, 0, 0, 0, 0,
|
|
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
2019-12-28 20:26:54 +00:00
|
|
|
183, 180, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 155, 156, 167, 170,
|
2019-12-29 14:36:56 +00:00
|
|
|
171, 172, 173, 174, 175, 177, 179, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 181, 0, 0, 0, 0, 0, 182, 161, 165,
|
2019-12-28 20:26:54 +00:00
|
|
|
164, 0, 0, 0, 0, 0, 160, 0, 162, 166,
|
2019-12-29 20:42:52 +00:00
|
|
|
168, 169, 176, 178, 163, 183, 180, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 155, 156, 167, 170, 171, 172, 173, 174, 175,
|
2019-12-29 20:42:52 +00:00
|
|
|
177, 179, 0, 0, 0, 181, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 161, 165, 164, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 160, 0, 162, 166, 168, 169, 176, 178, 163,
|
2019-12-29 20:42:52 +00:00
|
|
|
180, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 181, 156, 167, 170, 171,
|
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
|
|
180, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
|
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
|
|
180, 0, 0, 0, 0, 160, 0, 162, 166, 168,
|
|
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
|
|
180, 0, 0, 0, 0, 0, 0, 162, 166, 168,
|
|
|
|
169, 176, 178, 163, 0, 181, 0, 167, 170, 171,
|
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 161, 165, 164,
|
|
|
|
180, 0, 0, 0, 0, 0, 0, 0, 166, 168,
|
|
|
|
169, 176, 178, 163, 0, 0, 0, 167, 170, 171,
|
|
|
|
172, 173, 174, 175, 177, 179, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 165, 164,
|
|
|
|
449, 450, 460, 461, 0, 0, 440, 0, 166, 168,
|
|
|
|
169, 176, 178, 163, 0, 465, 466, 467, 468, 469,
|
|
|
|
470, 471, 472, 473, 474, 475, 495, 496, 497, 498,
|
|
|
|
499, 487, 488, 489, 516, 490, 491, 476, 477, 478,
|
|
|
|
479, 480, 481, 482, 483, 484, 485, 486, 0, 507,
|
|
|
|
505, 506, 502, 503, 0, 0, 494, 500, 501, 508,
|
|
|
|
509, 511, 510, 512, 513, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 504, 515, 514, 0,
|
|
|
|
0, 451, 452, 453, 454, 455, 456, 457, 458, 459,
|
|
|
|
462, 463, 464, 492, 493, 443, 444, 445, 446, 447,
|
|
|
|
448, 449, 450, 460, 461, 0, 0, 923, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 465, 466, 467, 468,
|
|
|
|
469, 470, 471, 472, 473, 474, 475, 495, 496, 497,
|
|
|
|
498, 499, 487, 488, 489, 516, 490, 491, 476, 477,
|
|
|
|
478, 479, 480, 481, 482, 483, 484, 485, 486, 0,
|
|
|
|
507, 505, 506, 502, 503, 0, 0, 494, 500, 501,
|
|
|
|
508, 509, 511, 510, 512, 513, 119, 0, 107, 0,
|
|
|
|
0, 0, 0, 0, 112, 0, 0, 504, 515, 514,
|
|
|
|
0, 0, 451, 452, 453, 454, 455, 456, 457, 458,
|
|
|
|
459, 462, 463, 464, 492, 493, 752, 753, 754, 751,
|
|
|
|
750, 749, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 671, 111, 0, 0,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 136, 0, 0, 114,
|
2019-12-24 14:16:35 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 0, 237, 0, 0, 0, 0,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2017-11-29 23:25:07 +00:00
|
|
|
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,
|
2019-12-29 14:36:56 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 0, 0, 235, 0, 672, 0, 0, 670,
|
|
|
|
0, 0, 0, 0, 0, 108,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyPact = [...]int{
|
|
|
|
|
2019-12-29 20:42:52 +00:00
|
|
|
-1000, -1000, 1251, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
264, 483, 651, 766, -1000, -1000, -1000, 262, 4342, 261,
|
|
|
|
259, 5524, 5524, 5524, 183, 776, 5524, -1000, 6743, 258,
|
|
|
|
257, 256, -1000, 405, 5524, 820, 281, 32, 504, 819,
|
|
|
|
805, 799, 456, 507, 408, -1000, -1000, 254, -1000, -1000,
|
|
|
|
134, 253, 4726, 5524, 688, 688, 5524, 5524, 5524, 5524,
|
|
|
|
5524, -1000, -1000, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
|
|
252, 5524, -1000, 811, 5524, 5524, 5524, -1000, -1000, -1000,
|
|
|
|
-1000, 101, -1000, 517, 506, -1000, 184, 251, 249, 5524,
|
|
|
|
5524, 244, 5524, 5524, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 765, 757, 32, -1000, 215, 203,
|
|
|
|
203, 239, -1000, 490, 737, 170, 737, 295, -1000, -1000,
|
|
|
|
345, 602, -9, 619, 737, -1000, -1000, -1000, -1000, -15,
|
|
|
|
-1000, -59, 3147, 5524, 700, 32, 477, 5524, 5524, 337,
|
|
|
|
6802, 666, 333, 332, -18, -1000, -1000, -19, -1000, -1000,
|
|
|
|
-60, -24, -1000, 6802, -1000, 5524, 5524, 5524, 5524, 5524,
|
|
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
|
|
5524, 230, 5410, 5524, 688, 5524, 766, -1000, 6684, 331,
|
|
|
|
-1000, 794, -1000, 785, -1000, 591, -1000, 595, 233, 4342,
|
|
|
|
228, 319, 275, 5296, 5524, 5524, 5524, 5524, 5524, 5524,
|
|
|
|
5524, 5524, 5524, 5524, 5524, 5524, 5524, -1000, -1000, 5524,
|
|
|
|
5524, 5524, 104, 4726, 98, 22, -1000, -1000, 6629, 688,
|
|
|
|
5524, 225, -1000, -1000, 101, 5524, -1000, -1000, 4726, -1000,
|
|
|
|
412, 412, 461, 412, 6561, 412, 412, 412, 412, 412,
|
|
|
|
412, 412, -1000, 5524, 412, 219, 616, 707, -1000, 198,
|
|
|
|
5182, 688, 7025, 6970, 7025, 5524, 3461, 3461, 203, -1000,
|
|
|
|
505, 227, 203, -1000, -1000, 5524, 5524, 6802, 6802, 5524,
|
|
|
|
6802, 6802, 742, -1000, 734, 575, 616, 221, 5524, -1000,
|
|
|
|
-1000, 4840, -1000, 4726, 782, 490, 318, 490, -1000, -1000,
|
|
|
|
1093, -1000, 316, -28, 582, 737, -1000, 597, 511, 770,
|
|
|
|
551, -1000, -1000, 766, 5524, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, 218, 6506, 216, -1000, 315, -8, 6802,
|
|
|
|
6451, -1000, -1000, -1000, -1000, 183, -1000, 733, 5524, -1000,
|
|
|
|
5524, 7134, 7174, 6857, 7025, 6912, 7214, 7294, 7254, 132,
|
|
|
|
132, 132, 461, 412, 461, 461, 64, 64, 168, 168,
|
|
|
|
168, 168, 351, 351, 351, 351, 168, -1000, 6396, 5524,
|
|
|
|
7080, -11, -1000, -1000, 6341, -30, 2989, -1000, -1000, -1000,
|
|
|
|
212, 591, 569, 587, 403, -1000, 587, 5524, -1000, 5524,
|
|
|
|
-1000, -1000, 7025, 5524, 7025, 7025, 7025, 7025, 7025, 7025,
|
2019-12-29 21:14:17 +00:00
|
|
|
7025, 7025, 7025, 7025, 7025, 7025, 7025, 6286, 96, 6228,
|
2019-12-29 20:42:52 +00:00
|
|
|
203, -1000, 5524, -1000, 167, -65, 4726, 5068, -1000, 6802,
|
|
|
|
4726, 6173, 84, -1000, 165, -1000, -1000, -1000, -1000, 190,
|
|
|
|
751, 6115, 93, 363, 5524, 81, 203, -1000, -1000, 5524,
|
2017-11-29 22:07:15 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
2017-11-23 15:33:47 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
2017-11-28 19:56:09 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
2017-11-29 22:07:15 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
2018-04-09 20:08:29 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
2019-12-29 20:42:52 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, 203, -1000, -1000,
|
|
|
|
-1000, -1000, 183, 5524, 5524, 104, 183, 591, -12, -1000,
|
|
|
|
6802, 6060, 6005, -1000, -1000, -1000, 285, 5947, -1000, -13,
|
|
|
|
-1000, 6802, 5524, 163, -1000, -1000, 935, -1000, -1000, -1000,
|
|
|
|
502, 550, -1000, 737, 539, 689, -1000, 501, -1000, 6802,
|
|
|
|
158, 4186, 5524, 5524, 5524, 208, -1000, -1000, 6802, -1000,
|
|
|
|
5524, 7080, 155, 688, 7606, 4030, -1000, 192, 285, 569,
|
|
|
|
-1000, 587, -1000, -1000, 400, -40, -1000, 5892, 5837, 2831,
|
|
|
|
7294, 3874, -1000, -1000, -1000, 5779, -66, 5524, -1000, 6802,
|
|
|
|
688, 182, 151, -1000, -1000, -1000, 50, -1000, -1000, 709,
|
|
|
|
-1000, -1000, -1000, -1000, 5524, -1000, 7025, -1000, -1000, 5721,
|
|
|
|
-1000, -1000, 47, 5663, -1000, -1000, 569, 144, 5524, -1000,
|
|
|
|
-1000, 142, -16, -1000, 35, -1000, -1000, 552, -1000, -1000,
|
|
|
|
-1000, -1000, 141, 4954, 6802, -1000, -1000, 737, 499, -34,
|
|
|
|
-1000, -1000, 737, 689, -1000, 314, -1000, -1000, -1000, 5608,
|
|
|
|
313, 6802, -1000, 312, 311, 7080, 307, -1000, 139, 562,
|
|
|
|
688, 177, 4726, -1000, -1000, -1000, 620, 285, 138, -1000,
|
|
|
|
396, -40, 1433, -1000, 587, 4342, 272, 303, -1000, -1000,
|
|
|
|
-1000, 5524, 7025, -1000, 4726, -66, -1000, -1000, 5553, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, 269, 285, 475, -1000, -1000,
|
|
|
|
-1000, -1000, -35, -1000, 737, 362, 689, -1000, -34, -1000,
|
|
|
|
2673, 302, 5524, 411, -1000, 793, -1000, -1000, 3562, 7606,
|
|
|
|
-1000, 4726, 40, 2515, -1000, 169, 395, 121, 611, 379,
|
|
|
|
-1000, -1000, -1000, 285, 647, 587, 612, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, 1275, -1000, -1000, -1000, -1000,
|
|
|
|
3305, 7025, 119, 350, 378, -1000, 285, -1000, 729, -1000,
|
|
|
|
349, 737, -35, -1000, -1000, 347, 301, -1000, 113, -1000,
|
|
|
|
5524, 174, 401, 300, 775, -1000, -1000, -1000, 111, -1000,
|
|
|
|
108, -1000, 299, 587, -1000, 269, 269, 133, -1000, 1117,
|
|
|
|
713, 7446, 32, -31, -1000, -1000, 3305, -66, -1000, -1000,
|
|
|
|
560, -1000, -67, -1000, -1000, 286, -1000, -1000, 3718, 335,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, 292, 2357, 3562, -1000, -1000,
|
|
|
|
89, -1000, 2199, 375, 374, 214, 959, -1000, -36, -1000,
|
|
|
|
-70, -37, -1000, -73, 7446, -1000, -1000, 4625, 538, 5524,
|
|
|
|
5524, -1000, -1000, -1000, -1000, -1000, 3305, -1000, 290, -1000,
|
|
|
|
106, 587, -1000, -1000, -1000, -43, -1000, -1000, 725, -1000,
|
|
|
|
-1000, 713, -1000, 5524, -1000, 7446, 5524, -1000, -1000, 4498,
|
|
|
|
-1000, 284, 217, 608, 680, 497, -1000, 477, -1000, -1000,
|
|
|
|
7025, 6802, 2041, 3305, -1000, 366, -1000, 1883, 1725, -1000,
|
|
|
|
214, -1000, -1000, 6802, -1000, 6802, 105, -1000, -1000, -1000,
|
|
|
|
-1000, 587, 7547, 7446, 185, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, 285, -40, -1000, -1000, 7446, -1000, -1000, 1567, 103,
|
|
|
|
-1000, -1000, 269, 283, -1000, -1000, -1000, 1409, -1000,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyPgo = [...]int{
|
|
|
|
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 931, 929, 14, 8, 928, 4, 29, 13, 927,
|
|
|
|
11, 44, 78, 71, 52, 48, 926, 26, 924, 83,
|
|
|
|
21, 82, 916, 0, 84, 915, 914, 42, 190, 32,
|
2020-09-09 19:53:51 +00:00
|
|
|
19, 38, 913, 912, 79, 911, 73, 910, 5, 909,
|
|
|
|
908, 905, 904, 15, 62, 903, 902, 100, 87, 274,
|
|
|
|
901, 900, 899, 6, 898, 86, 41, 897, 56, 49,
|
|
|
|
896, 895, 894, 893, 892, 99, 890, 883, 882, 881,
|
2020-09-10 20:11:08 +00:00
|
|
|
880, 10, 879, 878, 46, 39, 40, 2, 16, 705,
|
|
|
|
43, 85, 876, 875, 871, 12, 870, 868, 555, 50,
|
|
|
|
37, 867, 864, 9, 762, 20, 553, 862, 18, 860,
|
|
|
|
858, 855, 88, 36, 854, 25, 33, 853, 45, 848,
|
2019-12-29 20:42:52 +00:00
|
|
|
846, 554, 845, 844, 839, 34, 837, 80, 1, 3,
|
2020-05-17 21:23:02 +00:00
|
|
|
832, 17, 831, 821, 803, 7, 767, 752, 28,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR1 = [...]int{
|
|
|
|
|
2020-05-17 21:23:02 +00:00
|
|
|
0, 127, 4, 4, 4, 4, 4, 4, 4, 4,
|
2017-12-27 14:55:09 +00:00
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
2019-12-28 20:26:54 +00:00
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
|
|
|
5, 5, 5, 5, 5, 5, 5, 6, 6, 117,
|
2020-09-10 20:11:08 +00:00
|
|
|
117, 98, 98, 10, 10, 10, 9, 9, 9, 9,
|
2017-12-27 14:55:09 +00:00
|
|
|
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
2020-09-10 20:11:08 +00:00
|
|
|
9, 94, 94, 16, 16, 18, 18, 7, 7, 106,
|
2020-09-09 19:53:51 +00:00
|
|
|
106, 105, 105, 111, 111, 17, 17, 20, 20, 19,
|
2020-09-10 20:11:08 +00:00
|
|
|
19, 102, 102, 118, 118, 22, 22, 22, 22, 22,
|
2019-12-28 20:26:54 +00:00
|
|
|
22, 22, 11, 11, 11, 11, 11, 11, 11, 11,
|
2018-05-27 15:02:58 +00:00
|
|
|
11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
|
2020-09-10 20:11:08 +00:00
|
|
|
11, 11, 11, 11, 11, 11, 100, 100, 99, 99,
|
2019-12-28 20:26:54 +00:00
|
|
|
26, 26, 110, 110, 27, 12, 1, 1, 2, 2,
|
2020-09-10 20:11:08 +00:00
|
|
|
13, 13, 126, 126, 79, 79, 14, 15, 89, 89,
|
|
|
|
91, 91, 90, 90, 95, 95, 95, 95, 86, 86,
|
|
|
|
85, 85, 25, 25, 83, 83, 83, 83, 108, 108,
|
|
|
|
108, 8, 8, 87, 87, 70, 70, 68, 68, 72,
|
|
|
|
72, 69, 69, 119, 119, 120, 120, 29, 29, 30,
|
|
|
|
30, 78, 78, 76, 76, 76, 77, 77, 80, 80,
|
2020-09-09 19:53:51 +00:00
|
|
|
116, 116, 31, 31, 33, 33, 34, 35, 35, 36,
|
2020-09-10 20:11:08 +00:00
|
|
|
36, 121, 121, 37, 37, 37, 37, 125, 125, 82,
|
|
|
|
82, 82, 109, 109, 38, 38, 39, 40, 40, 40,
|
|
|
|
40, 42, 42, 41, 84, 84, 123, 123, 122, 122,
|
|
|
|
124, 124, 93, 93, 93, 93, 93, 93, 107, 107,
|
|
|
|
43, 43, 101, 101, 71, 21, 67, 67, 44, 103,
|
2020-09-09 19:53:51 +00:00
|
|
|
103, 104, 104, 46, 45, 45, 32, 32, 32, 32,
|
2018-05-12 20:10:01 +00:00
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
|
|
32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
2020-09-10 20:11:08 +00:00
|
|
|
32, 32, 32, 88, 88, 128, 3, 3, 92, 92,
|
2020-09-09 19:53:51 +00:00
|
|
|
112, 112, 53, 53, 54, 54, 54, 54, 47, 47,
|
2020-09-10 20:11:08 +00:00
|
|
|
48, 48, 51, 51, 97, 97, 97, 81, 81, 58,
|
2020-09-09 19:53:51 +00:00
|
|
|
58, 58, 52, 52, 52, 52, 52, 52, 52, 52,
|
|
|
|
52, 52, 52, 52, 52, 52, 52, 52, 59, 59,
|
|
|
|
59, 23, 23, 24, 24, 57, 60, 60, 60, 61,
|
|
|
|
61, 61, 62, 62, 62, 62, 62, 62, 28, 28,
|
|
|
|
28, 49, 49, 49, 63, 63, 64, 64, 64, 64,
|
2020-09-10 20:11:08 +00:00
|
|
|
64, 64, 55, 55, 55, 56, 56, 56, 115, 74,
|
|
|
|
74, 114, 114, 73, 73, 73, 73, 73, 73, 73,
|
|
|
|
96, 96, 96, 96, 65, 65, 65, 65, 65, 65,
|
2020-09-09 19:53:51 +00:00
|
|
|
65, 66, 66, 66, 66, 50, 50, 50, 50, 50,
|
2020-09-10 20:11:08 +00:00
|
|
|
50, 50, 113, 113, 75,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR2 = [...]int{
|
|
|
|
|
|
|
|
0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2019-12-28 20:26:54 +00:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
|
|
|
|
0, 1, 3, 1, 3, 2, 1, 1, 1, 1,
|
|
|
|
1, 1, 4, 3, 5, 4, 3, 4, 3, 4,
|
|
|
|
3, 1, 1, 6, 7, 6, 7, 0, 1, 3,
|
|
|
|
1, 3, 1, 3, 1, 1, 2, 1, 3, 1,
|
|
|
|
2, 3, 1, 2, 0, 1, 1, 1, 1, 1,
|
|
|
|
1, 4, 3, 1, 1, 5, 7, 9, 5, 3,
|
|
|
|
3, 3, 3, 3, 3, 1, 2, 6, 7, 9,
|
|
|
|
5, 1, 6, 3, 3, 2, 0, 9, 1, 3,
|
|
|
|
0, 4, 1, 3, 1, 11, 0, 1, 0, 1,
|
|
|
|
9, 8, 1, 2, 1, 1, 6, 7, 0, 2,
|
|
|
|
0, 2, 0, 2, 1, 2, 4, 3, 1, 4,
|
|
|
|
1, 4, 1, 4, 3, 4, 4, 5, 0, 5,
|
|
|
|
4, 1, 1, 1, 4, 5, 6, 1, 3, 6,
|
|
|
|
7, 3, 6, 1, 0, 1, 3, 4, 6, 0,
|
|
|
|
1, 1, 2, 1, 1, 1, 0, 2, 2, 4,
|
|
|
|
1, 3, 1, 2, 3, 1, 1, 3, 1, 1,
|
2019-12-29 14:36:56 +00:00
|
|
|
3, 2, 0, 4, 4, 3, 10, 1, 3, 1,
|
2019-12-28 20:26:54 +00:00
|
|
|
2, 3, 1, 2, 2, 2, 3, 3, 3, 4,
|
|
|
|
3, 1, 1, 3, 1, 3, 1, 1, 0, 1,
|
|
|
|
1, 2, 1, 1, 1, 1, 1, 1, 3, 1,
|
|
|
|
2, 4, 3, 1, 4, 4, 3, 1, 1, 0,
|
|
|
|
1, 3, 1, 8, 3, 2, 6, 5, 3, 4,
|
|
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 2, 2, 2, 2, 3, 3,
|
2017-12-01 08:26:17 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2019-12-28 20:26:54 +00:00
|
|
|
3, 3, 3, 3, 3, 2, 2, 2, 2, 3,
|
2017-12-01 08:26:17 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2019-12-28 20:26:54 +00:00
|
|
|
1, 5, 4, 3, 1, 2, 2, 2, 2, 2,
|
|
|
|
2, 2, 2, 2, 1, 3, 2, 1, 2, 4,
|
|
|
|
2, 1, 2, 11, 9, 0, 0, 1, 0, 4,
|
|
|
|
3, 1, 1, 2, 2, 4, 4, 2, 1, 1,
|
|
|
|
1, 1, 0, 3, 0, 1, 1, 0, 1, 4,
|
|
|
|
3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 3, 2, 3, 3, 1, 1, 1, 3,
|
|
|
|
3, 1, 1, 0, 1, 1, 1, 3, 1, 1,
|
|
|
|
3, 1, 1, 4, 4, 4, 4, 1, 1, 1,
|
|
|
|
3, 1, 4, 2, 3, 3, 1, 4, 4, 3,
|
|
|
|
3, 3, 1, 3, 1, 1, 3, 1, 1, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
1, 3, 1, 3, 1, 4, 2, 2, 6, 4,
|
|
|
|
2, 2, 1, 2, 1, 4, 3, 3, 3, 6,
|
|
|
|
3, 1, 1, 2, 1, 5, 4, 2, 2, 4,
|
|
|
|
2, 2, 1, 3, 1,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyChk = [...]int{
|
|
|
|
|
2020-05-17 21:23:02 +00:00
|
|
|
-1000, -127, -117, -9, 2, -11, -12, -13, -14, -15,
|
2020-09-10 20:11:08 +00:00
|
|
|
52, 80, 45, 39, 144, -68, -69, 21, 20, 23,
|
2019-12-24 14:16:35 +00:00
|
|
|
30, 34, 35, 40, 47, 99, 19, 14, -23, 49,
|
2019-12-28 20:26:54 +00:00
|
|
|
25, 27, 146, 41, 44, 36, 10, 37, -126, 53,
|
2020-09-10 20:11:08 +00:00
|
|
|
54, 55, -70, -72, -28, -32, -79, 7, -62, -63,
|
2020-09-09 19:53:51 +00:00
|
|
|
-60, 60, 150, 93, 105, 106, 155, 154, 156, 157,
|
|
|
|
148, -45, -50, 108, 109, 110, 111, 112, 113, 114,
|
2020-09-10 20:11:08 +00:00
|
|
|
6, 158, -52, 143, 97, 98, 107, -88, 100, 101,
|
2020-09-09 19:53:51 +00:00
|
|
|
-49, -59, -54, -47, -57, -58, 92, 50, 51, 4,
|
2019-12-28 20:26:54 +00:00
|
|
|
5, 85, 86, 87, 8, 9, 67, 68, 82, 64,
|
|
|
|
65, 66, 81, 63, 75, 142, 38, 12, 159, -10,
|
2020-09-10 20:11:08 +00:00
|
|
|
-61, 61, 18, -98, 83, 148, 83, -98, 144, 10,
|
|
|
|
-18, -94, -111, -98, 83, 37, 39, -19, -20, -102,
|
2019-12-28 20:26:54 +00:00
|
|
|
-21, 10, -118, 148, -11, 37, 80, 148, 148, -24,
|
2020-09-10 20:11:08 +00:00
|
|
|
-23, 99, -24, -24, -33, -34, -49, -35, -88, -36,
|
|
|
|
12, -67, -44, -23, 146, 131, 132, 88, 90, 89,
|
2019-12-28 20:26:54 +00:00
|
|
|
161, 153, 163, 169, 155, 154, 164, 133, 165, 166,
|
|
|
|
134, 135, 136, 137, 138, 139, 167, 140, 168, 141,
|
|
|
|
116, 91, 152, 115, 148, 148, 148, 144, -23, 10,
|
2020-09-10 20:11:08 +00:00
|
|
|
147, -3, 153, 53, -79, 10, 10, 10, 94, 95,
|
2019-12-28 20:26:54 +00:00
|
|
|
94, 96, 95, 162, 118, 119, 120, 121, 122, 123,
|
|
|
|
124, 125, 126, 127, 128, 129, 130, 105, 106, 148,
|
2020-09-10 20:11:08 +00:00
|
|
|
150, 144, 58, 148, -115, -114, -74, -73, -23, 153,
|
2020-09-09 19:53:51 +00:00
|
|
|
84, 60, -23, -28, -59, 148, -58, 99, 150, -28,
|
2018-05-27 15:02:58 +00:00
|
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
2020-09-10 20:11:08 +00:00
|
|
|
-23, -23, -51, 148, -23, -97, 17, -96, -65, 12,
|
2020-09-09 19:53:51 +00:00
|
|
|
77, 78, -23, -23, -23, 150, 79, 79, -48, -46,
|
|
|
|
-47, -64, 53, -10, -49, 148, 148, -23, -23, 148,
|
2020-09-10 20:11:08 +00:00
|
|
|
-23, -23, 17, 76, -96, -96, 17, -3, 144, -49,
|
|
|
|
-80, 148, -80, 148, 83, -98, 149, -98, 146, 144,
|
|
|
|
-117, 146, -16, -111, -98, 83, 146, 160, 83, 29,
|
|
|
|
-98, -20, 146, 160, 162, -22, 145, 2, -11, -12,
|
2020-09-09 19:53:51 +00:00
|
|
|
-13, -14, -15, 52, -23, 21, -3, -103, -104, -23,
|
2019-12-29 20:42:52 +00:00
|
|
|
-23, 146, 146, 146, 146, 160, 146, 160, 162, 146,
|
|
|
|
160, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
2018-05-27 15:02:58 +00:00
|
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
|
2020-09-09 19:53:51 +00:00
|
|
|
-23, -23, -23, -23, -23, -23, -23, -48, -23, 147,
|
2020-09-10 20:11:08 +00:00
|
|
|
-23, -110, -27, -28, -23, -102, -118, 146, 146, 10,
|
|
|
|
-128, 10, -89, 56, -128, -91, 56, 148, -11, 148,
|
2019-12-29 20:42:52 +00:00
|
|
|
146, 147, -23, 153, -23, -23, -23, -23, -23, -23,
|
|
|
|
-23, -23, -23, -23, -23, -23, -23, -23, -24, -23,
|
2020-09-09 19:53:51 +00:00
|
|
|
-56, 10, 144, -49, -115, 151, 160, 59, -28, -23,
|
|
|
|
148, -23, -115, 149, -24, 143, -65, -65, 17, 150,
|
|
|
|
58, -23, 11, -28, 59, -24, -55, -6, -49, 144,
|
2019-12-29 20:42:52 +00:00
|
|
|
10, -5, -4, 99, 100, 101, 102, 103, 104, 4,
|
|
|
|
5, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
|
|
6, 7, 94, 95, 96, 19, 20, 21, 22, 23,
|
|
|
|
24, 25, 26, 27, 28, 29, 41, 42, 43, 44,
|
|
|
|
45, 46, 47, 48, 49, 50, 51, 35, 36, 37,
|
|
|
|
39, 40, 97, 98, 60, 30, 31, 32, 33, 34,
|
|
|
|
61, 62, 56, 57, 80, 54, 55, 53, 63, 64,
|
2020-09-09 19:53:51 +00:00
|
|
|
66, 65, 67, 68, 82, 81, 38, -55, -6, -49,
|
2020-09-10 20:11:08 +00:00
|
|
|
-81, -80, 79, 150, 144, 58, 79, -81, -113, -75,
|
2019-12-29 20:42:52 +00:00
|
|
|
-23, -23, -23, 76, 76, 142, 148, -23, 149, -116,
|
|
|
|
-31, -23, 84, -115, 10, 146, -117, 145, 146, 146,
|
2020-09-10 20:11:08 +00:00
|
|
|
83, -98, -19, 83, -98, 144, 10, 83, -21, -23,
|
2020-09-09 19:53:51 +00:00
|
|
|
148, 149, 148, 146, 160, 149, -34, -36, -23, -44,
|
2020-09-10 20:11:08 +00:00
|
|
|
147, -23, -7, 160, 29, 149, 145, -128, 148, -89,
|
|
|
|
-90, 57, -10, 144, -128, -125, -10, -23, -23, -118,
|
|
|
|
-23, 149, 151, 145, -80, -23, 149, 162, -74, -23,
|
2020-09-09 19:53:51 +00:00
|
|
|
153, 60, -115, 149, 151, 149, -66, 10, 13, 154,
|
2020-09-10 20:11:08 +00:00
|
|
|
12, 10, 145, 145, 150, 145, -23, 151, -80, -23,
|
|
|
|
-80, -49, -24, -23, -56, -49, -89, -7, 160, 149,
|
|
|
|
149, -119, -120, -29, -30, -78, -76, 152, 61, 62,
|
2020-09-09 19:53:51 +00:00
|
|
|
-10, 145, -7, 160, -23, 149, 145, 144, 83, -106,
|
2020-09-10 20:11:08 +00:00
|
|
|
-17, -20, -94, 144, -128, 149, -87, -11, 147, -23,
|
|
|
|
-103, -23, -83, 144, 147, -23, 149, -27, -95, -28,
|
|
|
|
153, 60, 150, -25, -11, 147, -100, 148, -119, -90,
|
2020-05-17 21:23:02 +00:00
|
|
|
-128, -125, -121, 144, 160, 149, 149, 96, -11, 147,
|
2019-12-29 20:42:52 +00:00
|
|
|
145, 162, -23, -28, 148, 149, 151, 13, -23, 145,
|
2020-09-10 20:11:08 +00:00
|
|
|
151, 145, -90, 149, -75, 149, 160, -1, 153, -76,
|
2020-09-09 19:53:51 +00:00
|
|
|
149, -31, -105, -20, 144, -7, 160, -20, -106, 146,
|
2019-12-29 20:42:52 +00:00
|
|
|
-118, 149, 146, -108, 146, -108, 146, 146, 149, 59,
|
2020-05-17 21:23:02 +00:00
|
|
|
-28, 148, -115, -118, -26, 42, 43, -119, 149, -128,
|
2020-09-10 20:11:08 +00:00
|
|
|
144, 145, -37, -123, -122, 45, -124, 48, -93, 104,
|
2019-12-29 20:42:52 +00:00
|
|
|
103, 102, 99, 100, 101, -121, -10, -11, 147, 146,
|
2020-09-10 20:11:08 +00:00
|
|
|
-118, -23, -115, 151, -128, -77, 147, -29, -2, 84,
|
2020-09-09 19:53:51 +00:00
|
|
|
-7, 160, -105, 145, -17, -7, 22, 146, -103, 145,
|
2020-09-10 20:11:08 +00:00
|
|
|
32, 33, -108, 31, -108, -85, -11, 147, -95, -28,
|
|
|
|
-115, 151, 28, 148, 144, 149, -92, 45, 144, -121,
|
|
|
|
-30, 39, 37, -125, -93, 145, -118, 149, 145, 144,
|
|
|
|
-128, -78, 12, 145, -20, -7, 145, 146, 149, -23,
|
2019-12-29 20:42:52 +00:00
|
|
|
-8, 147, 146, 145, 146, 31, -118, 149, 149, 146,
|
2020-09-10 20:11:08 +00:00
|
|
|
-99, -10, -118, -77, -77, 148, -121, 145, -107, -43,
|
|
|
|
12, -101, -71, -6, -3, -82, 146, 144, -121, 59,
|
|
|
|
162, 145, -86, -11, 147, -8, -118, 146, 26, -85,
|
2020-09-09 19:53:51 +00:00
|
|
|
12, 161, 145, 144, 144, -112, -53, 12, 153, 145,
|
2020-05-17 21:23:02 +00:00
|
|
|
146, 160, -128, 162, 146, 160, 162, -6, 145, -109,
|
2020-09-09 19:53:51 +00:00
|
|
|
-38, -39, -40, -41, -42, -10, -6, 80, 10, 145,
|
2019-12-29 20:42:52 +00:00
|
|
|
-23, -23, -118, -118, 146, 149, -10, -118, -118, 149,
|
2020-09-10 20:11:08 +00:00
|
|
|
160, 12, -43, -23, -71, -23, -128, 145, -38, 146,
|
2020-09-09 19:53:51 +00:00
|
|
|
146, 46, 29, 79, 24, 144, 145, 145, -53, -128,
|
2020-09-10 20:11:08 +00:00
|
|
|
-128, 148, -125, 10, -4, -93, -6, 146, -118, -119,
|
|
|
|
-6, 145, 149, -77, -84, 146, 144, -118, 145,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyDef = [...]int{
|
|
|
|
|
2019-12-28 20:26:54 +00:00
|
|
|
80, -2, -2, 79, 86, 87, 88, 89, 90, 91,
|
|
|
|
0, 0, 0, 0, 124, 133, 134, 0, 0, 0,
|
|
|
|
0, 423, 423, 423, 0, 388, 0, 145, 0, 0,
|
|
|
|
0, 0, 151, 0, 0, 0, 81, 376, 0, 0,
|
|
|
|
0, 0, 207, 0, -2, 422, 172, 0, -2, 439,
|
|
|
|
425, 0, 459, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 350, 354, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
392, 0, 364, 394, 0, 367, 0, 371, 174, 175,
|
|
|
|
432, 417, 437, 0, 0, -2, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 402, 403, 404, 405, 406, 407,
|
|
|
|
408, 409, 410, 411, 0, 0, 376, 441, 0, -2,
|
|
|
|
0, 0, 401, 83, 0, 0, 0, 0, 80, 81,
|
|
|
|
0, 0, 0, 117, 0, 101, 102, 114, 119, 0,
|
|
|
|
122, 0, 0, 0, 0, 376, 0, 289, 0, 0,
|
|
|
|
424, 388, 0, 0, 0, 235, 236, 0, 372, 238,
|
|
|
|
239, 0, 287, 288, 146, 0, 0, 0, 0, 0,
|
2017-11-28 16:00:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 124, 0, 0,
|
|
|
|
155, 375, 377, 0, 173, 178, 375, 180, 0, 0,
|
2017-11-29 13:49:32 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2019-12-28 20:26:54 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 314, 316, 0,
|
|
|
|
423, 0, 0, 459, 0, 458, 462, 460, 464, 0,
|
2019-12-29 20:42:52 +00:00
|
|
|
0, 0, 300, -2, 0, 0, -2, 388, 459, -2,
|
|
|
|
335, 336, 337, 338, 0, 355, 356, 357, 358, 359,
|
|
|
|
360, 361, 362, 423, 363, 0, 395, 396, 472, 474,
|
|
|
|
0, 0, 366, 368, 370, 423, 0, 0, 397, 295,
|
|
|
|
390, 391, 397, 389, 446, 0, 0, 487, 488, 0,
|
|
|
|
490, 491, 0, 413, 0, 0, 0, 0, 0, 443,
|
|
|
|
384, 0, 387, 459, 0, 85, 0, 84, 93, 80,
|
|
|
|
0, 96, 0, 0, 117, 0, 98, 0, 0, 0,
|
|
|
|
117, 120, 100, 0, 0, 123, 132, 125, 126, 127,
|
|
|
|
128, 129, 130, 0, 0, 0, 375, 0, 290, 292,
|
|
|
|
0, 139, 140, 141, 142, 0, 143, 0, 0, 144,
|
|
|
|
0, 318, 319, 320, 321, 322, 323, 324, 325, 326,
|
|
|
|
327, 328, 329, 330, 331, 332, 333, 334, -2, -2,
|
|
|
|
-2, -2, -2, -2, -2, -2, -2, 348, 0, 0,
|
|
|
|
353, 107, 162, -2, 0, 0, 0, 153, 154, 375,
|
|
|
|
0, 178, 182, 0, 0, 375, 0, 0, 208, 0,
|
|
|
|
211, 124, 298, 0, 301, 302, 303, 304, 305, 306,
|
|
|
|
307, 308, 309, 310, 311, 312, 313, 0, 0, 0,
|
|
|
|
440, 455, 0, 457, 0, 400, 459, 0, -2, 467,
|
|
|
|
459, 0, 0, -2, 0, 365, 473, 470, 471, 0,
|
|
|
|
0, 0, 0, 426, 0, 0, 0, -2, -2, 0,
|
|
|
|
77, 78, 70, 71, 72, 73, 74, 75, 76, 2,
|
|
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
|
|
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
|
|
|
|
63, 64, 65, 66, 67, 68, 69, 0, -2, -2,
|
|
|
|
294, 398, 0, 423, 0, 0, 0, 178, 107, 492,
|
|
|
|
494, 0, 0, 412, 415, 414, -2, 0, 228, 107,
|
|
|
|
230, 232, 0, 0, 82, 92, 0, 95, 97, 99,
|
|
|
|
0, 117, 113, 0, 117, 0, 118, 0, 121, 375,
|
|
|
|
0, 0, 0, 289, 0, 0, 234, 237, 240, 286,
|
|
|
|
0, 352, 0, 108, 0, 0, 156, 0, -2, 182,
|
|
|
|
375, 0, 179, 242, 0, 181, 247, 0, 0, 0,
|
|
|
|
299, 0, 433, 435, 436, 0, 0, 0, 461, 463,
|
|
|
|
0, 0, 0, -2, 400, 393, 0, 481, 482, 0,
|
|
|
|
484, 476, 477, 478, 0, 480, 369, 434, 385, 0,
|
|
|
|
386, 450, 0, 0, 449, 451, 182, 0, 108, 486,
|
|
|
|
489, 0, 213, 215, 166, 220, 221, 0, 223, 224,
|
|
|
|
225, 442, 0, 108, 233, 399, 94, 0, 0, 107,
|
|
|
|
110, 115, 0, 0, 285, 0, 135, 203, 124, 0,
|
|
|
|
0, 291, 138, 198, 198, 351, 0, 163, 0, -2,
|
|
|
|
0, 0, 459, 150, 192, 124, 160, -2, 0, 375,
|
|
|
|
0, 183, 268, 242, 0, 0, 0, 0, 205, 124,
|
|
|
|
456, 0, 297, -2, 459, 469, 475, 483, 0, 453,
|
|
|
|
447, 448, 375, 485, 493, 226, 219, 168, 167, 222,
|
|
|
|
229, 231, 107, 112, 0, 0, 108, 116, 107, 131,
|
|
|
|
0, 0, 289, 0, 198, 0, 198, 147, 0, 0,
|
|
|
|
-2, 459, 0, 0, 152, 0, 0, 0, 378, 0,
|
|
|
|
242, 176, 241, 219, 0, 0, -2, 267, 270, 272,
|
|
|
|
273, 274, 275, 276, 277, 268, 248, 206, 124, 212,
|
|
|
|
-2, 296, 0, 0, 0, 375, 0, 216, 0, 169,
|
|
|
|
0, 108, 107, 105, 109, 0, 0, 136, 0, 194,
|
|
|
|
0, 0, 0, 0, 0, 148, 190, 124, 0, -2,
|
|
|
|
0, -2, 0, 0, 124, 226, 226, 0, 242, 268,
|
|
|
|
0, 0, 376, 0, 271, 177, -2, 468, 479, 242,
|
|
|
|
0, 227, 217, 103, 111, 0, 106, 204, 0, 0,
|
|
|
|
124, 201, 202, 195, 196, 0, 0, 0, 186, 193,
|
|
|
|
0, 158, 0, 0, 0, 0, 268, 171, 0, 279,
|
|
|
|
375, 0, 283, 0, 0, 245, 249, 0, 268, 0,
|
|
|
|
0, 104, 137, 188, 124, 124, -2, 197, 0, 149,
|
|
|
|
0, 0, 161, 124, 124, 0, 381, 382, 0, 170,
|
|
|
|
243, 0, 280, 0, 244, 0, 0, 375, 250, 0,
|
|
|
|
252, 0, 0, 262, 0, 0, 261, 57, -2, 293,
|
|
|
|
374, 218, 0, -2, 191, 0, 159, 0, 0, 379,
|
|
|
|
0, 383, 278, 375, 282, 375, 0, 251, 253, 254,
|
|
|
|
255, 0, 0, 0, 0, 124, 165, 373, 380, 281,
|
|
|
|
284, -2, 256, 257, 258, 260, 263, 189, 0, 0,
|
|
|
|
259, 157, 226, 0, 246, 264, 124, 0, 265,
|
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,
|
2019-12-24 14:16:35 +00:00
|
|
|
3, 3, 3, 156, 142, 3, 159, 166, 153, 3,
|
|
|
|
148, 149, 164, 155, 160, 154, 169, 165, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 147, 146,
|
|
|
|
167, 162, 168, 152, 158, 3, 3, 3, 3, 3,
|
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,
|
2019-12-24 14:16:35 +00:00
|
|
|
3, 150, 3, 151, 163, 3, 143, 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,
|
2019-12-24 14:16:35 +00:00
|
|
|
3, 3, 3, 144, 161, 145, 157,
|
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,
|
2019-12-24 14:16:35 +00:00
|
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok3 = [...]int{
|
|
|
|
0,
|
|
|
|
}
|
|
|
|
|
|
|
|
var yyErrorMessages = [...]struct {
|
|
|
|
state int
|
|
|
|
token int
|
|
|
|
msg string
|
|
|
|
}{}
|
|
|
|
|
2020-01-08 07:47:23 +00:00
|
|
|
// line yaccpar:1
|
2017-11-24 01:36:58 +00:00
|
|
|
|
2017-11-23 15:33:47 +00:00
|
|
|
/* parser for yacc output */
|
|
|
|
|
|
|
|
var (
|
|
|
|
yyDebug = 0
|
2018-06-06 16:47:28 +00:00
|
|
|
yyErrorVerbose = true
|
2017-11-23 15:33:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:293
|
2017-11-23 15:33:47 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yylex.(*Parser).rootNode = &ast.Root{ast.Node{}, yyDollar[1].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yylex.(*Parser).rootNode.GetNode().Position = position.NewNodeListPosition(yyDollar[1].list)
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yylex.(*Parser).rootNode, token.End, yylex.(*Parser).currentToken.SkippedTokens)
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
2017-11-29 21:53:45 +00:00
|
|
|
case 2:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 5:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 7:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 9:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:304
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 10:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 11:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 12:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 13:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 14:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 15:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 16:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 17:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 18:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 19:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 20:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 21:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:305
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 22:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 23:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 24:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 25:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 26:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 27:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 28:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 29:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 30:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 31:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:306
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 32:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 33:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 34:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 35:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 36:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 37:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 38:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 39:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 40:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 41:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:307
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 42:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 43:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 44:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 45:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 46:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 47:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 48:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 49:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 50:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 51:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 52:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:308
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 53:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 54:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 55:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 56:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 57:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 58:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 59:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 60:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 61:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 62:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 63:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 64:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 65:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 66:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 67:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 68:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 69:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:310
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 70:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:315
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 71:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 72:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 73:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 74:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 75:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2017-12-03 16:36:34 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2017-11-23 15:33:47 +00:00
|
|
|
case 76:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:318
|
2017-11-23 15:33:47 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
case 77:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:323
|
2017-11-23 15:33:47 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
2017-11-24 01:36:58 +00:00
|
|
|
case 78:
|
2019-12-28 20:26:54 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:327
|
2019-12-28 20:26:54 +00:00
|
|
|
{
|
|
|
|
yyVAL.token = yyDollar[1].token
|
|
|
|
}
|
|
|
|
case 79:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:334
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
if inlineHtmlNode, ok := yyDollar[2].node.(*ast.StmtInlineHtml); ok && len(yyDollar[1].list) > 0 {
|
2018-12-17 13:24:13 +00:00
|
|
|
prevNode := lastNode(yyDollar[1].list)
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).splitSemiColonAndPhpCloseTag(inlineHtmlNode, prevNode)
|
2018-12-17 13:24:13 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
if yyDollar[2].node != nil {
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 80:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:345
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 81:
|
2017-11-27 23:09:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:352
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.list = []ast.Vertex{
|
|
|
|
&ast.NameNamePart{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
|
|
},
|
|
|
|
StringTkn: yyDollar[1].token,
|
|
|
|
Value: yyDollar[1].token.Value,
|
|
|
|
},
|
|
|
|
}
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 82:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:364
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, &ast.NameNamePart{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
|
|
StringTkn: yyDollar[3].token,
|
|
|
|
Value: yyDollar[3].token.Value,
|
|
|
|
})
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 83:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:378
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[1].list,
|
|
|
|
}
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 84:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:387
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.NameRelative{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list),
|
|
|
|
},
|
|
|
|
NsTkn: yyDollar[1].token,
|
|
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
|
|
Parts: yyDollar[3].list,
|
|
|
|
}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 85:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:398
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.NameFullyQualified{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list),
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[1].token,
|
|
|
|
Parts: yyDollar[2].list,
|
|
|
|
}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 86:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:411
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-04-09 20:08:29 +00:00
|
|
|
// error
|
|
|
|
yyVAL.node = nil
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 87:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:416
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 88:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:420
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2017-11-29 20:56:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 89:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:424
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2017-11-30 17:16:01 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 90:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:428
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 91:
|
2018-04-09 20:08:29 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:432
|
2018-04-09 20:08:29 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 92:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:436
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-24 18:41:06 +00:00
|
|
|
yyVAL.node = &ast.StmtHaltCompiler{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
HaltCompilerTkn: yyDollar[1].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
|
|
CloseParenthesisTkn: yyDollar[3].token,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 93:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:448
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
NsTkn: yyDollar[1].token,
|
|
|
|
Name: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 94:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:464
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token),
|
|
|
|
},
|
|
|
|
NsTkn: yyDollar[1].token,
|
|
|
|
Name: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
OpenCurlyBracket: yyDollar[3].token,
|
|
|
|
Stmts: yyDollar[4].list,
|
|
|
|
CloseCurlyBracket: yyDollar[5].token,
|
|
|
|
}
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 95:
|
2017-11-30 16:25:41 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:482
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2020-08-24 11:20:20 +00:00
|
|
|
yyVAL.node = &ast.StmtNamespace{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
NsTkn: yyDollar[1].token,
|
|
|
|
OpenCurlyBracket: yyDollar[2].token,
|
|
|
|
Stmts: yyDollar[3].list,
|
|
|
|
CloseCurlyBracket: yyDollar[4].token,
|
|
|
|
}
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 96:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:494
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
use := yyDollar[2].node.(*ast.StmtGroupUse)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
use.Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
use.UseTkn = yyDollar[1].token
|
|
|
|
use.SemiColonTkn = yyDollar[3].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 97:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:504
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
use := yyDollar[3].node.(*ast.StmtGroupUse)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
use.Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
use.UseTkn = yyDollar[1].token
|
|
|
|
use.Type = yyDollar[2].node
|
|
|
|
use.SemiColonTkn = yyDollar[4].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.node = yyDollar[3].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 98:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:515
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = &ast.StmtUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
UseTkn: yyDollar[1].token,
|
|
|
|
UseDeclarations: yyDollar[2].list,
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 99:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:526
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = &ast.StmtUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
UseTkn: yyDollar[1].token,
|
|
|
|
Type: yyDollar[2].node,
|
|
|
|
UseDeclarations: yyDollar[3].list,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 100:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:538
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.node = &ast.StmtConstList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
ConstTkn: yyDollar[1].token,
|
|
|
|
Consts: yyDollar[2].list,
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 101:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:552
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 102:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:562
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 103:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:575
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
if len(yyDollar[4].list) > 0 {
|
|
|
|
yyDollar[4].list[len(yyDollar[4].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[5].token
|
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token),
|
|
|
|
},
|
|
|
|
Prefix: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[1].list,
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
|
|
OpenCurlyBracketTkn: yyDollar[3].token,
|
|
|
|
UseDeclarations: yyDollar[4].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[6].token,
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 104:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:597
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyDollar[5].list[len(yyDollar[5].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[6].token
|
|
|
|
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
|
|
},
|
|
|
|
LeadingNsSeparatorTkn: yyDollar[1].token,
|
|
|
|
Prefix: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[3].token,
|
|
|
|
OpenCurlyBracketTkn: yyDollar[4].token,
|
|
|
|
UseDeclarations: yyDollar[5].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[7].token,
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 105:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:621
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyDollar[4].list[len(yyDollar[4].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[5].token
|
|
|
|
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token),
|
|
|
|
},
|
|
|
|
Prefix: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[1].list,
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[2].token,
|
|
|
|
OpenCurlyBracketTkn: yyDollar[3].token,
|
|
|
|
UseDeclarations: yyDollar[4].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[6].token,
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 106:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:641
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyDollar[5].list[len(yyDollar[5].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[6].token
|
|
|
|
|
|
|
|
yyVAL.node = &ast.StmtGroupUse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
|
|
|
},
|
|
|
|
LeadingNsSeparatorTkn: yyDollar[1].token,
|
|
|
|
Prefix: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
NsSeparatorTkn: yyDollar[3].token,
|
|
|
|
OpenCurlyBracketTkn: yyDollar[4].token,
|
|
|
|
UseDeclarations: yyDollar[5].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[7].token,
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 107:
|
2018-05-27 15:02:58 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:665
|
2018-05-27 15:02:58 +00:00
|
|
|
{
|
|
|
|
yyVAL.token = nil
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 108:
|
2018-05-27 15:02:58 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:669
|
2018-05-27 15:02:58 +00:00
|
|
|
{
|
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 109:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:676
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 110:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:682
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 111:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:689
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 112:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:695
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 113:
|
2017-11-28 20:47:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:702
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
yyDollar[1].list[len(yyDollar[1].list)-1].(*ast.StmtUseDeclaration).CommaTkn = yyDollar[2].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 114:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:708
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 115:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:715
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-11-30 17:04:52 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 116:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:719
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
decl := yyDollar[2].node.(*ast.StmtUseDeclaration)
|
|
|
|
decl.Type = yyDollar[1].node
|
|
|
|
decl.Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
2020-08-03 19:22:53 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 117:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:730
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = &ast.StmtUseDeclaration{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Use: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[1].list,
|
|
|
|
},
|
|
|
|
}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 118:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:744
|
2020-08-22 13:59:26 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = &ast.StmtUseDeclaration{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
Use: &ast.NameName{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[1].list),
|
|
|
|
},
|
|
|
|
Parts: yyDollar[1].list,
|
|
|
|
},
|
|
|
|
AsTkn: yyDollar[2].token,
|
|
|
|
Alias: &ast.Identifier{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[3].token),
|
|
|
|
},
|
|
|
|
Value: yyDollar[3].token.Value,
|
|
|
|
},
|
|
|
|
}
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 119:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:768
|
2017-11-28 22:35:21 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 120:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:772
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2020-08-22 13:59:26 +00:00
|
|
|
decl := yyDollar[2].node.(*ast.StmtUseDeclaration)
|
|
|
|
decl.NsSeparatorTkn = yyDollar[1].token
|
|
|
|
decl.Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-22 13:59:26 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 121:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:783
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
lastNode(yyDollar[1].list).(*ast.StmtConstant).CommaTkn = yyDollar[2].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 122:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:789
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 123:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:796
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
if inlineHtmlNode, ok := yyDollar[2].node.(*ast.StmtInlineHtml); ok && len(yyDollar[1].list) > 0 {
|
2018-12-17 13:24:13 +00:00
|
|
|
prevNode := lastNode(yyDollar[1].list)
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).splitSemiColonAndPhpCloseTag(inlineHtmlNode, prevNode)
|
2018-12-17 13:24:13 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
if yyDollar[2].node != nil {
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 124:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:807
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 125:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:814
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-04-09 20:08:29 +00:00
|
|
|
// error
|
|
|
|
yyVAL.node = nil
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 126:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:819
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2017-11-30 17:37:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 127:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:823
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2017-11-30 18:07:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 128:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:827
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 129:
|
2018-04-09 20:08:29 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:831
|
2018-04-09 20:08:29 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 130:
|
2018-04-09 20:08:29 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:835
|
2018-04-09 20:08:29 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 131:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:839
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2020-08-24 18:41:06 +00:00
|
|
|
yyVAL.node = &ast.StmtHaltCompiler{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
HaltCompilerTkn: yyDollar[1].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
|
|
CloseParenthesisTkn: yyDollar[3].token,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
|
|
|
}
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 132:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:853
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2020-09-02 19:58:19 +00:00
|
|
|
yyVAL.node = &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenCurlyBracket: yyDollar[1].token,
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
CloseCurlyBracket: yyDollar[3].token,
|
|
|
|
}
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 133:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:864
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2017-11-30 18:07:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 134:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:868
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 135:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:872
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-09-04 07:33:47 +00:00
|
|
|
yyDollar[5].node.(*ast.StmtWhile).WhileTkn = yyDollar[1].token
|
|
|
|
yyDollar[5].node.(*ast.StmtWhile).OpenParenthesisTkn = yyDollar[2].token
|
|
|
|
yyDollar[5].node.(*ast.StmtWhile).Cond = yyDollar[3].node
|
|
|
|
yyDollar[5].node.(*ast.StmtWhile).CloseParenthesisTkn = yyDollar[4].token
|
|
|
|
yyDollar[5].node.(*ast.StmtWhile).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-05-02 00:36:53 +00:00
|
|
|
yyVAL.node = yyDollar[5].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 136:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:882
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-09-04 07:53:07 +00:00
|
|
|
yyVAL.node = &ast.StmtDo{
|
2020-09-03 19:18:06 +00:00
|
|
|
Node: ast.Node{
|
2020-09-04 07:53:07 +00:00
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token),
|
2020-09-03 19:18:06 +00:00
|
|
|
},
|
2020-09-04 07:53:07 +00:00
|
|
|
DoTkn: yyDollar[1].token,
|
|
|
|
Stmt: yyDollar[2].node,
|
|
|
|
WhileTkn: yyDollar[3].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[4].token,
|
|
|
|
Cond: yyDollar[5].node,
|
|
|
|
CloseParenthesisTkn: yyDollar[6].token,
|
|
|
|
SemiColonTkn: yyDollar[7].token,
|
2020-09-03 19:18:06 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 137:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:897
|
2018-05-02 00:36:53 +00:00
|
|
|
{
|
2020-09-04 08:37:17 +00:00
|
|
|
yyDollar[9].node.(*ast.StmtFor).ForTkn = yyDollar[1].token
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).OpenParenthesisTkn = yyDollar[2].token
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).Init = yyDollar[3].list
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).InitSemiColonTkn = yyDollar[4].token
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).Cond = yyDollar[5].list
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).CondSemiColonTkn = yyDollar[6].token
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).Loop = yyDollar[7].list
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).CloseParenthesisTkn = yyDollar[8].token
|
|
|
|
yyDollar[9].node.(*ast.StmtFor).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-05-02 00:36:53 +00:00
|
|
|
yyVAL.node = yyDollar[9].node
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 138:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:911
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyDollar[5].node.(*ast.StmtSwitch).SwitchTkn = yyDollar[1].token
|
|
|
|
yyDollar[5].node.(*ast.StmtSwitch).OpenParenthesisTkn = yyDollar[2].token
|
|
|
|
yyDollar[5].node.(*ast.StmtSwitch).Cond = yyDollar[3].node
|
|
|
|
yyDollar[5].node.(*ast.StmtSwitch).CloseParenthesisTkn = yyDollar[4].token
|
|
|
|
yyDollar[5].node.(*ast.StmtSwitch).Node.Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-04-29 20:10:56 +00:00
|
|
|
yyVAL.node = yyDollar[5].node
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 139:
|
2017-11-29 13:49:32 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:921
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2020-09-06 10:02:13 +00:00
|
|
|
yyVAL.node = &ast.StmtBreak{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
BreakTkn: yyDollar[1].token,
|
|
|
|
Expr: yyDollar[2].node,
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 140:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:932
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2020-09-06 10:02:13 +00:00
|
|
|
yyVAL.node = &ast.StmtContinue{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
ContinueTkn: yyDollar[1].token,
|
|
|
|
Expr: yyDollar[2].node,
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 141:
|
2017-11-28 19:47:12 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:943
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2020-09-06 10:09:00 +00:00
|
|
|
yyVAL.node = &ast.StmtReturn{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
ReturnTkn: yyDollar[1].token,
|
|
|
|
Expr: yyDollar[2].node,
|
|
|
|
SemiColonTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 142:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:954
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyDollar[2].node.(*ast.StmtGlobal).GlobalTkn = yyDollar[1].token
|
|
|
|
yyDollar[2].node.(*ast.StmtGlobal).SemiColonTkn = yyDollar[3].token
|
|
|
|
yyDollar[2].node.(*ast.StmtGlobal).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 143:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:962
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyDollar[2].node.(*ast.StmtStatic).StaticTkn = yyDollar[1].token
|
|
|
|
yyDollar[2].node.(*ast.StmtStatic).SemiColonTkn = yyDollar[3].token
|
|
|
|
yyDollar[2].node.(*ast.StmtStatic).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 144:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:970
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-09-10 20:11:08 +00:00
|
|
|
yyDollar[2].node.(*ast.StmtEcho).EchoTkn = yyDollar[1].token
|
|
|
|
yyDollar[2].node.(*ast.StmtEcho).SemiColonTkn = yyDollar[3].token
|
|
|
|
yyDollar[2].node.(*ast.StmtEcho).Node.Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-10 20:11:08 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 145:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:978
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2020-09-14 13:36:01 +00:00
|
|
|
yyVAL.node = &ast.StmtInlineHtml{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
|
|
},
|
|
|
|
InlineHtmlTkn: yyDollar[1].token,
|
|
|
|
Value: yyDollar[1].token.Value,
|
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 146:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:988
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtExpression{ast.Node{}, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[2].token.SkippedTokens)
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 147:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1000
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtUnset{ast.Node{}, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Unset, yyDollar[2].token.SkippedTokens)
|
2018-05-27 15:02:58 +00:00
|
|
|
if yyDollar[4].token != nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, append(yyDollar[4].token.SkippedTokens, yyDollar[5].token.SkippedTokens...))
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, yyDollar[5].token.SkippedTokens)
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.CloseParenthesisToken, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[6].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 148:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1018
|
2018-05-02 00:36:53 +00:00
|
|
|
{
|
|
|
|
switch n := yyDollar[7].node.(type) {
|
2020-05-12 21:16:36 +00:00
|
|
|
case *ast.StmtForeach:
|
2018-05-02 00:36:53 +00:00
|
|
|
n.Expr = yyDollar[3].node
|
2020-05-12 21:16:36 +00:00
|
|
|
n.Var = yyDollar[5].node
|
|
|
|
case *ast.StmtAltForeach:
|
2018-05-02 00:36:53 +00:00
|
|
|
n.Expr = yyDollar[3].node
|
2020-05-12 21:16:36 +00:00
|
|
|
n.Var = yyDollar[5].node
|
2018-02-18 18:29:33 +00:00
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-05-02 00:36:53 +00:00
|
|
|
yyVAL.node = yyDollar[7].node
|
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[7].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Foreach, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[6].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 149:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1040
|
2018-05-02 00:36:53 +00:00
|
|
|
{
|
|
|
|
switch n := yyDollar[9].node.(type) {
|
2020-05-12 21:16:36 +00:00
|
|
|
case *ast.StmtForeach:
|
2018-05-02 00:36:53 +00:00
|
|
|
n.Expr = yyDollar[3].node
|
|
|
|
n.Key = yyDollar[5].node
|
2020-05-12 21:16:36 +00:00
|
|
|
n.Var = yyDollar[7].node
|
|
|
|
case *ast.StmtAltForeach:
|
2018-05-02 00:36:53 +00:00
|
|
|
n.Expr = yyDollar[3].node
|
|
|
|
n.Key = yyDollar[5].node
|
2020-05-12 21:16:36 +00:00
|
|
|
n.Var = yyDollar[7].node
|
2018-02-18 18:29:33 +00:00
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-05-02 00:36:53 +00:00
|
|
|
yyVAL.node = yyDollar[9].node
|
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Foreach, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Key, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[8].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 150:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1065
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-07-29 08:44:38 +00:00
|
|
|
yyVAL.node = yyDollar[5].node
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node.(*ast.StmtDeclare).Consts = yyDollar[3].list
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Declare, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ConstList, yyDollar[4].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 151:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1078
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtNop{ast.Node{}}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[1].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 152:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1089
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[6].node == nil {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTry{ast.Node{}, yyDollar[3].list, yyDollar[5].list, yyDollar[6].node}
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[5].list)
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTry{ast.Node{}, yyDollar[3].list, yyDollar[5].list, yyDollar[6].node}
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node)
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Try, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[4].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 153:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1104
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtThrow{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[3].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 154:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1116
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
label := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtGoto{ast.Node{}, label}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
label.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(label, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Label, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[3].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 155:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1131
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
label := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtLabel{ast.Node{}, label}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
label.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Label, yyDollar[2].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 156:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1146
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 157:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1150
|
2018-01-09 13:51:32 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[5].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
catch := &ast.StmtCatch{ast.Node{}, yyDollar[4].list, variable, yyDollar[8].list}
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, catch)
|
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[5].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[5].token)
|
|
|
|
catch.GetNode().Position = position.NewTokensPosition(yyDollar[2].token, yyDollar[9].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(catch, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(catch, token.Catch, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[5].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(catch, token.Var, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(catch, token.Cond, yyDollar[7].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(catch, token.Stmts, yyDollar[9].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 158:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1172
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 159:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1176
|
2020-08-24 11:20:20 +00:00
|
|
|
{
|
|
|
|
switch n := lastNode(yyDollar[1].list).(type) {
|
|
|
|
case *ast.NameName:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
case *ast.NameFullyQualified:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
case *ast.NameRelative:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
}
|
2017-12-06 12:30:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 160:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1188
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-06 13:04:44 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 161:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1192
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtFinally{ast.Node{}, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Finally, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[4].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 162:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1207
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 163:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1211
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-09 11:18:38 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 164:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1221
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 165:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1228
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtFunction{ast.Node{}, yyDollar[2].token != nil, name, yyDollar[6].list, yyDollar[8].node, yyDollar[10].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[11].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2018-05-11 20:23:57 +00:00
|
|
|
if yyDollar[2].token != nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[3].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[3].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[5].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ParamList, yyDollar[7].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ReturnType, yyDollar[9].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[11].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
|
|
|
|
// normalize
|
|
|
|
if yyDollar[8].node == nil {
|
2020-07-02 21:20:32 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Params, yyVAL.node.GetNode().Tokens[token.ReturnType])
|
2020-05-12 21:16:36 +00:00
|
|
|
delete(yyVAL.node.GetNode().Tokens, token.ReturnType)
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 166:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1259
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = nil
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 167:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1263
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 168:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1270
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = nil
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 169:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1274
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 170:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1281
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtClass{ast.Node{}, name, yyDollar[1].list, nil, yyDollar[4].ClassExtends, yyDollar[5].ClassImplements, yyDollar[8].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[9].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].list[0], yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ModifierList, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[7].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[9].token.SkippedTokens)
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 171:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1297
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtClass{ast.Node{}, name, nil, nil, yyDollar[3].ClassExtends, yyDollar[4].ClassImplements, yyDollar[7].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[8].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[8].token.SkippedTokens)
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 172:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1315
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 173:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1319
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2017-12-27 14:55:09 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 174:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1326
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 175:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1336
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 176:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1349
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTrait{ast.Node{}, name, yyDollar[5].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[6].token.SkippedTokens)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 177:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1367
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtInterface{ast.Node{}, name, yyDollar[3].InterfaceExtends, yyDollar[6].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[7].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(name, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[5].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[7].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 178:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1385
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-05-12 20:10:01 +00:00
|
|
|
yyVAL.ClassExtends = nil
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 179:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1389
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.ClassExtends = &ast.StmtClassExtends{ast.Node{}, yyDollar[2].node}
|
2018-05-12 20:10:01 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.ClassExtends.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClassExtends, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 180:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1402
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-05-12 20:10:01 +00:00
|
|
|
yyVAL.InterfaceExtends = nil
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 181:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1406
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.InterfaceExtends = &ast.StmtInterfaceExtends{ast.Node{}, yyDollar[2].list}
|
2018-05-12 20:10:01 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.InterfaceExtends.GetNode().Position = position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.InterfaceExtends, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 182:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1419
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-05-12 20:10:01 +00:00
|
|
|
yyVAL.ClassImplements = nil
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 183:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1423
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.ClassImplements = &ast.StmtClassImplements{ast.Node{}, yyDollar[2].list}
|
2018-05-12 20:10:01 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.ClassImplements.GetNode().Position = position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClassImplements, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 184:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1436
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-05-14 15:09:11 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 185:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1440
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprReference{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 186:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1450
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprList{ast.Node{}, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.List, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ArrayPairList, yyDollar[4].token.SkippedTokens)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 187:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1462
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprShortList{ast.Node{}, yyDollar[2].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2019-02-13 20:18:07 +00:00
|
|
|
// save commentsc
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ArrayPairList, yyDollar[3].token.SkippedTokens)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 188:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1476
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-09-04 08:37:17 +00:00
|
|
|
yyVAL.node = &ast.StmtFor{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
|
|
},
|
|
|
|
Stmt: yyDollar[1].node,
|
|
|
|
}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 189:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1485
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2020-09-04 08:37:17 +00:00
|
|
|
yyVAL.node = &ast.StmtFor{
|
2020-09-02 19:58:19 +00:00
|
|
|
Node: ast.Node{
|
2020-09-04 08:37:17 +00:00
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
2020-09-02 19:58:19 +00:00
|
|
|
},
|
2020-09-04 08:37:17 +00:00
|
|
|
Alt: true,
|
|
|
|
ColonTkn: yyDollar[1].token,
|
|
|
|
Stmt: &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
EndForTkn: yyDollar[3].token,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
2020-09-02 19:58:19 +00:00
|
|
|
}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 190:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1506
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtForeach{ast.Node{}, nil, nil, nil, yyDollar[1].node}
|
2018-05-02 00:36:53 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 191:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1513
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-02 19:58:19 +00:00
|
|
|
stmtList := &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtAltForeach{ast.Node{}, nil, nil, nil, stmtList}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.AltEnd, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[4].token.SkippedTokens)
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 192:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1535
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtDeclare{ast.Node{}, false, nil, yyDollar[1].node}
|
2018-07-29 08:44:38 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 193:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1542
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-02 19:58:19 +00:00
|
|
|
stmtList := &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtDeclare{ast.Node{}, true, nil, stmtList}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.AltEnd, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[4].token.SkippedTokens)
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 194:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1564
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenCurlyBracketTkn: yyDollar[1].token,
|
|
|
|
CaseList: yyDollar[2].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[3].token,
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 195:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1575
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
OpenCurlyBracketTkn: yyDollar[1].token,
|
|
|
|
CaseSeparatorTkn: yyDollar[2].token,
|
|
|
|
CaseList: yyDollar[3].list,
|
|
|
|
CloseCurlyBracketTkn: yyDollar[4].token,
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 196:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1587
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
Alt: true,
|
|
|
|
ColonTkn: yyDollar[1].token,
|
|
|
|
CaseList: yyDollar[2].list,
|
|
|
|
EndSwitchTkn: yyDollar[3].token,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 197:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1600
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.node = &ast.StmtSwitch{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token),
|
|
|
|
},
|
|
|
|
Alt: true,
|
|
|
|
ColonTkn: yyDollar[1].token,
|
|
|
|
CaseSeparatorTkn: yyDollar[2].token,
|
|
|
|
CaseList: yyDollar[3].list,
|
|
|
|
EndSwitchTkn: yyDollar[4].token,
|
|
|
|
SemiColonTkn: yyDollar[5].token,
|
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 198:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1617
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 199:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1621
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, &ast.StmtCase{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list),
|
|
|
|
},
|
|
|
|
CaseTkn: yyDollar[2].token,
|
|
|
|
Cond: yyDollar[3].node,
|
|
|
|
CaseSeparatorTkn: yyDollar[4].token,
|
|
|
|
Stmts: yyDollar[5].list,
|
|
|
|
})
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 200:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1633
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-06 09:45:08 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, &ast.StmtDefault{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list),
|
|
|
|
},
|
|
|
|
DefaultTkn: yyDollar[2].token,
|
|
|
|
CaseSeparatorTkn: yyDollar[3].token,
|
|
|
|
Stmts: yyDollar[4].list,
|
|
|
|
})
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 201:
|
2018-05-27 15:02:58 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1647
|
2018-05-27 15:02:58 +00:00
|
|
|
{
|
|
|
|
yyVAL.token = yyDollar[1].token
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 202:
|
2018-05-27 15:02:58 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1651
|
2018-05-27 15:02:58 +00:00
|
|
|
{
|
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 203:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1658
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-04 07:33:47 +00:00
|
|
|
yyVAL.node = &ast.StmtWhile{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodePosition(yyDollar[1].node),
|
|
|
|
},
|
|
|
|
Stmt: yyDollar[1].node,
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 204:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1667
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-04 07:33:47 +00:00
|
|
|
yyVAL.node = &ast.StmtWhile{
|
2020-09-02 19:58:19 +00:00
|
|
|
Node: ast.Node{
|
2020-09-04 07:33:47 +00:00
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token),
|
2020-09-02 19:58:19 +00:00
|
|
|
},
|
2020-09-04 07:33:47 +00:00
|
|
|
Alt: true,
|
|
|
|
ColonTkn: yyDollar[1].token,
|
|
|
|
Stmt: &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[2].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
},
|
|
|
|
EndWhileTkn: yyDollar[3].token,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
2020-09-02 19:58:19 +00:00
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 205:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1688
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.StmtIf{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node),
|
|
|
|
},
|
|
|
|
IfTkn: yyDollar[1].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
|
|
Cond: yyDollar[3].node,
|
|
|
|
CloseParenthesisTkn: yyDollar[4].token,
|
|
|
|
Stmt: yyDollar[5].node,
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 206:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1701
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).ElseIf = append(yyDollar[1].node.(*ast.StmtIf).ElseIf, &ast.StmtElseIf{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[2].token, yyDollar[6].node),
|
|
|
|
},
|
|
|
|
ElseIfTkn: yyDollar[2].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[3].token,
|
|
|
|
Cond: yyDollar[4].node,
|
|
|
|
CloseParenthesisTkn: yyDollar[5].token,
|
|
|
|
Stmt: yyDollar[6].node,
|
|
|
|
})
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[6].node)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 207:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1721
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 208:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1725
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).Else = &ast.StmtElse{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[2].token, yyDollar[3].node),
|
|
|
|
},
|
|
|
|
ElseTkn: yyDollar[2].token,
|
|
|
|
Stmt: yyDollar[3].node,
|
|
|
|
}
|
2020-05-12 21:16:36 +00:00
|
|
|
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 209:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1742
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.StmtIf{
|
2020-09-02 19:58:19 +00:00
|
|
|
Node: ast.Node{
|
2020-09-03 19:18:06 +00:00
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[6].list),
|
|
|
|
},
|
|
|
|
Alt: true,
|
|
|
|
IfTkn: yyDollar[1].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[2].token,
|
|
|
|
Cond: yyDollar[3].node,
|
|
|
|
CloseParenthesisTkn: yyDollar[4].token,
|
|
|
|
ColonTkn: yyDollar[5].token,
|
|
|
|
Stmt: &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[6].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[6].list,
|
2020-09-02 19:58:19 +00:00
|
|
|
},
|
|
|
|
}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 210:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1762
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).ElseIf = append(yyDollar[1].node.(*ast.StmtIf).ElseIf, &ast.StmtElseIf{
|
2020-09-02 19:58:19 +00:00
|
|
|
Node: ast.Node{
|
2020-09-03 19:18:06 +00:00
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[7].list),
|
2020-09-02 19:58:19 +00:00
|
|
|
},
|
2020-09-03 19:18:06 +00:00
|
|
|
Alt: true,
|
|
|
|
ElseIfTkn: yyDollar[2].token,
|
|
|
|
OpenParenthesisTkn: yyDollar[3].token,
|
|
|
|
Cond: yyDollar[4].node,
|
|
|
|
CloseParenthesisTkn: yyDollar[5].token,
|
|
|
|
ColonTkn: yyDollar[6].token,
|
|
|
|
Stmt: &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[7].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[7].list,
|
|
|
|
},
|
|
|
|
})
|
2020-05-12 21:16:36 +00:00
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 211:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1787
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).EndIfTkn = yyDollar[2].token
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).SemiColonTkn = yyDollar[3].token
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 212:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1795
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).Else = &ast.StmtElse{
|
2020-09-02 19:58:19 +00:00
|
|
|
Node: ast.Node{
|
2020-09-03 19:18:06 +00:00
|
|
|
Position: position.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list),
|
|
|
|
},
|
|
|
|
Alt: true,
|
|
|
|
ElseTkn: yyDollar[2].token,
|
|
|
|
ColonTkn: yyDollar[3].token,
|
|
|
|
Stmt: &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewNodeListPosition(yyDollar[4].list),
|
|
|
|
},
|
|
|
|
Stmts: yyDollar[4].list,
|
2020-09-02 19:58:19 +00:00
|
|
|
},
|
|
|
|
}
|
2020-09-03 19:18:06 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtIf).EndIfTkn = yyDollar[5].token
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).SemiColonTkn = yyDollar[6].token
|
|
|
|
yyDollar[1].node.(*ast.StmtIf).Node.Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token)
|
2020-05-12 21:16:36 +00:00
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 213:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1820
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 214:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1824
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 215:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1831
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 216:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1835
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 217:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1845
|
2017-12-31 18:53:55 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[4].token.Value}
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2020-07-05 19:47:46 +00:00
|
|
|
|
|
|
|
var variable ast.Vertex
|
|
|
|
variable = &ast.ExprVariable{ast.Node{}, identifier}
|
2020-06-29 11:38:10 +00:00
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[4].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
|
|
|
|
if yyDollar[3].token != nil {
|
|
|
|
variable = &ast.Variadic{ast.Node{}, variable}
|
|
|
|
variable.GetNode().Position = position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[3].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if yyDollar[2].token != nil {
|
|
|
|
variable = &ast.Reference{ast.Node{}, variable}
|
|
|
|
variable.GetNode().Position = position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[2].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.node = &ast.Parameter{ast.Node{}, yyDollar[1].node, variable, nil}
|
|
|
|
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[1].node != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-11 20:23:57 +00:00
|
|
|
} else if yyDollar[2].token != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token)
|
2018-05-11 20:23:57 +00:00
|
|
|
} else if yyDollar[3].token != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token)
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 218:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1879
|
2017-12-31 18:53:55 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[4].token.Value}
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2020-07-05 19:47:46 +00:00
|
|
|
|
|
|
|
var variable ast.Vertex
|
|
|
|
variable = &ast.ExprVariable{ast.Node{}, identifier}
|
2020-06-29 11:38:10 +00:00
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.End, yyDollar[5].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
|
|
|
|
if yyDollar[3].token != nil {
|
|
|
|
variable = &ast.Variadic{ast.Node{}, variable}
|
|
|
|
variable.GetNode().Position = position.NewTokensPosition(yyDollar[3].token, yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[3].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if yyDollar[2].token != nil {
|
|
|
|
variable = &ast.Reference{ast.Node{}, variable}
|
|
|
|
variable.GetNode().Position = position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[2].token.SkippedTokens)
|
2020-07-05 19:47:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.node = &ast.Parameter{ast.Node{}, yyDollar[1].node, variable, yyDollar[6].node}
|
|
|
|
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[1].node != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[6].node)
|
2018-05-11 20:23:57 +00:00
|
|
|
} else if yyDollar[2].token != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[2].token, yyDollar[6].node)
|
2018-05-11 20:23:57 +00:00
|
|
|
} else if yyDollar[3].token != nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[3].token, yyDollar[6].node)
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node)
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 219:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1917
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-27 14:26:36 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 220:
|
2017-11-29 09:37:16 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1921
|
2017-11-29 09:37:16 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 09:37:16 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 221:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1928
|
2017-11-29 09:37:16 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 09:37:16 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 222:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1932
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Nullable{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 223:
|
2017-11-29 09:37:16 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1945
|
2017-11-29 09:37:16 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 09:37:16 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 224:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1955
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 225:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1965
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-01 08:26:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 226:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1972
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-27 13:53:46 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 227:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1976
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, append(yyDollar[1].token.SkippedTokens, yyVAL.node.GetNode().Tokens[token.Start]...))
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 228:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1986
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ArgumentList{ast.Node{}, nil}
|
2018-04-29 16:58:49 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-06-06 23:25:27 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 229:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:1997
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ArgumentList{ast.Node{}, yyDollar[2].list}
|
2018-04-29 16:58:49 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-06-06 23:25:27 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2018-06-06 23:25:27 +00:00
|
|
|
if yyDollar[3].token != nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, append(yyDollar[3].token.SkippedTokens, yyDollar[4].token.SkippedTokens...))
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[4].token.SkippedTokens)
|
2018-06-06 23:25:27 +00:00
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 230:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2015
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 231:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2019
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2017-12-18 19:43:53 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 232:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2029
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Argument{ast.Node{}, false, false, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2018-12-26 10:09:54 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 233:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2039
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Argument{ast.Node{}, true, false, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 234:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2052
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtGlobal).Vars = append(yyDollar[1].node.(*ast.StmtGlobal).Vars, yyDollar[3].node)
|
|
|
|
yyDollar[1].node.(*ast.StmtGlobal).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtGlobal).SeparatorTkns, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 235:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2059
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = &ast.StmtGlobal{
|
|
|
|
Vars: []ast.Vertex{yyDollar[1].node},
|
|
|
|
}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 236:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2068
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 237:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2075
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtStatic).Vars = append(yyDollar[1].node.(*ast.StmtStatic).Vars, yyDollar[3].node)
|
|
|
|
yyDollar[1].node.(*ast.StmtStatic).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtStatic).SeparatorTkns, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 238:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2082
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = &ast.StmtStatic{
|
|
|
|
Vars: []ast.Vertex{yyDollar[1].node},
|
|
|
|
}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 239:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2091
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
2020-09-09 19:53:51 +00:00
|
|
|
|
|
|
|
yyVAL.node = &ast.StmtStaticVar{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
|
|
},
|
|
|
|
Var: variable,
|
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-09-09 19:53:51 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 240:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2110
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
2020-09-09 19:53:51 +00:00
|
|
|
yyVAL.node = &ast.StmtStaticVar{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
|
|
},
|
|
|
|
Var: variable,
|
|
|
|
EqualTkn: yyDollar[2].token,
|
|
|
|
Expr: yyDollar[3].node,
|
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-09-09 19:53:51 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 241:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2133
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 242:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2137
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 243:
|
2019-12-29 14:36:56 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2144
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtPropertyList{ast.Node{}, yyDollar[1].list, yyDollar[2].node, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].list[0], yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.PropertyList, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[4].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 244:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2156
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.node = &ast.StmtClassConstList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
Modifiers: yyDollar[1].list,
|
|
|
|
ConstTkn: yyDollar[2].token,
|
|
|
|
Consts: yyDollar[3].list,
|
|
|
|
SemiColonTkn: yyDollar[4].token,
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 245:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2168
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTraitUse{ast.Node{}, yyDollar[2].list, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 246:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-10 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2178
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[4].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtClassMethod{ast.Node{}, yyDollar[3].token != nil, name, yyDollar[1].list, yyDollar[7].list, yyDollar[9].node, yyDollar[10].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
2018-06-03 06:35:44 +00:00
|
|
|
if yyDollar[1].list == nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[2].token, yyDollar[10].node)
|
2018-06-03 06:35:44 +00:00
|
|
|
} else {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeListNodePosition(yyDollar[1].list, yyDollar[10].node)
|
2018-06-03 06:35:44 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2018-12-26 10:09:54 +00:00
|
|
|
if len(yyDollar[1].list) > 0 {
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].list[0], yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ModifierList, yyDollar[2].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[2].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
|
|
|
if yyDollar[3].token == nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[4].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ampersand, yyDollar[4].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ParameterList, yyDollar[8].token.SkippedTokens)
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 247:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2210
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 248:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2214
|
2020-08-24 11:20:20 +00:00
|
|
|
{
|
|
|
|
switch n := lastNode(yyDollar[1].list).(type) {
|
|
|
|
case *ast.NameName:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
case *ast.NameFullyQualified:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
case *ast.NameRelative:
|
|
|
|
n.ListSeparatorTkn = yyDollar[2].token
|
|
|
|
}
|
2017-12-27 13:53:46 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 249:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2226
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtNop{ast.Node{}}
|
2018-04-29 19:34:24 +00:00
|
|
|
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-04-29 19:34:24 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[1].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 250:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2236
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTraitAdaptationList{ast.Node{}, nil}
|
2018-04-29 19:34:24 +00:00
|
|
|
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-04-29 19:34:24 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.AdaptationList, yyDollar[2].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 251:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2246
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTraitAdaptationList{ast.Node{}, yyDollar[2].list}
|
2018-04-29 19:34:24 +00:00
|
|
|
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-04-29 19:34:24 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.AdaptationList, yyDollar[3].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 252:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2259
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 253:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2263
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-09 10:27:01 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 254:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2270
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2017-11-29 21:43:39 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.NameList, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[2].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 255:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2278
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2017-11-29 21:43:39 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Alias, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[2].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 256:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2289
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTraitUsePrecedence{ast.Node{}, yyDollar[1].node, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeNodeListPosition(yyDollar[1].node, yyDollar[3].list)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ref, yyDollar[2].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 257:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2303
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
alias := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTraitUseAlias{ast.Node{}, yyDollar[1].node, nil, alias}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
alias.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ref, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(alias, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 258:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2317
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
alias := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTraitUseAlias{ast.Node{}, yyDollar[1].node, nil, alias}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
alias.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ref, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(alias, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 259:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2331
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
alias := &ast.Identifier{ast.Node{}, yyDollar[4].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTraitUseAlias{ast.Node{}, yyDollar[1].node, yyDollar[3].node, alias}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
alias.GetNode().Position = position.NewTokenPosition(yyDollar[4].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ref, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(alias, token.Start, yyDollar[4].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 260:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2345
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtTraitUseAlias{ast.Node{}, yyDollar[1].node, yyDollar[3].node, nil}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ref, yyDollar[2].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 261:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2359
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTraitMethodRef{ast.Node{}, nil, name}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 262:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2371
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 263:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2378
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
target := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.StmtTraitMethodRef{ast.Node{}, yyDollar[1].node, target}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
target.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(target, token.Start, yyDollar[2].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 264:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2395
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtNop{ast.Node{}}
|
2018-06-03 06:35:44 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-06-03 06:35:44 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.SemiColon, yyDollar[1].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 265:
|
2017-11-29 22:07:15 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2406
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2020-09-02 19:58:19 +00:00
|
|
|
yyVAL.node = &ast.StmtStmtList{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenCurlyBracket: yyDollar[1].token,
|
|
|
|
Stmts: yyDollar[2].list,
|
|
|
|
CloseCurlyBracket: yyDollar[3].token,
|
|
|
|
}
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 266:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2420
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2017-12-22 11:20:34 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 267:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2424
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
modifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
|
|
|
yyVAL.list = []ast.Vertex{modifier}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
modifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(modifier, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 268:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2438
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2017-12-22 11:20:34 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 269:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2442
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2017-12-22 11:20:34 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 270:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2449
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 271:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2453
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2017-12-22 11:20:34 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 272:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2460
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 273:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2470
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 274:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2480
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 275:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2490
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 276:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2500
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 277:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2510
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 278:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2523
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-08 15:08:22 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 279:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2530
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 280:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2537
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.StmtProperty{ast.Node{}, variable, nil}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 281:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2551
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.StmtProperty{ast.Node{}, variable, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 282:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2569
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
lastNode(yyDollar[1].list).(*ast.StmtConstant).CommaTkn = yyDollar[2].token
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 283:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2575
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 284:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2582
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.node = &ast.StmtConstant{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
|
|
},
|
|
|
|
Name: &ast.Identifier{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
|
|
},
|
|
|
|
Value: yyDollar[1].token.Value,
|
|
|
|
},
|
|
|
|
EqualTkn: yyDollar[2].token,
|
|
|
|
Expr: yyDollar[3].node,
|
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2020-08-24 20:28:44 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node.(*ast.StmtConstant).Name, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 285:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2603
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-08-24 20:28:44 +00:00
|
|
|
yyVAL.node = &ast.StmtConstant{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node),
|
|
|
|
},
|
|
|
|
Name: &ast.Identifier{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokenPosition(yyDollar[1].token),
|
|
|
|
},
|
|
|
|
Value: yyDollar[1].token.Value,
|
|
|
|
},
|
|
|
|
EqualTkn: yyDollar[2].token,
|
|
|
|
Expr: yyDollar[3].node,
|
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2020-08-24 20:28:44 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node.(*ast.StmtConstant).Name, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 286:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2624
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-09-10 20:11:08 +00:00
|
|
|
yyDollar[1].node.(*ast.StmtEcho).Exprs = append(yyDollar[1].node.(*ast.StmtEcho).Exprs, yyDollar[3].node)
|
|
|
|
yyDollar[1].node.(*ast.StmtEcho).SeparatorTkns = append(yyDollar[1].node.(*ast.StmtEcho).SeparatorTkns, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2020-09-10 20:11:08 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 287:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2631
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-09-10 20:11:08 +00:00
|
|
|
yyVAL.node = &ast.StmtEcho{
|
|
|
|
Exprs: []ast.Vertex{yyDollar[1].node},
|
|
|
|
}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 288:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2640
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-06 21:10:16 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 289:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2647
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-07 16:15:48 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 290:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2651
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-07 16:15:48 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 291:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2658
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-07 16:15:48 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 292:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2665
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 293:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2672
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-04-29 16:58:49 +00:00
|
|
|
if yyDollar[2].node != nil {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtClass{ast.Node{}, nil, nil, yyDollar[2].node.(*ast.ArgumentList), yyDollar[3].ClassExtends, yyDollar[4].ClassImplements, yyDollar[7].list}
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.StmtClass{ast.Node{}, nil, nil, nil, yyDollar[3].ClassExtends, yyDollar[4].ClassImplements, yyDollar[7].list}
|
2017-12-06 13:55:43 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[8].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[8].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 294:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2691
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-04-29 16:58:49 +00:00
|
|
|
if yyDollar[3].node != nil {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, yyDollar[3].node.(*ast.ArgumentList)}
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node)
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, nil}
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 295:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2704
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprNew{ast.Node{}, yyDollar[2].node, nil}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 296:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2717
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
listNode := &ast.ExprList{ast.Node{}, yyDollar[3].list}
|
|
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, listNode, yyDollar[6].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
listNode.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.List, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.ArrayPairList, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[5].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 297:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2732
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
shortList := &ast.ExprShortList{ast.Node{}, yyDollar[2].list}
|
|
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, shortList, yyDollar[5].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
shortList.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(shortList, token.ArrayPairList, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[4].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 298:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2746
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssign{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 299:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2757
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignReference{ast.Node{}, yyDollar[1].node, yyDollar[4].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Equal, yyDollar[3].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 300:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2769
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprClone{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 301:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2779
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignPlus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 302:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2790
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignMinus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 303:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2801
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignMul{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 304:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2812
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignPow{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 305:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2823
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignDiv{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 306:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2834
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignConcat{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 307:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2845
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignMod{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 308:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2856
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignBitwiseAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 309:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2867
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignBitwiseOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 310:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2878
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignBitwiseXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 311:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2889
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignShiftLeft{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 312:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2900
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignShiftRight{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 313:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2911
|
2019-12-28 20:26:54 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprAssignCoalesce{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2019-12-28 20:26:54 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2019-12-28 20:26:54 +00:00
|
|
|
|
|
|
|
// save comments
|
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2019-12-28 20:26:54 +00:00
|
|
|
}
|
|
|
|
case 314:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2922
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPostInc{ast.Node{}, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 315:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2933
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPreInc{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 316:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2943
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPostDec{ast.Node{}, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 317:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2954
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPreDec{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 318:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2964
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryBooleanOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 319:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2975
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryBooleanAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 320:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2986
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryLogicalOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 321:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:2997
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryLogicalAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 322:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3008
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryLogicalXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 323:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3019
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryBitwiseOr{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 324:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3030
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryBitwiseAnd{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 325:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3041
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryBitwiseXor{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 326:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3052
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryConcat{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 19:15:27 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 19:15:27 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 327:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3062
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryPlus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 328:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3073
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryMinus{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 329:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3084
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryMul{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 330:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3095
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryPow{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 331:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3106
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryDiv{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 332:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3117
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryMod{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 333:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3128
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryShiftLeft{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 334:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3139
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryShiftRight{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 335:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3150
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprUnaryPlus{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 336:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3160
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprUnaryMinus{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 337:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3170
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBooleanNot{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 338:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3180
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBitwiseNot{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 339:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3190
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryIdentical{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 340:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3201
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryNotIdentical{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 341:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3212
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 342:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3223
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryNotEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Equal, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 343:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3235
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinarySmaller{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 344:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3246
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinarySmallerOrEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 345:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3257
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryGreater{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 346:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3268
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryGreaterOrEqual{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 347:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3279
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinarySpaceship{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 348:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3290
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprInstanceOf{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 349:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3301
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
|
|
Child: yyDollar[2].node,
|
|
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 350:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3316
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 08:26:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 351:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3320
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprTernary{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[5].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[5].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.True, yyDollar[4].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 352:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3332
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprTernary{ast.Node{}, yyDollar[1].node, nil, yyDollar[4].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Cond, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.True, yyDollar[3].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 353:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3344
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprBinaryCoalesce{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 354:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3355
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 08:26:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 355:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3359
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastInt{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 356:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3370
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastDouble{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 357:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3381
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastString{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 358:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3392
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastArray{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 359:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3403
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastObject{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 360:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3414
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastBool{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 361:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3425
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprCastUnset{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Cast, yyDollar[1].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 362:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3436
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-08-09 20:40:55 +00:00
|
|
|
yyVAL.node = &ast.ExprExit{ast.Node{}, false, yyDollar[2].node}
|
2018-07-09 21:51:02 +00:00
|
|
|
|
2020-05-12 21:16:36 +00:00
|
|
|
if bytes.EqualFold(yyDollar[1].token.Value, []byte("die")) {
|
2020-08-09 20:40:55 +00:00
|
|
|
yyVAL.node.(*ast.ExprExit).Die = true
|
2018-02-18 17:09:18 +00:00
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2018-06-03 10:43:27 +00:00
|
|
|
if yyDollar[2].node == nil {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-06-03 10:43:27 +00:00
|
|
|
} else {
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-06-03 10:43:27 +00:00
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 363:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3454
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprErrorSuppress{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 364:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3464
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 08:26:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 365:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3468
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprShellExec{ast.Node{}, yyDollar[2].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 366:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3478
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPrint{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 367:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3488
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, nil, nil}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 368:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3498
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, nil, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 369:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3508
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprYield{ast.Node{}, yyDollar[2].node, yyDollar[4].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[3].token.SkippedTokens)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 370:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3519
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprYieldFrom{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 371:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3529
|
2019-12-28 20:26:54 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 372:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3533
|
2019-12-28 20:26:54 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
|
|
|
|
switch n := yyVAL.node.(type) {
|
2020-05-12 21:16:36 +00:00
|
|
|
case *ast.ExprClosure:
|
2019-12-28 20:26:54 +00:00
|
|
|
n.Static = true
|
2020-05-12 21:16:36 +00:00
|
|
|
case *ast.ExprArrowFunction:
|
2019-12-28 20:26:54 +00:00
|
|
|
n.Static = true
|
|
|
|
}
|
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2019-12-28 20:26:54 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-07-02 21:20:32 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Static, yyVAL.node.GetNode().Tokens[token.Start])
|
2020-05-12 21:16:36 +00:00
|
|
|
delete(yyVAL.node.GetNode().Tokens, token.Start)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2019-12-28 20:26:54 +00:00
|
|
|
}
|
|
|
|
case 373:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3554
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprClosure{ast.Node{}, yyDollar[2].token != nil, false, yyDollar[5].list, yyDollar[7].ClosureUse, yyDollar[8].node, yyDollar[10].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[11].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
if yyDollar[2].token == nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[4].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ampersand, yyDollar[4].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ParameterList, yyDollar[6].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ReturnType, yyDollar[9].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Stmts, yyDollar[11].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
|
|
|
|
// normalize
|
|
|
|
if yyDollar[8].node == nil {
|
2020-07-02 21:20:32 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.LexicalVars, yyVAL.node.GetNode().Tokens[token.ReturnType])
|
2020-05-12 21:16:36 +00:00
|
|
|
delete(yyVAL.node.GetNode().Tokens, token.ReturnType)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
|
|
|
if yyDollar[7].ClosureUse == nil {
|
2020-07-02 21:20:32 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Params, yyVAL.node.GetNode().Tokens[token.LexicalVarList])
|
2020-05-12 21:16:36 +00:00
|
|
|
delete(yyVAL.node.GetNode().Tokens, token.LexicalVarList)
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 374:
|
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3581
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrowFunction{ast.Node{}, yyDollar[2].token != nil, false, yyDollar[4].list, yyDollar[6].node, yyDollar[9].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2019-12-28 20:26:54 +00:00
|
|
|
if yyDollar[2].token == nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[3].token.SkippedTokens)
|
2019-12-28 20:26:54 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Function, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Ampersand, yyDollar[3].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ParameterList, yyDollar[5].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ReturnType, yyDollar[8].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
|
|
|
|
// normalize
|
2019-12-28 20:26:54 +00:00
|
|
|
if yyDollar[6].node == nil {
|
2020-07-02 21:20:32 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Params, yyVAL.node.GetNode().Tokens[token.ReturnType])
|
2020-05-12 21:16:36 +00:00
|
|
|
delete(yyVAL.node.GetNode().Tokens, token.ReturnType)
|
2019-02-13 20:18:07 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 376:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3611
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = nil
|
2018-01-02 11:53:55 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 377:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3615
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-05-11 20:23:57 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 378:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3622
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-05-25 06:38:44 +00:00
|
|
|
yyVAL.ClosureUse = nil
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 379:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3626
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.ClosureUse = &ast.ExprClosureUse{ast.Node{}, yyDollar[3].list}
|
2018-05-25 06:38:44 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.ClosureUse.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-25 06:38:44 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.Use, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.ClosureUse, token.LexicalVarList, yyDollar[4].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 380:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3641
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2017-12-16 20:45:05 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 381:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3648
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 382:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3655
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, identifier}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 383:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3667
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.ExprReference{ast.Node{}, variable}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(variable, token.Start, yyDollar[2].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 384:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3685
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprFunctionCall{ast.Node{}, yyDollar[1].node, yyDollar[2].node.(*ast.ArgumentList)}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2018-12-31 16:27:46 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 385:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3695
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 386:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3706
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 387:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3717
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprFunctionCall{ast.Node{}, yyDollar[1].node, yyDollar[2].node.(*ast.ArgumentList)}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[2].node)
|
2019-02-13 20:18:07 +00:00
|
|
|
|
|
|
|
// save comments
|
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 388:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3730
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 389:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3740
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 390:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3747
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 391:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3751
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 392:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3758
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-22 12:07:38 +00:00
|
|
|
yyVAL.node = nil
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 393:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3762
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
|
|
Child: yyDollar[2].node,
|
|
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
|
|
}
|
2018-06-03 10:43:27 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 394:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3780
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 395:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3784
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
part := &ast.ScalarEncapsedStringPart{ast.Node{}, yyDollar[1].token.Value}
|
|
|
|
yyVAL.list = []ast.Vertex{part}
|
2019-02-13 20:18:07 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
part.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 396:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3792
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-03 21:29:17 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 397:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3799
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-04-29 16:58:49 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 398:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3803
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-04-29 16:58:49 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 399:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3810
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArray{ast.Node{}, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Array, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ArrayPairList, yyDollar[4].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 400:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3822
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprShortArray{ast.Node{}, yyDollar[2].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.ArrayPairList, yyDollar[3].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 401:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3833
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarString{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 402:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3846
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarLnumber{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 403:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3856
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarDnumber{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 404:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3866
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 405:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3876
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 406:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3886
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 407:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3896
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 408:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3906
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 409:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3916
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 410:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3926
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 411:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3936
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarMagicConstant{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2018-01-02 11:53:55 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 412:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3946
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
encapsed := &ast.ScalarEncapsedStringPart{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.ScalarHeredoc{ast.Node{}, yyDollar[1].token.Value, []ast.Vertex{encapsed}}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
encapsed.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 413:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3958
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarHeredoc{ast.Node{}, yyDollar[1].token.Value, nil}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 414:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3968
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarEncapsed{ast.Node{}, yyDollar[2].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 415:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3978
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarHeredoc{ast.Node{}, yyDollar[1].token.Value, yyDollar[2].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 416:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3988
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 417:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3992
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 418:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:3999
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprConstFetch{ast.Node{}, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2018-12-31 16:27:46 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 419:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4009
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
target := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.ExprClassConstFetch{ast.Node{}, yyDollar[1].node, target}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
target.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(target, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 420:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4023
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
target := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.ExprClassConstFetch{ast.Node{}, yyDollar[1].node, target}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
target.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(target, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 421:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4040
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 422:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4044
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 423:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4051
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-22 12:07:38 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 424:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4055
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 425:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4062
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 426:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4069
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 427:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4073
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
|
|
Child: yyDollar[2].node,
|
|
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 428:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4088
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 429:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4095
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 430:
|
2017-11-30 18:45:54 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4099
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
yyVAL.node = &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[1].token,
|
|
|
|
Child: yyDollar[2].node,
|
|
|
|
CloseBracketTkn: yyDollar[3].token,
|
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 431:
|
2017-11-30 18:45:54 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4114
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 432:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4121
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-02 11:53:55 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 433:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4125
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 434:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4136
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 435:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4147
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 436:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4158
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprMethodCall{ast.Node{}, yyDollar[1].node, yyDollar[3].node, yyDollar[4].node.(*ast.ArgumentList)}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 437:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4169
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-11-30 17:37:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 438:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4176
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 439:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4180
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 440:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4184
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 441:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4198
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, name}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 442:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4210
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyDollar[3].node, token.Start, append(yyDollar[2].token.SkippedTokens, yyDollar[3].node.GetNode().Tokens[token.Start]...))
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyDollar[3].node, token.End, append(yyDollar[3].node.GetNode().Tokens[token.End], yyDollar[4].token.SkippedTokens...))
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 443:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4222
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 444:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4235
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 445:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4246
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Name, yyDollar[2].token.SkippedTokens)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 446:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4260
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 447:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4264
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 448:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4275
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 449:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4286
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 450:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4297
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 451:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4308
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprStaticPropertyFetch{ast.Node{}, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 452:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4322
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 453:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4332
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, append(yyDollar[1].token.SkippedTokens, yyVAL.node.GetNode().Tokens[token.Start]...))
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, append(yyVAL.node.GetNode().Tokens[token.End], yyDollar[3].token.SkippedTokens...))
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 454:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4340
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 455:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4347
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 456:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4357
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Start, append(yyDollar[1].token.SkippedTokens, yyVAL.node.GetNode().Tokens[token.Start]...))
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, append(yyVAL.node.GetNode().Tokens[token.End], yyDollar[3].token.SkippedTokens...))
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 457:
|
2017-11-28 20:47:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4365
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 458:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4372
|
2017-12-17 22:49:25 +00:00
|
|
|
{
|
2018-06-26 20:49:00 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 459:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4379
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, nil}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 460:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4383
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 461:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4390
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-06-26 20:49:00 +00:00
|
|
|
if len(yyDollar[1].list) == 0 {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyDollar[1].list = []ast.Vertex{&ast.ExprArrayItem{ast.Node{}, false, nil, nil}}
|
2018-06-26 20:49:00 +00:00
|
|
|
}
|
|
|
|
|
2017-12-17 22:49:25 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 462:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4401
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
if yyDollar[1].node.(*ast.ExprArrayItem).Key == nil && yyDollar[1].node.(*ast.ExprArrayItem).Val == nil {
|
|
|
|
yyVAL.list = []ast.Vertex{}
|
2018-06-26 20:49:00 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2018-06-26 20:49:00 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 463:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4412
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 464:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4423
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, yyDollar[1].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodePosition(yyDollar[1].node)
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2019-02-13 20:18:07 +00:00
|
|
|
// save comments
|
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 465:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4433
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
reference := &ast.ExprReference{ast.Node{}, yyDollar[4].node}
|
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, reference}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewNodesPosition(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
reference.GetNode().Position = position.NewTokenNodePosition(yyDollar[3].token, yyDollar[4].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(reference, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 466:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4447
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
reference := &ast.ExprReference{ast.Node{}, yyDollar[2].node}
|
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, reference}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
|
|
|
reference.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-28 20:26:54 +00:00
|
|
|
case 467:
|
2019-12-29 20:42:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4459
|
2019-12-29 20:42:52 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, true, nil, yyDollar[2].node}
|
2019-12-29 20:42:52 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2019-12-29 20:42:52 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2019-12-29 20:42:52 +00:00
|
|
|
}
|
|
|
|
case 468:
|
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4469
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
// TODO: Cannot use list() as standalone expression
|
2020-05-12 21:16:36 +00:00
|
|
|
listNode := &ast.ExprList{ast.Node{}, yyDollar[5].list}
|
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, yyDollar[1].node, listNode}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
listNode.GetNode().Position = position.NewTokensPosition(yyDollar[3].token, yyDollar[6].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2019-02-13 20:18:07 +00:00
|
|
|
yylex.(*Parser).MoveFreeFloating(yyDollar[1].node, yyVAL.node)
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Expr, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.Start, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.List, yyDollar[4].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.ArrayPairList, yyDollar[6].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 469:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4486
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
// TODO: Cannot use list() as standalone expression
|
2020-05-12 21:16:36 +00:00
|
|
|
listNode := &ast.ExprList{ast.Node{}, yyDollar[3].list}
|
|
|
|
yyVAL.node = &ast.ExprArrayItem{ast.Node{}, false, nil, listNode}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
listNode.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.List, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(listNode, token.ArrayPairList, yyDollar[4].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 470:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4504
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-03 21:29:17 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 471:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4508
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
encapsed := &ast.ScalarEncapsedStringPart{ast.Node{}, yyDollar[2].token.Value}
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, encapsed)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
encapsed.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(encapsed, token.Start, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 472:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4519
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 473:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4523
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
encapsed := &ast.ScalarEncapsedStringPart{ast.Node{}, yyDollar[1].token.Value}
|
|
|
|
yyVAL.list = []ast.Vertex{encapsed, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
encapsed.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(encapsed, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 474:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4537
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, name}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 475:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4549
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, variable, yyDollar[3].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[4].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 476:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4564
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
fetch := &ast.Identifier{ast.Node{}, yyDollar[3].token.Value}
|
|
|
|
yyVAL.node = &ast.ExprPropertyFetch{ast.Node{}, variable, fetch}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
fetch.GetNode().Position = position.NewTokenPosition(yyDollar[3].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Var, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(fetch, token.Start, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 477:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4581
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
variable := &ast.ExprVariable{ast.Node{}, yyDollar[2].node}
|
2018-07-29 08:44:38 +00:00
|
|
|
|
|
|
|
yyVAL.node = variable
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 478:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4594
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
name := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
variable := &ast.ExprVariable{ast.Node{}, name}
|
2018-07-29 08:44:38 +00:00
|
|
|
|
|
|
|
yyVAL.node = variable
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
name.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 479:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4609
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
variable := &ast.ExprVariable{ast.Node{}, identifier}
|
|
|
|
yyVAL.node = &ast.ExprArrayDimFetch{ast.Node{}, variable, yyDollar[4].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
variable.GetNode().Position = position.NewTokenPosition(yyDollar[2].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[6].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setToken(variable, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Var, yyDollar[3].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.Expr, yyDollar[5].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[6].token.SkippedTokens)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 480:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4626
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-06-10 23:41:12 +00:00
|
|
|
|
2018-07-29 08:44:38 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setToken(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(yyVAL.node, token.End, yyDollar[3].token.SkippedTokens)
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 481:
|
2017-11-30 16:15:49 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4637
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarString{ast.Node{}, yyDollar[1].token.Value}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 482:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4647
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2017-12-27 14:26:36 +00:00
|
|
|
// TODO: add option to handle 64 bit integer
|
2020-05-12 21:16:36 +00:00
|
|
|
if _, err := strconv.Atoi(string(yyDollar[1].token.Value)); err == nil {
|
|
|
|
yyVAL.node = &ast.ScalarLnumber{ast.Node{}, yyDollar[1].token.Value}
|
2017-12-27 13:53:46 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ScalarString{ast.Node{}, yyDollar[1].token.Value}
|
2017-12-27 13:53:46 +00:00
|
|
|
}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
2018-12-31 16:27:46 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 483:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4662
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
var lnumber *ast.ScalarLnumber
|
2017-12-27 14:26:36 +00:00
|
|
|
// TODO: add option to handle 64 bit integer
|
2020-05-12 21:16:36 +00:00
|
|
|
_, err := strconv.Atoi(string(yyDollar[2].token.Value))
|
2018-05-27 15:02:58 +00:00
|
|
|
isInt := err == nil
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
if isInt {
|
2020-05-12 21:16:36 +00:00
|
|
|
lnumber = &ast.ScalarLnumber{ast.Node{}, yyDollar[2].token.Value}
|
|
|
|
yyVAL.node = &ast.ExprUnaryMinus{ast.Node{}, lnumber}
|
2017-12-27 13:53:46 +00:00
|
|
|
} else {
|
2020-05-12 21:16:36 +00:00
|
|
|
yyDollar[2].token.Value = append([]byte("-"), yyDollar[2].token.Value...)
|
|
|
|
yyVAL.node = &ast.ScalarString{ast.Node{}, yyDollar[2].token.Value}
|
2017-12-27 13:53:46 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save position
|
|
|
|
if isInt {
|
2020-06-29 11:38:10 +00:00
|
|
|
lnumber.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[2].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 484:
|
2017-11-30 16:15:49 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4686
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-06-29 21:45:15 +00:00
|
|
|
identifier := &ast.Identifier{ast.Node{}, yyDollar[1].token.Value}
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprVariable{ast.Node{}, identifier}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
identifier.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenPosition(yyDollar[1].token)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
2018-05-27 15:02:58 +00:00
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 485:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4701
|
2017-11-28 22:35:21 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprIsset{ast.Node{}, yyDollar[3].list}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[5].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Isset, yyDollar[2].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
if yyDollar[4].token == nil {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, yyDollar[5].token.SkippedTokens)
|
2019-02-13 20:18:07 +00:00
|
|
|
} else {
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.VarList, append(yyDollar[4].token.SkippedTokens, yyDollar[5].token.SkippedTokens...))
|
2018-05-27 15:02:58 +00:00
|
|
|
}
|
2017-11-28 22:35:21 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 486:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4717
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
exprBrackets := &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
|
|
Child: yyDollar[3].node,
|
|
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
|
|
}
|
2020-08-09 20:40:55 +00:00
|
|
|
yyVAL.node = &ast.ExprEmpty{ast.Node{}, exprBrackets}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.End, yyDollar[4].token.SkippedTokens)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 487:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4737
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprInclude{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 488:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4747
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprIncludeOnce{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 489:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4757
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-09-03 19:18:06 +00:00
|
|
|
exprBrackets := &ast.ParserBrackets{
|
|
|
|
Node: ast.Node{
|
|
|
|
Position: position.NewTokensPosition(yyDollar[2].token, yyDollar[4].token),
|
|
|
|
},
|
|
|
|
OpenBracketTkn: yyDollar[2].token,
|
|
|
|
Child: yyDollar[3].node,
|
|
|
|
CloseBracketTkn: yyDollar[4].token,
|
|
|
|
}
|
2020-08-09 20:40:55 +00:00
|
|
|
yyVAL.node = &ast.ExprEval{ast.Node{}, exprBrackets}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokensPosition(yyDollar[1].token, yyDollar[4].token)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.Start, yyDollar[2].token.SkippedTokens)
|
|
|
|
yylex.(*Parser).setFreeFloatingTokens(exprBrackets, token.End, yyDollar[4].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 490:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4777
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprRequire{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 491:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4787
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.node = &ast.ExprRequireOnce{ast.Node{}, yyDollar[2].node}
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save position
|
2020-06-29 11:38:10 +00:00
|
|
|
yyVAL.node.GetNode().Position = position.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(yyVAL.node, token.Start, yyDollar[1].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 492:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4800
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2020-05-12 21:16:36 +00:00
|
|
|
yyVAL.list = []ast.Vertex{yyDollar[1].node}
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 493:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4804
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-17 21:21:46 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-05-27 15:02:58 +00:00
|
|
|
|
|
|
|
// save comments
|
2020-08-17 17:31:04 +00:00
|
|
|
yylex.(*Parser).setFreeFloating(lastNode(yyDollar[1].list), token.End, yyDollar[2].token.SkippedTokens)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2019-12-29 20:42:52 +00:00
|
|
|
case 494:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2020-09-10 20:11:08 +00:00
|
|
|
// line internal/php7/php7.y:4814
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-17 21:21:46 +00:00
|
|
|
yyVAL.node = 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 */
|
|
|
|
}
|