2018-01-26 13:24:56 +00:00
|
|
|
//line php7/php7.y:2
|
|
|
|
package php7
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
import __yyfmt__ "fmt"
|
|
|
|
|
2018-01-26 13:24:56 +00:00
|
|
|
//line php7/php7.y:2
|
2017-11-23 15:33:47 +00:00
|
|
|
import (
|
2018-01-24 16:42:23 +00:00
|
|
|
"strconv"
|
|
|
|
"strings"
|
|
|
|
|
2017-12-03 18:49:18 +00:00
|
|
|
"github.com/z7zmey/php-parser/node"
|
2017-12-06 13:04:44 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr"
|
2017-12-12 21:26:00 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr/assign_op"
|
|
|
|
"github.com/z7zmey/php-parser/node/expr/binary_op"
|
|
|
|
"github.com/z7zmey/php-parser/node/expr/cast"
|
2017-12-05 21:36:28 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/name"
|
2017-12-04 22:02:24 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/scalar"
|
2017-12-06 11:31:57 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/stmt"
|
2017-12-03 18:49:18 +00:00
|
|
|
"github.com/z7zmey/php-parser/token"
|
2017-11-23 15:33:47 +00:00
|
|
|
)
|
|
|
|
|
2018-02-16 22:00:46 +00:00
|
|
|
//line php7/php7.y:21
|
2017-11-23 15:33:47 +00:00
|
|
|
type yySymType struct {
|
2017-12-31 18:53:55 +00:00
|
|
|
yys int
|
|
|
|
node node.Node
|
|
|
|
token token.Token
|
|
|
|
boolWithToken boolWithToken
|
|
|
|
list []node.Node
|
|
|
|
foreachVariable foreachVariable
|
|
|
|
nodesWithEndToken *nodesWithEndToken
|
2018-01-02 11:53:55 +00:00
|
|
|
str string
|
2018-02-18 17:44:17 +00:00
|
|
|
altSyntaxNode altSyntaxNode
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const T_INCLUDE = 57346
|
|
|
|
const T_INCLUDE_ONCE = 57347
|
2018-01-29 14:11:45 +00:00
|
|
|
const T_EXIT = 57348
|
|
|
|
const T_IF = 57349
|
|
|
|
const T_LNUMBER = 57350
|
|
|
|
const T_DNUMBER = 57351
|
|
|
|
const T_STRING = 57352
|
|
|
|
const T_STRING_VARNAME = 57353
|
|
|
|
const T_VARIABLE = 57354
|
|
|
|
const T_NUM_STRING = 57355
|
|
|
|
const T_INLINE_HTML = 57356
|
|
|
|
const T_CHARACTER = 57357
|
|
|
|
const T_BAD_CHARACTER = 57358
|
|
|
|
const T_ENCAPSED_AND_WHITESPACE = 57359
|
|
|
|
const T_CONSTANT_ENCAPSED_STRING = 57360
|
|
|
|
const T_ECHO = 57361
|
|
|
|
const T_DO = 57362
|
|
|
|
const T_WHILE = 57363
|
|
|
|
const T_ENDWHILE = 57364
|
|
|
|
const T_FOR = 57365
|
|
|
|
const T_ENDFOR = 57366
|
|
|
|
const T_FOREACH = 57367
|
|
|
|
const T_ENDFOREACH = 57368
|
|
|
|
const T_DECLARE = 57369
|
|
|
|
const T_ENDDECLARE = 57370
|
|
|
|
const T_AS = 57371
|
|
|
|
const T_SWITCH = 57372
|
|
|
|
const T_ENDSWITCH = 57373
|
|
|
|
const T_CASE = 57374
|
|
|
|
const T_DEFAULT = 57375
|
|
|
|
const T_BREAK = 57376
|
|
|
|
const T_CONTINUE = 57377
|
|
|
|
const T_GOTO = 57378
|
|
|
|
const T_FUNCTION = 57379
|
|
|
|
const T_CONST = 57380
|
|
|
|
const T_RETURN = 57381
|
|
|
|
const T_TRY = 57382
|
|
|
|
const T_CATCH = 57383
|
|
|
|
const T_FINALLY = 57384
|
|
|
|
const T_THROW = 57385
|
|
|
|
const T_USE = 57386
|
|
|
|
const T_INSTEADOF = 57387
|
|
|
|
const T_GLOBAL = 57388
|
|
|
|
const T_VAR = 57389
|
|
|
|
const T_UNSET = 57390
|
|
|
|
const T_ISSET = 57391
|
|
|
|
const T_EMPTY = 57392
|
|
|
|
const T_HALT_COMPILER = 57393
|
|
|
|
const T_CLASS = 57394
|
|
|
|
const T_TRAIT = 57395
|
|
|
|
const T_INTERFACE = 57396
|
|
|
|
const T_EXTENDS = 57397
|
|
|
|
const T_IMPLEMENTS = 57398
|
|
|
|
const T_OBJECT_OPERATOR = 57399
|
|
|
|
const T_DOUBLE_ARROW = 57400
|
|
|
|
const T_LIST = 57401
|
|
|
|
const T_ARRAY = 57402
|
|
|
|
const T_CALLABLE = 57403
|
|
|
|
const T_CLASS_C = 57404
|
|
|
|
const T_TRAIT_C = 57405
|
|
|
|
const T_METHOD_C = 57406
|
|
|
|
const T_FUNC_C = 57407
|
|
|
|
const T_LINE = 57408
|
|
|
|
const T_FILE = 57409
|
|
|
|
const T_COMMENT = 57410
|
|
|
|
const T_DOC_COMMENT = 57411
|
|
|
|
const T_OPEN_TAG = 57412
|
|
|
|
const T_OPEN_TAG_WITH_ECHO = 57413
|
|
|
|
const T_CLOSE_TAG = 57414
|
|
|
|
const T_WHITESPACE = 57415
|
|
|
|
const T_START_HEREDOC = 57416
|
|
|
|
const T_END_HEREDOC = 57417
|
|
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 57418
|
|
|
|
const T_CURLY_OPEN = 57419
|
|
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 57420
|
|
|
|
const T_NAMESPACE = 57421
|
|
|
|
const T_NS_C = 57422
|
|
|
|
const T_DIR = 57423
|
|
|
|
const T_NS_SEPARATOR = 57424
|
|
|
|
const T_ELLIPSIS = 57425
|
|
|
|
const T_EVAL = 57426
|
|
|
|
const T_REQUIRE = 57427
|
|
|
|
const T_REQUIRE_ONCE = 57428
|
|
|
|
const T_LOGICAL_OR = 57429
|
|
|
|
const T_LOGICAL_XOR = 57430
|
|
|
|
const T_LOGICAL_AND = 57431
|
|
|
|
const T_INSTANCEOF = 57432
|
|
|
|
const T_NEW = 57433
|
|
|
|
const T_CLONE = 57434
|
|
|
|
const T_ELSEIF = 57435
|
|
|
|
const T_ELSE = 57436
|
|
|
|
const T_ENDIF = 57437
|
|
|
|
const T_PRINT = 57438
|
|
|
|
const T_YIELD = 57439
|
|
|
|
const T_STATIC = 57440
|
|
|
|
const T_ABSTRACT = 57441
|
|
|
|
const T_FINAL = 57442
|
|
|
|
const T_PRIVATE = 57443
|
|
|
|
const T_PROTECTED = 57444
|
|
|
|
const T_PUBLIC = 57445
|
|
|
|
const T_INC = 57446
|
|
|
|
const T_DEC = 57447
|
|
|
|
const T_YIELD_FROM = 57448
|
|
|
|
const T_INT_CAST = 57449
|
|
|
|
const T_DOUBLE_CAST = 57450
|
|
|
|
const T_STRING_CAST = 57451
|
|
|
|
const T_ARRAY_CAST = 57452
|
|
|
|
const T_OBJECT_CAST = 57453
|
|
|
|
const T_BOOL_CAST = 57454
|
|
|
|
const T_UNSET_CAST = 57455
|
|
|
|
const T_COALESCE = 57456
|
|
|
|
const T_SPACESHIP = 57457
|
|
|
|
const T_NOELSE = 57458
|
|
|
|
const T_PLUS_EQUAL = 57459
|
|
|
|
const T_MINUS_EQUAL = 57460
|
|
|
|
const T_MUL_EQUAL = 57461
|
|
|
|
const T_DIV_EQUAL = 57462
|
|
|
|
const T_CONCAT_EQUAL = 57463
|
|
|
|
const T_MOD_EQUAL = 57464
|
|
|
|
const T_AND_EQUAL = 57465
|
|
|
|
const T_OR_EQUAL = 57466
|
|
|
|
const T_XOR_EQUAL = 57467
|
|
|
|
const T_SL_EQUAL = 57468
|
|
|
|
const T_SR_EQUAL = 57469
|
|
|
|
const T_POW_EQUAL = 57470
|
|
|
|
const T_BOOLEAN_OR = 57471
|
|
|
|
const T_BOOLEAN_AND = 57472
|
|
|
|
const T_IS_EQUAL = 57473
|
|
|
|
const T_IS_NOT_EQUAL = 57474
|
|
|
|
const T_IS_IDENTICAL = 57475
|
|
|
|
const T_IS_NOT_IDENTICAL = 57476
|
|
|
|
const T_IS_SMALLER_OR_EQUAL = 57477
|
|
|
|
const T_IS_GREATER_OR_EQUAL = 57478
|
|
|
|
const T_SL = 57479
|
|
|
|
const T_SR = 57480
|
|
|
|
const T_POW = 57481
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyToknames = [...]string{
|
|
|
|
"$end",
|
|
|
|
"error",
|
|
|
|
"$unk",
|
|
|
|
"T_INCLUDE",
|
|
|
|
"T_INCLUDE_ONCE",
|
|
|
|
"T_EXIT",
|
|
|
|
"T_IF",
|
|
|
|
"T_LNUMBER",
|
|
|
|
"T_DNUMBER",
|
|
|
|
"T_STRING",
|
|
|
|
"T_STRING_VARNAME",
|
|
|
|
"T_VARIABLE",
|
|
|
|
"T_NUM_STRING",
|
|
|
|
"T_INLINE_HTML",
|
|
|
|
"T_CHARACTER",
|
|
|
|
"T_BAD_CHARACTER",
|
|
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
|
|
"T_ECHO",
|
|
|
|
"T_DO",
|
|
|
|
"T_WHILE",
|
|
|
|
"T_ENDWHILE",
|
|
|
|
"T_FOR",
|
|
|
|
"T_ENDFOR",
|
|
|
|
"T_FOREACH",
|
|
|
|
"T_ENDFOREACH",
|
|
|
|
"T_DECLARE",
|
|
|
|
"T_ENDDECLARE",
|
|
|
|
"T_AS",
|
|
|
|
"T_SWITCH",
|
|
|
|
"T_ENDSWITCH",
|
|
|
|
"T_CASE",
|
|
|
|
"T_DEFAULT",
|
|
|
|
"T_BREAK",
|
|
|
|
"T_CONTINUE",
|
|
|
|
"T_GOTO",
|
|
|
|
"T_FUNCTION",
|
|
|
|
"T_CONST",
|
|
|
|
"T_RETURN",
|
|
|
|
"T_TRY",
|
|
|
|
"T_CATCH",
|
|
|
|
"T_FINALLY",
|
|
|
|
"T_THROW",
|
|
|
|
"T_USE",
|
|
|
|
"T_INSTEADOF",
|
|
|
|
"T_GLOBAL",
|
|
|
|
"T_VAR",
|
|
|
|
"T_UNSET",
|
|
|
|
"T_ISSET",
|
|
|
|
"T_EMPTY",
|
|
|
|
"T_HALT_COMPILER",
|
|
|
|
"T_CLASS",
|
|
|
|
"T_TRAIT",
|
|
|
|
"T_INTERFACE",
|
|
|
|
"T_EXTENDS",
|
|
|
|
"T_IMPLEMENTS",
|
|
|
|
"T_OBJECT_OPERATOR",
|
2018-01-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",
|
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
|
|
|
"','",
|
|
|
|
"'='",
|
|
|
|
"T_PLUS_EQUAL",
|
|
|
|
"T_MINUS_EQUAL",
|
|
|
|
"T_MUL_EQUAL",
|
|
|
|
"T_DIV_EQUAL",
|
|
|
|
"T_CONCAT_EQUAL",
|
|
|
|
"T_MOD_EQUAL",
|
|
|
|
"T_AND_EQUAL",
|
|
|
|
"T_OR_EQUAL",
|
|
|
|
"T_XOR_EQUAL",
|
|
|
|
"T_SL_EQUAL",
|
|
|
|
"T_SR_EQUAL",
|
|
|
|
"T_POW_EQUAL",
|
|
|
|
"T_BOOLEAN_OR",
|
|
|
|
"T_BOOLEAN_AND",
|
|
|
|
"'|'",
|
|
|
|
"'^'",
|
|
|
|
"T_IS_EQUAL",
|
|
|
|
"T_IS_NOT_EQUAL",
|
|
|
|
"T_IS_IDENTICAL",
|
|
|
|
"T_IS_NOT_IDENTICAL",
|
|
|
|
"'<'",
|
|
|
|
"T_IS_SMALLER_OR_EQUAL",
|
|
|
|
"'>'",
|
|
|
|
"T_IS_GREATER_OR_EQUAL",
|
|
|
|
"T_SL",
|
|
|
|
"T_SR",
|
|
|
|
"'.'",
|
|
|
|
"'*'",
|
|
|
|
"'/'",
|
|
|
|
"'%'",
|
|
|
|
"T_POW",
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyStatenames = [...]string{}
|
|
|
|
|
|
|
|
const yyEofCode = 1
|
|
|
|
const yyErrCode = 2
|
|
|
|
const yyInitialStackSize = 16
|
|
|
|
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2610
|
2017-11-23 15:33:47 +00:00
|
|
|
|
2017-11-24 01:36:58 +00:00
|
|
|
//line yacctab:1
|
2017-11-23 15:33:47 +00:00
|
|
|
var yyExca = [...]int{
|
|
|
|
-1, 1,
|
|
|
|
1, -1,
|
|
|
|
-2, 0,
|
2017-11-30 17:37:45 +00:00
|
|
|
-1, 43,
|
2018-01-29 14:11:45 +00:00
|
|
|
57, 420,
|
|
|
|
78, 420,
|
|
|
|
119, 420,
|
|
|
|
125, 420,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 415,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 47,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 423,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 432,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 83,
|
2018-01-29 14:11:45 +00:00
|
|
|
57, 422,
|
|
|
|
78, 422,
|
|
|
|
119, 422,
|
|
|
|
123, 425,
|
|
|
|
125, 422,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 410,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 106,
|
2018-01-29 14:11:45 +00:00
|
|
|
78, 383,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 412,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 228,
|
2018-01-29 14:11:45 +00:00
|
|
|
57, 420,
|
|
|
|
78, 420,
|
|
|
|
119, 420,
|
|
|
|
125, 420,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 311,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 231,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 425,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 422,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 234,
|
2018-01-29 14:11:45 +00:00
|
|
|
57, 420,
|
|
|
|
78, 420,
|
|
|
|
119, 420,
|
|
|
|
125, 420,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 313,
|
|
|
|
-1, 352,
|
2018-01-29 14:11:45 +00:00
|
|
|
115, 0,
|
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 335,
|
|
|
|
-1, 353,
|
2018-01-29 14:11:45 +00:00
|
|
|
115, 0,
|
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 336,
|
|
|
|
-1, 354,
|
2018-01-29 14:11:45 +00:00
|
|
|
115, 0,
|
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 337,
|
|
|
|
-1, 355,
|
2018-01-29 14:11:45 +00:00
|
|
|
115, 0,
|
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 338,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 356,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 339,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 357,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 340,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 358,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 341,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 359,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 342,
|
|
|
|
-1, 360,
|
2018-01-29 14:11:45 +00:00
|
|
|
115, 0,
|
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 343,
|
|
|
|
-1, 367,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 161,
|
|
|
|
135, 161,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 420,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 411,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 460,
|
|
|
|
126, 460,
|
|
|
|
135, 460,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 420,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 415,
|
2018-01-29 14:11:45 +00:00
|
|
|
57, 421,
|
|
|
|
78, 421,
|
|
|
|
119, 421,
|
|
|
|
123, 424,
|
|
|
|
125, 421,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 345,
|
|
|
|
-1, 429,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 446,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 413,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 430,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 448,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 438,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 509,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 446,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 414,
|
2017-12-01 08:26:17 +00:00
|
|
|
-1, 510,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 448,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 439,
|
|
|
|
-1, 569,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 211,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 216,
|
2018-01-02 11:53:55 +00:00
|
|
|
-1, 594,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, 424,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 421,
|
|
|
|
-1, 646,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 211,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 216,
|
2018-01-02 11:53:55 +00:00
|
|
|
-1, 651,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 181,
|
2017-12-01 08:26:17 +00:00
|
|
|
-2, 420,
|
|
|
|
-1, 659,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 211,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 216,
|
|
|
|
-1, 684,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 459,
|
|
|
|
126, 459,
|
|
|
|
135, 459,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 420,
|
|
|
|
-1, 717,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 182,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 420,
|
|
|
|
-1, 737,
|
2018-01-29 14:11:45 +00:00
|
|
|
12, 263,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 266,
|
2018-01-02 11:53:55 +00:00
|
|
|
-1, 776,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 181,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 420,
|
|
|
|
-1, 778,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 184,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 394,
|
|
|
|
-1, 880,
|
2018-01-29 14:11:45 +00:00
|
|
|
29, 76,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 80,
|
2018-01-02 11:53:55 +00:00
|
|
|
-1, 912,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 211,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 216,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const yyPrivate = 57344
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
const yyLast = 7209
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyAct = [...]int{
|
|
|
|
|
2018-01-02 11:53:55 +00:00
|
|
|
27, 129, 823, 836, 660, 859, 374, 576, 739, 434,
|
|
|
|
872, 106, 835, 791, 664, 772, 809, 673, 783, 563,
|
|
|
|
662, 137, 137, 137, 311, 650, 150, 4, 709, 631,
|
|
|
|
698, 665, 530, 630, 185, 366, 320, 512, 376, 220,
|
|
|
|
520, 403, 131, 79, 571, 315, 314, 222, 8, 7,
|
|
|
|
136, 188, 224, 227, 146, 149, 235, 236, 237, 238,
|
|
|
|
239, 127, 142, 240, 241, 242, 243, 244, 245, 246,
|
|
|
|
125, 249, 139, 140, 257, 258, 259, 124, 2, 253,
|
2018-01-29 14:11:45 +00:00
|
|
|
313, 312, 511, 6, 5, 428, 126, 164, 272, 273,
|
|
|
|
868, 275, 276, 852, 890, 263, 268, 229, 229, 840,
|
|
|
|
81, 839, 178, 866, 862, 891, 404, 682, 104, 833,
|
|
|
|
830, 588, 566, 539, 333, 675, 329, 867, 189, 332,
|
|
|
|
327, 110, 308, 307, 831, 306, 300, 301, 334, 104,
|
|
|
|
330, 317, 114, 120, 328, 322, 323, 675, 757, 307,
|
|
|
|
301, 83, 702, 726, 284, 286, 624, 860, 619, 564,
|
|
|
|
554, 409, 178, 335, 336, 337, 338, 339, 340, 341,
|
2017-12-01 08:26:17 +00:00
|
|
|
342, 343, 344, 345, 346, 347, 348, 349, 350, 351,
|
2018-01-29 14:11:45 +00:00
|
|
|
352, 353, 354, 355, 356, 357, 358, 359, 360, 164,
|
|
|
|
362, 364, 104, 368, 319, 265, 370, 728, 924, 778,
|
|
|
|
268, 691, 305, 687, 294, 231, 231, 331, 608, 78,
|
2018-01-02 11:53:55 +00:00
|
|
|
378, 386, 388, 389, 390, 391, 392, 393, 394, 395,
|
2018-01-29 14:11:45 +00:00
|
|
|
396, 397, 398, 399, 218, 405, 400, 137, 402, 604,
|
|
|
|
224, 382, 422, 143, 605, 229, 163, 165, 166, 164,
|
|
|
|
105, 413, 853, 289, 224, 291, 282, 43, 595, 516,
|
|
|
|
298, 178, 583, 304, 598, 408, 601, 599, 260, 137,
|
|
|
|
886, 105, 818, 817, 807, 799, 423, 782, 771, 407,
|
|
|
|
517, 137, 725, 861, 715, 429, 509, 401, 696, 229,
|
|
|
|
369, 521, 522, 414, 361, 523, 217, 694, 686, 265,
|
|
|
|
162, 161, 216, 527, 269, 648, 531, 636, 224, 912,
|
|
|
|
421, 228, 234, 626, 842, 596, 587, 290, 826, 416,
|
|
|
|
229, 515, 811, 810, 105, 283, 780, 514, 718, 549,
|
|
|
|
685, 427, 167, 168, 160, 163, 165, 166, 164, 4,
|
|
|
|
659, 646, 644, 231, 285, 645, 178, 533, 569, 552,
|
|
|
|
550, 418, 419, 559, 412, 150, 383, 381, 558, 287,
|
|
|
|
8, 7, 274, 116, 288, 104, 271, 270, 508, 248,
|
|
|
|
518, 109, 219, 215, 183, 182, 181, 418, 135, 419,
|
|
|
|
419, 418, 134, 600, 562, 162, 161, 231, 130, 548,
|
|
|
|
305, 116, 536, 104, 112, 6, 5, 824, 269, 542,
|
|
|
|
568, 293, 578, 292, 579, 557, 575, 580, 581, 573,
|
|
|
|
560, 556, 577, 108, 928, 749, 927, 918, 231, 160,
|
|
|
|
163, 165, 166, 164, 385, 187, 586, 156, 155, 178,
|
|
|
|
224, 590, 133, 224, 570, 111, 766, 767, 406, 367,
|
|
|
|
901, 541, 900, 544, 766, 767, 885, 607, 848, 819,
|
|
|
|
813, 232, 610, 180, 177, 806, 763, 750, 714, 712,
|
|
|
|
133, 585, 116, 111, 710, 708, 179, 158, 162, 161,
|
|
|
|
178, 705, 593, 553, 534, 538, 230, 589, 233, 232,
|
|
|
|
535, 430, 510, 411, 384, 372, 609, 105, 152, 153,
|
|
|
|
157, 159, 171, 172, 169, 170, 173, 174, 175, 176,
|
|
|
|
167, 168, 160, 163, 165, 166, 164, 326, 325, 162,
|
|
|
|
161, 324, 667, 668, 425, 105, 295, 805, 116, 802,
|
|
|
|
104, 116, 800, 759, 812, 606, 907, 884, 857, 855,
|
|
|
|
534, 133, 765, 801, 111, 137, 614, 173, 174, 175,
|
|
|
|
176, 167, 168, 160, 163, 165, 166, 164, 143, 254,
|
|
|
|
534, 534, 788, 625, 420, 781, 731, 674, 574, 618,
|
|
|
|
267, 184, 119, 417, 195, 196, 611, 787, 190, 623,
|
|
|
|
252, 303, 116, 640, 322, 642, 635, 617, 615, 666,
|
|
|
|
116, 4, 647, 700, 116, 613, 113, 133, 288, 716,
|
|
|
|
111, 116, 736, 113, 572, 738, 638, 904, 671, 513,
|
|
|
|
672, 669, 8, 7, 577, 303, 232, 122, 123, 683,
|
|
|
|
641, 656, 303, 255, 256, 76, 77, 116, 377, 104,
|
|
|
|
649, 197, 199, 198, 288, 109, 689, 679, 229, 229,
|
|
|
|
115, 262, 261, 380, 305, 670, 632, 6, 5, 634,
|
|
|
|
521, 133, 105, 303, 111, 531, 743, 744, 745, 742,
|
|
|
|
741, 740, 121, 902, 526, 229, 543, 303, 629, 628,
|
|
|
|
545, 706, 784, 299, 145, 547, 653, 108, 881, 903,
|
|
|
|
701, 713, 318, 279, 280, 224, 147, 697, 669, 720,
|
|
|
|
695, 297, 693, 254, 724, 544, 133, 544, 704, 111,
|
|
|
|
254, 669, 254, 45, 711, 420, 540, 730, 669, 722,
|
|
|
|
723, 145, 751, 752, 688, 232, 224, 747, 892, 792,
|
|
|
|
302, 827, 746, 147, 719, 116, 229, 116, 729, 699,
|
|
|
|
755, 748, 633, 116, 703, 632, 231, 231, 602, 322,
|
|
|
|
230, 191, 654, 612, 118, 652, 406, 616, 756, 224,
|
|
|
|
128, 105, 122, 123, 761, 753, 524, 255, 256, 794,
|
|
|
|
793, 758, 760, 231, 255, 256, 255, 256, 669, 768,
|
|
|
|
773, 770, 775, 546, 795, 764, 796, 785, 577, 789,
|
|
|
|
544, 798, 254, 667, 668, 544, 544, 420, 777, 534,
|
|
|
|
229, 743, 744, 745, 742, 741, 740, 808, 814, 766,
|
|
|
|
767, 699, 133, 632, 375, 111, 816, 373, 804, 769,
|
2018-02-18 17:57:54 +00:00
|
|
|
766, 767, 194, 822, 193, 192, 825, 186, 1, 843,
|
|
|
|
815, 254, 821, 637, 231, 37, 277, 737, 734, 832,
|
|
|
|
735, 379, 367, 651, 661, 529, 828, 221, 519, 254,
|
|
|
|
858, 847, 365, 871, 281, 525, 255, 256, 849, 841,
|
|
|
|
144, 790, 544, 141, 544, 846, 321, 148, 803, 684,
|
|
|
|
254, 834, 844, 851, 865, 251, 669, 658, 820, 856,
|
|
|
|
250, 869, 773, 838, 878, 864, 837, 882, 883, 643,
|
|
|
|
926, 223, 877, 42, 278, 255, 256, 888, 231, 889,
|
|
|
|
41, 15, 14, 893, 597, 887, 266, 48, 47, 896,
|
|
|
|
107, 49, 894, 255, 256, 878, 897, 82, 80, 544,
|
|
|
|
895, 71, 899, 877, 247, 61, 906, 264, 60, 876,
|
|
|
|
717, 875, 874, 873, 255, 256, 733, 910, 44, 663,
|
|
|
|
721, 655, 309, 911, 117, 296, 3, 433, 917, 920,
|
2018-01-29 14:11:45 +00:00
|
|
|
913, 786, 916, 915, 577, 727, 0, 921, 0, 0,
|
|
|
|
922, 0, 0, 0, 669, 0, 0, 925, 0, 0,
|
|
|
|
929, 0, 87, 88, 69, 46, 92, 93, 35, 0,
|
|
|
|
104, 0, 26, 0, 0, 0, 109, 25, 17, 16,
|
|
|
|
0, 18, 0, 29, 776, 30, 0, 0, 19, 0,
|
|
|
|
0, 0, 20, 21, 34, 36, 12, 22, 32, 0,
|
|
|
|
0, 33, 11, 0, 23, 0, 28, 85, 86, 9,
|
|
|
|
38, 39, 40, 0, 0, 0, 0, 50, 108, 0,
|
|
|
|
101, 97, 98, 99, 94, 95, 0, 0, 0, 0,
|
|
|
|
0, 0, 102, 0, 0, 0, 0, 10, 100, 96,
|
|
|
|
111, 0, 89, 90, 91, 0, 0, 0, 0, 84,
|
|
|
|
52, 0, 0, 0, 73, 74, 24, 76, 77, 0,
|
|
|
|
0, 0, 53, 54, 75, 62, 63, 64, 65, 66,
|
|
|
|
67, 68, 0, 0, 0, 103, 72, 13, 627, 31,
|
|
|
|
0, 59, 0, 51, 0, 0, 0, 56, 55, 57,
|
|
|
|
58, 70, 105, 87, 88, 69, 46, 92, 93, 35,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 104, 0, 26, 0, 0, 0, 109, 25, 17,
|
|
|
|
16, 0, 18, 0, 29, 0, 30, 0, 0, 19,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 20, 21, 34, 36, 12, 22, 32,
|
|
|
|
0, 0, 33, 11, 0, 23, 0, 28, 85, 86,
|
|
|
|
9, 38, 39, 40, 0, 0, 0, 0, 50, 108,
|
|
|
|
0, 101, 97, 98, 99, 94, 95, 0, 0, 0,
|
|
|
|
0, 0, 0, 102, 0, 0, 0, 0, 10, 100,
|
|
|
|
96, 111, 0, 89, 90, 91, 0, 0, 0, 0,
|
|
|
|
84, 52, 0, 0, 0, 73, 74, 24, 76, 77,
|
|
|
|
0, 0, 0, 53, 54, 75, 62, 63, 64, 65,
|
|
|
|
66, 67, 68, 0, 0, 0, 103, 72, 13, 537,
|
|
|
|
31, 0, 59, 0, 51, 0, 0, 0, 56, 55,
|
|
|
|
57, 58, 70, 105, 87, 88, 69, 46, 92, 93,
|
|
|
|
35, 0, 104, 0, 26, 0, 0, 0, 109, 25,
|
|
|
|
17, 16, 0, 18, 0, 29, 0, 30, 0, 0,
|
|
|
|
19, 0, 0, 0, 20, 21, 34, 36, 12, 22,
|
|
|
|
32, 0, 0, 33, 11, 0, 23, 0, 28, 85,
|
|
|
|
86, 9, 38, 39, 40, 0, 0, 0, 0, 50,
|
|
|
|
108, 0, 101, 97, 98, 99, 94, 95, 0, 0,
|
|
|
|
0, 0, 0, 0, 102, 0, 0, 0, 0, 10,
|
|
|
|
100, 96, 111, 0, 89, 90, 91, 0, 0, 0,
|
|
|
|
0, 84, 52, 0, 0, 0, 73, 74, 24, 76,
|
|
|
|
77, 0, 0, 0, 53, 54, 75, 62, 63, 64,
|
|
|
|
65, 66, 67, 68, 0, 0, 0, 103, 72, 13,
|
|
|
|
0, 31, 0, 59, 0, 51, 0, 0, 0, 56,
|
|
|
|
55, 57, 58, 70, 105, 87, 88, 69, 46, 92,
|
2018-01-02 11:53:55 +00:00
|
|
|
93, 35, 0, 104, 0, 26, 0, 0, 0, 109,
|
|
|
|
25, 17, 16, 0, 18, 0, 29, 0, 30, 0,
|
|
|
|
0, 19, 0, 0, 0, 20, 21, 34, 36, 0,
|
|
|
|
22, 32, 0, 0, 33, 0, 0, 23, 0, 28,
|
2018-01-29 14:11:45 +00:00
|
|
|
85, 86, 316, 38, 39, 40, 0, 0, 0, 0,
|
|
|
|
50, 108, 0, 101, 97, 98, 99, 94, 95, 0,
|
|
|
|
0, 0, 0, 0, 0, 102, 0, 0, 0, 0,
|
|
|
|
133, 100, 96, 111, 0, 89, 90, 91, 0, 0,
|
|
|
|
0, 0, 84, 52, 0, 0, 0, 73, 74, 24,
|
|
|
|
76, 77, 0, 0, 0, 53, 54, 75, 62, 63,
|
|
|
|
64, 65, 66, 67, 68, 0, 0, 0, 103, 72,
|
|
|
|
13, 930, 31, 0, 59, 0, 51, 0, 0, 0,
|
|
|
|
56, 55, 57, 58, 70, 105, 87, 88, 69, 46,
|
|
|
|
92, 93, 35, 0, 104, 0, 26, 0, 0, 0,
|
|
|
|
109, 25, 17, 16, 0, 18, 0, 29, 0, 30,
|
|
|
|
0, 0, 19, 0, 0, 0, 20, 21, 34, 36,
|
|
|
|
0, 22, 32, 0, 0, 33, 0, 0, 23, 0,
|
|
|
|
28, 85, 86, 316, 38, 39, 40, 0, 0, 0,
|
|
|
|
0, 50, 108, 0, 101, 97, 98, 99, 94, 95,
|
|
|
|
0, 0, 0, 0, 0, 0, 102, 0, 0, 0,
|
|
|
|
0, 133, 100, 96, 111, 0, 89, 90, 91, 0,
|
|
|
|
0, 0, 0, 84, 52, 0, 0, 0, 73, 74,
|
|
|
|
24, 76, 77, 0, 0, 0, 53, 54, 75, 62,
|
|
|
|
63, 64, 65, 66, 67, 68, 0, 0, 0, 103,
|
|
|
|
72, 13, 923, 31, 0, 59, 0, 51, 0, 0,
|
|
|
|
0, 56, 55, 57, 58, 70, 105, 87, 88, 69,
|
2018-01-02 11:53:55 +00:00
|
|
|
46, 92, 93, 35, 0, 104, 0, 26, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 109, 25, 17, 16, 0, 18, 0, 29, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
30, 0, 0, 19, 0, 0, 0, 20, 21, 34,
|
|
|
|
36, 0, 22, 32, 0, 0, 33, 0, 0, 23,
|
|
|
|
0, 28, 85, 86, 316, 38, 39, 40, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 50, 108, 0, 101, 97, 98, 99, 94,
|
|
|
|
95, 0, 0, 0, 0, 0, 0, 102, 0, 0,
|
|
|
|
0, 0, 133, 100, 96, 111, 0, 89, 90, 91,
|
|
|
|
0, 0, 0, 0, 84, 52, 0, 0, 0, 73,
|
|
|
|
74, 24, 76, 77, 0, 0, 0, 53, 54, 75,
|
|
|
|
62, 63, 64, 65, 66, 67, 68, 0, 0, 0,
|
|
|
|
103, 72, 13, 919, 31, 0, 59, 0, 51, 0,
|
|
|
|
0, 0, 56, 55, 57, 58, 70, 105, 87, 88,
|
|
|
|
69, 46, 92, 93, 35, 0, 104, 0, 26, 0,
|
|
|
|
0, 0, 109, 25, 17, 16, 0, 18, 0, 29,
|
|
|
|
0, 30, 0, 0, 19, 0, 0, 0, 20, 21,
|
|
|
|
34, 36, 0, 22, 32, 0, 0, 33, 0, 0,
|
|
|
|
23, 0, 28, 85, 86, 316, 38, 39, 40, 0,
|
|
|
|
0, 0, 0, 50, 108, 0, 101, 97, 98, 99,
|
|
|
|
94, 95, 0, 0, 0, 0, 0, 0, 102, 0,
|
|
|
|
0, 0, 0, 133, 100, 96, 111, 0, 89, 90,
|
|
|
|
91, 0, 0, 0, 0, 84, 52, 0, 0, 0,
|
|
|
|
73, 74, 24, 76, 77, 0, 0, 0, 53, 54,
|
|
|
|
75, 62, 63, 64, 65, 66, 67, 68, 0, 0,
|
|
|
|
0, 103, 72, 13, 909, 31, 0, 59, 0, 51,
|
|
|
|
0, 0, 0, 56, 55, 57, 58, 70, 105, 87,
|
|
|
|
88, 69, 46, 92, 93, 35, 0, 104, 0, 26,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 109, 25, 17, 16, 0, 18, 0,
|
|
|
|
29, 0, 30, 0, 0, 19, 0, 0, 0, 20,
|
|
|
|
21, 34, 36, 0, 22, 32, 0, 0, 33, 0,
|
|
|
|
0, 23, 0, 28, 85, 86, 316, 38, 39, 40,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 50, 108, 0, 101, 97, 98,
|
|
|
|
99, 94, 95, 0, 0, 0, 0, 0, 0, 102,
|
|
|
|
0, 0, 0, 0, 133, 100, 96, 111, 0, 89,
|
|
|
|
90, 91, 0, 0, 0, 0, 84, 52, 0, 0,
|
|
|
|
0, 73, 74, 24, 76, 77, 0, 0, 0, 53,
|
|
|
|
54, 75, 62, 63, 64, 65, 66, 67, 68, 0,
|
|
|
|
0, 0, 103, 72, 13, 908, 31, 0, 59, 0,
|
|
|
|
51, 0, 0, 0, 56, 55, 57, 58, 70, 105,
|
|
|
|
87, 88, 69, 46, 92, 93, 35, 0, 104, 0,
|
|
|
|
26, 0, 0, 0, 109, 25, 17, 16, 0, 18,
|
|
|
|
905, 29, 0, 30, 0, 0, 19, 0, 0, 0,
|
|
|
|
20, 21, 34, 36, 0, 22, 32, 0, 0, 33,
|
|
|
|
0, 0, 23, 0, 28, 85, 86, 316, 38, 39,
|
|
|
|
40, 0, 0, 0, 0, 50, 108, 0, 101, 97,
|
|
|
|
98, 99, 94, 95, 0, 0, 0, 0, 0, 0,
|
|
|
|
102, 0, 0, 0, 0, 133, 100, 96, 111, 0,
|
|
|
|
89, 90, 91, 0, 0, 0, 0, 84, 52, 0,
|
|
|
|
0, 0, 73, 74, 24, 76, 77, 0, 0, 0,
|
|
|
|
53, 54, 75, 62, 63, 64, 65, 66, 67, 68,
|
|
|
|
0, 0, 0, 103, 72, 13, 0, 31, 0, 59,
|
|
|
|
0, 51, 0, 0, 0, 56, 55, 57, 58, 70,
|
|
|
|
105, 87, 88, 69, 46, 92, 93, 35, 0, 104,
|
|
|
|
0, 26, 0, 0, 0, 109, 25, 17, 16, 0,
|
|
|
|
18, 0, 29, 0, 30, 0, 0, 19, 0, 0,
|
|
|
|
0, 20, 21, 34, 36, 0, 22, 32, 0, 0,
|
|
|
|
33, 0, 0, 23, 0, 28, 85, 86, 316, 38,
|
|
|
|
39, 40, 0, 0, 0, 0, 50, 108, 0, 101,
|
|
|
|
97, 98, 99, 94, 95, 0, 0, 0, 0, 0,
|
|
|
|
0, 102, 0, 0, 0, 0, 133, 100, 96, 111,
|
|
|
|
0, 89, 90, 91, 0, 0, 0, 0, 84, 52,
|
|
|
|
0, 0, 0, 73, 74, 24, 76, 77, 0, 0,
|
|
|
|
0, 53, 54, 75, 62, 63, 64, 65, 66, 67,
|
|
|
|
68, 0, 0, 0, 103, 72, 13, 854, 31, 0,
|
|
|
|
59, 0, 51, 0, 0, 0, 56, 55, 57, 58,
|
|
|
|
70, 105, 87, 88, 69, 46, 92, 93, 35, 0,
|
|
|
|
104, 0, 26, 0, 0, 0, 109, 25, 17, 16,
|
|
|
|
0, 18, 0, 29, 850, 30, 0, 0, 19, 0,
|
|
|
|
0, 0, 20, 21, 34, 36, 0, 22, 32, 0,
|
|
|
|
0, 33, 0, 0, 23, 0, 28, 85, 86, 316,
|
|
|
|
38, 39, 40, 0, 0, 0, 0, 50, 108, 0,
|
|
|
|
101, 97, 98, 99, 94, 95, 0, 0, 0, 0,
|
|
|
|
0, 0, 102, 0, 0, 0, 0, 133, 100, 96,
|
|
|
|
111, 0, 89, 90, 91, 0, 0, 0, 0, 84,
|
|
|
|
52, 0, 0, 0, 73, 74, 24, 76, 77, 0,
|
|
|
|
0, 0, 53, 54, 75, 62, 63, 64, 65, 66,
|
|
|
|
67, 68, 0, 0, 0, 103, 72, 13, 0, 31,
|
|
|
|
0, 59, 0, 51, 0, 0, 0, 56, 55, 57,
|
|
|
|
58, 70, 105, 87, 88, 69, 46, 92, 93, 35,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 104, 0, 26, 0, 0, 0, 109, 25, 17,
|
2018-01-29 14:11:45 +00:00
|
|
|
16, 0, 18, 0, 29, 0, 30, 779, 0, 19,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 20, 21, 34, 36, 0, 22, 32,
|
|
|
|
0, 0, 33, 0, 0, 23, 0, 28, 85, 86,
|
2018-01-29 14:11:45 +00:00
|
|
|
316, 38, 39, 40, 0, 0, 0, 0, 50, 108,
|
|
|
|
0, 101, 97, 98, 99, 94, 95, 0, 0, 0,
|
|
|
|
0, 0, 0, 102, 0, 0, 0, 0, 133, 100,
|
|
|
|
96, 111, 0, 89, 90, 91, 0, 0, 0, 0,
|
|
|
|
84, 52, 0, 0, 0, 73, 74, 24, 76, 77,
|
|
|
|
0, 0, 0, 53, 54, 75, 62, 63, 64, 65,
|
|
|
|
66, 67, 68, 0, 0, 0, 103, 72, 13, 0,
|
|
|
|
31, 0, 59, 0, 51, 0, 0, 0, 56, 55,
|
|
|
|
57, 58, 70, 105, 87, 88, 69, 46, 92, 93,
|
|
|
|
35, 0, 104, 0, 26, 0, 0, 0, 109, 25,
|
|
|
|
17, 16, 762, 18, 0, 29, 0, 30, 0, 0,
|
|
|
|
19, 0, 0, 0, 20, 21, 34, 36, 0, 22,
|
|
|
|
32, 0, 0, 33, 0, 0, 23, 0, 28, 85,
|
|
|
|
86, 316, 38, 39, 40, 0, 0, 0, 0, 50,
|
|
|
|
108, 0, 101, 97, 98, 99, 94, 95, 0, 0,
|
|
|
|
0, 0, 0, 0, 102, 0, 0, 0, 0, 133,
|
|
|
|
100, 96, 111, 0, 89, 90, 91, 0, 0, 0,
|
|
|
|
0, 84, 52, 0, 0, 0, 73, 74, 24, 76,
|
|
|
|
77, 0, 0, 0, 53, 54, 75, 62, 63, 64,
|
|
|
|
65, 66, 67, 68, 0, 0, 0, 103, 72, 13,
|
|
|
|
0, 31, 0, 59, 0, 51, 0, 0, 0, 56,
|
|
|
|
55, 57, 58, 70, 105, 87, 88, 69, 46, 92,
|
|
|
|
93, 35, 0, 104, 0, 26, 0, 0, 0, 109,
|
|
|
|
25, 17, 16, 0, 18, 0, 29, 0, 30, 0,
|
|
|
|
0, 19, 0, 0, 0, 20, 21, 34, 36, 0,
|
|
|
|
22, 32, 0, 0, 33, 0, 0, 23, 0, 28,
|
|
|
|
85, 86, 316, 38, 39, 40, 0, 0, 0, 0,
|
|
|
|
50, 108, 0, 101, 97, 98, 99, 94, 95, 0,
|
|
|
|
0, 0, 0, 0, 0, 102, 0, 0, 0, 0,
|
|
|
|
133, 100, 96, 111, 0, 89, 90, 91, 0, 0,
|
|
|
|
0, 0, 84, 52, 0, 0, 678, 73, 74, 24,
|
|
|
|
76, 77, 0, 0, 0, 53, 54, 75, 62, 63,
|
|
|
|
64, 65, 66, 67, 68, 0, 0, 0, 103, 72,
|
|
|
|
13, 0, 31, 0, 59, 0, 51, 0, 0, 0,
|
|
|
|
56, 55, 57, 58, 70, 105, 87, 88, 69, 46,
|
|
|
|
92, 93, 35, 0, 104, 0, 26, 0, 0, 0,
|
|
|
|
109, 25, 17, 16, 0, 18, 0, 29, 0, 30,
|
|
|
|
0, 0, 19, 0, 0, 0, 20, 21, 34, 36,
|
|
|
|
0, 22, 32, 0, 0, 33, 0, 0, 23, 0,
|
|
|
|
28, 85, 86, 316, 38, 39, 40, 0, 0, 0,
|
|
|
|
0, 50, 108, 0, 101, 97, 98, 99, 94, 95,
|
|
|
|
0, 0, 0, 0, 0, 0, 102, 0, 0, 0,
|
|
|
|
0, 133, 100, 96, 111, 0, 89, 90, 91, 0,
|
|
|
|
0, 0, 0, 84, 52, 0, 0, 0, 73, 74,
|
|
|
|
24, 76, 77, 0, 0, 0, 53, 54, 75, 62,
|
|
|
|
63, 64, 65, 66, 67, 68, 0, 0, 0, 103,
|
|
|
|
72, 13, 567, 31, 0, 59, 0, 51, 0, 0,
|
|
|
|
0, 56, 55, 57, 58, 70, 105, 87, 88, 69,
|
2018-01-02 11:53:55 +00:00
|
|
|
46, 92, 93, 35, 0, 104, 0, 26, 0, 0,
|
|
|
|
0, 109, 25, 17, 16, 0, 18, 0, 29, 0,
|
|
|
|
30, 0, 0, 19, 0, 0, 0, 20, 21, 34,
|
|
|
|
36, 0, 22, 32, 0, 0, 33, 0, 0, 23,
|
|
|
|
0, 28, 85, 86, 316, 38, 39, 40, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 50, 108, 0, 101, 97, 98, 99, 94,
|
|
|
|
95, 0, 0, 0, 0, 0, 0, 102, 0, 0,
|
|
|
|
0, 0, 133, 100, 96, 111, 0, 89, 90, 91,
|
|
|
|
0, 0, 0, 0, 84, 52, 0, 0, 0, 73,
|
|
|
|
74, 24, 76, 77, 0, 0, 0, 53, 54, 75,
|
|
|
|
62, 63, 64, 65, 66, 67, 68, 0, 0, 0,
|
|
|
|
103, 72, 13, 310, 31, 0, 59, 0, 51, 0,
|
|
|
|
0, 0, 56, 55, 57, 58, 70, 105, 87, 88,
|
|
|
|
69, 46, 92, 93, 35, 0, 104, 0, 26, 0,
|
|
|
|
0, 0, 109, 25, 17, 16, 0, 18, 0, 29,
|
|
|
|
0, 30, 0, 0, 19, 0, 0, 0, 20, 21,
|
|
|
|
34, 36, 0, 22, 32, 0, 0, 33, 0, 0,
|
|
|
|
23, 0, 28, 85, 86, 316, 38, 39, 40, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 50, 108, 0, 101, 97, 98, 99,
|
|
|
|
94, 95, 0, 0, 0, 0, 0, 0, 102, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 133, 100, 96, 111, 0, 89, 90,
|
|
|
|
91, 0, 0, 0, 0, 84, 52, 0, 0, 0,
|
|
|
|
73, 74, 24, 76, 77, 0, 0, 0, 53, 54,
|
|
|
|
75, 62, 63, 64, 65, 66, 67, 68, 0, 0,
|
|
|
|
0, 103, 72, 13, 0, 31, 0, 59, 0, 51,
|
|
|
|
0, 0, 0, 56, 55, 57, 58, 70, 105, 441,
|
|
|
|
442, 452, 453, 0, 0, 432, 0, 104, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 0, 457, 458, 459, 460, 461, 462,
|
|
|
|
463, 464, 465, 466, 467, 487, 488, 489, 490, 491,
|
|
|
|
479, 480, 481, 482, 483, 468, 469, 470, 471, 472,
|
|
|
|
473, 474, 475, 476, 477, 478, 0, 499, 497, 498,
|
2018-01-29 14:11:45 +00:00
|
|
|
494, 495, 0, 0, 486, 492, 493, 500, 501, 503,
|
|
|
|
502, 504, 505, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 496, 507, 506, 0, 0, 443,
|
|
|
|
444, 445, 446, 447, 448, 449, 450, 451, 454, 455,
|
|
|
|
456, 484, 485, 435, 436, 437, 438, 439, 440, 0,
|
|
|
|
0, 87, 88, 69, 46, 92, 93, 35, 0, 104,
|
|
|
|
0, 26, 0, 0, 431, 109, 25, 17, 16, 0,
|
|
|
|
18, 0, 29, 0, 30, 0, 0, 19, 0, 105,
|
|
|
|
0, 20, 21, 34, 132, 0, 22, 32, 0, 0,
|
|
|
|
33, 0, 0, 23, 0, 28, 85, 86, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 50, 108, 0, 101,
|
|
|
|
97, 98, 99, 94, 95, 0, 0, 0, 0, 0,
|
|
|
|
0, 102, 0, 0, 0, 0, 133, 100, 96, 111,
|
|
|
|
0, 89, 90, 91, 0, 0, 0, 0, 84, 52,
|
|
|
|
0, 0, 0, 73, 74, 24, 0, 0, 0, 0,
|
|
|
|
0, 53, 54, 75, 62, 63, 64, 65, 66, 67,
|
|
|
|
68, 0, 0, 0, 103, 72, 13, 0, 31, 774,
|
|
|
|
59, 0, 51, 0, 0, 0, 56, 55, 57, 58,
|
|
|
|
70, 105, 87, 88, 69, 46, 92, 93, 35, 0,
|
|
|
|
104, 0, 26, 0, 0, 0, 109, 25, 17, 16,
|
|
|
|
0, 18, 0, 29, 0, 30, 0, 0, 19, 0,
|
|
|
|
0, 0, 20, 21, 34, 132, 0, 22, 32, 0,
|
|
|
|
0, 33, 0, 0, 23, 0, 28, 85, 86, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 50, 108, 0,
|
|
|
|
101, 97, 98, 99, 94, 95, 0, 0, 0, 0,
|
|
|
|
0, 0, 102, 0, 0, 0, 0, 133, 100, 96,
|
|
|
|
111, 0, 89, 90, 91, 0, 0, 0, 0, 84,
|
|
|
|
52, 0, 0, 0, 73, 74, 24, 0, 0, 0,
|
|
|
|
0, 0, 53, 54, 75, 62, 63, 64, 65, 66,
|
|
|
|
67, 68, 0, 0, 0, 103, 72, 13, 0, 31,
|
|
|
|
845, 59, 0, 51, 0, 0, 0, 56, 55, 57,
|
|
|
|
58, 70, 105, 87, 88, 69, 46, 92, 93, 35,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 104, 0, 26, 0, 0, 0, 109, 25, 17,
|
|
|
|
16, 0, 18, 0, 29, 0, 30, 0, 0, 19,
|
|
|
|
0, 0, 0, 20, 21, 34, 132, 0, 22, 32,
|
|
|
|
0, 0, 33, 0, 0, 23, 0, 28, 85, 86,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 50, 108,
|
|
|
|
0, 101, 97, 98, 99, 94, 95, 0, 0, 0,
|
|
|
|
0, 0, 0, 102, 0, 0, 0, 0, 133, 100,
|
|
|
|
96, 111, 0, 89, 90, 91, 0, 0, 0, 0,
|
|
|
|
84, 52, 0, 0, 0, 73, 74, 24, 0, 0,
|
|
|
|
0, 0, 0, 53, 54, 75, 62, 63, 64, 65,
|
|
|
|
66, 67, 68, 0, 0, 0, 103, 72, 13, 0,
|
|
|
|
31, 680, 59, 0, 51, 0, 0, 0, 56, 55,
|
|
|
|
57, 58, 70, 105, 87, 88, 69, 46, 92, 93,
|
|
|
|
35, 0, 104, 0, 26, 0, 0, 0, 109, 25,
|
|
|
|
17, 16, 0, 18, 0, 29, 0, 30, 0, 0,
|
|
|
|
19, 0, 0, 0, 20, 21, 34, 132, 0, 22,
|
|
|
|
32, 0, 0, 33, 0, 0, 23, 0, 28, 85,
|
|
|
|
86, 0, 0, 0, 0, 0, 0, 0, 0, 50,
|
|
|
|
108, 0, 101, 97, 98, 99, 94, 95, 0, 0,
|
|
|
|
0, 0, 0, 0, 102, 0, 0, 0, 0, 133,
|
|
|
|
100, 96, 111, 0, 89, 90, 91, 0, 0, 0,
|
|
|
|
0, 84, 52, 0, 0, 0, 73, 74, 24, 0,
|
|
|
|
0, 0, 0, 0, 53, 54, 75, 62, 63, 64,
|
|
|
|
65, 66, 67, 68, 0, 0, 0, 103, 72, 13,
|
|
|
|
0, 31, 657, 59, 0, 51, 0, 0, 0, 56,
|
|
|
|
55, 57, 58, 70, 105, 87, 88, 69, 46, 92,
|
|
|
|
93, 35, 0, 104, 0, 26, 0, 0, 0, 109,
|
|
|
|
25, 17, 16, 0, 18, 0, 29, 0, 30, 0,
|
|
|
|
0, 19, 0, 0, 0, 20, 21, 34, 132, 0,
|
|
|
|
22, 32, 0, 0, 33, 0, 0, 23, 0, 28,
|
|
|
|
85, 86, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
50, 108, 0, 101, 97, 98, 99, 94, 95, 0,
|
|
|
|
0, 0, 0, 0, 0, 102, 0, 0, 0, 0,
|
|
|
|
133, 100, 96, 111, 0, 89, 90, 91, 0, 0,
|
|
|
|
0, 0, 84, 52, 0, 0, 0, 73, 74, 24,
|
|
|
|
0, 0, 0, 0, 0, 53, 54, 75, 62, 63,
|
|
|
|
64, 65, 66, 67, 68, 0, 0, 0, 103, 72,
|
|
|
|
13, 0, 31, 639, 59, 0, 51, 0, 0, 0,
|
|
|
|
56, 55, 57, 58, 70, 105, 87, 88, 69, 46,
|
|
|
|
92, 93, 35, 0, 104, 0, 26, 0, 0, 0,
|
|
|
|
109, 25, 17, 16, 0, 18, 0, 29, 0, 30,
|
|
|
|
0, 0, 19, 0, 0, 0, 20, 21, 34, 132,
|
|
|
|
0, 22, 32, 0, 0, 33, 0, 0, 23, 0,
|
|
|
|
28, 85, 86, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 50, 108, 0, 101, 97, 98, 99, 94, 95,
|
|
|
|
0, 0, 0, 0, 0, 0, 102, 0, 178, 0,
|
|
|
|
0, 133, 100, 96, 111, 0, 89, 90, 91, 0,
|
|
|
|
0, 0, 0, 84, 52, 0, 0, 0, 73, 74,
|
|
|
|
24, 0, 0, 177, 0, 0, 53, 54, 75, 62,
|
|
|
|
63, 64, 65, 66, 67, 68, 158, 162, 161, 103,
|
|
|
|
72, 13, 0, 31, 0, 59, 0, 51, 0, 0,
|
|
|
|
0, 56, 55, 57, 58, 70, 105, 154, 156, 155,
|
|
|
|
178, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 180, 177, 736, 0, 0, 738,
|
|
|
|
0, 811, 810, 0, 0, 0, 0, 179, 158, 162,
|
|
|
|
161, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 154, 156, 155, 178, 0, 0, 0, 0, 152,
|
|
|
|
153, 157, 159, 171, 172, 169, 170, 173, 174, 175,
|
|
|
|
176, 167, 168, 160, 163, 165, 166, 164, 180, 177,
|
|
|
|
743, 744, 745, 742, 741, 740, 0, 0, 0, 0,
|
|
|
|
754, 179, 158, 162, 161, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 863, 0, 0, 154, 156, 155, 178, 0,
|
|
|
|
0, 0, 0, 152, 153, 157, 159, 171, 172, 169,
|
|
|
|
170, 173, 174, 175, 176, 167, 168, 160, 163, 165,
|
|
|
|
166, 164, 180, 177, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 707, 0, 0, 179, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 154,
|
|
|
|
156, 155, 178, 0, 0, 0, 0, 152, 153, 157,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 180, 177, 0, 0,
|
|
|
|
0, 0, 692, 0, 0, 0, 0, 0, 0, 179,
|
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 154, 156, 155, 178, 0, 0, 0,
|
|
|
|
0, 152, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
180, 177, 0, 0, 0, 0, 690, 0, 0, 0,
|
|
|
|
0, 0, 0, 179, 158, 162, 161, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 154, 156, 155,
|
|
|
|
178, 0, 0, 0, 0, 152, 153, 157, 159, 171,
|
|
|
|
172, 169, 170, 173, 174, 175, 176, 167, 168, 160,
|
|
|
|
163, 165, 166, 164, 180, 177, 736, 0, 0, 738,
|
|
|
|
681, 0, 0, 0, 0, 0, 0, 179, 158, 162,
|
|
|
|
161, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 154, 156, 155, 178, 0, 0, 0, 0, 152,
|
|
|
|
153, 157, 159, 171, 172, 169, 170, 173, 174, 175,
|
|
|
|
176, 167, 168, 160, 163, 165, 166, 164, 180, 177,
|
|
|
|
743, 744, 745, 742, 741, 740, 0, 0, 677, 0,
|
|
|
|
0, 179, 158, 162, 161, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 829, 0, 0, 154, 156, 155, 178, 0,
|
|
|
|
0, 0, 0, 152, 153, 157, 159, 171, 172, 169,
|
|
|
|
170, 173, 174, 175, 176, 167, 168, 160, 163, 165,
|
|
|
|
166, 164, 180, 177, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 676, 0, 0, 179, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 154,
|
|
|
|
156, 155, 178, 0, 0, 0, 0, 152, 153, 157,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 180, 177, 736, 0,
|
|
|
|
0, 738, 622, 0, 0, 0, 0, 0, 0, 179,
|
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 154, 156, 155, 178, 0, 0, 0,
|
|
|
|
0, 152, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
180, 177, 743, 744, 745, 742, 741, 740, 0, 0,
|
|
|
|
621, 0, 0, 179, 158, 162, 161, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 797, 0, 0, 154, 156, 155,
|
|
|
|
178, 0, 0, 0, 0, 152, 153, 157, 159, 171,
|
|
|
|
172, 169, 170, 173, 174, 175, 176, 167, 168, 160,
|
|
|
|
163, 165, 166, 164, 180, 177, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 620, 0, 0, 179, 158, 162,
|
|
|
|
161, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 154, 156, 155, 178, 0, 0, 0, 0, 152,
|
|
|
|
153, 157, 159, 171, 172, 169, 170, 173, 174, 175,
|
|
|
|
176, 167, 168, 160, 163, 165, 166, 164, 180, 177,
|
|
|
|
736, 0, 0, 738, 603, 0, 0, 0, 0, 0,
|
|
|
|
0, 179, 158, 162, 161, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 154, 156, 155, 178, 0,
|
|
|
|
0, 0, 0, 152, 153, 157, 159, 171, 172, 169,
|
|
|
|
170, 173, 174, 175, 176, 167, 168, 160, 163, 165,
|
|
|
|
166, 164, 180, 177, 743, 744, 745, 742, 741, 740,
|
|
|
|
0, 0, 594, 0, 0, 179, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 732, 0, 0, 154,
|
|
|
|
156, 155, 178, 0, 0, 0, 0, 152, 153, 157,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 180, 177, 0, 0,
|
|
|
|
0, 0, 584, 0, 0, 0, 0, 0, 0, 179,
|
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 565,
|
|
|
|
0, 0, 0, 154, 156, 155, 178, 0, 0, 0,
|
|
|
|
0, 152, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
180, 177, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
582, 0, 0, 179, 158, 162, 161, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 154, 156, 155,
|
|
|
|
178, 0, 0, 0, 0, 152, 153, 157, 159, 171,
|
|
|
|
172, 169, 170, 173, 174, 175, 176, 167, 168, 160,
|
|
|
|
163, 165, 166, 164, 180, 177, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 179, 158, 162,
|
|
|
|
161, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 154, 156, 155, 178, 0, 0, 0, 0, 152,
|
|
|
|
153, 157, 159, 171, 172, 169, 170, 173, 174, 175,
|
|
|
|
176, 167, 168, 160, 163, 165, 166, 164, 180, 177,
|
|
|
|
0, 0, 0, 0, 0, 0, 561, 0, 0, 0,
|
|
|
|
0, 179, 158, 162, 161, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 154, 156, 155, 178, 0,
|
|
|
|
0, 0, 0, 152, 153, 157, 159, 171, 172, 169,
|
|
|
|
170, 173, 174, 175, 176, 167, 168, 160, 163, 165,
|
|
|
|
166, 164, 180, 177, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 555, 0, 0, 179, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 154,
|
|
|
|
156, 155, 178, 0, 0, 0, 0, 152, 153, 157,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 180, 177, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 551, 0, 0, 179,
|
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 154, 156, 155, 178, 0, 0, 0,
|
|
|
|
0, 152, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
180, 177, 410, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
415, 0, 0, 179, 158, 162, 161, 0, 0, 0,
|
2017-12-22 12:07:38 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 154, 156, 155, 178, 152, 153, 157, 159, 171,
|
|
|
|
172, 169, 170, 173, 174, 175, 176, 167, 168, 160,
|
|
|
|
163, 165, 166, 164, 0, 0, 0, 0, 180, 177,
|
2017-12-22 12:07:38 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 179, 158, 162, 161, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 154, 156, 155, 178, 0,
|
|
|
|
0, 0, 0, 152, 153, 157, 159, 171, 172, 169,
|
|
|
|
170, 173, 174, 175, 176, 167, 168, 160, 163, 165,
|
|
|
|
166, 164, 180, 177, 0, 0, 0, 0, 0, 371,
|
|
|
|
0, 0, 0, 0, 0, 179, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 154,
|
|
|
|
156, 155, 178, 0, 0, 0, 0, 152, 153, 157,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 180, 177, 0, 0,
|
|
|
|
0, 0, 0, 151, 0, 0, 0, 0, 0, 179,
|
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 154, 156, 155, 178, 0, 0, 0,
|
|
|
|
0, 152, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
180, 177, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 179, 158, 162, 161, 0, 0, 0,
|
2017-12-22 12:07:38 +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, 152, 153, 157, 159, 171,
|
|
|
|
172, 169, 170, 173, 174, 175, 176, 167, 168, 160,
|
|
|
|
163, 165, 166, 164, 441, 442, 452, 453, 0, 0,
|
|
|
|
880, 0, 0, 0, 0, 0, 0, 0, 0, 457,
|
|
|
|
458, 459, 460, 461, 462, 463, 464, 465, 466, 467,
|
|
|
|
487, 488, 489, 490, 491, 479, 480, 481, 482, 483,
|
|
|
|
468, 469, 470, 471, 472, 473, 474, 475, 476, 477,
|
|
|
|
478, 0, 499, 497, 498, 494, 495, 0, 0, 486,
|
|
|
|
492, 493, 500, 501, 503, 502, 504, 505, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 879,
|
|
|
|
507, 506, 111, 0, 443, 444, 445, 446, 447, 448,
|
|
|
|
449, 450, 451, 454, 455, 456, 484, 485, 435, 436,
|
|
|
|
437, 438, 439, 440, 0, 0, 441, 442, 452, 453,
|
|
|
|
0, 0, 880, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
898, 457, 458, 459, 460, 461, 462, 463, 464, 465,
|
2017-12-07 09:46:25 +00:00
|
|
|
466, 467, 487, 488, 489, 490, 491, 479, 480, 481,
|
|
|
|
482, 483, 468, 469, 470, 471, 472, 473, 474, 475,
|
|
|
|
476, 477, 478, 0, 499, 497, 498, 494, 495, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 486, 492, 493, 500, 501, 503, 502, 504, 505,
|
|
|
|
0, 0, 0, 0, 0, 0, 213, 214, 0, 0,
|
|
|
|
0, 879, 507, 506, 111, 0, 443, 444, 445, 446,
|
|
|
|
447, 448, 449, 450, 451, 454, 455, 456, 484, 485,
|
|
|
|
435, 436, 437, 438, 439, 440, 155, 178, 200, 201,
|
|
|
|
202, 203, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
|
|
204, 0, 870, 0, 0, 0, 0, 0, 0, 426,
|
|
|
|
0, 180, 177, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 179, 158, 162, 161, 0, 0,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 178, 0, 0, 0, 0, 152, 153, 157, 159,
|
|
|
|
171, 172, 169, 170, 173, 174, 175, 176, 167, 168,
|
|
|
|
160, 163, 165, 166, 164, 180, 177, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 179, 158,
|
|
|
|
162, 161, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 178, 0, 0, 0, 0,
|
|
|
|
152, 153, 157, 159, 171, 172, 169, 170, 173, 174,
|
|
|
|
175, 176, 167, 168, 160, 163, 165, 166, 164, 180,
|
|
|
|
177, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 179, 158, 162, 161, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 178,
|
|
|
|
0, 0, 0, 0, 152, 153, 157, 159, 171, 172,
|
|
|
|
169, 170, 173, 174, 175, 176, 167, 168, 160, 163,
|
|
|
|
165, 166, 164, 180, 177, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 158, 162, 161,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 178, 0, 0, 0, 0, 0, 152, 153,
|
|
|
|
157, 159, 171, 172, 169, 170, 173, 174, 175, 176,
|
|
|
|
167, 168, 160, 163, 165, 166, 164, 177, 0, 0,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
158, 162, 161, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 178, 0, 0, 0, 0,
|
|
|
|
0, 0, 153, 157, 159, 171, 172, 169, 170, 173,
|
|
|
|
174, 175, 176, 167, 168, 160, 163, 165, 166, 164,
|
|
|
|
177, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 158, 162, 161, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 178, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 157, 159, 171, 172,
|
|
|
|
169, 170, 173, 174, 175, 176, 167, 168, 160, 163,
|
|
|
|
165, 166, 164, 177, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 158, 162, 161, 0,
|
|
|
|
0, 0, 0, 87, 88, 69, 0, 92, 93, 116,
|
|
|
|
0, 104, 0, 0, 0, 0, 0, 109, 0, 0,
|
|
|
|
159, 171, 172, 169, 170, 173, 174, 175, 176, 167,
|
|
|
|
168, 160, 163, 165, 166, 164, 132, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 85, 86,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 50, 108,
|
|
|
|
0, 101, 97, 98, 99, 94, 95, 0, 0, 0,
|
|
|
|
0, 0, 0, 102, 0, 0, 0, 0, 133, 100,
|
|
|
|
96, 111, 532, 89, 90, 91, 0, 0, 0, 0,
|
|
|
|
84, 52, 0, 0, 0, 73, 74, 138, 0, 0,
|
|
|
|
0, 0, 0, 53, 54, 75, 62, 63, 64, 65,
|
|
|
|
66, 67, 68, 0, 0, 0, 103, 72, 0, 0,
|
|
|
|
0, 0, 59, 528, 51, 0, 0, 0, 56, 55,
|
|
|
|
57, 58, 70, 105, 87, 88, 69, 0, 92, 93,
|
2018-01-02 11:53:55 +00:00
|
|
|
116, 0, 104, 0, 0, 0, 0, 0, 109, 0,
|
2017-12-08 14:54:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 132, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 85,
|
|
|
|
86, 0, 0, 0, 0, 0, 0, 0, 0, 226,
|
|
|
|
108, 0, 101, 97, 98, 99, 94, 95, 0, 0,
|
|
|
|
0, 0, 0, 0, 102, 0, 0, 0, 0, 133,
|
|
|
|
100, 96, 111, 0, 89, 90, 91, 0, 0, 0,
|
|
|
|
0, 84, 52, 0, 0, 0, 73, 74, 138, 0,
|
|
|
|
0, 0, 0, 0, 53, 54, 75, 62, 63, 64,
|
|
|
|
65, 66, 67, 68, 0, 0, 0, 103, 72, 0,
|
|
|
|
0, 0, 0, 59, 0, 51, 0, 0, 225, 56,
|
|
|
|
55, 57, 58, 70, 105, 87, 88, 69, 0, 92,
|
|
|
|
93, 116, 0, 104, 0, 0, 0, 0, 0, 109,
|
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, 132, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
85, 86, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
50, 108, 0, 101, 97, 98, 99, 94, 95, 0,
|
|
|
|
0, 0, 0, 0, 0, 102, 0, 0, 0, 0,
|
|
|
|
133, 100, 96, 111, 532, 89, 90, 91, 0, 0,
|
|
|
|
0, 0, 84, 52, 0, 0, 0, 73, 74, 138,
|
|
|
|
0, 0, 0, 0, 0, 53, 54, 75, 62, 63,
|
|
|
|
64, 65, 66, 67, 68, 0, 0, 0, 103, 72,
|
|
|
|
0, 0, 0, 0, 59, 0, 51, 0, 0, 0,
|
|
|
|
56, 55, 57, 58, 70, 105, 87, 88, 69, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
92, 93, 116, 0, 104, 0, 0, 0, 0, 0,
|
|
|
|
109, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 132,
|
2017-12-07 09:46:25 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 85, 86, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 592, 108, 0, 101, 97, 98, 99, 94, 95,
|
|
|
|
0, 0, 0, 0, 0, 0, 102, 0, 0, 0,
|
|
|
|
0, 133, 100, 96, 111, 0, 89, 90, 91, 0,
|
|
|
|
0, 0, 0, 84, 52, 0, 0, 0, 73, 74,
|
|
|
|
138, 0, 0, 0, 0, 0, 53, 54, 75, 62,
|
|
|
|
63, 64, 65, 66, 67, 68, 0, 0, 0, 103,
|
|
|
|
72, 0, 0, 0, 0, 59, 0, 51, 0, 0,
|
|
|
|
591, 56, 55, 57, 58, 70, 105, 87, 88, 69,
|
|
|
|
0, 92, 93, 116, 424, 104, 0, 0, 0, 0,
|
|
|
|
0, 109, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
132, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 85, 86, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 50, 108, 0, 101, 97, 98, 99, 94,
|
|
|
|
95, 0, 0, 0, 0, 0, 0, 102, 0, 0,
|
|
|
|
0, 0, 133, 100, 96, 111, 0, 89, 90, 91,
|
|
|
|
0, 0, 0, 0, 84, 52, 0, 0, 0, 73,
|
|
|
|
74, 138, 0, 0, 0, 0, 0, 53, 54, 75,
|
|
|
|
62, 63, 64, 65, 66, 67, 68, 0, 0, 0,
|
|
|
|
103, 72, 0, 0, 0, 0, 59, 0, 51, 0,
|
|
|
|
0, 0, 56, 55, 57, 58, 70, 105, 87, 88,
|
2018-01-02 11:53:55 +00:00
|
|
|
69, 0, 92, 93, 116, 0, 104, 0, 0, 0,
|
|
|
|
0, 0, 109, 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, 132, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 85, 86, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 50, 108, 0, 101, 97, 98, 99,
|
|
|
|
94, 95, 0, 0, 0, 0, 0, 0, 102, 0,
|
|
|
|
0, 0, 0, 133, 100, 96, 111, 0, 89, 90,
|
|
|
|
91, 0, 0, 0, 0, 84, 52, 0, 0, 0,
|
|
|
|
73, 74, 138, 0, 0, 0, 0, 0, 53, 54,
|
|
|
|
75, 62, 63, 64, 65, 66, 67, 68, 0, 0,
|
|
|
|
0, 103, 72, 0, 0, 0, 0, 59, 0, 51,
|
|
|
|
0, 0, 387, 56, 55, 57, 58, 70, 105, 87,
|
|
|
|
88, 69, 0, 92, 93, 116, 0, 104, 0, 0,
|
|
|
|
0, 0, 0, 109, 0, 0, 0, 0, 0, 0,
|
2017-11-30 16:25:41 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 132, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 85, 86, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 50, 108, 0, 101, 97, 98,
|
|
|
|
99, 94, 95, 0, 0, 0, 0, 0, 0, 102,
|
|
|
|
0, 0, 0, 0, 133, 100, 96, 111, 0, 89,
|
|
|
|
90, 91, 0, 0, 0, 0, 84, 52, 0, 0,
|
|
|
|
0, 73, 74, 138, 0, 0, 0, 0, 0, 53,
|
|
|
|
54, 75, 62, 63, 64, 65, 66, 67, 68, 0,
|
|
|
|
0, 0, 103, 72, 0, 0, 0, 363, 59, 0,
|
|
|
|
51, 0, 0, 0, 56, 55, 57, 58, 70, 105,
|
|
|
|
87, 88, 69, 0, 92, 93, 116, 0, 104, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 0, 109, 0, 0, 0, 0, 0,
|
2017-12-03 21:29:17 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 132, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 85, 86, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 50, 108, 0, 101, 97,
|
|
|
|
98, 99, 94, 95, 0, 0, 0, 0, 0, 0,
|
|
|
|
102, 178, 0, 0, 0, 133, 100, 96, 111, 0,
|
|
|
|
89, 90, 91, 0, 0, 0, 0, 84, 52, 0,
|
|
|
|
0, 0, 73, 74, 138, 0, 177, 0, 0, 0,
|
|
|
|
53, 54, 75, 62, 63, 64, 65, 66, 67, 68,
|
|
|
|
162, 161, 0, 103, 72, 0, 0, 0, 0, 59,
|
|
|
|
0, 51, 0, 0, 0, 56, 55, 57, 58, 70,
|
|
|
|
105, 0, 0, 0, 171, 172, 169, 170, 173, 174,
|
|
|
|
175, 176, 167, 168, 160, 163, 165, 166, 164, 441,
|
|
|
|
442, 452, 453, 0, 0, 432, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 457, 458, 459, 460, 461, 462,
|
|
|
|
463, 464, 465, 466, 467, 487, 488, 489, 490, 491,
|
|
|
|
479, 480, 481, 482, 483, 468, 469, 470, 471, 472,
|
|
|
|
473, 474, 475, 476, 477, 478, 0, 499, 497, 498,
|
|
|
|
494, 495, 0, 0, 486, 492, 493, 500, 501, 503,
|
|
|
|
502, 504, 505, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 496, 507, 506, 0, 0, 443,
|
|
|
|
444, 445, 446, 447, 448, 449, 450, 451, 454, 455,
|
|
|
|
456, 484, 485, 435, 436, 437, 438, 439, 440, 441,
|
|
|
|
442, 452, 453, 0, 0, 914, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 457, 458, 459, 460, 461, 462,
|
|
|
|
463, 464, 465, 466, 467, 487, 488, 489, 490, 491,
|
|
|
|
479, 480, 481, 482, 483, 468, 469, 470, 471, 472,
|
|
|
|
473, 474, 475, 476, 477, 478, 0, 499, 497, 498,
|
|
|
|
494, 495, 0, 0, 486, 492, 493, 500, 501, 503,
|
|
|
|
502, 504, 505, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 496, 507, 506, 0, 0, 443,
|
|
|
|
444, 445, 446, 447, 448, 449, 450, 451, 454, 455,
|
|
|
|
456, 484, 485, 743, 744, 745, 742, 741, 740,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyPact = [...]int{
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
-1000, -1000, 1190, -1000, -1000, -1000, -1000, -1000, -1000, 251,
|
|
|
|
491, 550, 710, -1000, -1000, -1000, 245, 3912, 239, 235,
|
|
|
|
6856, 6856, 6856, 170, 644, 6856, -1000, 5152, 233, 232,
|
|
|
|
231, -1000, 422, 6856, 777, 283, -10, 496, 775, 774,
|
|
|
|
772, 451, 508, 5442, -1000, -1000, 230, -1000, -1000, 157,
|
|
|
|
229, 6070, 6856, 333, 333, 6856, 6856, 6856, 6856, 6856,
|
|
|
|
-1000, -1000, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 226,
|
|
|
|
6856, -1000, 818, 6856, 6856, 6856, -1000, -1000, -1000, 123,
|
|
|
|
-1000, 534, 533, -1000, 488, 224, 223, 6856, 6856, 219,
|
|
|
|
6856, 6856, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 779, 797, -1000, 117, 201, 201, 216, -1000,
|
|
|
|
486, 687, 173, 687, 262, -1000, -1000, 375, 561, 5,
|
|
|
|
608, 687, -1000, -1000, -1000, -1000, 4, -1000, -14, 2893,
|
|
|
|
6856, 631, -10, 484, 6856, 6856, 370, 5206, 607, 367,
|
|
|
|
366, -1, -1000, -1000, -5, -10, -1000, -17, -7, -1000,
|
|
|
|
5206, -1000, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856,
|
|
|
|
6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856,
|
|
|
|
6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 361, 6725,
|
|
|
|
6856, 333, 6856, 710, -1000, 5098, 344, -1000, 767, -1000,
|
|
|
|
764, -1000, 543, -1000, 558, 214, 3912, 213, 343, 282,
|
|
|
|
6594, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856, 6856,
|
|
|
|
6856, 6856, 6856, -1000, -1000, 6856, 6856, 6856, 96, 6070,
|
|
|
|
119, 16, -1000, -1000, 5044, 333, 211, -1000, -1000, 123,
|
|
|
|
6856, -1000, -1000, 6070, -1000, -80, -80, 12, -80, 4986,
|
|
|
|
-80, -80, -80, -80, -80, -80, -80, -1000, 6856, -80,
|
|
|
|
425, 660, 658, -1000, 165, 6463, 333, 5595, 5541, 5595,
|
|
|
|
6856, 3155, 3155, 201, -1000, 501, 182, 201, -1000, -1000,
|
|
|
|
6856, 6856, 5206, 5206, 6856, 5206, 5206, 651, -1000, 740,
|
|
|
|
517, 660, 6856, -1000, -1000, 5939, -1000, 6070, 749, 486,
|
|
|
|
339, 486, -1000, -1000, 1059, -1000, 334, -8, 594, 687,
|
|
|
|
-1000, 554, 521, 733, 563, -1000, -1000, 710, 6856, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, 207, 4932, 206, -1000,
|
|
|
|
332, 15, 5206, 4878, -1000, -1000, -1000, -1000, 170, -1000,
|
|
|
|
681, -1000, 6856, -1000, 6856, 5702, 5755, 319, 5595, 5487,
|
|
|
|
5808, 6841, 3898, 62, 62, 62, 12, -80, 12, 12,
|
|
|
|
236, 236, 360, 360, 360, 360, 151, 151, 151, 151,
|
|
|
|
360, -1000, 4824, 6856, 5649, 14, -1000, -1000, 4770, -12,
|
|
|
|
2762, -1000, -1000, -1000, 205, 543, 518, 542, 419, -1000,
|
|
|
|
542, 6856, -1000, 6856, -1000, -1000, 5595, 6856, 5595, 5595,
|
|
|
|
5595, 5595, 5595, 5595, 5595, 5595, 5595, 5595, 5595, 5595,
|
|
|
|
4716, 116, 4662, 201, -1000, 6856, -1000, 172, -25, 6070,
|
|
|
|
6332, -1000, 6070, 4608, 112, -1000, 171, -1000, -1000, -1000,
|
|
|
|
-1000, 234, 698, 4554, 99, 385, 6856, 72, 201, -1000,
|
|
|
|
-1000, 6856, -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,
|
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-01-29 14:11:45 +00:00
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 201, -1000,
|
|
|
|
-1000, -1000, -1000, 170, 6856, 6856, 96, 170, 543, 13,
|
|
|
|
-1000, 5206, 4500, 4446, -1000, -1000, -1000, 4392, -1000, 11,
|
|
|
|
-1000, 5206, 6856, 169, -1000, -1000, 928, -1000, -1000, -1000,
|
|
|
|
520, 556, -1000, 687, 522, 685, -1000, 500, -1000, 5206,
|
|
|
|
163, 3781, 6856, 6856, 6856, 203, -1000, -1000, 198, 5206,
|
|
|
|
-1000, 6856, 5649, 161, 333, 587, 3650, -1000, 197, 432,
|
|
|
|
518, -1000, 542, -1000, -1000, 418, 2, -1000, 4338, 4284,
|
|
|
|
2631, 6841, 3519, -1000, -1000, -1000, 4230, -29, 6856, -1000,
|
|
|
|
5206, 333, 187, 154, -1000, -1000, -1000, 67, -1000, -1000,
|
|
|
|
671, -1000, -1000, -1000, -1000, 6856, -1000, 5595, -1000, -1000,
|
|
|
|
4176, -1000, -1000, 65, 4122, -1000, -1000, 518, 153, 6856,
|
|
|
|
-1000, -1000, -1000, 144, 6201, 5206, -1000, -1000, 687, 444,
|
|
|
|
7, -1000, -1000, 687, 685, -1000, 330, -1000, -1000, -1000,
|
|
|
|
4068, 324, 5206, -1000, 323, 318, 432, 5649, 317, -1000,
|
|
|
|
140, 511, 333, 185, 6070, -1000, -1000, -1000, 638, 432,
|
|
|
|
138, 8, -1000, 59, -1000, -1000, 693, -1000, -1000, -1000,
|
|
|
|
-1000, 417, 2, 4626, -1000, 542, 3912, 273, 316, -1000,
|
|
|
|
-1000, -1000, 6856, 5595, -1000, 6070, -29, -1000, -1000, 4014,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 3, -1000,
|
|
|
|
687, 383, 685, -1000, 7, -1000, 2500, 315, 6856, 392,
|
|
|
|
-1000, 748, -1000, 134, -1000, 3257, 587, -1000, 6070, 63,
|
|
|
|
2369, -1000, 183, 416, 133, 598, 432, 464, -1000, -1000,
|
|
|
|
413, -1000, -1000, -1000, 677, 692, 542, 663, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, 4464, -1000, -1000, -1000,
|
|
|
|
-1000, 3024, 5595, 131, 382, 394, 379, 687, 3, -1000,
|
|
|
|
-1000, 377, 314, -1000, 130, -1000, 6856, 181, 384, 309,
|
|
|
|
737, 598, -1000, -1000, -1000, 129, -1000, 128, -1000, 308,
|
|
|
|
542, -1000, 255, 255, 175, -1000, 679, -1000, -1000, 4302,
|
|
|
|
-11, -1000, -27, 7005, -10, -20, -1000, -1000, 3024, -29,
|
|
|
|
-1000, -1000, -1000, -1000, 174, -1000, -1000, 3388, 3960, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 307, 255, 2238, 3257, -1000, -1000,
|
|
|
|
81, -1000, 2107, 390, 432, 389, 135, -32, 4032, -1000,
|
|
|
|
-1000, 677, -1000, 6856, -18, -1000, -46, 7005, -1000, -1000,
|
|
|
|
5472, 528, -1000, -1000, -1000, -1000, -1000, 3024, -1000, 388,
|
|
|
|
305, -1000, 126, 542, -1000, -1000, -1000, -1000, -30, -1000,
|
|
|
|
-1000, 676, 6856, -1000, -1000, 5206, -1000, 7005, 6856, -1000,
|
|
|
|
-1000, 5370, -1000, 301, 299, 588, 620, 499, -1000, 484,
|
|
|
|
-1000, -1000, 1976, 3024, -1000, -1000, 387, -1000, 1845, 1714,
|
|
|
|
-1000, 135, -1000, 5206, -1000, -1000, 5206, 166, -1000, -1000,
|
|
|
|
-1000, -1000, 542, 7105, 7005, 276, 1583, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 432, 2, -1000, -1000, 7005, -1000, -1000, -1000,
|
|
|
|
1452, 64, -1000, -1000, 255, 275, -1000, -1000, -1000, 1321,
|
2018-01-02 11:53:55 +00:00
|
|
|
-1000,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyPgo = [...]int{
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 915, 911, 51, 9, 907, 3, 906, 11, 24,
|
|
|
|
81, 80, 46, 45, 905, 29, 904, 77, 70, 61,
|
2018-02-18 18:29:33 +00:00
|
|
|
902, 0, 50, 901, 900, 35, 237, 38, 20, 899,
|
|
|
|
32, 898, 62, 54, 896, 10, 893, 892, 891, 889,
|
|
|
|
13, 55, 888, 887, 100, 95, 199, 885, 884, 881,
|
|
|
|
5, 878, 85, 41, 877, 141, 43, 871, 870, 868,
|
|
|
|
867, 866, 79, 864, 862, 861, 860, 12, 853, 851,
|
|
|
|
47, 40, 31, 2, 14, 673, 8, 702, 25, 850,
|
|
|
|
849, 843, 37, 82, 550, 840, 121, 838, 837, 831,
|
|
|
|
86, 827, 36, 826, 823, 30, 33, 821, 820, 28,
|
|
|
|
813, 812, 542, 810, 18, 808, 807, 39, 805, 78,
|
|
|
|
1, 4, 804, 17, 801, 44, 800, 798, 797, 7,
|
|
|
|
795, 6, 793, 789, 15, 788, 19, 16,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR1 = [...]int{
|
|
|
|
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 125, 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,
|
|
|
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 5,
|
2018-02-18 18:29:33 +00:00
|
|
|
5, 5, 5, 5, 5, 5, 6, 6, 109, 109,
|
|
|
|
86, 86, 8, 8, 8, 7, 7, 7, 7, 7,
|
|
|
|
7, 7, 7, 7, 7, 7, 7, 7, 7, 77,
|
|
|
|
77, 14, 14, 16, 16, 126, 126, 96, 96, 95,
|
|
|
|
95, 102, 102, 15, 15, 18, 18, 17, 17, 90,
|
|
|
|
90, 110, 110, 20, 20, 20, 20, 20, 20, 9,
|
2017-12-27 14:55:09 +00:00
|
|
|
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
|
|
|
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
2018-02-18 18:29:33 +00:00
|
|
|
9, 9, 9, 88, 88, 87, 87, 24, 24, 101,
|
|
|
|
101, 25, 10, 1, 1, 2, 2, 11, 11, 120,
|
|
|
|
120, 75, 75, 12, 13, 27, 27, 114, 114, 115,
|
|
|
|
115, 78, 78, 78, 78, 123, 123, 124, 124, 23,
|
|
|
|
23, 80, 80, 80, 80, 99, 99, 99, 127, 127,
|
|
|
|
122, 122, 66, 66, 64, 64, 68, 68, 65, 65,
|
|
|
|
111, 111, 112, 112, 28, 28, 29, 29, 74, 74,
|
|
|
|
72, 72, 72, 73, 73, 82, 82, 108, 108, 30,
|
|
|
|
30, 94, 94, 32, 98, 98, 33, 33, 113, 113,
|
|
|
|
34, 34, 34, 34, 119, 119, 81, 81, 81, 100,
|
|
|
|
100, 35, 35, 36, 37, 37, 37, 37, 39, 39,
|
|
|
|
38, 79, 79, 117, 117, 116, 116, 118, 118, 76,
|
|
|
|
76, 76, 76, 76, 76, 97, 97, 40, 40, 89,
|
|
|
|
89, 67, 19, 91, 91, 41, 92, 92, 93, 93,
|
|
|
|
43, 42, 42, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
|
|
|
|
31, 31, 31, 31, 31, 31, 31, 31, 31, 121,
|
|
|
|
3, 3, 104, 104, 103, 103, 50, 50, 51, 51,
|
|
|
|
51, 51, 44, 44, 45, 45, 48, 48, 85, 85,
|
|
|
|
85, 83, 83, 55, 55, 55, 49, 49, 49, 49,
|
|
|
|
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
|
|
|
|
49, 49, 56, 56, 56, 21, 21, 22, 22, 54,
|
|
|
|
57, 57, 57, 58, 58, 58, 59, 59, 59, 59,
|
|
|
|
59, 59, 26, 26, 26, 46, 46, 46, 60, 60,
|
|
|
|
61, 61, 61, 61, 61, 61, 52, 52, 52, 53,
|
|
|
|
53, 53, 107, 70, 70, 106, 106, 69, 69, 69,
|
|
|
|
69, 69, 69, 84, 84, 84, 84, 62, 62, 62,
|
|
|
|
62, 62, 62, 62, 63, 63, 63, 63, 47, 47,
|
|
|
|
47, 47, 47, 47, 47, 105, 105, 71,
|
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,
|
2017-12-01 07:15:46 +00:00
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 2, 0,
|
2017-12-01 08:26:17 +00:00
|
|
|
1, 3, 1, 3, 2, 1, 1, 1, 1, 1,
|
2017-11-30 17:37:45 +00:00
|
|
|
4, 3, 5, 4, 3, 4, 3, 4, 3, 1,
|
2017-12-01 07:15:46 +00:00
|
|
|
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, 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,
|
2018-01-02 11:53:55 +00:00
|
|
|
3, 1, 11, 0, 1, 0, 1, 9, 8, 1,
|
|
|
|
2, 1, 1, 6, 7, 0, 2, 0, 2, 0,
|
2017-12-01 07:15:46 +00:00
|
|
|
2, 1, 2, 4, 3, 1, 4, 1, 4, 1,
|
|
|
|
4, 3, 4, 4, 5, 0, 5, 4, 1, 1,
|
|
|
|
1, 4, 5, 6, 1, 3, 6, 7, 3, 6,
|
|
|
|
1, 0, 1, 3, 4, 6, 0, 1, 1, 2,
|
|
|
|
1, 1, 1, 0, 2, 2, 4, 1, 3, 1,
|
|
|
|
2, 3, 1, 1, 3, 1, 1, 3, 2, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
3, 4, 3, 10, 1, 3, 1, 2, 3, 1,
|
2017-12-01 07:15:46 +00:00
|
|
|
2, 2, 2, 3, 3, 3, 4, 3, 1, 1,
|
|
|
|
3, 1, 3, 1, 1, 0, 1, 1, 2, 1,
|
2018-01-02 11:53:55 +00:00
|
|
|
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,
|
2017-12-01 08:26:17 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 2, 2, 2, 2, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 1, 5, 4, 3,
|
|
|
|
1, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2018-01-02 11:53:55 +00:00
|
|
|
1, 3, 2, 1, 2, 4, 2, 11, 12, 0,
|
|
|
|
0, 1, 0, 4, 3, 1, 1, 2, 2, 4,
|
|
|
|
4, 2, 1, 1, 1, 1, 0, 3, 0, 1,
|
|
|
|
1, 0, 1, 4, 3, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 3, 2, 3, 3,
|
|
|
|
1, 1, 1, 3, 3, 1, 1, 0, 1, 1,
|
|
|
|
1, 3, 1, 1, 3, 1, 1, 4, 4, 4,
|
|
|
|
4, 1, 1, 1, 3, 1, 4, 2, 3, 3,
|
|
|
|
1, 4, 4, 3, 3, 3, 1, 3, 1, 1,
|
|
|
|
3, 1, 1, 0, 1, 3, 1, 3, 1, 4,
|
|
|
|
2, 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{
|
|
|
|
|
2018-02-18 18:29:33 +00:00
|
|
|
-1000, -125, -109, -7, -9, -10, -11, -12, -13, 51,
|
|
|
|
79, 44, 38, 119, -64, -65, 21, 20, 23, 30,
|
2018-01-29 14:11:45 +00:00
|
|
|
34, 35, 39, 46, 98, 19, 14, -21, 48, 25,
|
2018-02-18 18:29:33 +00:00
|
|
|
27, 121, 40, 43, 36, 10, 37, -120, 52, 53,
|
|
|
|
54, -66, -68, -26, -31, -75, 7, -59, -60, -57,
|
2018-01-29 14:11:45 +00:00
|
|
|
59, 125, 92, 104, 105, 130, 129, 131, 132, 123,
|
2018-02-18 18:29:33 +00:00
|
|
|
-42, -47, 107, 108, 109, 110, 111, 112, 113, 6,
|
|
|
|
133, -49, 118, 96, 97, 106, 99, 100, -46, -56,
|
|
|
|
-51, -44, -54, -55, 91, 49, 50, 4, 5, 84,
|
2018-01-29 14:11:45 +00:00
|
|
|
85, 86, 8, 9, 66, 67, 81, 63, 64, 65,
|
2018-02-18 18:29:33 +00:00
|
|
|
80, 62, 74, 117, 12, 134, -8, -58, 60, 18,
|
|
|
|
-86, 82, 123, 82, -86, 119, 10, -16, -77, -102,
|
|
|
|
-86, 82, 37, 38, -17, -18, -90, -19, 10, -110,
|
2018-01-29 14:11:45 +00:00
|
|
|
123, -9, 37, 79, 123, 123, -22, -21, 98, -22,
|
2018-02-18 18:29:33 +00:00
|
|
|
-22, -94, -32, -46, -98, 37, -33, 12, -91, -41,
|
2018-01-29 14:11:45 +00:00
|
|
|
-21, 121, 149, 150, 87, 89, 88, 151, 128, 152,
|
|
|
|
163, 130, 129, 164, 167, 165, 166, 161, 162, 155,
|
|
|
|
156, 153, 154, 157, 158, 159, 160, 115, 90, 127,
|
|
|
|
114, 123, 123, 123, 119, -21, 10, 122, -3, 128,
|
2018-02-18 18:29:33 +00:00
|
|
|
52, -75, 10, 10, 10, 93, 94, 93, 95, 94,
|
2018-01-29 14:11:45 +00:00
|
|
|
136, 137, 138, 139, 148, 140, 141, 142, 143, 144,
|
|
|
|
145, 146, 147, 104, 105, 123, 125, 119, 57, 123,
|
2018-02-18 18:29:33 +00:00
|
|
|
-107, -106, -70, -69, -21, 128, 59, -21, -26, -56,
|
|
|
|
123, -55, 98, 125, -26, -21, -21, -21, -21, -21,
|
|
|
|
-21, -21, -21, -21, -21, -21, -21, -48, 123, -21,
|
|
|
|
-85, 17, -84, -62, 12, 76, 77, -21, -21, -21,
|
|
|
|
125, 78, 78, -45, -43, -44, -61, 52, -8, -46,
|
|
|
|
123, 123, -21, -21, 123, -21, -21, 17, 75, -84,
|
|
|
|
-84, 17, 119, -46, -82, 123, -82, 123, 82, -86,
|
|
|
|
124, -86, 121, 119, -109, 121, -14, -102, -86, 82,
|
|
|
|
121, 135, 82, 29, -86, -18, 121, 135, 136, -20,
|
2018-01-29 14:11:45 +00:00
|
|
|
120, -9, -10, -11, -12, -13, 51, -21, 21, -3,
|
2018-02-18 18:29:33 +00:00
|
|
|
-92, -93, -21, -21, 121, 121, 121, 121, 135, 121,
|
2018-01-29 14:11:45 +00:00
|
|
|
135, -3, 136, 121, 135, -21, -21, -21, -21, -21,
|
2017-12-27 14:55:09 +00:00
|
|
|
-21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
|
|
|
|
-21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
|
2018-02-18 18:29:33 +00:00
|
|
|
-21, -45, -21, 122, -21, -101, -25, -26, -21, -90,
|
|
|
|
-110, 121, 121, 10, -121, 10, -27, 55, -121, -114,
|
2018-01-29 14:11:45 +00:00
|
|
|
55, 123, -9, 123, 121, 122, -21, 128, -21, -21,
|
2017-12-27 14:55:09 +00:00
|
|
|
-21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
|
2018-02-18 18:29:33 +00:00
|
|
|
-21, -22, -21, -53, 10, 119, -46, -107, 126, 135,
|
|
|
|
58, -26, 123, -21, -107, 124, -22, 118, -62, -62,
|
|
|
|
17, 125, 57, -21, 11, -26, 58, -22, -52, -6,
|
|
|
|
-46, 119, 10, -5, -4, 98, 99, 100, 101, 102,
|
2018-01-29 14:11:45 +00:00
|
|
|
103, 4, 5, 84, 85, 86, 87, 88, 89, 90,
|
|
|
|
91, 92, 6, 7, 93, 94, 95, 19, 20, 21,
|
|
|
|
22, 23, 24, 25, 26, 27, 28, 29, 40, 41,
|
|
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 35,
|
|
|
|
36, 37, 38, 39, 96, 97, 59, 30, 31, 32,
|
|
|
|
33, 34, 60, 61, 55, 56, 79, 53, 54, 52,
|
2018-02-18 18:29:33 +00:00
|
|
|
62, 63, 65, 64, 66, 67, 81, 80, -52, -6,
|
|
|
|
-46, -83, -82, 78, 125, 119, 57, 78, -83, -105,
|
|
|
|
-71, -21, -21, -21, 75, 75, 117, -21, 124, -108,
|
|
|
|
-30, -21, 83, -107, 10, 121, -109, 120, 121, 121,
|
|
|
|
82, -86, -17, 82, -86, 119, 10, 82, -19, -21,
|
|
|
|
123, 124, 123, 121, 135, 124, -32, -33, -121, -21,
|
|
|
|
-41, 122, -21, -126, 135, 29, 124, 120, -121, 123,
|
|
|
|
-27, -115, 56, -8, 119, -121, -119, -8, -21, -21,
|
|
|
|
-110, -21, 124, 126, 120, -82, -21, 124, 136, -70,
|
|
|
|
-21, 128, 59, -107, 124, 126, 124, -63, 10, 13,
|
|
|
|
129, 12, 10, 120, 120, 125, 120, -21, 126, -82,
|
|
|
|
-21, -82, -46, -22, -21, -53, -46, -27, -126, 135,
|
2018-01-29 14:11:45 +00:00
|
|
|
124, 124, 120, -126, 135, -21, 124, 120, 119, 82,
|
2018-02-18 18:29:33 +00:00
|
|
|
-96, -15, -18, -77, 119, -121, 124, -122, -9, 122,
|
|
|
|
-21, -92, -21, -80, 119, 122, 123, -21, 124, -25,
|
|
|
|
-78, -26, 128, 59, 125, -23, -9, 122, -88, 123,
|
|
|
|
-111, -112, -28, -29, -74, -72, 127, 60, 61, -8,
|
|
|
|
-115, -121, -119, -113, 119, 135, 124, 124, 95, -9,
|
|
|
|
122, 120, 136, -21, -26, 123, 124, 126, 13, -21,
|
|
|
|
120, 126, 120, -115, 124, -71, 124, -30, -95, -18,
|
|
|
|
119, -126, 135, -18, -96, 121, -110, 124, 121, -99,
|
|
|
|
121, -99, 121, -111, 121, 124, 58, -26, 123, -107,
|
|
|
|
-110, -24, 41, 42, -111, 124, 135, -1, 128, -72,
|
|
|
|
-121, 119, 120, -34, -117, -116, 44, -118, 47, -76,
|
|
|
|
103, 102, 101, 98, 99, 100, -113, -8, -9, 122,
|
|
|
|
121, -110, -21, -107, 126, -121, -126, 135, -95, 120,
|
|
|
|
-15, -126, 22, 121, -92, 120, 32, 33, -99, 31,
|
|
|
|
-99, 124, -124, -9, 122, -78, -26, -107, 126, 28,
|
|
|
|
123, 119, 124, -104, 44, -28, -2, 83, 119, -113,
|
|
|
|
-97, -40, 12, 38, 37, -119, -76, 120, -110, 124,
|
2018-01-29 14:11:45 +00:00
|
|
|
120, 119, 120, -18, -126, 120, 121, 124, -21, -127,
|
2018-02-18 18:29:33 +00:00
|
|
|
122, 121, 120, 121, 31, -104, -110, 124, 124, 121,
|
|
|
|
-87, -8, -110, -73, 122, -73, 123, 12, -113, 120,
|
|
|
|
121, 135, -121, 136, -89, -67, -6, -3, -81, 121,
|
|
|
|
119, -113, 120, -123, -9, 122, -127, -110, 121, -73,
|
|
|
|
26, -124, 12, 151, 120, 119, -74, 119, -103, -50,
|
|
|
|
12, 128, 136, 120, -40, -21, 121, 135, 136, -6,
|
|
|
|
120, -100, -35, -36, -37, -38, -39, -8, -6, 79,
|
|
|
|
10, 120, -110, -110, 119, 121, 124, -8, -110, -110,
|
|
|
|
124, 135, 12, -21, -121, -67, -21, -121, 120, -35,
|
|
|
|
121, 121, 45, 29, 78, 24, -110, 119, 120, 120,
|
|
|
|
-50, -121, 123, -119, 10, -4, -76, -6, 121, 120,
|
|
|
|
-110, -111, -6, 120, 124, -73, -79, 121, 119, -110,
|
2018-01-29 14:11:45 +00:00
|
|
|
120,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyDef = [...]int{
|
|
|
|
|
2017-12-01 07:15:46 +00:00
|
|
|
79, -2, 1, 78, 85, 86, 87, 88, 89, 0,
|
|
|
|
0, 0, 0, 122, 130, 131, 0, 0, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
417, 417, 417, 0, 382, 0, 142, 0, 0, 0,
|
|
|
|
0, 148, 0, 0, 0, 80, 370, 0, 0, 0,
|
|
|
|
0, 204, 0, -2, 416, 169, 0, -2, 433, 419,
|
|
|
|
0, 453, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
346, 350, 0, 0, 0, 0, 0, 0, 0, 386,
|
|
|
|
0, 360, 388, 0, 363, 0, 171, 172, 426, 411,
|
|
|
|
431, 0, 0, -2, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 396, 397, 398, 399, 400, 401, 402, 403,
|
|
|
|
404, 405, 0, 0, 435, 0, -2, 0, 0, 395,
|
2017-12-01 08:26:17 +00:00
|
|
|
82, 0, 0, 0, 0, 79, 80, 0, 0, 0,
|
|
|
|
115, 0, 99, 100, 112, 117, 0, 120, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 370, 0, 286, 0, 0, 418, 382, 0,
|
|
|
|
0, 0, 232, 233, 0, 370, 235, 236, 0, 284,
|
2017-12-01 08:26:17 +00:00
|
|
|
285, 143, 0, 0, 0, 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,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 0, 122, 0, 0, 152, 369, 371,
|
|
|
|
0, 170, 175, 369, 177, 0, 0, 0, 0, 0,
|
2017-11-29 13:49:32 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 310, 312, 0, 417, 0, 0, 453,
|
|
|
|
0, 452, 456, 454, 458, 0, 0, 297, -2, 0,
|
|
|
|
0, -2, 382, 453, -2, 331, 332, 333, 334, 0,
|
|
|
|
351, 352, 353, 354, 355, 356, 357, 358, 417, 359,
|
|
|
|
0, 389, 390, 465, 467, 0, 0, 362, 364, 366,
|
|
|
|
417, 0, 0, 391, 292, 384, 385, 391, 383, 440,
|
|
|
|
0, 0, 480, 481, 0, 483, 484, 0, 407, 0,
|
|
|
|
0, 0, 0, 437, 378, 0, 381, 453, 0, 84,
|
2017-12-01 08:26:17 +00:00
|
|
|
0, 83, 91, 79, 0, 94, 0, 0, 115, 0,
|
|
|
|
96, 0, 0, 0, 115, 118, 98, 0, 0, 121,
|
2018-01-02 11:53:55 +00:00
|
|
|
129, 123, 124, 125, 126, 127, 0, 0, 0, 369,
|
2017-12-01 08:26:17 +00:00
|
|
|
0, 287, 289, 0, 136, 137, 138, 139, 0, 140,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 369, 0, 141, 0, 314, 315, 316, 317, 318,
|
2017-12-01 08:26:17 +00:00
|
|
|
319, 320, 321, 322, 323, 324, 325, 326, 327, 328,
|
|
|
|
329, 330, -2, -2, -2, -2, -2, -2, -2, -2,
|
|
|
|
-2, 344, 0, 0, 349, 105, 159, -2, 0, 0,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 150, 151, 369, 0, 175, 179, 0, 0, 369,
|
2017-12-01 08:26:17 +00:00
|
|
|
0, 0, 205, 0, 208, 122, 295, 0, 298, 299,
|
|
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 0, 0, 434, 449, 0, 451, 0, 394, 453,
|
|
|
|
0, -2, 453, 0, 0, -2, 0, 361, 466, 463,
|
|
|
|
464, 0, 0, 0, 0, 420, 0, 0, 0, -2,
|
2017-12-01 07:15:46 +00:00
|
|
|
-2, 0, 76, 77, 69, 70, 71, 72, 73, 74,
|
2017-11-30 19:14:26 +00:00
|
|
|
75, 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,
|
2017-12-01 07:15:46 +00:00
|
|
|
61, 62, 63, 64, 65, 66, 67, 68, 0, -2,
|
2018-01-02 11:53:55 +00:00
|
|
|
-2, 291, 392, 0, 417, 0, 0, 0, 175, 105,
|
|
|
|
485, 487, 0, 0, 406, 409, 408, 0, 225, 105,
|
2017-12-01 08:26:17 +00:00
|
|
|
227, 229, 0, 0, 81, 90, 0, 93, 95, 97,
|
2018-01-02 11:53:55 +00:00
|
|
|
0, 115, 111, 0, 115, 0, 116, 0, 119, 369,
|
|
|
|
0, 0, 0, 286, 0, 0, 231, 234, 0, 237,
|
|
|
|
283, 0, 348, 0, 106, 0, 0, 153, 0, -2,
|
|
|
|
179, 369, 0, 176, 239, 0, 178, 244, 0, 0,
|
|
|
|
0, 296, 0, 427, 429, 430, 0, 0, 0, 455,
|
|
|
|
457, 0, 0, 0, -2, 394, 387, 0, 474, 475,
|
|
|
|
0, 477, 469, 470, 471, 0, 473, 365, 428, 379,
|
|
|
|
0, 380, 444, 0, 0, 443, 445, 179, 0, 106,
|
|
|
|
479, 482, 436, 0, 106, 230, 393, 92, 0, 0,
|
|
|
|
105, 108, 113, 0, 0, 282, 0, 132, 200, 122,
|
|
|
|
0, 0, 288, 135, 195, 195, -2, 347, 0, 160,
|
|
|
|
0, -2, 0, 0, 453, 147, 189, 122, 157, -2,
|
|
|
|
0, 210, 212, 163, 217, 218, 0, 220, 221, 222,
|
|
|
|
369, 0, 180, 265, 239, 0, 0, 0, 0, 202,
|
|
|
|
122, 450, 0, 294, -2, 453, 462, 468, 476, 0,
|
|
|
|
447, 441, 442, 369, 478, 486, 226, 228, 105, 110,
|
|
|
|
0, 0, 106, 114, 105, 128, 0, 0, 286, 0,
|
|
|
|
195, 0, 195, 0, 144, 0, 0, -2, 453, 0,
|
|
|
|
0, 149, 0, 0, 0, 372, 216, 165, 164, 219,
|
|
|
|
0, 239, 173, 238, 0, 0, 0, -2, 264, 267,
|
|
|
|
269, 270, 271, 272, 273, 274, 265, 245, 203, 122,
|
|
|
|
209, 206, 293, 0, 0, 0, 0, 106, 105, 103,
|
|
|
|
107, 0, 0, 133, 0, 191, 0, 0, 0, 0,
|
|
|
|
0, 372, 145, 187, 122, 0, -2, 0, -2, 0,
|
|
|
|
0, 122, 223, 223, 0, 213, 0, 166, 239, 265,
|
|
|
|
0, 276, 369, 0, 370, 0, 268, 174, 207, 461,
|
|
|
|
472, 239, 101, 109, 0, 104, 201, 0, 0, 122,
|
|
|
|
198, 199, 192, 193, 0, 223, 0, 0, 183, 190,
|
|
|
|
0, 155, 0, 0, 0, 0, 0, 214, 265, 168,
|
|
|
|
240, 0, 277, 0, 0, 280, 0, 0, 242, 246,
|
|
|
|
0, 265, 102, 134, 185, 122, 122, 197, 194, 0,
|
|
|
|
0, 146, 0, 0, 158, 122, 224, 122, 0, 375,
|
|
|
|
376, 0, 0, 167, 275, 369, 241, 0, 0, 369,
|
|
|
|
247, 0, 249, 0, 0, 259, 0, 0, 258, 57,
|
|
|
|
-2, 290, 0, 196, 122, 188, 0, 156, 0, 0,
|
|
|
|
373, 0, 377, 215, 278, 279, 369, 0, 248, 250,
|
|
|
|
251, 252, 0, 0, 0, 0, 0, 122, 162, 367,
|
|
|
|
374, 281, -2, 253, 254, 255, 257, 260, 186, 368,
|
|
|
|
0, 0, 256, 154, 223, 0, 243, 261, 122, 0,
|
|
|
|
262,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok1 = [...]int{
|
|
|
|
|
|
|
|
1, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 3, 3, 131, 117, 3, 134, 166, 128, 3,
|
|
|
|
123, 124, 164, 130, 135, 129, 163, 165, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 122, 121,
|
|
|
|
157, 136, 159, 127, 133, 3, 3, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 125, 3, 126, 152, 3, 118, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 3, 3, 119, 151, 120, 132,
|
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,
|
|
|
|
112, 113, 114, 115, 116, 137, 138, 139, 140, 141,
|
|
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 153,
|
|
|
|
154, 155, 156, 158, 160, 161, 162, 167,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok3 = [...]int{
|
|
|
|
0,
|
|
|
|
}
|
|
|
|
|
|
|
|
var yyErrorMessages = [...]struct {
|
|
|
|
state int
|
|
|
|
token int
|
|
|
|
msg string
|
|
|
|
}{}
|
|
|
|
|
2017-11-24 01:36:58 +00:00
|
|
|
//line yaccpar:1
|
|
|
|
|
2017-11-23 15:33:47 +00:00
|
|
|
/* parser for yacc output */
|
|
|
|
|
|
|
|
var (
|
|
|
|
yyDebug = 0
|
|
|
|
yyErrorVerbose = false
|
|
|
|
)
|
|
|
|
|
|
|
|
type yyLexer interface {
|
|
|
|
Lex(lval *yySymType) int
|
|
|
|
Error(s string)
|
|
|
|
}
|
|
|
|
|
|
|
|
type yyParser interface {
|
|
|
|
Parse(yyLexer) int
|
|
|
|
Lookahead() int
|
|
|
|
}
|
|
|
|
|
|
|
|
type yyParserImpl struct {
|
|
|
|
lval yySymType
|
|
|
|
stack [yyInitialStackSize]yySymType
|
|
|
|
char int
|
|
|
|
}
|
|
|
|
|
|
|
|
func (p *yyParserImpl) Lookahead() int {
|
|
|
|
return p.char
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyNewParser() yyParser {
|
|
|
|
return &yyParserImpl{}
|
|
|
|
}
|
|
|
|
|
|
|
|
const yyFlag = -1000
|
|
|
|
|
|
|
|
func yyTokname(c int) string {
|
|
|
|
if c >= 1 && c-1 < len(yyToknames) {
|
|
|
|
if yyToknames[c-1] != "" {
|
|
|
|
return yyToknames[c-1]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return __yyfmt__.Sprintf("tok-%v", c)
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyStatname(s int) string {
|
|
|
|
if s >= 0 && s < len(yyStatenames) {
|
|
|
|
if yyStatenames[s] != "" {
|
|
|
|
return yyStatenames[s]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return __yyfmt__.Sprintf("state-%v", s)
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyErrorMessage(state, lookAhead int) string {
|
|
|
|
const TOKSTART = 4
|
|
|
|
|
|
|
|
if !yyErrorVerbose {
|
|
|
|
return "syntax error"
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, e := range yyErrorMessages {
|
|
|
|
if e.state == state && e.token == lookAhead {
|
|
|
|
return "syntax error: " + e.msg
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
res := "syntax error: unexpected " + yyTokname(lookAhead)
|
|
|
|
|
|
|
|
// To match Bison, suggest at most four expected tokens.
|
|
|
|
expected := make([]int, 0, 4)
|
|
|
|
|
|
|
|
// Look for shiftable tokens.
|
|
|
|
base := yyPact[state]
|
|
|
|
for tok := TOKSTART; tok-1 < len(yyToknames); tok++ {
|
|
|
|
if n := base + tok; n >= 0 && n < yyLast && yyChk[yyAct[n]] == tok {
|
|
|
|
if len(expected) == cap(expected) {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
expected = append(expected, tok)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if yyDef[state] == -2 {
|
|
|
|
i := 0
|
|
|
|
for yyExca[i] != -1 || yyExca[i+1] != state {
|
|
|
|
i += 2
|
|
|
|
}
|
|
|
|
|
|
|
|
// Look for tokens that we accept or reduce.
|
|
|
|
for i += 2; yyExca[i] >= 0; i += 2 {
|
|
|
|
tok := yyExca[i]
|
|
|
|
if tok < TOKSTART || yyExca[i+1] == 0 {
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
if len(expected) == cap(expected) {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
expected = append(expected, tok)
|
|
|
|
}
|
|
|
|
|
|
|
|
// If the default action is to accept or reduce, give up.
|
|
|
|
if yyExca[i+1] != 0 {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for i, tok := range expected {
|
|
|
|
if i == 0 {
|
|
|
|
res += ", expecting "
|
|
|
|
} else {
|
|
|
|
res += " or "
|
|
|
|
}
|
|
|
|
res += yyTokname(tok)
|
|
|
|
}
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
|
|
|
|
func yylex1(lex yyLexer, lval *yySymType) (char, token int) {
|
|
|
|
token = 0
|
|
|
|
char = lex.Lex(lval)
|
|
|
|
if char <= 0 {
|
|
|
|
token = yyTok1[0]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
if char < len(yyTok1) {
|
|
|
|
token = yyTok1[char]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
if char >= yyPrivate {
|
|
|
|
if char < yyPrivate+len(yyTok2) {
|
|
|
|
token = yyTok2[char-yyPrivate]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for i := 0; i < len(yyTok3); i += 2 {
|
|
|
|
token = yyTok3[i+0]
|
|
|
|
if token == char {
|
|
|
|
token = yyTok3[i+1]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
out:
|
|
|
|
if token == 0 {
|
|
|
|
token = yyTok2[1] /* unknown char */
|
|
|
|
}
|
|
|
|
if yyDebug >= 3 {
|
|
|
|
__yyfmt__.Printf("lex %s(%d)\n", yyTokname(token), uint(char))
|
|
|
|
}
|
|
|
|
return char, token
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyParse(yylex yyLexer) int {
|
|
|
|
return yyNewParser().Parse(yylex)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (yyrcvr *yyParserImpl) Parse(yylex yyLexer) int {
|
|
|
|
var yyn int
|
|
|
|
var yyVAL yySymType
|
|
|
|
var yyDollar []yySymType
|
|
|
|
_ = yyDollar // silence set and not used
|
|
|
|
yyS := yyrcvr.stack[:]
|
|
|
|
|
|
|
|
Nerrs := 0 /* number of errors */
|
|
|
|
Errflag := 0 /* error recovery flag */
|
|
|
|
yystate := 0
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken := -1 // yyrcvr.char translated into internal numbering
|
|
|
|
defer func() {
|
|
|
|
// Make sure we report no lookahead when not parsing.
|
|
|
|
yystate = -1
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
}()
|
|
|
|
yyp := -1
|
|
|
|
goto yystack
|
|
|
|
|
|
|
|
ret0:
|
|
|
|
return 0
|
|
|
|
|
|
|
|
ret1:
|
|
|
|
return 1
|
|
|
|
|
|
|
|
yystack:
|
|
|
|
/* put a state and value onto the stack */
|
|
|
|
if yyDebug >= 4 {
|
|
|
|
__yyfmt__.Printf("char %v in %v\n", yyTokname(yytoken), yyStatname(yystate))
|
|
|
|
}
|
|
|
|
|
|
|
|
yyp++
|
|
|
|
if yyp >= len(yyS) {
|
|
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
|
|
copy(nyys, yyS)
|
|
|
|
yyS = nyys
|
|
|
|
}
|
|
|
|
yyS[yyp] = yyVAL
|
|
|
|
yyS[yyp].yys = yystate
|
|
|
|
|
|
|
|
yynewstate:
|
|
|
|
yyn = yyPact[yystate]
|
|
|
|
if yyn <= yyFlag {
|
|
|
|
goto yydefault /* simple state */
|
|
|
|
}
|
|
|
|
if yyrcvr.char < 0 {
|
|
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
|
|
}
|
|
|
|
yyn += yytoken
|
|
|
|
if yyn < 0 || yyn >= yyLast {
|
|
|
|
goto yydefault
|
|
|
|
}
|
|
|
|
yyn = yyAct[yyn]
|
|
|
|
if yyChk[yyn] == yytoken { /* valid shift */
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
yyVAL = yyrcvr.lval
|
|
|
|
yystate = yyn
|
|
|
|
if Errflag > 0 {
|
|
|
|
Errflag--
|
|
|
|
}
|
|
|
|
goto yystack
|
|
|
|
}
|
|
|
|
|
|
|
|
yydefault:
|
|
|
|
/* default state action */
|
|
|
|
yyn = yyDef[yystate]
|
|
|
|
if yyn == -2 {
|
|
|
|
if yyrcvr.char < 0 {
|
|
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
|
|
}
|
|
|
|
|
|
|
|
/* look through exception table */
|
|
|
|
xi := 0
|
|
|
|
for {
|
|
|
|
if yyExca[xi+0] == -1 && yyExca[xi+1] == yystate {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
xi += 2
|
|
|
|
}
|
|
|
|
for xi += 2; ; xi += 2 {
|
|
|
|
yyn = yyExca[xi+0]
|
|
|
|
if yyn < 0 || yyn == yytoken {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
yyn = yyExca[xi+1]
|
|
|
|
if yyn < 0 {
|
|
|
|
goto ret0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if yyn == 0 {
|
|
|
|
/* error ... attempt to resume parsing */
|
|
|
|
switch Errflag {
|
|
|
|
case 0: /* brand new error */
|
|
|
|
yylex.Error(yyErrorMessage(yystate, yytoken))
|
|
|
|
Nerrs++
|
|
|
|
if yyDebug >= 1 {
|
|
|
|
__yyfmt__.Printf("%s", yyStatname(yystate))
|
|
|
|
__yyfmt__.Printf(" saw %s\n", yyTokname(yytoken))
|
|
|
|
}
|
|
|
|
fallthrough
|
|
|
|
|
|
|
|
case 1, 2: /* incompletely recovered error ... try again */
|
|
|
|
Errflag = 3
|
|
|
|
|
|
|
|
/* find a state where "error" is a legal shift action */
|
|
|
|
for yyp >= 0 {
|
|
|
|
yyn = yyPact[yyS[yyp].yys] + yyErrCode
|
|
|
|
if yyn >= 0 && yyn < yyLast {
|
|
|
|
yystate = yyAct[yyn] /* simulate a shift of "error" */
|
|
|
|
if yyChk[yystate] == yyErrCode {
|
|
|
|
goto yystack
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* the current p has no shift on "error", pop stack */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("error recovery pops state %d\n", yyS[yyp].yys)
|
|
|
|
}
|
|
|
|
yyp--
|
|
|
|
}
|
|
|
|
/* there is no state on the stack with an error shift ... abort */
|
|
|
|
goto ret1
|
|
|
|
|
|
|
|
case 3: /* no shift yet; clobber input char */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("error recovery discards %s\n", yyTokname(yytoken))
|
|
|
|
}
|
|
|
|
if yytoken == yyEofCode {
|
|
|
|
goto ret1
|
|
|
|
}
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
goto yynewstate /* try again in the same state */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* reduction by production yyn */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("reduce %v in:\n\t%v\n", yyn, yyStatname(yystate))
|
|
|
|
}
|
|
|
|
|
|
|
|
yynt := yyn
|
|
|
|
yypt := yyp
|
|
|
|
_ = yypt // guard against "declared and not used"
|
|
|
|
|
|
|
|
yyp -= yyR2[yyn]
|
|
|
|
// yyp is now the index of $0. Perform the default action. Iff the
|
|
|
|
// reduced production is ε, $1 is possibly out of range.
|
|
|
|
if yyp+1 >= len(yyS) {
|
|
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
|
|
copy(nyys, yyS)
|
|
|
|
yyS = nyys
|
|
|
|
}
|
|
|
|
yyVAL = yyS[yyp+1]
|
|
|
|
|
|
|
|
/* consult goto table to find next state */
|
|
|
|
yyn = yyR1[yyn]
|
|
|
|
yyg := yyPgo[yyn]
|
|
|
|
yyj := yyg + yyS[yyp].yys + 1
|
|
|
|
|
|
|
|
if yyj >= yyLast {
|
|
|
|
yystate = yyAct[yyg]
|
|
|
|
} else {
|
|
|
|
yystate = yyAct[yyj]
|
|
|
|
if yyChk[yystate] != -yyn {
|
|
|
|
yystate = yyAct[yyg]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// dummy call; replaced with literal code
|
|
|
|
switch yynt {
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:257
|
2017-11-23 15:33:47 +00:00
|
|
|
{
|
2018-01-08 19:32:57 +00:00
|
|
|
rootnode = stmt.NewStmtList(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(rootnode, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
2017-11-29 21:53:45 +00:00
|
|
|
case 2:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:264
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:265
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:266
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:267
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:268
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:269
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:270
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:274
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:275
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:279
|
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]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:280
|
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:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:284
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
|
|
|
case 79:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:285
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
|
|
|
case 80:
|
2017-11-27 23:09:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:290
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
namePart := name.NewNamePart(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(namePart, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = []node.Node{namePart}
|
|
|
|
comments.AddComments(namePart, yyDollar[1].token.Comments())
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 81:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:297
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
namePart := name.NewNamePart(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(namePart, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, namePart)
|
|
|
|
comments.AddComments(namePart, yyDollar[3].token.Comments())
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 82:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:307
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = name.NewName(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 83:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:313
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = name.NewRelative(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 84:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:319
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = name.NewFullyQualified(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 85:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:327
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 86:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:328
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 87:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:329
|
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
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 88:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:330
|
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
|
|
|
}
|
2017-11-30 17:04:52 +00:00
|
|
|
case 89:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:331
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 90:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:332
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-29 15:20:24 +00:00
|
|
|
yyVAL.node = stmt.NewHaltCompiler()
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 91:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:334
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewNamespace(name, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 92:
|
2017-11-30 17:16:01 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:344
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewNamespace(name, yyDollar[4].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 93:
|
2017-11-30 16:25:41 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:354
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewNamespace(nil, yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 94:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:359
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-29 15:20:24 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 95:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:360
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-01-08 19:32:57 +00:00
|
|
|
yyVAL.node = yyDollar[3].node.(*stmt.GroupUse).SetUseType(yyDollar[2].node)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 96:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:362
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewUseList(nil, yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 97:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:367
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-29 15:20:24 +00:00
|
|
|
yyVAL.node = stmt.NewUseList(yyDollar[2].node, yyDollar[3].list)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 98:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:369
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewConstList(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 99:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:378
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-11-30 17:23:46 +00:00
|
|
|
case 100:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:384
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
|
|
|
case 101:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:393
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGroupUse(nil, name, yyDollar[4].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 17:37:45 +00:00
|
|
|
case 102:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:403
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGroupUse(nil, name, yyDollar[5].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[7].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2017-11-30 17:37:45 +00:00
|
|
|
case 103:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:416
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGroupUse(nil, name, yyDollar[4].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2017-11-30 17:37:45 +00:00
|
|
|
case 104:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:426
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGroupUse(nil, name, yyDollar[5].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[7].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 107:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:444
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2017-12-07 20:36:53 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 108:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:445
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2017-12-07 20:36:53 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 109:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:450
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2017-12-07 20:36:53 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 110:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:451
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2017-12-07 20:36:53 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 111:
|
2017-11-28 20:47:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:455
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2017-12-09 11:50:01 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 112:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:456
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2017-12-09 11:50:01 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 113:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:460
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 114:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:461
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-01-08 19:32:57 +00:00
|
|
|
yyVAL.node = yyDollar[2].node.(*stmt.Use).SetUseType(yyDollar[1].node)
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 115:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:466
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 116:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:476
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 117:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:491
|
2017-11-28 22:35:21 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 118:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:492
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2017-11-30 17:04:52 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 119:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:496
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 120:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:497
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 121:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:501
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 122:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:502
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 123:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:506
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2017-11-30 17:04:52 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 124:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:507
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2017-11-30 17:23:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 125:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:508
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 126:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:509
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 127:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:510
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 128:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:512
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewHaltCompiler()
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 129:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:520
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 130:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:525
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 131:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:526
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 132:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:528
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
if yyDollar[5].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltWhile(yyDollar[3].node, yyDollar[5].altSyntaxNode.node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewWhile(yyDollar[3].node, yyDollar[5].altSyntaxNode.node)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].altSyntaxNode.node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 133:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:538
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewDo(yyDollar[2].node, yyDollar[5].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[7].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 134:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line php7/php7.y:544
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
if yyDollar[9].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltFor(yyDollar[3].list, yyDollar[5].list, yyDollar[7].list, yyDollar[9].altSyntaxNode.node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewFor(yyDollar[3].list, yyDollar[5].list, yyDollar[7].list, yyDollar[9].altSyntaxNode.node)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].altSyntaxNode.node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 135:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 17:57:54 +00:00
|
|
|
//line php7/php7.y:554
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-02-18 18:39:41 +00:00
|
|
|
if yyDollar[5].nodesWithEndToken.endToken.Value == ";" {
|
|
|
|
yyVAL.node = stmt.NewAltSwitch(yyDollar[3].node, yyDollar[5].nodesWithEndToken.nodes)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewSwitch(yyDollar[3].node, yyDollar[5].nodesWithEndToken.nodes)
|
|
|
|
}
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 136:
|
2017-11-29 13:49:32 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:564
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewBreak(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 137:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:570
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewContinue(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 138:
|
2017-11-28 19:47:12 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:576
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewReturn(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 139:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:582
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGlobal(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 140:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:588
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewStatic(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 141:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:594
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewEcho(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 142:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:600
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewInlineHtml(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 143:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:606
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewExpression(yyDollar[1].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 144:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:612
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewUnset(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 145:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:618
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[7].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[7].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[7].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[7].altSyntaxNode.node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 146:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:628
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[9].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, yyDollar[5].node, yyDollar[7].foreachVariable.node, yyDollar[9].altSyntaxNode.node, yyDollar[7].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, yyDollar[5].node, yyDollar[7].foreachVariable.node, yyDollar[9].altSyntaxNode.node, yyDollar[7].foreachVariable.byRef)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].altSyntaxNode.node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 147:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:638
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewDeclare(yyDollar[3].list, yyDollar[5].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 148:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:644
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewNop()
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 149:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:650
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[6].node == nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTry(yyDollar[3].list, yyDollar[5].list, yyDollar[6].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[5].list))
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTry(yyDollar[3].list, yyDollar[5].list, yyDollar[6].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 150:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:662
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewThrow(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 151:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:668
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
label := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(label, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewGoto(label)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(label, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 152:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:678
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
label := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(label, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewLabel(label)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(label, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 153:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:689
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-06 12:47:17 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 154:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:691
|
2018-01-09 13:51:32 +00:00
|
|
|
{
|
|
|
|
identifier := node.NewIdentifier(yyDollar[5].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[5].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[5].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
catch := stmt.NewCatch(yyDollar[4].list, variable, yyDollar[8].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(catch, positionBuilder.NewTokensPosition(yyDollar[2].token, yyDollar[9].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, catch)
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[5].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[5].token.Comments())
|
|
|
|
comments.AddComments(catch, yyDollar[2].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 155:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:706
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-06 12:30:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 156:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:707
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 157:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:711
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 158:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:713
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewFinally(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 159:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:721
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2017-12-09 11:18:38 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 160:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:722
|
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)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 161:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:726
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 162:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:731
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewFunction(name, yyDollar[2].boolWithToken.value, yyDollar[6].list, yyDollar[8].node, yyDollar[10].list, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[11].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 163:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:743
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 164:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:744
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{true, &yyDollar[1].token}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 165:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:748
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 166:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:749
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{true, &yyDollar[1].token}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 167:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:754
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClass(name, yyDollar[1].list, nil, yyDollar[4].node, yyDollar[5].list, yyDollar[8].list, yyDollar[6].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[9].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 168:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:764
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClass(name, nil, nil, yyDollar[3].node, yyDollar[4].list, yyDollar[7].list, yyDollar[5].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 169:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:776
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2017-12-27 14:55:09 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 170:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:777
|
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
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 171:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:782
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 172:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:788
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 173:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:797
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTrait(name, yyDollar[5].list, yyDollar[3].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-11-30 18:07:45 +00:00
|
|
|
case 174:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:810
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewInterface(name, yyDollar[3].list, yyDollar[6].list, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[7].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
|
|
|
case 175:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:822
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-06 13:55:43 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
|
|
|
case 176:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:823
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
|
|
|
case 177:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:827
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-22 10:55:49 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
|
|
|
case 178:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:828
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-27 13:53:46 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
|
|
|
case 179:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:832
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2017-12-22 10:58:37 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 180:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:833
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2017-12-27 13:53:46 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 181:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:837
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2017-12-22 12:07:38 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[1].node, false}
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 182:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:838
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2017-12-22 12:07:38 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[2].node, true}
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 183:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:840
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
list := expr.NewList(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{list, false}
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 184:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:847
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
list := expr.NewShortList(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{list, false}
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 185:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:857
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 186:
|
2017-11-28 20:17:11 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:859
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 187:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:867
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 188:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:869
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 189:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:876
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 190:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:878
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 191:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:886
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 192:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:887
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[3].list, yyDollar[4].token}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 193:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:888
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[4].token}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 194:
|
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:889
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[3].list, yyDollar[5].token}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 195:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:893
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-09 09:59:53 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 196:
|
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:895
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
_case := stmt.NewCase(yyDollar[3].node, yyDollar[5].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_case, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, _case)
|
|
|
|
comments.AddComments(_case, yyDollar[2].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 197:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:902
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
_default := stmt.NewDefault(yyDollar[4].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_default, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, _default)
|
|
|
|
comments.AddComments(_default, yyDollar[2].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 200:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:917
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 201:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:919
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 202:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:927
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewIf(yyDollar[3].node, yyDollar[5].node, nil, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 203:
|
2017-11-29 10:24:08 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:933
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
_elseIf := stmt.NewElseIf(yyDollar[4].node, yyDollar[6].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_elseIf, positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[6].node))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = yyDollar[1].node.(*stmt.If).AddElseIf(_elseIf)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(_elseIf, yyDollar[2].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 204:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:944
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 205:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:946
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
_else := stmt.NewElse(yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_else, positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[3].node))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = yyDollar[1].node.(*stmt.If).SetElse(_else)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 206:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:958
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
stmts := stmt.NewStmtList(yyDollar[6].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[6].list))
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewAltIf(yyDollar[3].node, stmts, nil, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[6].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(stmts, yyDollar[5].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 207:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:968
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
stmts := stmt.NewStmtList(yyDollar[7].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[7].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
_elseIf := stmt.NewAltElseIf(yyDollar[4].node, stmts)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_elseIf, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[7].list))
|
2018-01-08 19:32:57 +00:00
|
|
|
yyVAL.node = yyDollar[1].node.(*stmt.AltIf).AddElseIf(_elseIf)
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(stmts, yyDollar[6].token.Comments())
|
|
|
|
comments.AddComments(_elseIf, yyDollar[2].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 208:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:982
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 209:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:987
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
stmts := stmt.NewStmtList(yyDollar[4].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[4].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
_else := stmt.NewAltElse(stmts)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(_else, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = yyDollar[1].node.(*stmt.AltIf).SetElse(_else)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(stmts, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(_else, yyDollar[2].token.Comments())
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 210:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1001
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 211:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1002
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 212:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1006
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 213:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1007
|
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)
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 214:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1012
|
2017-12-31 18:53:55 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[1].node != nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-31 18:53:55 +00:00
|
|
|
} else if yyDollar[2].boolWithToken.value == true {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(*yyDollar[2].boolWithToken.token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
} else if yyDollar[3].boolWithToken.value == true {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(*yyDollar[3].boolWithToken.token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 215:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1040
|
2017-12-31 18:53:55 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[1].node != nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-31 18:53:55 +00:00
|
|
|
} else if yyDollar[2].boolWithToken.value == true {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(*yyDollar[2].boolWithToken.token, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
} else if yyDollar[3].boolWithToken.value == true {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(*yyDollar[3].boolWithToken.token, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 216:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1070
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 217:
|
2017-11-29 09:37:16 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1071
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 218:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1075
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 219:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1077
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewNullable(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 220:
|
2017-11-29 09:37:16 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1086
|
2017-11-29 09:37:16 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 09:37:16 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 221:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1092
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 222:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1097
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 223:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1101
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 224:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1102
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 225:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1106
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{[]node.Node{}, yyDollar[2].token}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 226:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1107
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[4].token}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 227:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1111
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-18 19:43:53 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 228:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1112
|
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)
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 229:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1117
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[1].node, false, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 230:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1123
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[2].node, true, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 231:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1131
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2017-12-07 16:45:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 232:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1132
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2017-12-07 16:45:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 233:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1136
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 234:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1140
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2017-12-08 15:26:18 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 235:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1141
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2017-12-08 15:26:18 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 236:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1146
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewStaticVar(variable, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 237:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1159
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewStaticVar(variable, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 238:
|
2017-11-30 17:23:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1174
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 239:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1175
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-18 22:55:57 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 240:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1180
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewPropertyList(yyDollar[1].list, yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 241:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1186
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClassConstList(yyDollar[1].list, yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 242:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1192
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUse(yyDollar[2].list, yyDollar[3].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 243:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-10 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1198
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[4].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClassMethod(name, yyDollar[1].list, yyDollar[3].boolWithToken.value, yyDollar[7].list, yyDollar[9].node, yyDollar[10].nodesWithEndToken.nodes, yyDollar[5].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[10].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 244:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1210
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-27 13:53:46 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 245:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1211
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 246:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1215
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[1].token}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 247:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1216
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[2].token}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 248:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1217
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 249:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1221
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-09 10:27:01 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 250:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1222
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 251:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1226
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2017-11-29 21:43:39 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 252:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1227
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2017-11-29 21:43:39 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 253:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1232
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-09 12:48:10 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUsePrecedence(yyDollar[1].node, yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeNodeListPosition(yyDollar[1].node, yyDollar[3].list))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 254:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1241
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, nil, alias)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 255:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1251
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, nil, alias)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 256:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1261
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
alias := node.NewIdentifier(yyDollar[4].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, alias)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(alias, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 257:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1271
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 258:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1280
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitMethodRef(nil, name)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 259:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1289
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 260:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1294
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewTraitMethodRef(yyDollar[1].node, target)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 261:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1306
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[1].token}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 262:
|
2017-11-29 22:07:15 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1307
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 263:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1311
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 264:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1313
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
modifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(modifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = []node.Node{modifier}
|
|
|
|
comments.AddComments(modifier, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 265:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1322
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 266:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1323
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 267:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1327
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2017-12-22 11:20:34 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 268:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1328
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 269:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1333
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 270:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1339
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 271:
|
2017-11-29 21:43:39 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1345
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 272:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1351
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 273:
|
2017-11-29 20:56:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1357
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 274:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1363
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 275:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1371
|
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)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 276:
|
2017-11-29 14:21:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1372
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2017-12-08 15:08:22 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 277:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1377
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewProperty(variable, nil, yyDollar[2].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 278:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1390
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewProperty(variable, yyDollar[3].node, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 279:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1405
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 280:
|
2017-11-27 22:37:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1406
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-06 18:52:51 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
|
|
|
case 281:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1411
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewConstant(name, yyDollar[3].node, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 282:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1424
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewConstant(name, yyDollar[3].node, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 283:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1436
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-06 21:10:16 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 284:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1437
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-06 21:10:16 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 285:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1441
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 286:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1445
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 287:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1446
|
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
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 288:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1449
|
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)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 289:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1450
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-07 16:15:48 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 290:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1455
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[2].nodesWithEndToken != nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClass(nil, nil, yyDollar[2].nodesWithEndToken.nodes, yyDollar[3].node, yyDollar[4].list, yyDollar[7].list, yyDollar[5].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = stmt.NewClass(nil, nil, nil, yyDollar[3].node, yyDollar[4].list, yyDollar[7].list, yyDollar[5].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
2017-12-06 13:55:43 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 291:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1470
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
if yyDollar[3].nodesWithEndToken != nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewNew(yyDollar[2].node, yyDollar[3].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].nodesWithEndToken.endToken))
|
2017-12-31 18:53:55 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewNew(yyDollar[2].node, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2017-12-31 18:53:55 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2017-11-30 18:36:10 +00:00
|
|
|
case 292:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1481
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-18 16:51:16 +00:00
|
|
|
yyVAL.node = expr.NewNew(yyDollar[2].node, nil)
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 293:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1486
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
list := expr.NewList(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewAssign(list, yyDollar[6].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 294:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1496
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
shortList := expr.NewShortList(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(shortList, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewAssign(shortList, yyDollar[5].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(shortList, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 295:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1506
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewAssign(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 296:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1512
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewAssignRef(yyDollar[1].node, yyDollar[4].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 297:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1518
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewClone(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 298:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1524
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 299:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1530
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 300:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1536
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewMul(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 301:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1542
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewPow(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 302:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1548
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 303:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1554
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 304:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1560
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewMod(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 305:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1566
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 306:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1572
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 307:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1578
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 308:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1584
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 309:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1590
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = assign_op.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 310:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1596
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPostInc(yyDollar[1].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 311:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1602
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPreInc(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 312:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1608
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPostDec(yyDollar[1].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 313:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1614
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPreDec(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 314:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1620
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 315:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1626
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 316:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1632
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 317:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1638
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 318:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1644
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 319:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1650
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 320:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1656
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 321:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1662
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 322:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1668
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 323:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1674
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 324:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1680
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 325:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1686
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewMul(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 326:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1692
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewPow(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 327:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1698
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 328:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1704
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewMod(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 329:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1710
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 330:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1716
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 331:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1722
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewUnaryPlus(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 332:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1728
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewUnaryMinus(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 333:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1734
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewBooleanNot(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 334:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1740
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewBitwiseNot(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 335:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1746
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 336:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1752
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 337:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1758
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 338:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1764
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 339:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1770
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewSmaller(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 340:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1776
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 341:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1782
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewGreater(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 342:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1788
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 343:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1794
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewSpaceship(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 344:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1800
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewInstanceOf(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 345:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1805
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 08:26:17 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 346:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1806
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 347:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1808
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, yyDollar[3].node, yyDollar[5].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 348:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1814
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, nil, yyDollar[4].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 349:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1820
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = binary_op.NewCoalesce(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 350:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1825
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 351:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1827
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastInt(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 352:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1833
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastDouble(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 353:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1839
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastString(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 354:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1845
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastArray(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 355:
|
2017-11-29 13:53:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1851
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastObject(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 356:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1857
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastBool(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 357:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1863
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = cast.NewCastUnset(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 358:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1869
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-18 17:09:18 +00:00
|
|
|
if strings.EqualFold(yyDollar[1].token.Value, "die") {
|
|
|
|
yyVAL.node = expr.NewDie(yyDollar[2].node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = expr.NewExit(yyDollar[2].node)
|
|
|
|
}
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 359:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1879
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewErrorSuppress(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 360:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1884
|
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
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 361:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1886
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewShellExec(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 362:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1892
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPrint(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 363:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1898
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewYield(nil, nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 364:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1904
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewYield(nil, yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 07:15:46 +00:00
|
|
|
case 365:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1910
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewYield(yyDollar[2].node, yyDollar[4].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
|
|
|
case 366:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1916
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewYieldFrom(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
|
|
|
case 367:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-11 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1922
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewClosure(yyDollar[5].list, yyDollar[7].list, yyDollar[8].node, yyDollar[10].list, false, yyDollar[2].boolWithToken.value, yyDollar[3].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[11].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 368:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-12 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1929
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewClosure(yyDollar[6].list, yyDollar[8].list, yyDollar[9].node, yyDollar[11].list, true, yyDollar[3].boolWithToken.value, yyDollar[4].str)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[12].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 369:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1938
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-24 16:42:23 +00:00
|
|
|
yyVAL.str = yylex.(*lexer).PhpDocComment
|
|
|
|
yylex.(*lexer).PhpDocComment = ""
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 370:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1942
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
|
|
|
}
|
|
|
|
case 371:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1943
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{true, &yyDollar[1].token}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 372:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1947
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2017-12-16 20:45:05 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 373:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1948
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2017-12-16 20:45:05 +00:00
|
|
|
yyVAL.list = yyDollar[3].list
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 374:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1952
|
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)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 375:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1953
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2017-12-16 20:45:05 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 376:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1958
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-02-10 00:02:54 +00:00
|
|
|
yyVAL.node = expr.NewClosureUse(variable, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 377:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1971
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-02-10 00:02:54 +00:00
|
|
|
yyVAL.node = expr.NewClosureUse(variable, true)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 378:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1987
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewFunctionCall(yyDollar[1].node, yyDollar[2].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 379:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1993
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 380:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:1999
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 381:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2005
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewFunctionCall(yyDollar[1].node, yyDollar[2].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 382:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2014
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 383:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2019
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 384:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2023
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 385:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2024
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 386:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2028
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 387:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2029
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 388:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2033
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2017-12-03 21:29:17 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 389:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2034
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-29 15:20:24 +00:00
|
|
|
yyVAL.list = []node.Node{scalar.NewEncapsedStringPart(yyDollar[1].token.Value)}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 390:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2035
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 391:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2039
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = nil
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 392:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2040
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-31 18:53:55 +00:00
|
|
|
yyVAL.nodesWithEndToken = yyDollar[1].nodesWithEndToken
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 393:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2045
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArray(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 394:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2051
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewShortArray(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 395:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2057
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 396:
|
2017-11-28 22:35:21 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2066
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 397:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2072
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewDnumber(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 398:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2078
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 399:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2084
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 400:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2090
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 401:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2096
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 402:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2102
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-11-30 19:14:26 +00:00
|
|
|
case 403:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2108
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
|
|
|
case 404:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2114
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
|
|
|
case 405:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2120
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-02 11:53:55 +00:00
|
|
|
}
|
|
|
|
case 406:
|
2017-12-01 08:26:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2126
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)) /* TODO: mark as Heredoc*/
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 407:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2131
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(nil)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 408:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2137
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 409:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2143
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(yyDollar[2].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 410:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2148
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 411:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2149
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 412:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2154
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewConstFetch(yyDollar[1].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 413:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2160
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 414:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2170
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 415:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2182
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 416:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2183
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 417:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2187
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 418:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2188
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 419:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2192
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 420:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2196
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 421:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2197
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 422:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2198
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 423:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2202
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 424:
|
2017-11-30 18:45:54 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2203
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 425:
|
2017-11-30 18:45:54 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2204
|
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
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 426:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2208
|
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
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 427:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2210
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 428:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2216
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 429:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2222
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 430:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2228
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewMethodCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 431:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2233
|
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
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 432:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2237
|
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
|
|
|
}
|
2017-12-01 08:26:17 +00:00
|
|
|
case 433:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2238
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 434:
|
2017-11-30 19:14:26 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2240
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 435:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2249
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(name)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 436:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2259
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 437:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2265
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 438:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2274
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 439:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2280
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 440:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2288
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 441:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2290
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 442:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2296
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 443:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2302
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 444:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2308
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 445:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2314
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 446:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2323
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 447:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2328
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 448:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2329
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 449:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2334
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 450:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2339
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 451:
|
2017-11-28 20:47:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2340
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 452:
|
2017-11-28 16:00:27 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2345
|
2017-12-17 22:49:25 +00:00
|
|
|
{
|
|
|
|
if yyDollar[1].list[len(yyDollar[1].list)-1] == nil {
|
|
|
|
yyVAL.list = yyDollar[1].list[:len(yyDollar[1].list)-1]
|
|
|
|
} else {
|
|
|
|
yyVAL.list = yyDollar[1].list
|
|
|
|
}
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 453:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2355
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 454:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2356
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 455:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2361
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 456:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2362
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 457:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2367
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(yyDollar[1].node, yyDollar[3].node, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 458:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2373
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(nil, yyDollar[1].node, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 459:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2379
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(yyDollar[1].node, yyDollar[4].node, true)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 460:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2385
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(nil, yyDollar[2].node, true)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 461:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2391
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
// TODO: Cannot use list() as standalone expression
|
2018-01-09 13:51:32 +00:00
|
|
|
list := expr.NewList(yyDollar[5].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[3].token, yyDollar[6].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(yyDollar[1].node, list, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(list, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 462:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2402
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2017-12-17 22:49:25 +00:00
|
|
|
// TODO: Cannot use list() as standalone expression
|
2018-01-09 13:51:32 +00:00
|
|
|
list := expr.NewList(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(nil, list, false)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 463:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2415
|
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
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 464:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2417
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
encapsed := scalar.NewEncapsedStringPart(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(encapsed, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, encapsed)
|
|
|
|
comments.AddComments(encapsed, yyDollar[2].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 465:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2423
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2017-12-03 21:29:17 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 466:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2425
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
encapsed := scalar.NewEncapsedStringPart(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(encapsed, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
yyVAL.list = []node.Node{encapsed, yyDollar[2].node}
|
|
|
|
comments.AddComments(encapsed, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 467:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2435
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(name)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 468:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2445
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 469:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2458
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
fetch := node.NewIdentifier(yyDollar[3].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(fetch, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewPropertyFetch(variable, fetch)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(fetch, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 470:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2474
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 471:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2480
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(name)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 472:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2490
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
variable := expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[4].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 473:
|
2017-11-30 18:07:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2503
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2017-12-01 07:15:46 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 474:
|
2017-11-30 16:15:49 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2507
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 475:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2513
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2017-12-27 14:26:36 +00:00
|
|
|
// TODO: add option to handle 64 bit integer
|
2017-12-27 13:53:46 +00:00
|
|
|
if _, err := strconv.Atoi(yyDollar[1].token.Value); err == nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2017-12-27 13:53:46 +00:00
|
|
|
} else {
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2017-12-27 13:53:46 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 476:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2525
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2017-12-27 14:26:36 +00:00
|
|
|
// TODO: add option to handle 64 bit integer
|
2017-12-27 13:53:46 +00:00
|
|
|
if _, err := strconv.Atoi(yyDollar[2].token.Value); err == nil {
|
2018-01-09 13:51:32 +00:00
|
|
|
lnumber := scalar.NewLnumber(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(lnumber, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewUnaryMinus(lnumber)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(lnumber, yyDollar[1].token.Comments())
|
2017-12-27 13:53:46 +00:00
|
|
|
} else {
|
|
|
|
yyDollar[2].token.Value = "-" + yyDollar[2].token.Value
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[2].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
2017-12-27 13:53:46 +00:00
|
|
|
}
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 477:
|
2017-11-30 16:15:49 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2543
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewVariable(identifier)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 478:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2556
|
2017-11-28 22:35:21 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewIsset(yyDollar[3].list)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 22:35:21 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 479:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2562
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewEmpty(yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 480:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2568
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewInclude(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 481:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2574
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewIncludeOnce(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 482:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2580
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewEval(yyDollar[3].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 483:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2586
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewRequire(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 484:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2592
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-09 13:51:32 +00:00
|
|
|
yyVAL.node = expr.NewRequireOnce(yyDollar[2].node)
|
2018-01-11 18:19:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
2018-01-08 22:30:28 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 485:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2600
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2017-12-17 21:21:46 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 486:
|
2017-11-30 18:36:10 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2601
|
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)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-01-02 11:53:55 +00:00
|
|
|
case 487:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 18:39:41 +00:00
|
|
|
//line php7/php7.y:2605
|
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 */
|
|
|
|
}
|