2018-01-26 13:24:56 +00:00
|
|
|
//line php5/php5.y:2
|
|
|
|
package php5
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
import __yyfmt__ "fmt"
|
|
|
|
|
2018-01-26 13:24:56 +00:00
|
|
|
//line php5/php5.y:2
|
2017-11-23 15:33:47 +00:00
|
|
|
import (
|
2018-01-29 19:12:12 +00:00
|
|
|
// "fmt"
|
2018-01-31 10:55:50 +00:00
|
|
|
"strconv"
|
2018-02-04 17:37:27 +00:00
|
|
|
"strings"
|
2018-01-29 14:11:45 +00:00
|
|
|
|
|
|
|
"github.com/z7zmey/php-parser/node"
|
2018-01-29 14:37:09 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr"
|
2018-02-01 10:35:43 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr/assign_op"
|
2018-02-04 17:37:27 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr/binary_op"
|
|
|
|
"github.com/z7zmey/php-parser/node/expr/cast"
|
2018-01-29 14:11:45 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/name"
|
2018-01-29 14:22:04 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/scalar"
|
|
|
|
"github.com/z7zmey/php-parser/node/stmt"
|
2018-01-29 14:37:09 +00:00
|
|
|
"github.com/z7zmey/php-parser/token"
|
2017-11-23 15:33:47 +00:00
|
|
|
)
|
|
|
|
|
2018-01-29 19:12:12 +00:00
|
|
|
//line php5/php5.y:22
|
2017-11-23 15:33:47 +00:00
|
|
|
type yySymType struct {
|
2018-02-03 17:33:22 +00:00
|
|
|
yys int
|
|
|
|
node node.Node
|
|
|
|
token token.Token
|
|
|
|
boolWithToken boolWithToken
|
2018-02-01 14:07:18 +00:00
|
|
|
list []node.Node
|
|
|
|
foreachVariable foreachVariable
|
|
|
|
nodesWithEndToken *nodesWithEndToken
|
2018-01-29 19:12:12 +00:00
|
|
|
simpleIndirectReference simpleIndirectReference
|
2018-01-29 14:11:45 +00:00
|
|
|
// str string
|
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-27 10:33:13 +00:00
|
|
|
"T_DOUBLE_ARROW",
|
2017-11-23 15:33:47 +00:00
|
|
|
"T_LIST",
|
|
|
|
"T_ARRAY",
|
|
|
|
"T_CALLABLE",
|
|
|
|
"T_CLASS_C",
|
|
|
|
"T_TRAIT_C",
|
|
|
|
"T_METHOD_C",
|
|
|
|
"T_FUNC_C",
|
|
|
|
"T_LINE",
|
|
|
|
"T_FILE",
|
|
|
|
"T_COMMENT",
|
|
|
|
"T_DOC_COMMENT",
|
|
|
|
"T_OPEN_TAG",
|
|
|
|
"T_OPEN_TAG_WITH_ECHO",
|
|
|
|
"T_CLOSE_TAG",
|
|
|
|
"T_WHITESPACE",
|
|
|
|
"T_START_HEREDOC",
|
|
|
|
"T_END_HEREDOC",
|
|
|
|
"T_DOLLAR_OPEN_CURLY_BRACES",
|
|
|
|
"T_CURLY_OPEN",
|
|
|
|
"T_PAAMAYIM_NEKUDOTAYIM",
|
|
|
|
"T_NAMESPACE",
|
|
|
|
"T_NS_C",
|
|
|
|
"T_DIR",
|
|
|
|
"T_NS_SEPARATOR",
|
|
|
|
"T_ELLIPSIS",
|
2018-01-29 14:11:45 +00:00
|
|
|
"T_EVAL",
|
|
|
|
"T_REQUIRE",
|
|
|
|
"T_REQUIRE_ONCE",
|
|
|
|
"T_LOGICAL_OR",
|
|
|
|
"T_LOGICAL_XOR",
|
|
|
|
"T_LOGICAL_AND",
|
|
|
|
"T_INSTANCEOF",
|
|
|
|
"T_NEW",
|
|
|
|
"T_CLONE",
|
|
|
|
"T_ELSEIF",
|
|
|
|
"T_ELSE",
|
|
|
|
"T_ENDIF",
|
|
|
|
"T_PRINT",
|
|
|
|
"T_YIELD",
|
|
|
|
"T_STATIC",
|
|
|
|
"T_ABSTRACT",
|
|
|
|
"T_FINAL",
|
|
|
|
"T_PRIVATE",
|
|
|
|
"T_PROTECTED",
|
|
|
|
"T_PUBLIC",
|
|
|
|
"T_INC",
|
|
|
|
"T_DEC",
|
2018-01-27 10:33:13 +00:00
|
|
|
"T_YIELD_FROM",
|
2018-01-29 14:11:45 +00:00
|
|
|
"T_INT_CAST",
|
|
|
|
"T_DOUBLE_CAST",
|
|
|
|
"T_STRING_CAST",
|
|
|
|
"T_ARRAY_CAST",
|
|
|
|
"T_OBJECT_CAST",
|
|
|
|
"T_BOOL_CAST",
|
|
|
|
"T_UNSET_CAST",
|
|
|
|
"T_COALESCE",
|
|
|
|
"T_SPACESHIP",
|
|
|
|
"T_NOELSE",
|
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-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3788
|
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,
|
2018-01-29 14:11:45 +00:00
|
|
|
-1, 50,
|
2018-02-04 17:37:27 +00:00
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
-2, 431,
|
2018-01-29 14:11:45 +00:00
|
|
|
-1, 101,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 330,
|
|
|
|
-2, 409,
|
2018-01-29 14:11:45 +00:00
|
|
|
-1, 113,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 449,
|
|
|
|
123, 445,
|
|
|
|
-2, 455,
|
2018-01-29 14:11:45 +00:00
|
|
|
-1, 153,
|
2018-02-04 17:37:27 +00:00
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
-2, 431,
|
2018-02-04 16:51:44 +00:00
|
|
|
-1, 203,
|
2018-02-04 17:37:27 +00:00
|
|
|
121, 304,
|
|
|
|
124, 304,
|
|
|
|
-2, 428,
|
2018-02-01 14:07:18 +00:00
|
|
|
-1, 204,
|
2018-02-04 17:37:27 +00:00
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
121, 305,
|
|
|
|
124, 305,
|
|
|
|
-2, 431,
|
2018-01-29 14:11:45 +00:00
|
|
|
-1, 270,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 449,
|
|
|
|
-2, 455,
|
2018-02-01 18:40:04 +00:00
|
|
|
-1, 297,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 332,
|
|
|
|
-2, 411,
|
2018-02-01 18:40:04 +00:00
|
|
|
-1, 301,
|
2018-02-04 17:37:27 +00:00
|
|
|
123, 446,
|
|
|
|
-2, 456,
|
2018-02-01 18:40:04 +00:00
|
|
|
-1, 310,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 331,
|
|
|
|
-2, 410,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 376,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 272,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 377,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 273,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 378,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 274,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 379,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 275,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 380,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 276,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 381,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 277,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 382,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 278,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 383,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 279,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 390,
|
2018-02-04 17:37:27 +00:00
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
-2, 431,
|
|
|
|
-1, 398,
|
|
|
|
124, 140,
|
|
|
|
-2, 145,
|
|
|
|
-1, 460,
|
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
124, 512,
|
|
|
|
135, 512,
|
|
|
|
-2, 431,
|
2018-02-03 12:29:23 +00:00
|
|
|
-1, 461,
|
2018-02-04 17:37:27 +00:00
|
|
|
124, 513,
|
|
|
|
135, 513,
|
|
|
|
-2, 428,
|
2018-02-04 16:51:44 +00:00
|
|
|
-1, 462,
|
2018-02-04 17:37:27 +00:00
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
-2, 431,
|
|
|
|
-1, 484,
|
2018-02-03 17:33:22 +00:00
|
|
|
124, 154,
|
|
|
|
135, 154,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 428,
|
|
|
|
-1, 485,
|
|
|
|
104, 433,
|
|
|
|
105, 433,
|
2018-02-03 17:33:22 +00:00
|
|
|
124, 155,
|
|
|
|
135, 155,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 431,
|
|
|
|
-1, 491,
|
|
|
|
123, 470,
|
|
|
|
-2, 514,
|
|
|
|
-1, 497,
|
|
|
|
123, 470,
|
|
|
|
-2, 515,
|
|
|
|
-1, 519,
|
|
|
|
78, 330,
|
|
|
|
-2, 367,
|
|
|
|
-1, 549,
|
2018-02-03 17:33:22 +00:00
|
|
|
124, 140,
|
|
|
|
-2, 145,
|
2018-02-04 17:37:27 +00:00
|
|
|
-1, 562,
|
2018-02-03 17:33:22 +00:00
|
|
|
124, 140,
|
|
|
|
-2, 145,
|
|
|
|
-1, 579,
|
2018-02-04 17:37:27 +00:00
|
|
|
121, 306,
|
|
|
|
124, 306,
|
|
|
|
-2, 428,
|
|
|
|
-1, 580,
|
|
|
|
104, 433,
|
|
|
|
105, 433,
|
|
|
|
121, 307,
|
|
|
|
124, 307,
|
|
|
|
-2, 431,
|
|
|
|
-1, 679,
|
|
|
|
78, 332,
|
|
|
|
-2, 369,
|
|
|
|
-1, 777,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 395,
|
|
|
|
-1, 778,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 396,
|
|
|
|
-1, 779,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 397,
|
|
|
|
-1, 780,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 398,
|
|
|
|
-1, 781,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 399,
|
|
|
|
-1, 782,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 400,
|
|
|
|
-1, 783,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 401,
|
|
|
|
-1, 784,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
-2, 402,
|
|
|
|
-1, 787,
|
|
|
|
78, 331,
|
|
|
|
-2, 368,
|
|
|
|
-1, 837,
|
2018-02-03 17:33:22 +00:00
|
|
|
37, 199,
|
|
|
|
-2, 196,
|
2018-02-04 17:37:27 +00:00
|
|
|
-1, 969,
|
2018-02-03 17:33:22 +00:00
|
|
|
29, 187,
|
2018-01-29 14:11:45 +00:00
|
|
|
-2, 4,
|
2018-02-04 17:37:27 +00:00
|
|
|
-1, 978,
|
2018-02-03 17:33:22 +00:00
|
|
|
124, 140,
|
|
|
|
-2, 145,
|
2018-02-04 17:37:27 +00:00
|
|
|
-1, 995,
|
2018-02-03 17:33:22 +00:00
|
|
|
121, 191,
|
|
|
|
-2, 193,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const yyPrivate = 57344
|
|
|
|
|
2018-02-04 17:37:27 +00:00
|
|
|
const yyLast = 8441
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyAct = [...]int{
|
|
|
|
|
2018-02-04 17:37:27 +00:00
|
|
|
101, 569, 1004, 963, 113, 199, 841, 712, 824, 122,
|
|
|
|
130, 418, 338, 916, 563, 592, 604, 60, 450, 565,
|
|
|
|
813, 805, 295, 732, 472, 681, 459, 590, 419, 141,
|
|
|
|
577, 97, 38, 263, 388, 137, 139, 442, 542, 144,
|
|
|
|
314, 114, 430, 157, 318, 445, 129, 178, 329, 117,
|
|
|
|
328, 6, 483, 5, 475, 227, 227, 161, 2, 651,
|
|
|
|
651, 976, 288, 653, 652, 191, 42, 651, 25, 939,
|
|
|
|
905, 938, 957, 935, 651, 491, 951, 120, 653, 652,
|
|
|
|
266, 191, 932, 929, 270, 937, 515, 952, 1000, 250,
|
|
|
|
257, 673, 675, 674, 676, 661, 662, 663, 654, 656,
|
|
|
|
657, 655, 655, 297, 930, 136, 654, 656, 657, 655,
|
|
|
|
43, 269, 663, 654, 656, 657, 655, 492, 931, 301,
|
|
|
|
819, 271, 895, 735, 327, 310, 707, 4, 315, 319,
|
|
|
|
560, 240, 322, 651, 116, 152, 896, 653, 652, 125,
|
|
|
|
304, 120, 178, 919, 140, 514, 356, 337, 851, 508,
|
|
|
|
504, 448, 203, 120, 584, 177, 179, 180, 178, 584,
|
|
|
|
227, 191, 324, 509, 505, 630, 38, 355, 733, 661,
|
|
|
|
662, 663, 654, 656, 657, 655, 631, 791, 161, 664,
|
|
|
|
665, 357, 309, 726, 449, 120, 616, 583, 421, 231,
|
|
|
|
231, 497, 266, 120, 227, 358, 270, 617, 584, 119,
|
|
|
|
176, 175, 558, 541, 554, 120, 974, 240, 228, 158,
|
|
|
|
125, 229, 120, 559, 272, 555, 651, 103, 677, 659,
|
|
|
|
653, 652, 227, 269, 473, 384, 350, 232, 200, 904,
|
|
|
|
423, 902, 859, 271, 174, 177, 179, 180, 178, 927,
|
|
|
|
668, 667, 658, 660, 671, 672, 669, 670, 673, 675,
|
|
|
|
674, 676, 661, 662, 663, 654, 656, 657, 655, 853,
|
|
|
|
449, 227, 331, 119, 334, 789, 353, 446, 743, 454,
|
|
|
|
348, 311, 230, 230, 132, 119, 456, 300, 637, 228,
|
|
|
|
354, 629, 229, 299, 349, 312, 451, 628, 133, 622,
|
|
|
|
621, 582, 227, 593, 231, 609, 432, 264, 232, 747,
|
|
|
|
449, 608, 394, 446, 447, 391, 595, 119, 446, 594,
|
|
|
|
593, 471, 444, 130, 746, 119, 602, 507, 240, 438,
|
|
|
|
488, 511, 975, 465, 293, 519, 272, 302, 231, 469,
|
|
|
|
292, 159, 286, 502, 119, 477, 478, 280, 253, 38,
|
|
|
|
447, 191, 493, 252, 489, 447, 434, 435, 490, 495,
|
|
|
|
470, 911, 1016, 496, 539, 928, 231, 519, 6, 503,
|
|
|
|
5, 738, 999, 948, 913, 482, 883, 500, 880, 868,
|
|
|
|
823, 812, 435, 434, 434, 397, 435, 230, 591, 725,
|
|
|
|
176, 175, 544, 691, 461, 463, 294, 437, 632, 623,
|
|
|
|
619, 428, 125, 546, 120, 231, 426, 306, 1011, 570,
|
|
|
|
978, 570, 575, 570, 578, 890, 227, 484, 138, 264,
|
|
|
|
296, 230, 181, 182, 174, 177, 179, 180, 178, 822,
|
|
|
|
125, 816, 120, 586, 38, 680, 231, 296, 585, 446,
|
|
|
|
446, 807, 806, 874, 4, 562, 549, 398, 537, 230,
|
|
|
|
535, 538, 342, 550, 294, 343, 488, 287, 277, 274,
|
|
|
|
273, 249, 610, 221, 613, 195, 194, 446, 193, 143,
|
|
|
|
446, 228, 446, 121, 229, 607, 447, 447, 134, 715,
|
|
|
|
489, 495, 701, 702, 490, 496, 997, 1008, 230, 1007,
|
|
|
|
232, 308, 987, 307, 982, 981, 979, 227, 398, 228,
|
|
|
|
701, 702, 229, 614, 447, 921, 910, 447, 878, 447,
|
|
|
|
809, 351, 612, 1017, 803, 444, 315, 615, 232, 230,
|
|
|
|
319, 802, 635, 636, 579, 519, 119, 796, 639, 640,
|
|
|
|
710, 697, 679, 545, 519, 543, 540, 499, 396, 346,
|
|
|
|
38, 519, 519, 519, 519, 519, 155, 903, 714, 603,
|
|
|
|
231, 633, 529, 258, 119, 973, 643, 915, 436, 6,
|
|
|
|
570, 5, 889, 698, 646, 888, 227, 227, 227, 433,
|
|
|
|
808, 519, 886, 570, 708, 716, 730, 38, 38, 576,
|
|
|
|
305, 90, 727, 729, 529, 570, 578, 724, 700, 196,
|
|
|
|
223, 224, 703, 266, 705, 227, 227, 270, 828, 872,
|
|
|
|
711, 845, 846, 847, 844, 843, 842, 737, 446, 800,
|
|
|
|
801, 650, 693, 694, 256, 731, 740, 259, 260, 502,
|
|
|
|
294, 728, 678, 736, 269, 125, 734, 739, 453, 422,
|
|
|
|
124, 231, 985, 230, 271, 4, 227, 125, 227, 125,
|
|
|
|
516, 742, 648, 969, 741, 447, 645, 125, 685, 457,
|
|
|
|
513, 452, 510, 444, 752, 425, 424, 721, 466, 125,
|
|
|
|
506, 748, 519, 519, 519, 519, 519, 519, 519, 519,
|
|
|
|
519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
|
|
|
|
519, 519, 519, 519, 519, 519, 519, 519, 519, 787,
|
|
|
|
754, 519, 755, 718, 756, 294, 125, 124, 303, 294,
|
|
|
|
231, 231, 231, 294, 125, 294, 281, 285, 571, 320,
|
|
|
|
298, 572, 571, 294, 230, 572, 788, 790, 519, 316,
|
|
|
|
125, 797, 120, 127, 128, 227, 125, 272, 120, 231,
|
|
|
|
231, 131, 684, 321, 123, 467, 814, 570, 461, 829,
|
|
|
|
862, 258, 529, 574, 570, 848, 436, 817, 61, 593,
|
|
|
|
455, 529, 484, 258, 567, 568, 826, 258, 529, 529,
|
|
|
|
529, 529, 529, 849, 830, 740, 262, 451, 131, 854,
|
|
|
|
231, 856, 231, 571, 402, 607, 572, 258, 400, 207,
|
|
|
|
206, 793, 436, 230, 230, 230, 294, 983, 529, 228,
|
|
|
|
284, 852, 229, 825, 821, 267, 519, 1005, 268, 857,
|
|
|
|
858, 53, 519, 519, 811, 259, 260, 723, 232, 44,
|
|
|
|
264, 238, 230, 230, 232, 984, 467, 259, 260, 557,
|
|
|
|
162, 259, 260, 794, 336, 227, 875, 227, 873, 798,
|
|
|
|
519, 879, 881, 570, 887, 818, 876, 1015, 882, 989,
|
|
|
|
468, 259, 260, 955, 119, 44, 953, 923, 618, 894,
|
|
|
|
119, 570, 901, 230, 898, 230, 225, 233, 38, 231,
|
|
|
|
208, 209, 210, 211, 213, 214, 215, 216, 217, 218,
|
|
|
|
219, 220, 212, 891, 548, 227, 897, 446, 519, 529,
|
|
|
|
529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
|
|
|
|
529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
|
|
|
|
529, 529, 529, 529, 529, 529, 517, 920, 529, 597,
|
|
|
|
906, 599, 598, 934, 447, 1001, 885, 38, 996, 258,
|
|
|
|
519, 877, 444, 958, 283, 810, 701, 702, 933, 907,
|
2018-02-04 18:55:45 +00:00
|
|
|
899, 1, 871, 125, 258, 529, 758, 757, 517, 282,
|
2018-02-04 17:37:27 +00:00
|
|
|
519, 720, 230, 519, 649, 647, 519, 644, 570, 960,
|
|
|
|
570, 968, 38, 600, 38, 704, 701, 702, 512, 231,
|
|
|
|
479, 231, 38, 393, 38, 38, 323, 202, 519, 201,
|
2018-02-04 18:55:45 +00:00
|
|
|
827, 198, 258, 570, 968, 135, 980, 255, 936, 1006,
|
|
|
|
341, 38, 284, 259, 260, 38, 38, 519, 745, 570,
|
|
|
|
912, 751, 914, 861, 570, 993, 443, 606, 259, 260,
|
|
|
|
587, 995, 922, 991, 924, 925, 588, 589, 682, 231,
|
|
|
|
38, 570, 1009, 529, 254, 917, 1010, 837, 917, 529,
|
|
|
|
529, 992, 570, 1013, 962, 961, 954, 941, 38, 956,
|
|
|
|
900, 945, 959, 481, 946, 401, 259, 260, 893, 836,
|
|
|
|
833, 573, 230, 564, 230, 1003, 651, 529, 943, 659,
|
|
|
|
653, 652, 38, 1002, 977, 722, 392, 839, 38, 387,
|
|
|
|
970, 163, 339, 840, 695, 536, 838, 926, 289, 458,
|
|
|
|
160, 156, 317, 990, 671, 672, 669, 670, 673, 675,
|
2018-02-04 17:37:27 +00:00
|
|
|
674, 676, 661, 662, 663, 654, 656, 657, 655, 988,
|
2018-02-04 18:55:45 +00:00
|
|
|
313, 126, 230, 526, 605, 529, 517, 994, 967, 966,
|
2018-02-04 17:37:27 +00:00
|
|
|
965, 964, 835, 834, 832, 517, 399, 39, 566, 14,
|
|
|
|
13, 820, 517, 517, 517, 517, 517, 845, 846, 847,
|
|
|
|
844, 843, 842, 717, 1012, 942, 191, 333, 799, 692,
|
|
|
|
10, 248, 74, 1018, 75, 115, 265, 529, 63, 892,
|
|
|
|
88, 596, 517, 89, 518, 100, 168, 170, 169, 191,
|
|
|
|
73, 11, 325, 99, 98, 78, 556, 529, 118, 524,
|
|
|
|
529, 3, 40, 529, 683, 176, 175, 0, 0, 0,
|
|
|
|
0, 686, 687, 688, 689, 690, 0, 0, 0, 0,
|
|
|
|
807, 806, 0, 0, 0, 529, 192, 172, 176, 175,
|
|
|
|
0, 0, 0, 187, 188, 189, 190, 181, 182, 174,
|
|
|
|
177, 179, 180, 178, 529, 0, 0, 0, 166, 167,
|
|
|
|
171, 173, 185, 186, 183, 184, 187, 188, 189, 190,
|
|
|
|
181, 182, 174, 177, 179, 180, 178, 0, 0, 0,
|
|
|
|
0, 0, 0, 517, 517, 517, 517, 517, 517, 517,
|
|
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
|
|
0, 0, 517, 208, 209, 210, 211, 213, 214, 215,
|
|
|
|
216, 217, 218, 219, 220, 212, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 666, 664, 665, 0, 0, 517,
|
|
|
|
0, 0, 759, 760, 761, 762, 763, 764, 765, 766,
|
|
|
|
767, 768, 769, 770, 771, 772, 773, 774, 775, 776,
|
|
|
|
777, 778, 779, 780, 781, 782, 783, 784, 786, 867,
|
|
|
|
0, 683, 651, 0, 677, 659, 653, 652, 208, 209,
|
|
|
|
210, 211, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
|
|
212, 0, 0, 0, 0, 0, 668, 667, 658, 660,
|
|
|
|
671, 672, 669, 670, 673, 675, 674, 676, 661, 662,
|
|
|
|
663, 654, 656, 657, 655, 347, 0, 517, 0, 0,
|
|
|
|
0, 0, 0, 517, 517, 0, 0, 0, 0, 0,
|
|
|
|
208, 209, 210, 211, 213, 214, 215, 216, 217, 218,
|
|
|
|
219, 220, 212, 30, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 517, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 146, 150, 154, 0,
|
|
|
|
0, 0, 164, 0, 0, 0, 866, 0, 0, 0,
|
|
|
|
197, 0, 869, 870, 0, 205, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 222, 0, 0, 517,
|
|
|
|
234, 235, 236, 237, 0, 0, 239, 50, 241, 242,
|
|
|
|
243, 244, 245, 246, 247, 0, 251, 0, 0, 0,
|
|
|
|
0, 261, 0, 0, 0, 0, 275, 276, 0, 278,
|
|
|
|
279, 0, 153, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
290, 517, 0, 0, 0, 0, 0, 0, 0, 204,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 908, 0,
|
|
|
|
0, 517, 226, 226, 517, 0, 0, 517, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 239, 0, 0, 0, 0, 340, 0, 517,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
940, 0, 0, 0, 0, 0, 0, 0, 517, 665,
|
|
|
|
359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
|
|
|
|
369, 370, 371, 372, 373, 374, 375, 376, 377, 378,
|
|
|
|
379, 380, 381, 382, 383, 0, 385, 0, 154, 0,
|
|
|
|
0, 0, 0, 0, 0, 651, 0, 677, 659, 653,
|
|
|
|
652, 0, 404, 406, 407, 408, 409, 410, 411, 412,
|
|
|
|
413, 414, 415, 416, 417, 0, 0, 352, 0, 668,
|
|
|
|
667, 658, 660, 671, 672, 669, 670, 673, 675, 674,
|
|
|
|
676, 661, 662, 663, 654, 656, 657, 655, 0, 0,
|
|
|
|
0, 0, 0, 239, 0, 0, 431, 431, 0, 0,
|
|
|
|
0, 389, 390, 439, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 909, 154, 154, 0,
|
|
|
|
0, 464, 0, 651, 431, 0, 659, 653, 652, 420,
|
|
|
|
431, 290, 0, 0, 0, 0, 431, 431, 0, 0,
|
|
|
|
154, 0, 0, 431, 494, 666, 664, 665, 0, 498,
|
|
|
|
660, 671, 672, 669, 670, 673, 675, 674, 676, 661,
|
|
|
|
662, 663, 654, 656, 657, 655, 0, 0, 441, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 460, 462, 651, 0, 677, 659, 653, 652, 0,
|
|
|
|
0, 0, 0, 0, 0, 547, 666, 664, 665, 476,
|
|
|
|
0, 0, 551, 0, 485, 0, 0, 668, 667, 658,
|
|
|
|
660, 671, 672, 669, 670, 673, 675, 674, 676, 661,
|
|
|
|
662, 663, 654, 656, 657, 655, 0, 0, 0, 0,
|
|
|
|
553, 0, 0, 0, 651, 865, 677, 659, 653, 652,
|
|
|
|
0, 0, 839, 0, 0, 0, 0, 154, 840, 0,
|
|
|
|
0, 838, 0, 0, 0, 0, 0, 0, 668, 667,
|
|
|
|
658, 660, 671, 672, 669, 670, 673, 675, 674, 676,
|
|
|
|
661, 662, 663, 654, 656, 657, 655, 0, 0, 168,
|
|
|
|
170, 169, 191, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 611, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 845, 846, 847, 844, 843, 842, 0, 0,
|
|
|
|
0, 580, 860, 581, 0, 0, 0, 624, 626, 192,
|
|
|
|
172, 176, 175, 0, 831, 0, 0, 0, 0, 0,
|
|
|
|
0, 634, 0, 0, 0, 168, 170, 169, 191, 0,
|
|
|
|
0, 166, 167, 171, 173, 185, 186, 183, 184, 187,
|
|
|
|
188, 189, 190, 181, 182, 174, 177, 179, 180, 178,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 855, 192, 172, 176, 175, 0,
|
|
|
|
0, 0, 0, 0, 340, 699, 0, 0, 651, 0,
|
|
|
|
0, 0, 653, 652, 476, 0, 709, 166, 167, 171,
|
|
|
|
173, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
|
|
|
182, 174, 177, 179, 180, 178, 671, 672, 669, 670,
|
|
|
|
673, 675, 674, 676, 661, 662, 663, 654, 656, 657,
|
|
|
|
655, 0, 0, 0, 0, 431, 666, 664, 665, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 744, 0, 0, 0,
|
|
|
|
0, 0, 431, 749, 0, 0, 0, 792, 0, 0,
|
|
|
|
0, 154, 0, 389, 713, 713, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 795, 651, 154, 677, 659, 653, 652,
|
|
|
|
0, 0, 0, 0, 0, 0, 666, 664, 665, 0,
|
|
|
|
0, 0, 420, 420, 0, 0, 0, 0, 668, 667,
|
|
|
|
658, 660, 671, 672, 669, 670, 673, 675, 674, 676,
|
|
|
|
661, 662, 663, 654, 656, 657, 655, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 651, 460, 677, 659, 653, 652,
|
|
|
|
0, 0, 0, 476, 0, 476, 0, 0, 0, 485,
|
|
|
|
0, 0, 0, 0, 0, 804, 0, 0, 668, 667,
|
|
|
|
658, 660, 671, 672, 669, 670, 673, 675, 674, 676,
|
|
|
|
661, 662, 663, 654, 656, 657, 655, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 850,
|
|
|
|
0, 0, 431, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
431, 431, 0, 0, 0, 0, 0, 863, 0, 0,
|
|
|
|
0, 0, 0, 0, 82, 83, 71, 17, 104, 105,
|
2018-01-29 19:12:12 +00:00
|
|
|
12, 87, 120, 0, 29, 0, 0, 0, 94, 28,
|
2018-02-04 17:37:27 +00:00
|
|
|
19, 18, 815, 20, 0, 32, 0, 33, 0, 0,
|
|
|
|
21, 0, 0, 0, 22, 23, 37, 44, 15, 24,
|
|
|
|
35, 0, 0, 36, 9, 0, 26, 340, 31, 80,
|
|
|
|
81, 7, 45, 47, 49, 0, 0, 0, 0, 51,
|
2018-01-29 19:12:12 +00:00
|
|
|
95, 0, 93, 109, 110, 111, 106, 107, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 92, 0, 0, 0, 0, 8,
|
2018-01-29 19:12:12 +00:00
|
|
|
112, 108, 102, 0, 84, 85, 86, 0, 0, 0,
|
|
|
|
0, 79, 52, 0, 0, 0, 77, 41, 27, 46,
|
|
|
|
48, 0, 0, 0, 54, 55, 0, 64, 65, 66,
|
|
|
|
67, 68, 69, 70, 0, 0, 0, 91, 76, 16,
|
2018-02-04 17:37:27 +00:00
|
|
|
642, 34, 713, 62, 420, 96, 0, 0, 0, 57,
|
2018-01-29 19:12:12 +00:00
|
|
|
56, 58, 59, 72, 119, 82, 83, 71, 17, 104,
|
|
|
|
105, 12, 87, 120, 0, 29, 0, 0, 0, 94,
|
2018-02-03 12:29:23 +00:00
|
|
|
28, 19, 18, 0, 20, 0, 32, 0, 33, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 21, 0, 0, 0, 22, 23, 37, 44, 15,
|
|
|
|
24, 35, 476, 0, 36, 9, 0, 26, 0, 31,
|
|
|
|
80, 81, 7, 45, 47, 49, 0, 0, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
51, 95, 0, 93, 109, 110, 111, 106, 107, 0,
|
|
|
|
0, 0, 0, 0, 0, 92, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
8, 112, 108, 102, 0, 84, 85, 86, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 79, 52, 0, 0, 0, 77, 41, 27,
|
|
|
|
46, 48, 0, 0, 0, 54, 55, 0, 64, 65,
|
|
|
|
66, 67, 68, 69, 70, 0, 0, 0, 91, 76,
|
2018-02-04 17:37:27 +00:00
|
|
|
16, 501, 34, 0, 62, 0, 96, 0, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
57, 56, 58, 59, 72, 119, 82, 83, 71, 17,
|
|
|
|
104, 105, 12, 87, 120, 0, 29, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
94, 28, 19, 18, 0, 20, 0, 32, 0, 33,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 21, 0, 0, 0, 22, 23, 37, 44,
|
2018-02-04 17:37:27 +00:00
|
|
|
15, 24, 35, 0, 0, 36, 9, 0, 26, 0,
|
|
|
|
31, 80, 81, 7, 45, 47, 49, 0, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 51, 95, 0, 93, 109, 110, 111, 106, 107,
|
|
|
|
0, 0, 0, 0, 0, 0, 92, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 8, 112, 108, 102, 0, 84, 85, 86, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 0, 79, 52, 0, 0, 0, 77, 41,
|
|
|
|
27, 46, 48, 0, 0, 0, 54, 55, 0, 64,
|
|
|
|
65, 66, 67, 68, 69, 70, 0, 0, 0, 91,
|
2018-02-04 16:51:44 +00:00
|
|
|
76, 16, 0, 34, 0, 62, 0, 96, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 57, 56, 58, 59, 72, 119, 82, 83, 71,
|
|
|
|
17, 104, 105, 12, 87, 120, 0, 29, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 94, 28, 19, 18, 0, 20, 0, 32, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
33, 0, 0, 21, 0, 0, 0, 22, 23, 37,
|
2018-01-29 19:12:12 +00:00
|
|
|
44, 0, 24, 35, 0, 0, 36, 0, 0, 26,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 31, 80, 81, 330, 45, 47, 49, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 51, 95, 0, 93, 109, 110, 111, 106,
|
|
|
|
107, 0, 0, 0, 0, 0, 0, 92, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 142, 112, 108, 102, 0, 84, 85, 86,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 0, 0, 79, 52, 0, 0, 0, 77,
|
2018-02-01 14:07:18 +00:00
|
|
|
41, 27, 46, 48, 0, 0, 0, 54, 55, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
64, 65, 66, 67, 68, 69, 70, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
91, 76, 16, 1019, 34, 0, 62, 0, 96, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 57, 56, 58, 59, 72, 119, 82, 83,
|
|
|
|
71, 17, 104, 105, 12, 87, 120, 0, 29, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 94, 28, 19, 18, 0, 20, 0, 32,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 33, 0, 0, 21, 0, 0, 0, 22, 23,
|
2018-01-29 19:12:12 +00:00
|
|
|
37, 44, 0, 24, 35, 0, 0, 36, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
26, 0, 31, 80, 81, 330, 45, 47, 49, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 0, 51, 95, 0, 93, 109, 110, 111,
|
|
|
|
106, 107, 0, 0, 0, 0, 0, 0, 92, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 142, 112, 108, 102, 0, 84, 85,
|
2018-01-29 19:12:12 +00:00
|
|
|
86, 0, 0, 0, 0, 79, 52, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
77, 41, 27, 46, 48, 0, 0, 0, 54, 55,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 64, 65, 66, 67, 68, 69, 70, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 91, 76, 16, 1014, 34, 0, 62, 0, 96,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 0, 57, 56, 58, 59, 72, 119, 82,
|
|
|
|
83, 71, 17, 104, 105, 12, 87, 120, 0, 29,
|
|
|
|
0, 0, 0, 94, 28, 19, 18, 0, 20, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
32, 0, 33, 0, 0, 21, 0, 0, 0, 22,
|
2018-01-29 19:12:12 +00:00
|
|
|
23, 37, 44, 0, 24, 35, 0, 0, 36, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 26, 0, 31, 80, 81, 330, 45, 47, 49,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 0, 0, 0, 51, 95, 0, 93, 109, 110,
|
|
|
|
111, 106, 107, 0, 0, 0, 0, 0, 0, 92,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 142, 112, 108, 102, 0, 84,
|
2018-01-29 19:12:12 +00:00
|
|
|
85, 86, 0, 0, 0, 0, 79, 52, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 77, 41, 27, 46, 48, 0, 0, 0, 54,
|
2018-01-29 19:12:12 +00:00
|
|
|
55, 0, 64, 65, 66, 67, 68, 69, 70, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 91, 76, 16, 998, 34, 0, 62, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
96, 0, 0, 0, 57, 56, 58, 59, 72, 119,
|
|
|
|
82, 83, 71, 17, 104, 105, 12, 87, 120, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
29, 0, 0, 0, 94, 28, 19, 18, 0, 20,
|
2018-02-04 17:37:27 +00:00
|
|
|
986, 32, 0, 33, 0, 0, 21, 0, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
22, 23, 37, 44, 0, 24, 35, 0, 0, 36,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 26, 0, 31, 80, 81, 330, 45, 47,
|
|
|
|
49, 0, 0, 0, 0, 51, 95, 0, 93, 109,
|
2018-01-29 19:12:12 +00:00
|
|
|
110, 111, 106, 107, 0, 0, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
92, 0, 0, 0, 0, 142, 112, 108, 102, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
84, 85, 86, 0, 0, 0, 0, 79, 52, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 77, 41, 27, 46, 48, 0, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
54, 55, 0, 64, 65, 66, 67, 68, 69, 70,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 91, 76, 16, 0, 34, 0, 62,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 96, 0, 0, 0, 57, 56, 58, 59, 72,
|
|
|
|
119, 82, 83, 71, 17, 104, 105, 12, 87, 120,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 29, 0, 0, 0, 94, 28, 19, 18, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
20, 0, 32, 972, 33, 0, 0, 21, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 22, 23, 37, 44, 0, 24, 35, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
36, 0, 0, 26, 0, 31, 80, 81, 330, 45,
|
|
|
|
47, 49, 0, 0, 0, 0, 51, 95, 0, 93,
|
2018-01-29 19:12:12 +00:00
|
|
|
109, 110, 111, 106, 107, 0, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 92, 0, 0, 0, 0, 142, 112, 108, 102,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 84, 85, 86, 0, 0, 0, 0, 79, 52,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 77, 41, 27, 46, 48, 0, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
0, 54, 55, 0, 64, 65, 66, 67, 68, 69,
|
2018-02-04 16:51:44 +00:00
|
|
|
70, 0, 0, 0, 91, 76, 16, 0, 34, 0,
|
2018-01-29 19:12:12 +00:00
|
|
|
62, 0, 96, 0, 0, 0, 57, 56, 58, 59,
|
2018-02-01 14:07:18 +00:00
|
|
|
72, 119, 82, 83, 71, 17, 104, 105, 12, 87,
|
|
|
|
120, 0, 29, 0, 0, 0, 94, 28, 19, 18,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 20, 0, 32, 0, 33, 0, 0, 21, 0,
|
2018-02-01 14:07:18 +00:00
|
|
|
0, 0, 22, 23, 37, 44, 0, 24, 35, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 36, 0, 0, 26, 0, 31, 80, 81, 330,
|
|
|
|
45, 47, 49, 0, 0, 0, 0, 51, 95, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
93, 109, 110, 111, 106, 107, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 92, 0, 0, 0, 0, 142, 112, 108,
|
2018-02-01 14:07:18 +00:00
|
|
|
102, 0, 84, 85, 86, 0, 0, 0, 0, 79,
|
2018-02-03 13:24:00 +00:00
|
|
|
52, 0, 0, 0, 77, 41, 27, 46, 48, 0,
|
2018-02-01 14:07:18 +00:00
|
|
|
0, 0, 54, 55, 0, 64, 65, 66, 67, 68,
|
2018-02-04 17:37:27 +00:00
|
|
|
69, 70, 0, 0, 0, 91, 76, 16, 971, 34,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 62, 0, 96, 0, 0, 0, 57, 56, 58,
|
2018-02-01 18:40:04 +00:00
|
|
|
59, 72, 119, 82, 83, 71, 17, 104, 105, 12,
|
|
|
|
87, 120, 0, 29, 0, 0, 0, 94, 28, 19,
|
2018-02-04 16:51:44 +00:00
|
|
|
18, 0, 20, 0, 32, 0, 33, 0, 0, 21,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 22, 23, 37, 44, 0, 24, 35,
|
|
|
|
0, 0, 36, 0, 0, 26, 0, 31, 80, 81,
|
2018-02-03 13:24:00 +00:00
|
|
|
330, 45, 47, 49, 0, 0, 0, 0, 51, 95,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 93, 109, 110, 111, 106, 107, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 92, 0, 0, 0, 0, 142, 112,
|
2018-02-01 18:40:04 +00:00
|
|
|
108, 102, 0, 84, 85, 86, 0, 0, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
79, 52, 0, 0, 0, 77, 41, 27, 46, 48,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 54, 55, 0, 64, 65, 66, 67,
|
2018-02-04 17:37:27 +00:00
|
|
|
68, 69, 70, 0, 0, 0, 91, 76, 16, 950,
|
2018-02-03 13:24:00 +00:00
|
|
|
34, 0, 62, 0, 96, 0, 0, 0, 57, 56,
|
2018-02-01 18:40:04 +00:00
|
|
|
58, 59, 72, 119, 82, 83, 71, 17, 104, 105,
|
|
|
|
12, 87, 120, 0, 29, 0, 0, 0, 94, 28,
|
2018-02-04 16:51:44 +00:00
|
|
|
19, 18, 0, 20, 0, 32, 0, 33, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
21, 0, 0, 0, 22, 23, 37, 44, 0, 24,
|
|
|
|
35, 0, 0, 36, 0, 0, 26, 0, 31, 80,
|
2018-02-03 17:33:22 +00:00
|
|
|
81, 330, 45, 47, 49, 0, 0, 0, 0, 51,
|
2018-02-01 18:40:04 +00:00
|
|
|
95, 0, 93, 109, 110, 111, 106, 107, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 92, 0, 0, 0, 0, 142,
|
2018-02-01 18:40:04 +00:00
|
|
|
112, 108, 102, 0, 84, 85, 86, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 79, 52, 0, 0, 0, 77, 41, 27, 46,
|
|
|
|
48, 0, 0, 0, 54, 55, 0, 64, 65, 66,
|
2018-02-01 18:40:04 +00:00
|
|
|
67, 68, 69, 70, 0, 0, 0, 91, 76, 16,
|
2018-02-04 17:37:27 +00:00
|
|
|
949, 34, 0, 62, 0, 96, 0, 0, 0, 57,
|
2018-02-01 18:40:04 +00:00
|
|
|
56, 58, 59, 72, 119, 82, 83, 71, 17, 104,
|
|
|
|
105, 12, 87, 120, 0, 29, 0, 0, 0, 94,
|
|
|
|
28, 19, 18, 0, 20, 0, 32, 0, 33, 0,
|
|
|
|
0, 21, 0, 0, 0, 22, 23, 37, 44, 0,
|
|
|
|
24, 35, 0, 0, 36, 0, 0, 26, 0, 31,
|
2018-02-03 17:33:22 +00:00
|
|
|
80, 81, 330, 45, 47, 49, 0, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
51, 95, 0, 93, 109, 110, 111, 106, 107, 0,
|
|
|
|
0, 0, 0, 0, 0, 92, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
142, 112, 108, 102, 0, 84, 85, 86, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 79, 52, 0, 0, 0, 77, 41, 27,
|
2018-02-03 17:33:22 +00:00
|
|
|
46, 48, 0, 0, 0, 54, 55, 0, 64, 65,
|
2018-02-01 18:40:04 +00:00
|
|
|
66, 67, 68, 69, 70, 0, 0, 0, 91, 76,
|
2018-02-04 17:37:27 +00:00
|
|
|
16, 947, 34, 0, 62, 0, 96, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
57, 56, 58, 59, 72, 119, 82, 83, 71, 17,
|
|
|
|
104, 105, 12, 87, 120, 0, 29, 0, 0, 0,
|
|
|
|
94, 28, 19, 18, 0, 20, 0, 32, 0, 33,
|
2018-02-04 17:37:27 +00:00
|
|
|
884, 0, 21, 0, 0, 0, 22, 23, 37, 44,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 24, 35, 0, 0, 36, 0, 0, 26, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
31, 80, 81, 330, 45, 47, 49, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 51, 95, 0, 93, 109, 110, 111, 106, 107,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 92, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 142, 112, 108, 102, 0, 84, 85, 86, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 79, 52, 0, 0, 0, 77, 41,
|
2018-02-04 17:37:27 +00:00
|
|
|
27, 46, 48, 0, 0, 0, 54, 55, 0, 64,
|
2018-02-03 10:09:02 +00:00
|
|
|
65, 66, 67, 68, 69, 70, 0, 0, 0, 91,
|
2018-02-04 17:37:27 +00:00
|
|
|
76, 16, 0, 34, 0, 62, 0, 96, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 57, 56, 58, 59, 72, 119, 82, 83, 71,
|
|
|
|
17, 104, 105, 12, 87, 120, 0, 29, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 94, 28, 19, 18, 696, 20, 0, 32, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
33, 0, 0, 21, 0, 0, 0, 22, 23, 37,
|
|
|
|
44, 0, 24, 35, 0, 0, 36, 0, 0, 26,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 31, 80, 81, 330, 45, 47, 49, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 51, 95, 0, 93, 109, 110, 111, 106,
|
|
|
|
107, 0, 0, 0, 0, 0, 0, 92, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 142, 112, 108, 102, 0, 84, 85, 86,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 79, 52, 0, 0, 0, 77,
|
2018-02-04 17:37:27 +00:00
|
|
|
41, 27, 46, 48, 0, 0, 0, 54, 55, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
64, 65, 66, 67, 68, 69, 70, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
91, 76, 16, 0, 34, 0, 62, 0, 96, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 57, 56, 58, 59, 72, 119, 82, 83,
|
|
|
|
71, 17, 104, 105, 12, 87, 120, 0, 29, 0,
|
|
|
|
0, 0, 94, 28, 19, 18, 0, 20, 0, 32,
|
|
|
|
0, 33, 0, 0, 21, 0, 0, 0, 22, 23,
|
|
|
|
37, 44, 0, 24, 35, 0, 0, 36, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
26, 0, 31, 80, 81, 330, 45, 47, 49, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 51, 95, 0, 93, 109, 110, 111,
|
|
|
|
106, 107, 0, 0, 0, 0, 0, 0, 92, 0,
|
|
|
|
0, 0, 0, 142, 112, 108, 102, 0, 84, 85,
|
|
|
|
86, 0, 0, 0, 0, 79, 52, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
77, 41, 27, 46, 48, 0, 0, 0, 54, 55,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 64, 65, 66, 67, 68, 69, 70, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 91, 76, 16, 561, 34, 0, 62, 0, 96,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 57, 56, 58, 59, 72, 119, 82,
|
|
|
|
83, 71, 17, 104, 105, 12, 87, 120, 0, 29,
|
|
|
|
0, 0, 0, 94, 28, 19, 18, 0, 20, 0,
|
|
|
|
32, 0, 33, 0, 0, 21, 0, 0, 0, 22,
|
|
|
|
23, 37, 44, 0, 24, 35, 0, 0, 36, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 26, 0, 31, 80, 81, 330, 45, 47, 49,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 51, 95, 0, 93, 109, 110,
|
|
|
|
111, 106, 107, 0, 0, 0, 0, 0, 0, 92,
|
|
|
|
0, 0, 0, 0, 142, 112, 108, 102, 0, 84,
|
2018-02-03 17:33:22 +00:00
|
|
|
85, 86, 0, 0, 0, 0, 79, 52, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 77, 41, 27, 46, 48, 0, 0, 0, 54,
|
2018-02-03 13:24:00 +00:00
|
|
|
55, 0, 64, 65, 66, 67, 68, 69, 70, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 91, 76, 16, 326, 34, 0, 62, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
96, 0, 0, 0, 57, 56, 58, 59, 72, 119,
|
|
|
|
82, 83, 71, 17, 104, 105, 12, 87, 120, 0,
|
|
|
|
29, 0, 0, 0, 94, 28, 19, 18, 0, 20,
|
|
|
|
0, 32, 0, 33, 0, 0, 21, 0, 0, 0,
|
|
|
|
22, 23, 37, 44, 0, 24, 35, 0, 0, 36,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 26, 0, 31, 80, 81, 330, 45, 47,
|
|
|
|
49, 0, 0, 0, 0, 51, 95, 0, 93, 109,
|
2018-02-03 17:33:22 +00:00
|
|
|
110, 111, 106, 107, 0, 0, 0, 0, 0, 0,
|
|
|
|
92, 0, 0, 0, 0, 142, 112, 108, 102, 0,
|
|
|
|
84, 85, 86, 0, 0, 0, 0, 79, 52, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 77, 41, 27, 46, 48, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
54, 55, 0, 64, 65, 66, 67, 68, 69, 70,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 91, 76, 16, 0, 34, 0, 62,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 96, 0, 0, 0, 57, 56, 58, 59, 72,
|
|
|
|
119, 82, 83, 71, 17, 104, 105, 12, 87, 120,
|
|
|
|
0, 29, 0, 0, 0, 94, 28, 19, 18, 0,
|
|
|
|
20, 0, 32, 0, 33, 0, 0, 21, 0, 0,
|
|
|
|
0, 22, 23, 37, 44, 0, 24, 35, 0, 0,
|
|
|
|
36, 0, 0, 26, 0, 31, 80, 81, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 51, 95, 0, 93,
|
2018-02-04 17:37:27 +00:00
|
|
|
109, 110, 111, 106, 107, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 92, 0, 0, 0, 0, 142, 112, 108, 102,
|
|
|
|
0, 84, 85, 86, 0, 0, 0, 0, 79, 52,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 77, 41, 27, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 54, 55, 0, 64, 65, 66, 67, 68, 69,
|
2018-02-04 17:37:27 +00:00
|
|
|
70, 0, 0, 0, 91, 76, 16, 0, 34, 944,
|
2018-02-03 17:33:22 +00:00
|
|
|
62, 0, 96, 0, 0, 0, 57, 56, 58, 59,
|
2018-02-04 17:37:27 +00:00
|
|
|
72, 119, 82, 83, 71, 17, 104, 105, 12, 87,
|
|
|
|
120, 0, 29, 0, 0, 0, 94, 28, 19, 18,
|
|
|
|
0, 20, 0, 32, 0, 33, 0, 0, 21, 0,
|
|
|
|
0, 0, 22, 23, 37, 44, 0, 24, 35, 0,
|
|
|
|
0, 36, 0, 0, 26, 0, 31, 80, 81, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 51, 95, 0,
|
|
|
|
93, 109, 110, 111, 106, 107, 0, 0, 0, 0,
|
|
|
|
0, 0, 92, 0, 0, 0, 0, 142, 112, 108,
|
|
|
|
102, 0, 84, 85, 86, 0, 0, 0, 0, 79,
|
|
|
|
52, 0, 0, 0, 77, 41, 27, 0, 0, 0,
|
|
|
|
0, 0, 54, 55, 0, 64, 65, 66, 67, 68,
|
|
|
|
69, 70, 0, 0, 0, 91, 76, 16, 0, 34,
|
|
|
|
918, 62, 0, 96, 0, 0, 0, 57, 56, 58,
|
|
|
|
59, 72, 119, 82, 83, 71, 17, 104, 105, 12,
|
|
|
|
87, 120, 0, 29, 0, 0, 0, 94, 28, 19,
|
|
|
|
18, 0, 20, 0, 32, 0, 33, 0, 0, 21,
|
|
|
|
0, 0, 0, 22, 23, 37, 44, 0, 24, 35,
|
|
|
|
0, 0, 36, 0, 0, 26, 0, 31, 80, 81,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 51, 95,
|
|
|
|
0, 93, 109, 110, 111, 106, 107, 0, 0, 0,
|
|
|
|
0, 0, 0, 92, 0, 0, 0, 0, 142, 112,
|
|
|
|
108, 102, 0, 84, 85, 86, 0, 0, 0, 0,
|
|
|
|
79, 52, 0, 0, 0, 77, 41, 27, 0, 0,
|
|
|
|
0, 0, 0, 54, 55, 0, 64, 65, 66, 67,
|
|
|
|
68, 69, 70, 0, 0, 0, 91, 76, 16, 0,
|
|
|
|
34, 719, 62, 0, 96, 0, 0, 0, 57, 56,
|
|
|
|
58, 59, 72, 119, 82, 83, 71, 17, 104, 105,
|
|
|
|
12, 87, 120, 0, 29, 0, 0, 0, 94, 28,
|
|
|
|
19, 18, 0, 20, 0, 32, 0, 33, 0, 0,
|
|
|
|
21, 0, 0, 0, 22, 23, 37, 44, 0, 24,
|
|
|
|
35, 0, 0, 36, 0, 0, 26, 0, 31, 80,
|
|
|
|
81, 0, 0, 0, 0, 0, 0, 0, 0, 51,
|
|
|
|
95, 0, 93, 109, 110, 111, 106, 107, 0, 0,
|
|
|
|
0, 0, 0, 0, 92, 0, 0, 0, 0, 142,
|
|
|
|
112, 108, 102, 0, 84, 85, 86, 0, 0, 0,
|
|
|
|
0, 79, 52, 0, 0, 0, 77, 41, 27, 0,
|
|
|
|
0, 0, 0, 0, 54, 55, 0, 64, 65, 66,
|
|
|
|
67, 68, 69, 70, 0, 0, 0, 91, 76, 16,
|
|
|
|
0, 34, 335, 62, 0, 96, 0, 0, 0, 57,
|
|
|
|
56, 58, 59, 72, 119, 82, 83, 71, 17, 104,
|
|
|
|
105, 12, 87, 120, 0, 29, 0, 0, 0, 94,
|
|
|
|
28, 19, 18, 0, 20, 0, 32, 0, 33, 0,
|
|
|
|
0, 21, 0, 0, 0, 22, 23, 37, 44, 0,
|
|
|
|
24, 35, 0, 0, 36, 0, 0, 26, 0, 31,
|
|
|
|
80, 81, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
51, 95, 0, 93, 109, 110, 111, 106, 107, 0,
|
|
|
|
0, 0, 0, 0, 0, 92, 0, 0, 0, 0,
|
|
|
|
142, 112, 108, 102, 0, 84, 85, 86, 0, 0,
|
|
|
|
0, 0, 79, 52, 0, 0, 0, 77, 41, 27,
|
|
|
|
0, 0, 0, 0, 0, 54, 55, 0, 64, 65,
|
|
|
|
66, 67, 68, 69, 70, 0, 0, 0, 91, 76,
|
|
|
|
16, 0, 34, 332, 62, 0, 96, 0, 0, 0,
|
|
|
|
57, 56, 58, 59, 72, 119, 82, 83, 71, 17,
|
|
|
|
104, 105, 12, 87, 120, 0, 29, 0, 0, 0,
|
|
|
|
94, 28, 19, 18, 0, 20, 0, 32, 0, 33,
|
|
|
|
0, 0, 21, 0, 0, 0, 22, 23, 37, 44,
|
|
|
|
0, 24, 35, 0, 0, 36, 0, 0, 26, 0,
|
|
|
|
31, 80, 81, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 51, 95, 0, 93, 109, 110, 111, 106, 107,
|
|
|
|
0, 0, 753, 0, 0, 0, 92, 0, 0, 0,
|
|
|
|
0, 142, 112, 108, 102, 0, 84, 85, 86, 0,
|
|
|
|
0, 0, 0, 79, 52, 0, 0, 0, 77, 41,
|
|
|
|
27, 168, 170, 169, 191, 0, 54, 55, 0, 64,
|
|
|
|
65, 66, 67, 68, 69, 70, 0, 0, 0, 91,
|
|
|
|
76, 16, 0, 34, 0, 62, 0, 96, 0, 0,
|
|
|
|
0, 57, 56, 58, 59, 72, 119, 0, 0, 0,
|
|
|
|
0, 192, 172, 176, 175, 0, 0, 0, 0, 168,
|
|
|
|
170, 169, 191, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 166, 167, 171, 173, 185, 186, 183,
|
|
|
|
184, 187, 188, 189, 190, 181, 182, 174, 177, 179,
|
|
|
|
180, 178, 750, 0, 0, 0, 0, 0, 0, 192,
|
|
|
|
172, 176, 175, 0, 0, 0, 0, 168, 170, 169,
|
|
|
|
191, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 166, 167, 171, 173, 185, 186, 183, 184, 187,
|
|
|
|
188, 189, 190, 181, 182, 174, 177, 179, 180, 178,
|
|
|
|
706, 0, 0, 0, 0, 0, 0, 192, 172, 176,
|
|
|
|
175, 0, 0, 0, 0, 168, 170, 169, 191, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 166,
|
|
|
|
167, 171, 173, 185, 186, 183, 184, 187, 188, 189,
|
|
|
|
190, 181, 182, 174, 177, 179, 180, 178, 641, 0,
|
|
|
|
0, 0, 0, 0, 0, 192, 172, 176, 175, 0,
|
|
|
|
0, 0, 0, 168, 170, 169, 191, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 166, 167, 171,
|
|
|
|
173, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
|
|
|
182, 174, 177, 179, 180, 178, 638, 0, 0, 0,
|
|
|
|
0, 0, 0, 192, 172, 176, 175, 168, 170, 169,
|
|
|
|
191, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 166, 167, 171, 173, 185,
|
|
|
|
186, 183, 184, 187, 188, 189, 190, 181, 182, 174,
|
|
|
|
177, 179, 180, 178, 620, 0, 0, 192, 172, 176,
|
|
|
|
175, 0, 0, 0, 0, 168, 170, 169, 191, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 166,
|
|
|
|
167, 171, 173, 185, 186, 183, 184, 187, 188, 189,
|
|
|
|
190, 181, 182, 174, 177, 179, 180, 178, 601, 0,
|
|
|
|
0, 0, 0, 0, 0, 192, 172, 176, 175, 0,
|
|
|
|
0, 168, 170, 169, 191, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 474, 166, 167, 171,
|
|
|
|
173, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
|
|
|
182, 174, 177, 179, 180, 178, 552, 0, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 192, 172, 176, 175, 168, 170, 169, 191, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 166, 167, 171, 173, 185, 186, 183,
|
2018-02-03 13:24:00 +00:00
|
|
|
184, 187, 188, 189, 190, 181, 182, 174, 177, 179,
|
2018-02-04 17:37:27 +00:00
|
|
|
180, 178, 0, 0, 0, 192, 172, 176, 175, 168,
|
2018-02-03 17:33:22 +00:00
|
|
|
170, 169, 191, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 403, 0, 0, 166, 167, 171,
|
2018-02-03 12:29:23 +00:00
|
|
|
173, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
2018-02-04 17:37:27 +00:00
|
|
|
182, 174, 177, 179, 180, 178, 427, 0, 0, 192,
|
|
|
|
172, 176, 175, 168, 170, 169, 191, 0, 0, 0,
|
2018-02-01 14:07:18 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 166, 167, 171, 173, 185, 186, 183, 184, 187,
|
|
|
|
188, 189, 190, 181, 182, 174, 177, 179, 180, 178,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 192, 172, 176, 175, 0, 0, 0,
|
|
|
|
168, 170, 169, 191, 0, 0, 0, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 166, 167, 171, 173, 185,
|
|
|
|
186, 183, 184, 187, 188, 189, 190, 181, 182, 174,
|
2018-02-04 17:37:27 +00:00
|
|
|
177, 179, 180, 178, 395, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
192, 172, 176, 175, 0, 0, 0, 168, 170, 169,
|
2018-02-03 13:24:00 +00:00
|
|
|
191, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 166, 167, 171, 173, 185, 186, 183, 184,
|
|
|
|
187, 188, 189, 190, 181, 182, 174, 177, 179, 180,
|
2018-02-04 17:37:27 +00:00
|
|
|
178, 345, 0, 0, 0, 0, 0, 192, 172, 176,
|
|
|
|
175, 0, 0, 0, 168, 170, 169, 191, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 166,
|
|
|
|
167, 171, 173, 185, 186, 183, 184, 187, 188, 189,
|
2018-02-04 17:37:27 +00:00
|
|
|
190, 181, 182, 174, 177, 179, 180, 178, 344, 0,
|
|
|
|
0, 0, 0, 0, 192, 172, 176, 175, 0, 0,
|
|
|
|
0, 168, 170, 169, 191, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 166, 167, 171, 173,
|
|
|
|
185, 186, 183, 184, 187, 188, 189, 190, 181, 182,
|
|
|
|
174, 177, 179, 180, 178, 165, 0, 0, 0, 0,
|
|
|
|
0, 192, 172, 176, 175, 666, 664, 665, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 166, 167, 171, 173, 185, 186, 183,
|
|
|
|
184, 187, 188, 189, 190, 181, 182, 174, 177, 179,
|
|
|
|
180, 178, 0, 651, 0, 677, 659, 653, 652, 168,
|
|
|
|
170, 169, 191, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 668, 667, 658,
|
|
|
|
660, 671, 672, 669, 670, 673, 675, 674, 676, 661,
|
|
|
|
662, 663, 654, 656, 657, 655, 0, 0, 0, 192,
|
|
|
|
172, 176, 175, 170, 169, 191, 0, 0, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 166, 167, 171, 173, 185, 186, 183, 184, 187,
|
|
|
|
188, 189, 190, 181, 182, 174, 177, 179, 180, 178,
|
|
|
|
0, 0, 192, 172, 176, 175, 169, 191, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 166, 167, 171, 173, 185, 186,
|
|
|
|
183, 184, 187, 188, 189, 190, 181, 182, 174, 177,
|
|
|
|
179, 180, 178, 0, 192, 172, 176, 175, 191, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 166, 167, 171, 173,
|
2018-02-03 17:33:22 +00:00
|
|
|
185, 186, 183, 184, 187, 188, 189, 190, 181, 182,
|
2018-02-04 17:37:27 +00:00
|
|
|
174, 177, 179, 180, 178, 192, 172, 176, 175, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 166, 167, 171,
|
|
|
|
173, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
|
|
|
182, 174, 177, 179, 180, 178, 651, 0, 677, 659,
|
|
|
|
653, 652, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
668, 667, 658, 660, 671, 672, 669, 670, 673, 675,
|
|
|
|
674, 676, 661, 662, 663, 654, 656, 657, 655, 651,
|
|
|
|
0, 0, 659, 653, 652, 191, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 668, 667, 658, 660, 671, 672, 669,
|
|
|
|
670, 673, 675, 674, 676, 661, 662, 663, 654, 656,
|
|
|
|
657, 655, 0, 172, 176, 175, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 651, 0,
|
|
|
|
0, 659, 653, 652, 166, 167, 171, 173, 185, 186,
|
|
|
|
183, 184, 187, 188, 189, 190, 181, 182, 174, 177,
|
|
|
|
179, 180, 178, 667, 658, 660, 671, 672, 669, 670,
|
|
|
|
673, 675, 674, 676, 661, 662, 663, 654, 656, 657,
|
|
|
|
655, 191, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 172,
|
|
|
|
176, 175, 0, 0, 0, 0, 82, 83, 71, 0,
|
|
|
|
104, 105, 125, 87, 120, 0, 0, 0, 0, 0,
|
|
|
|
94, 167, 171, 173, 185, 186, 183, 184, 187, 188,
|
|
|
|
189, 190, 181, 182, 174, 177, 179, 180, 178, 44,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 80, 81, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 51, 95, 0, 93, 109, 110, 111, 106, 107,
|
|
|
|
0, 0, 0, 0, 0, 0, 92, 0, 0, 0,
|
|
|
|
0, 142, 112, 108, 102, 487, 84, 85, 86, 0,
|
|
|
|
0, 0, 0, 79, 52, 0, 0, 0, 77, 41,
|
|
|
|
148, 0, 0, 0, 0, 0, 54, 55, 0, 64,
|
|
|
|
65, 66, 67, 68, 69, 70, 0, 0, 651, 91,
|
|
|
|
76, 659, 653, 652, 0, 62, 480, 96, 0, 0,
|
|
|
|
486, 57, 56, 58, 59, 72, 119, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 658, 660, 671, 672, 669, 670,
|
|
|
|
673, 675, 674, 676, 661, 662, 663, 654, 656, 657,
|
|
|
|
655, 82, 83, 71, 0, 104, 105, 125, 87, 120,
|
|
|
|
0, 0, 0, 0, 0, 94, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 44, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 80, 81, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 51, 95, 0, 93,
|
|
|
|
109, 110, 111, 106, 107, 0, 0, 0, 0, 0,
|
|
|
|
0, 92, 0, 191, 0, 0, 142, 112, 108, 102,
|
|
|
|
487, 84, 85, 86, 0, 0, 0, 0, 79, 52,
|
|
|
|
0, 0, 0, 77, 147, 148, 0, 0, 0, 0,
|
|
|
|
0, 54, 55, 0, 64, 65, 66, 67, 68, 69,
|
|
|
|
70, 172, 176, 175, 91, 76, 0, 0, 0, 0,
|
|
|
|
62, 0, 96, 0, 0, 486, 57, 56, 58, 59,
|
|
|
|
72, 119, 0, 0, 171, 173, 185, 186, 183, 184,
|
|
|
|
187, 188, 189, 190, 181, 182, 174, 177, 179, 180,
|
|
|
|
178, 82, 83, 71, 0, 104, 105, 125, 87, 120,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 94, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 44, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 80, 81, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 51, 95, 0, 93,
|
|
|
|
109, 110, 111, 106, 107, 0, 0, 0, 0, 0,
|
|
|
|
0, 92, 0, 0, 0, 0, 142, 112, 108, 102,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 84, 85, 86, 191, 0, 0, 0, 79, 52,
|
|
|
|
0, 0, 0, 77, 147, 148, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 54, 55, 0, 64, 65, 66, 67, 68, 69,
|
|
|
|
70, 0, 0, 0, 91, 76, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
62, 0, 96, 176, 175, 864, 57, 56, 58, 59,
|
2018-02-04 16:51:44 +00:00
|
|
|
72, 119, 82, 83, 71, 0, 104, 105, 125, 87,
|
2018-02-04 17:37:27 +00:00
|
|
|
120, 0, 0, 0, 0, 0, 94, 185, 186, 183,
|
|
|
|
184, 187, 188, 189, 190, 181, 182, 174, 177, 179,
|
|
|
|
180, 178, 0, 0, 0, 44, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 80, 81, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 51, 95, 0,
|
|
|
|
93, 109, 110, 111, 106, 107, 0, 0, 0, 0,
|
|
|
|
0, 0, 92, 0, 0, 0, 0, 142, 112, 108,
|
|
|
|
102, 0, 84, 85, 86, 0, 0, 0, 0, 79,
|
|
|
|
52, 0, 0, 0, 77, 147, 148, 0, 0, 0,
|
|
|
|
0, 0, 54, 55, 0, 64, 65, 66, 67, 68,
|
|
|
|
69, 70, 0, 0, 0, 91, 76, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 62, 0, 96, 0, 0, 627, 57, 56, 58,
|
2018-02-04 16:51:44 +00:00
|
|
|
59, 72, 119, 82, 83, 71, 0, 104, 105, 125,
|
|
|
|
87, 120, 0, 0, 0, 0, 0, 94, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 44, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 80, 81,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 51, 95,
|
|
|
|
0, 93, 109, 110, 111, 106, 107, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 92, 0, 191, 0, 0, 142, 112,
|
|
|
|
108, 102, 0, 84, 85, 86, 0, 0, 0, 0,
|
|
|
|
79, 52, 0, 0, 0, 77, 147, 148, 0, 0,
|
|
|
|
0, 0, 0, 54, 55, 0, 64, 65, 66, 67,
|
|
|
|
68, 69, 70, 172, 176, 175, 91, 76, 0, 0,
|
|
|
|
0, 0, 62, 0, 96, 0, 0, 625, 57, 56,
|
|
|
|
58, 59, 72, 119, 0, 0, 0, 173, 185, 186,
|
|
|
|
183, 184, 187, 188, 189, 190, 181, 182, 174, 177,
|
|
|
|
179, 180, 178, 82, 83, 71, 0, 104, 105, 125,
|
|
|
|
87, 120, 0, 0, 0, 0, 0, 94, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 44, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 80, 81,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 51, 95,
|
|
|
|
0, 93, 109, 110, 111, 106, 107, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 92, 0, 0, 0, 0, 142, 112,
|
|
|
|
108, 102, 0, 84, 85, 86, 0, 0, 0, 0,
|
|
|
|
79, 52, 0, 0, 0, 77, 147, 148, 0, 0,
|
|
|
|
0, 0, 0, 54, 55, 0, 64, 65, 66, 67,
|
|
|
|
68, 69, 70, 0, 0, 0, 91, 76, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 62, 0, 96, 0, 0, 291, 57, 56,
|
2018-02-04 16:51:44 +00:00
|
|
|
58, 59, 72, 119, 82, 83, 71, 0, 104, 105,
|
|
|
|
125, 87, 120, 0, 0, 0, 0, 0, 94, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 44, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 80,
|
|
|
|
81, 0, 0, 0, 0, 0, 0, 0, 0, 51,
|
|
|
|
95, 0, 93, 109, 110, 111, 106, 107, 0, 0,
|
|
|
|
0, 0, 0, 0, 92, 0, 0, 0, 0, 142,
|
2018-02-04 17:37:27 +00:00
|
|
|
112, 108, 102, 0, 84, 85, 86, 0, 191, 0,
|
|
|
|
0, 79, 52, 0, 0, 0, 77, 41, 148, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 54, 55, 0, 64, 65, 66,
|
|
|
|
67, 68, 69, 70, 0, 0, 0, 91, 76, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 62, 429, 96, 172, 176, 175, 57,
|
2018-02-04 16:51:44 +00:00
|
|
|
56, 58, 59, 72, 119, 82, 83, 71, 0, 104,
|
|
|
|
105, 125, 87, 120, 0, 0, 0, 0, 0, 94,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 185, 186, 183, 184, 187, 188, 189, 190, 181,
|
|
|
|
182, 174, 177, 179, 180, 178, 0, 0, 44, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
80, 81, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
51, 95, 0, 93, 109, 110, 111, 106, 107, 0,
|
|
|
|
0, 0, 0, 0, 0, 92, 0, 0, 0, 0,
|
|
|
|
142, 112, 108, 102, 0, 84, 85, 86, 0, 0,
|
|
|
|
0, 0, 79, 52, 0, 0, 0, 77, 147, 148,
|
|
|
|
0, 0, 0, 0, 0, 54, 55, 0, 64, 65,
|
|
|
|
66, 67, 68, 69, 70, 0, 0, 0, 91, 76,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 62, 0, 96, 0, 0, 405,
|
2018-02-04 16:51:44 +00:00
|
|
|
57, 56, 58, 59, 72, 119, 82, 83, 71, 0,
|
|
|
|
104, 105, 125, 87, 120, 0, 0, 0, 0, 0,
|
|
|
|
94, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 44,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 80, 81, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 51, 95, 0, 93, 109, 110, 111, 106, 107,
|
|
|
|
0, 0, 0, 0, 0, 0, 92, 0, 0, 0,
|
|
|
|
0, 142, 112, 108, 102, 0, 84, 85, 86, 0,
|
|
|
|
0, 0, 0, 79, 52, 0, 0, 0, 77, 147,
|
|
|
|
148, 0, 0, 0, 0, 0, 54, 55, 0, 64,
|
2018-02-04 17:37:27 +00:00
|
|
|
65, 66, 67, 68, 69, 70, 0, 0, 0, 91,
|
|
|
|
76, 0, 0, 0, 386, 62, 0, 96, 0, 0,
|
|
|
|
0, 57, 56, 58, 59, 72, 119, 82, 83, 71,
|
|
|
|
0, 104, 105, 125, 87, 120, 0, 0, 0, 0,
|
|
|
|
0, 94, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
44, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 80, 81, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 51, 95, 0, 93, 109, 110, 111, 106,
|
|
|
|
107, 0, 0, 0, 0, 0, 0, 92, 0, 0,
|
|
|
|
0, 0, 142, 112, 108, 102, 0, 84, 85, 86,
|
|
|
|
0, 0, 0, 0, 79, 52, 0, 0, 0, 77,
|
|
|
|
147, 148, 0, 0, 0, 0, 0, 54, 55, 0,
|
|
|
|
64, 65, 66, 67, 68, 69, 70, 0, 0, 0,
|
|
|
|
91, 76, 0, 0, 151, 0, 62, 0, 96, 0,
|
|
|
|
0, 0, 57, 56, 58, 59, 72, 119, 82, 83,
|
|
|
|
71, 0, 104, 105, 125, 87, 120, 0, 0, 0,
|
|
|
|
0, 0, 94, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 44, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 80, 81, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 51, 95, 0, 93, 109, 110, 111,
|
|
|
|
106, 107, 0, 0, 0, 0, 0, 0, 92, 0,
|
|
|
|
0, 0, 0, 142, 112, 108, 102, 0, 84, 85,
|
|
|
|
86, 0, 0, 0, 0, 79, 52, 0, 0, 0,
|
|
|
|
77, 147, 148, 0, 0, 0, 0, 0, 54, 55,
|
|
|
|
0, 64, 65, 66, 67, 68, 69, 70, 0, 0,
|
|
|
|
0, 91, 76, 0, 0, 149, 0, 62, 0, 96,
|
|
|
|
0, 0, 0, 57, 56, 58, 59, 72, 119, 82,
|
|
|
|
83, 71, 0, 104, 105, 125, 87, 120, 0, 0,
|
|
|
|
0, 0, 0, 94, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 44, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 80, 81, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 51, 95, 0, 93, 109, 110,
|
|
|
|
111, 106, 107, 0, 0, 0, 0, 0, 0, 92,
|
|
|
|
0, 0, 0, 0, 142, 112, 108, 102, 0, 84,
|
|
|
|
85, 86, 0, 0, 0, 0, 79, 52, 0, 0,
|
|
|
|
0, 77, 147, 148, 0, 0, 0, 0, 0, 54,
|
|
|
|
55, 0, 64, 65, 66, 67, 68, 69, 70, 0,
|
|
|
|
0, 0, 91, 76, 0, 0, 145, 0, 62, 0,
|
|
|
|
96, 0, 0, 0, 57, 56, 58, 59, 72, 119,
|
|
|
|
82, 83, 71, 0, 104, 105, 125, 87, 120, 0,
|
|
|
|
0, 0, 0, 0, 94, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 44, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 80, 81, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 51, 95, 0, 93, 109,
|
|
|
|
110, 111, 106, 107, 0, 0, 0, 0, 0, 0,
|
|
|
|
92, 0, 0, 0, 0, 142, 112, 108, 102, 0,
|
|
|
|
84, 85, 86, 0, 0, 0, 0, 79, 52, 0,
|
|
|
|
0, 0, 77, 147, 148, 0, 0, 0, 0, 0,
|
|
|
|
54, 55, 0, 64, 65, 66, 67, 68, 69, 70,
|
|
|
|
0, 0, 0, 91, 76, 0, 0, 0, 0, 62,
|
|
|
|
0, 96, 0, 0, 0, 57, 56, 58, 59, 72,
|
|
|
|
119, 82, 83, 71, 0, 104, 105, 125, 440, 120,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 94, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 44, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 80, 81, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 51, 95, 0, 93,
|
|
|
|
109, 110, 111, 106, 107, 0, 0, 0, 0, 0,
|
|
|
|
0, 92, 0, 0, 0, 0, 142, 112, 108, 102,
|
|
|
|
0, 84, 85, 86, 0, 0, 0, 0, 79, 52,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 77, 147, 148, 0, 0, 0, 0,
|
|
|
|
0, 54, 55, 0, 64, 65, 66, 67, 68, 69,
|
|
|
|
70, 0, 0, 0, 91, 76, 0, 0, 0, 0,
|
|
|
|
62, 0, 96, 0, 0, 0, 57, 56, 58, 59,
|
2018-02-04 16:51:44 +00:00
|
|
|
72, 119, 82, 83, 71, 0, 104, 105, 125, 87,
|
2018-02-03 10:09:02 +00:00
|
|
|
120, 0, 0, 0, 0, 0, 94, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 44, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 80, 81, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 51, 95, 0,
|
|
|
|
93, 109, 110, 111, 106, 107, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 92, 0, 0, 0, 0, 142, 112, 108,
|
2018-02-03 10:09:02 +00:00
|
|
|
102, 0, 84, 85, 86, 0, 0, 0, 0, 79,
|
2018-02-04 16:51:44 +00:00
|
|
|
52, 104, 105, 125, 77, 41, 148, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 527, 54, 55, 0, 64, 65, 66, 67, 68,
|
2018-02-03 10:09:02 +00:00
|
|
|
69, 70, 0, 0, 0, 91, 76, 0, 0, 0,
|
|
|
|
0, 62, 0, 96, 0, 0, 0, 57, 56, 58,
|
2018-02-04 16:51:44 +00:00
|
|
|
59, 72, 119, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 522, 0, 525, 109, 110, 111, 106,
|
|
|
|
107, 0, 0, 0, 0, 0, 0, 528, 0, 0,
|
|
|
|
0, 0, 520, 112, 108, 521, 104, 105, 125, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 527, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 232, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 785, 534, 0, 523, 0,
|
|
|
|
0, 0, 533, 532, 530, 531, 0, 0, 522, 0,
|
|
|
|
525, 109, 110, 111, 106, 107, 0, 0, 0, 0,
|
|
|
|
0, 0, 528, 0, 0, 0, 0, 520, 112, 108,
|
|
|
|
521, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 232, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 534, 0, 523, 0, 0, 0, 533, 532, 530,
|
|
|
|
531,
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
var yyPact = [...]int{
|
|
|
|
|
2018-02-04 17:37:27 +00:00
|
|
|
-1000, -1000, 2402, -1000, -1000, -1000, -1000, 340, 605, 676,
|
|
|
|
153, -1000, 346, -1000, -1000, 955, -1000, 285, 285, 5022,
|
|
|
|
336, 285, 7755, 7624, 7493, 415, 197, 798, 7886, -1000,
|
|
|
|
5684, 335, 333, 332, -1000, 460, 7886, 951, 100, 949,
|
|
|
|
947, 7886, -1000, -1000, -1000, -1000, 718, -1000, 717, -1000,
|
|
|
|
1182, 330, 7886, 476, 700, 700, 7886, 7886, 7886, 7886,
|
|
|
|
-1000, -1000, 8148, -1000, 7886, 7886, 7886, 7886, 7886, 7886,
|
|
|
|
7886, 328, 7886, -1000, 218, 213, 950, 7886, 699, 706,
|
|
|
|
327, 326, 7886, 7886, 325, 7886, 7886, -1000, 212, -1000,
|
|
|
|
-1000, 912, 897, -1000, 207, 324, 6969, -1000, 205, 199,
|
|
|
|
-1000, 304, 913, 622, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, 158, 193, -1000, 610, 287, -1000, 451,
|
|
|
|
-1000, 273, 362, -1000, 913, -1000, 150, 627, 617, -1000,
|
|
|
|
694, 913, -1000, 946, -1000, 26, 4105, 4891, 8148, 4760,
|
|
|
|
793, 100, 538, 7886, 323, -1000, 5637, -1000, 762, -1000,
|
|
|
|
5590, -1000, 408, 1234, 5772, -1000, 149, -1000, -1000, 382,
|
|
|
|
145, 100, 10, 60, 5772, -1000, 7886, 7886, 7886, 7886,
|
|
|
|
7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886,
|
|
|
|
7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886,
|
|
|
|
7886, 706, 7362, 700, 7886, 943, -1000, 5543, 407, 365,
|
|
|
|
-1000, 713, 709, -1000, 1182, 5496, -1000, -1000, 7231, 7886,
|
|
|
|
7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886, 7886,
|
|
|
|
7886, 129, -1000, -1000, -1000, -1000, -1000, 304, 537, 913,
|
|
|
|
568, 567, -1000, -1000, -120, -120, -25, -120, 272, 5452,
|
|
|
|
267, -120, -120, -120, -120, -120, -120, -120, -1000, 7100,
|
|
|
|
-1000, -120, 7886, 7886, 441, 735, 719, -1000, 262, 8017,
|
|
|
|
700, 5898, 141, 287, 563, -1000, 528, 536, 913, 683,
|
|
|
|
158, 193, 561, 7886, 7886, 5772, 5772, 7886, 5772, 5772,
|
|
|
|
7886, 531, 735, 731, -1000, 755, 7886, 6969, 185, 89,
|
|
|
|
5408, 700, 7886, 7886, 940, -1000, 6252, 304, 65, 7886,
|
|
|
|
7886, 158, 451, 181, -1000, 7886, 406, -1000, -1000, 2271,
|
|
|
|
304, -1000, 639, 29, -1000, 621, 913, 28, -1000, 613,
|
|
|
|
913, 938, 611, 9, 8308, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
317, -1000, -1000, -1000, -1000, -1000, 285, 314, 405, 68,
|
|
|
|
5772, -1000, 404, 402, -1000, -1000, -1000, -1000, -1000, 197,
|
|
|
|
-1000, 7886, -1000, -1000, 852, 313, 8308, -1000, 7886, 6121,
|
|
|
|
6393, 5815, 5898, 5857, 6805, 6554, 7098, -9, -9, -9,
|
|
|
|
-25, -120, -25, -25, 71, 71, 1026, 1026, 1026, 1026,
|
|
|
|
251, 251, 251, 251, -1000, 5364, 7886, 80, -1000, -1000,
|
|
|
|
1117, 780, 78, -6, 3974, -1000, -1000, 312, 684, 677,
|
|
|
|
619, 450, 619, 7886, 5898, 200, 5898, 5898, 5898, 5898,
|
|
|
|
5898, 5898, 5898, 5898, 5898, 5898, 5898, 5898, 63, -1000,
|
|
|
|
-1000, 305, 913, 304, 141, 141, 253, -1000, -1000, -1000,
|
|
|
|
183, 5772, 180, -1000, -1000, -1000, -1000, 889, 933, 5318,
|
|
|
|
191, 419, 287, 176, -1000, -1000, 158, 193, -1000, 7886,
|
|
|
|
-1000, -1000, 173, 913, 528, 141, 158, 173, 62, -1000,
|
|
|
|
1182, -1000, 714, 266, 5270, 164, -1000, -1000, -1000, 163,
|
|
|
|
265, -1000, -1000, 6819, 6688, -1000, -1000, 161, 155, -1000,
|
|
|
|
-1000, 41, 264, -1000, -1000, 1182, 700, 7886, -1000, 287,
|
|
|
|
287, -1000, -1000, 152, 5226, 287, 287, -1000, 5178, -1000,
|
|
|
|
2140, -1000, -1000, -1000, -1000, 627, 927, 607, -1000, 617,
|
|
|
|
925, 603, -1000, 924, 8308, -1000, 5728, -1000, -1000, 528,
|
|
|
|
530, 913, 302, 8308, -1000, -1000, -1000, -1000, 705, 560,
|
|
|
|
8308, 8308, 8308, 8308, 8308, 259, 509, 4236, 3843, 400,
|
|
|
|
7886, 7886, 458, -1000, 914, -1000, -1000, 5130, -10, 684,
|
|
|
|
-1000, 5772, 7886, 6025, 399, 700, 410, 410, 4629, 921,
|
|
|
|
8308, 756, 684, 255, 48, -1000, 100, -1000, -1000, -1000,
|
|
|
|
528, 529, 913, 447, 619, -1000, -1000, 33, -1000, -1000,
|
|
|
|
1182, -1000, 706, -13, 129, 129, 304, -1000, -1000, 236,
|
|
|
|
682, 7886, -1000, 141, -1000, -1000, 142, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 7886, -1000, -1000, 189, 174, -1000, 7886, 7886,
|
|
|
|
158, 5082, -1000, 528, -1000, -1000, -1000, 7886, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 5034, 700, 5772, 700, -1000, -1000,
|
|
|
|
-1000, 6407, -1000, -1000, 5772, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, 917, -1000, -1000, 916, -1000,
|
|
|
|
-1000, 8308, 8308, 8308, 8308, 8308, 8308, 8308, 8308, 8308,
|
|
|
|
8308, 8308, 8308, 8308, 8308, 8308, 8308, 8308, 8308, 8308,
|
|
|
|
8308, 8308, 8308, 8308, 8308, 8308, 8308, 8233, 913, 528,
|
|
|
|
8308, 139, 42, 1939, 650, 761, -65, -65, -58, -58,
|
|
|
|
1889, 396, -1000, 285, 5022, 506, 390, -1000, 383, 5772,
|
|
|
|
-1000, 7886, 310, 440, 379, 884, -1000, 8308, 247, 6025,
|
|
|
|
-1000, -1000, 668, -1000, 700, 298, 668, -1000, -1000, -1000,
|
|
|
|
-16, -1000, 742, 296, 246, 739, 684, 505, 913, 528,
|
|
|
|
-1000, 33, 1744, 619, 287, 7886, -1000, 24, 7886, 682,
|
|
|
|
-1000, 133, 287, -1000, 1788, 682, 7886, 7886, 106, 1732,
|
|
|
|
-1000, 673, -1000, 6557, -1000, -1000, -1000, -1000, -1000, 1649,
|
|
|
|
-58, -58, -65, -65, -65, -65, 1538, 1803, 911, -51,
|
|
|
|
-51, -58, 1460, 5941, 91, 6243, 6043, -66, -66, -66,
|
|
|
|
-66, 8, 8, 8, 8, 8308, 1187, 528, 245, -1000,
|
|
|
|
-1000, 8308, 8308, -1000, -1000, -1000, -1000, 5022, -1000, 494,
|
|
|
|
285, 311, -1000, 7886, 1049, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
377, -1000, 739, 244, 410, -1000, 129, 242, 3712, 8308,
|
|
|
|
-1000, 443, 619, 436, 433, 282, -1000, 851, -1000, 528,
|
|
|
|
1009, -1000, -1000, 827, 1, -1000, 762, 493, -1000, 910,
|
|
|
|
619, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
5898, -1000, 105, -1000, -1000, 417, -1000, 103, -56, -1000,
|
|
|
|
-1000, -1000, 141, 5772, 700, -1000, 5984, 8308, -1000, 1598,
|
|
|
|
5728, -1000, 375, 229, -1000, 240, -1000, 4236, -1000, 428,
|
|
|
|
4498, -1000, 19, 4498, 374, -1000, -1000, 825, -1000, -1000,
|
|
|
|
227, -53, -1000, -17, -54, -1000, 908, 100, -1000, -63,
|
|
|
|
-50, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 5984, 8308,
|
|
|
|
-1000, -1000, 4236, 4367, 4236, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 3581, 239, 3450, 3319, -48, -1000, 824, 8308,
|
|
|
|
-1000, 821, 8308, -64, 903, 8308, -1000, 619, -1000, 623,
|
|
|
|
5728, 4236, -1000, -1000, -1000, 3188, 3057, -1000, 426, -1000,
|
|
|
|
-1000, -1000, 194, -1000, -1000, -75, -1000, 8308, 277, -1000,
|
|
|
|
-1000, 366, 623, -1000, 364, 363, 732, 776, 544, -1000,
|
|
|
|
2926, -1000, 361, -1000, -1000, 817, 8308, -1000, 684, -1000,
|
|
|
|
-1000, -1000, -1000, 619, 493, 898, 355, -1000, 2795, -1000,
|
|
|
|
-1000, 238, -47, -1000, 895, -1000, -1000, -1000, 746, 358,
|
|
|
|
619, -1000, -1000, 746, -1000, 275, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, 619, 2664, 815, -1000, 228, 384, -1000, 2533, -1000,
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
var yyPgo = [...]int{
|
|
|
|
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 29, 1152, 1151, 46, 40, 44, 571, 1149, 1148,
|
|
|
|
4, 217, 134, 42, 1383, 110, 66, 54, 791, 1447,
|
|
|
|
1145, 31, 1144, 1143, 1142, 124, 1141, 43, 86, 1140,
|
|
|
|
1135, 1134, 1133, 90, 1131, 1130, 26, 1128, 28, 45,
|
|
|
|
49, 1126, 738, 33, 1125, 1, 1124, 1122, 17, 1121,
|
|
|
|
68, 50, 48, 1120, 1119, 1118, 1117, 1115, 34, 13,
|
|
|
|
1113, 1101, 2, 1100, 1099, 1098, 19, 1097, 1096, 1094,
|
|
|
|
1093, 1092, 52, 3, 1091, 1090, 1089, 1088, 1087, 6,
|
2018-02-04 18:55:45 +00:00
|
|
|
1084, 630, 1083, 58, 0, 1081, 1080, 1062, 105, 1061,
|
|
|
|
1060, 604, 1059, 1058, 62, 11, 1057, 8, 1055, 1054,
|
|
|
|
1052, 12, 38, 1051, 1049, 1046, 1045, 1043, 1035, 14,
|
|
|
|
1033, 23, 1031, 1030, 1029, 1028, 1025, 30, 1023, 1020,
|
|
|
|
1015, 1014, 1011, 1007, 1004, 25, 998, 997, 996, 27,
|
|
|
|
990, 15, 16, 987, 37, 986, 983, 981, 978, 41,
|
|
|
|
7, 20, 18, 22, 970, 969, 968, 5, 960, 921,
|
|
|
|
21, 24,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR1 = [...]int{
|
|
|
|
|
2018-02-04 18:55:45 +00:00
|
|
|
0, 149, 83, 83, 84, 84, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 85, 85, 4,
|
|
|
|
4, 4, 4, 86, 86, 5, 5, 5, 5, 87,
|
|
|
|
87, 6, 6, 6, 6, 53, 53, 88, 88, 24,
|
2018-02-03 17:33:22 +00:00
|
|
|
24, 24, 24, 25, 25, 26, 26, 26, 26, 26,
|
|
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
2018-02-04 18:55:45 +00:00
|
|
|
26, 26, 26, 106, 106, 61, 61, 107, 107, 108,
|
|
|
|
108, 62, 104, 104, 58, 51, 52, 147, 147, 148,
|
|
|
|
148, 63, 64, 64, 67, 67, 67, 67, 68, 68,
|
|
|
|
2, 116, 116, 112, 112, 117, 117, 141, 141, 140,
|
|
|
|
140, 140, 57, 57, 59, 59, 60, 60, 105, 105,
|
|
|
|
144, 144, 144, 144, 102, 102, 102, 150, 150, 56,
|
|
|
|
56, 98, 98, 99, 99, 54, 54, 55, 55, 109,
|
|
|
|
109, 110, 110, 66, 66, 65, 65, 65, 65, 143,
|
|
|
|
143, 143, 118, 118, 72, 72, 72, 72, 89, 89,
|
|
|
|
27, 27, 27, 90, 90, 90, 90, 111, 111, 69,
|
|
|
|
69, 69, 69, 71, 119, 119, 146, 146, 120, 120,
|
|
|
|
121, 121, 73, 73, 74, 122, 122, 77, 77, 76,
|
|
|
|
75, 75, 78, 78, 145, 145, 113, 113, 114, 114,
|
|
|
|
123, 123, 79, 79, 79, 79, 79, 79, 115, 115,
|
|
|
|
115, 115, 70, 70, 103, 103, 101, 101, 100, 100,
|
|
|
|
129, 129, 127, 127, 128, 128, 128, 130, 130, 42,
|
2018-02-04 17:37:27 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
2018-02-03 17:33:22 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
2018-02-04 17:37:27 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 50, 50, 50, 50, 47, 47,
|
2018-02-04 18:55:45 +00:00
|
|
|
47, 47, 46, 46, 1, 97, 97, 96, 96, 96,
|
|
|
|
96, 23, 23, 23, 23, 23, 23, 23, 23, 11,
|
2018-02-04 17:37:27 +00:00
|
|
|
11, 11, 11, 45, 45, 45, 43, 43, 41, 41,
|
2018-02-04 18:55:45 +00:00
|
|
|
137, 137, 136, 49, 49, 49, 124, 124, 124, 142,
|
|
|
|
142, 7, 7, 7, 7, 7, 7, 7, 7, 7,
|
|
|
|
7, 7, 7, 8, 28, 81, 81, 81, 81, 81,
|
|
|
|
81, 81, 81, 81, 81, 82, 82, 82, 82, 82,
|
|
|
|
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
|
|
|
|
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
|
|
|
|
82, 82, 82, 82, 82, 82, 82, 82, 35, 35,
|
|
|
|
35, 35, 29, 29, 29, 29, 29, 29, 29, 125,
|
|
|
|
125, 151, 151, 126, 126, 126, 126, 14, 14, 48,
|
|
|
|
48, 16, 17, 18, 19, 19, 138, 138, 131, 133,
|
|
|
|
133, 80, 132, 132, 132, 40, 40, 44, 44, 12,
|
2018-02-04 17:37:27 +00:00
|
|
|
22, 22, 20, 20, 20, 21, 21, 21, 10, 10,
|
2018-02-04 18:55:45 +00:00
|
|
|
10, 9, 9, 13, 13, 134, 134, 135, 135, 135,
|
|
|
|
39, 39, 139, 139, 95, 95, 38, 38, 38, 94,
|
|
|
|
94, 93, 93, 93, 93, 93, 93, 93, 93, 91,
|
|
|
|
91, 91, 91, 33, 33, 33, 33, 33, 33, 34,
|
2018-02-04 17:37:27 +00:00
|
|
|
34, 34, 37, 37, 37, 37, 37, 37, 37, 37,
|
2018-02-04 18:55:45 +00:00
|
|
|
92, 92, 36, 36, 30, 30, 31, 32,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR2 = [...]int{
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 1, 2, 0, 1, 3, 1, 1, 1, 4,
|
|
|
|
3, 5, 4, 3, 4, 4, 2, 3, 1, 1,
|
|
|
|
3, 2, 4, 3, 1, 1, 3, 2, 4, 3,
|
2018-01-29 19:12:12 +00:00
|
|
|
1, 1, 3, 2, 4, 5, 4, 2, 0, 1,
|
2018-02-03 12:29:23 +00:00
|
|
|
1, 1, 4, 1, 2, 3, 5, 8, 3, 5,
|
|
|
|
9, 3, 2, 3, 2, 3, 2, 3, 3, 2,
|
2018-02-03 13:24:00 +00:00
|
|
|
3, 3, 3, 1, 2, 5, 8, 8, 5, 1,
|
|
|
|
6, 3, 3, 0, 9, 0, 4, 1, 0, 1,
|
|
|
|
2, 8, 1, 3, 1, 1, 1, 0, 1, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
1, 9, 7, 6, 1, 2, 1, 2, 0, 2,
|
|
|
|
1, 0, 2, 0, 2, 1, 3, 0, 2, 1,
|
|
|
|
2, 4, 1, 4, 1, 4, 1, 4, 3, 5,
|
|
|
|
3, 4, 4, 5, 0, 5, 4, 1, 1, 1,
|
|
|
|
4, 0, 4, 0, 5, 0, 2, 0, 3, 1,
|
|
|
|
0, 1, 3, 4, 6, 0, 1, 1, 1, 2,
|
|
|
|
3, 3, 1, 3, 1, 1, 2, 2, 3, 1,
|
|
|
|
1, 2, 4, 3, 5, 1, 3, 2, 0, 3,
|
|
|
|
2, 1, 8, 3, 1, 3, 1, 3, 0, 1,
|
|
|
|
1, 2, 2, 2, 3, 1, 3, 1, 1, 3,
|
|
|
|
4, 3, 0, 1, 1, 3, 1, 1, 0, 1,
|
|
|
|
1, 2, 1, 1, 1, 1, 1, 1, 3, 5,
|
|
|
|
1, 3, 5, 4, 3, 1, 0, 1, 3, 1,
|
2018-02-04 16:51:44 +00:00
|
|
|
2, 1, 4, 3, 2, 1, 1, 0, 1, 3,
|
2018-02-04 17:37:27 +00:00
|
|
|
6, 3, 4, 6, 2, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 2, 2, 2,
|
|
|
|
2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-02-04 16:51:44 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 2, 2,
|
2018-02-04 17:37:27 +00:00
|
|
|
2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 1, 1, 4, 5, 4, 1, 2, 2, 2,
|
|
|
|
2, 2, 2, 2, 2, 2, 1, 1, 1, 3,
|
|
|
|
2, 1, 9, 10, 2, 2, 4, 4, 4, 4,
|
|
|
|
4, 4, 4, 3, 1, 0, 4, 3, 4, 1,
|
|
|
|
2, 2, 4, 3, 4, 4, 4, 4, 2, 1,
|
|
|
|
1, 3, 2, 1, 3, 2, 1, 1, 4, 1,
|
|
|
|
2, 0, 2, 0, 2, 1, 0, 1, 1, 0,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 3, 2, 3, 1, 1, 1, 1, 3, 2,
|
|
|
|
4, 3, 1, 1, 1, 4, 3, 3, 3, 3,
|
|
|
|
3, 3, 2, 2, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:42:52 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-02-04 17:37:27 +00:00
|
|
|
3, 3, 3, 4, 5, 2, 2, 3, 1, 1,
|
|
|
|
3, 2, 1, 1, 1, 1, 3, 3, 1, 0,
|
|
|
|
2, 0, 1, 5, 3, 3, 1, 1, 1, 3,
|
|
|
|
3, 1, 1, 1, 5, 1, 2, 0, 3, 4,
|
|
|
|
4, 1, 1, 1, 0, 1, 2, 3, 3, 1,
|
|
|
|
4, 4, 1, 1, 1, 1, 2, 1, 4, 4,
|
|
|
|
1, 1, 4, 0, 1, 1, 1, 4, 4, 1,
|
|
|
|
1, 3, 1, 2, 3, 1, 1, 4, 0, 0,
|
|
|
|
2, 5, 3, 3, 1, 6, 4, 4, 2, 2,
|
|
|
|
2, 1, 2, 1, 4, 3, 3, 6, 3, 1,
|
|
|
|
1, 1, 4, 4, 4, 2, 2, 4, 2, 2,
|
|
|
|
1, 3, 1, 1, 3, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyChk = [...]int{
|
|
|
|
|
2018-02-04 18:55:45 +00:00
|
|
|
-1000, -149, -83, -3, -25, -51, -52, 51, 79, 44,
|
2018-02-03 17:33:22 +00:00
|
|
|
-53, -26, 10, -63, -64, 38, 119, 7, 21, 20,
|
|
|
|
23, 30, 34, 35, 39, -50, 46, 98, 19, 14,
|
|
|
|
-14, 48, 25, 27, 121, 40, 43, 36, -1, -67,
|
|
|
|
-2, 97, -16, -15, 37, 52, 99, 53, 100, 54,
|
|
|
|
-19, 59, 92, -18, 104, 105, 130, 129, 131, 132,
|
|
|
|
-48, -42, 123, -37, 107, 108, 109, 110, 111, 112,
|
|
|
|
113, 6, 133, -29, -47, -46, 118, 96, -20, 91,
|
|
|
|
49, 50, 4, 5, 84, 85, 86, 11, -35, -32,
|
|
|
|
-7, 117, 74, 62, 18, 60, 125, -21, -22, -23,
|
2018-02-04 18:55:45 +00:00
|
|
|
-30, -84, 82, -11, 8, 9, 66, 67, 81, 63,
|
|
|
|
64, 65, 80, -10, -139, -44, -12, -40, -9, 134,
|
|
|
|
12, 123, -84, 119, 82, 10, -85, 37, 38, -4,
|
|
|
|
-84, 82, 121, 135, 122, 10, -88, -48, 123, -48,
|
2018-02-03 17:33:22 +00:00
|
|
|
-25, -1, 79, 123, -48, 121, -14, 97, 98, 121,
|
2018-02-04 18:55:45 +00:00
|
|
|
-14, 121, -15, -19, -14, 121, -89, -27, 12, 134,
|
|
|
|
-90, -1, 12, -103, -14, 121, 149, 150, 87, 89,
|
2018-01-29 14:11:45 +00:00
|
|
|
88, 151, 128, 152, 163, 130, 129, 164, 167, 165,
|
|
|
|
166, 161, 162, 155, 156, 153, 154, 157, 158, 159,
|
2018-02-04 18:55:45 +00:00
|
|
|
160, 90, 127, 123, 123, 123, 119, -14, 10, -147,
|
2018-02-03 17:33:22 +00:00
|
|
|
128, 10, 10, -15, -19, -14, 52, 52, 136, 137,
|
2018-01-29 14:11:45 +00:00
|
|
|
138, 139, 148, 140, 141, 142, 143, 144, 145, 146,
|
2018-02-04 18:55:45 +00:00
|
|
|
147, 123, -14, 104, 105, -18, -19, -84, 79, 82,
|
2018-02-03 17:33:22 +00:00
|
|
|
-11, -12, 98, -18, -14, -14, -14, -14, -42, -14,
|
|
|
|
-50, -14, -14, -14, -14, -14, -14, -14, -49, 123,
|
2018-02-04 18:55:45 +00:00
|
|
|
-48, -14, 125, 125, -124, 17, -91, -33, 12, 76,
|
|
|
|
77, -14, 57, -43, -11, -41, -84, 79, 82, -21,
|
|
|
|
-10, -139, -12, 123, 123, -14, -14, 123, -14, -14,
|
|
|
|
125, -91, 17, 17, 75, -91, 125, 123, -94, -93,
|
|
|
|
-14, 128, 125, 125, 82, -143, 123, -84, 78, 125,
|
|
|
|
119, -10, 134, 78, -143, 119, 124, 121, 119, -83,
|
|
|
|
-84, 121, 135, -86, -5, -84, 82, -87, -6, -84,
|
|
|
|
82, 29, -84, 10, 136, -24, 120, -25, -51, -52,
|
|
|
|
51, -25, 122, -56, -25, 122, 21, -147, -101, -100,
|
|
|
|
-14, -144, 119, 122, 121, 121, 121, 121, 121, 135,
|
|
|
|
-16, 119, -19, 121, 135, -147, 136, 121, 135, -14,
|
2018-02-03 17:33:22 +00:00
|
|
|
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
|
2018-02-04 17:37:27 +00:00
|
|
|
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
|
2018-02-04 18:55:45 +00:00
|
|
|
-14, -14, -14, -14, -43, -14, 122, -104, -58, -19,
|
|
|
|
-19, -15, -105, 10, -88, 121, 121, 10, 123, -68,
|
|
|
|
55, -116, 55, 58, -14, 128, -14, -14, -14, -14,
|
|
|
|
-14, -14, -14, -14, -14, -14, -14, -14, -95, -38,
|
|
|
|
-19, 59, 82, -84, 78, 78, 124, 124, 124, 124,
|
2018-02-04 17:37:27 +00:00
|
|
|
-13, -14, -13, 118, -33, -33, 17, 125, 57, -14,
|
2018-02-04 18:55:45 +00:00
|
|
|
11, -19, -134, -135, -40, -39, -10, -139, 10, 119,
|
|
|
|
-142, -143, 78, 82, -84, 57, -10, 78, -92, -36,
|
2018-02-04 17:37:27 +00:00
|
|
|
-19, -15, -19, -15, -14, -13, 117, 75, 75, -13,
|
2018-02-04 18:55:45 +00:00
|
|
|
-94, 126, -151, 135, 58, -17, -19, -13, -13, 10,
|
|
|
|
124, -118, -50, -72, -15, -19, 128, 83, -143, -39,
|
2018-02-04 17:37:27 +00:00
|
|
|
-40, 10, 52, -13, -14, -39, -40, 10, -14, 121,
|
2018-02-04 18:55:45 +00:00
|
|
|
-83, 120, -143, -4, 121, 135, 29, -84, 121, 135,
|
|
|
|
29, -84, 10, 29, 136, -28, -81, -7, -31, -84,
|
|
|
|
79, 82, 60, 125, -8, 62, -82, 18, 74, -11,
|
|
|
|
131, 132, 130, 129, 123, 123, -98, -88, -88, -48,
|
|
|
|
121, 135, -102, 121, -102, 121, -27, -14, 12, 123,
|
2018-02-04 17:37:27 +00:00
|
|
|
-28, -14, 122, -14, 124, 135, 29, 29, 124, 135,
|
2018-02-04 18:55:45 +00:00
|
|
|
136, 120, 123, -109, -110, -66, -65, 60, 61, -45,
|
|
|
|
-84, 79, 82, -112, 56, -45, 119, -117, -45, -15,
|
|
|
|
-19, -19, 91, 124, 135, 123, -84, -130, -128, -127,
|
|
|
|
-129, 125, -131, 57, 126, 126, -34, 10, 13, 12,
|
|
|
|
10, 120, 125, 120, -132, -80, -133, -143, 125, 119,
|
|
|
|
-10, -14, -40, -84, -134, -40, 124, 135, 124, 124,
|
2018-02-04 17:37:27 +00:00
|
|
|
124, 126, 126, 124, -14, 128, -14, 128, 126, 126,
|
2018-02-04 18:55:45 +00:00
|
|
|
124, 135, 124, -17, -14, -143, -143, 126, 120, -143,
|
|
|
|
-143, 120, 120, -5, 10, 29, -6, 10, 29, 10,
|
2018-02-04 17:37:27 +00:00
|
|
|
-28, 125, 130, 129, 164, 167, 165, 166, 151, 128,
|
|
|
|
152, 161, 162, 163, 88, 89, 87, 150, 149, 155,
|
2018-02-04 18:55:45 +00:00
|
|
|
156, 153, 154, 157, 159, 158, 160, 127, 82, -84,
|
|
|
|
123, -125, -126, -81, 17, 78, -81, -81, -81, -81,
|
|
|
|
-81, 124, -54, 93, 94, -99, 22, 121, -101, -14,
|
|
|
|
120, 32, 33, -102, 31, -102, 120, 136, -109, -14,
|
|
|
|
121, -58, -140, -19, 128, 59, -140, -60, -25, 122,
|
|
|
|
10, -28, -106, 41, -109, 124, 135, -147, 82, -84,
|
|
|
|
119, -117, -111, 135, -43, 136, -38, -95, 125, -129,
|
|
|
|
-131, -13, -134, 126, -14, -138, 125, 125, -13, -14,
|
|
|
|
120, -137, -36, 58, -17, -17, -72, 10, 10, -81,
|
|
|
|
-81, -81, -81, -81, -81, -81, -81, -81, -81, -81,
|
|
|
|
-81, -81, -81, -81, -81, -81, -81, -81, -81, -81,
|
|
|
|
-81, -81, -81, -81, -81, 122, -81, -84, -125, 126,
|
2018-02-04 17:37:27 +00:00
|
|
|
-151, 135, 58, 10, 52, 124, 121, -48, -25, -55,
|
2018-02-04 18:55:45 +00:00
|
|
|
93, 94, 121, 121, -14, -150, 122, 121, 120, 121,
|
|
|
|
31, -28, 124, -141, 58, -19, 123, -141, -88, 136,
|
|
|
|
-61, 42, 123, 124, -97, 44, -66, -148, 83, -84,
|
|
|
|
-111, 120, -69, -113, -70, -71, -114, -123, 47, 38,
|
|
|
|
44, -79, 103, 102, 101, 98, 99, 100, -45, -142,
|
|
|
|
-14, 124, -13, 126, -132, 126, -131, -13, -13, 126,
|
|
|
|
120, -136, 57, -14, 128, 126, -81, 122, 124, -81,
|
|
|
|
-81, -25, 95, -48, 122, -101, -150, -88, 121, -97,
|
|
|
|
124, -140, -95, 124, 28, -28, 119, -45, 119, 119,
|
|
|
|
123, 12, 120, -115, 12, 121, 135, -1, -79, 10,
|
|
|
|
-119, -45, 126, 120, 126, 126, -134, -17, -81, 58,
|
|
|
|
121, 122, -88, 124, -88, 119, -59, -25, 122, 124,
|
|
|
|
-59, 121, -88, 12, -88, -88, -96, 12, 128, 136,
|
|
|
|
121, 135, 136, 10, -147, 136, -146, 135, 121, 119,
|
|
|
|
-81, -88, -57, -25, 122, -88, -88, 120, 124, 120,
|
2018-02-04 17:37:27 +00:00
|
|
|
120, 124, 135, 12, -28, 12, -28, 136, 10, -28,
|
2018-02-04 18:55:45 +00:00
|
|
|
-45, -120, -121, -73, -74, -75, -76, -77, -45, 10,
|
|
|
|
-88, 120, 26, 119, 12, 128, 136, -28, 123, 120,
|
|
|
|
-73, 121, 121, 45, 29, 78, 24, 121, -88, 12,
|
|
|
|
-28, -109, -122, -45, -78, -79, 10, 121, 120, 124,
|
|
|
|
135, 10, -107, -108, -62, 41, -145, 121, 119, -45,
|
|
|
|
-62, 123, -88, -45, 120, 12, 124, 119, -88, 120,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyDef = [...]int{
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
3, -2, 1, 2, 6, 7, 8, 0, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 43, 4, 85, 86, 0, 38, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 329, 0, 63,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 69, 0, 0, 0, 87, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 301, 427, 428, 314, 94, 0, 96, 0, 100,
|
2018-01-29 14:11:45 +00:00
|
|
|
-2, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
281, 282, 0, 286, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 343, 0, 296, 297, 298, 346, 0, 435, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 412, 413, 414,
|
|
|
|
415, 0, 0, 418, 353, 0, 479, 452, 453, 454,
|
|
|
|
408, -2, 0, 0, 351, 352, 354, 355, 356, 357,
|
|
|
|
358, 359, 360, -2, 0, 457, 0, 0, 460, 472,
|
|
|
|
461, 0, 0, 3, 0, 4, 0, 0, 0, 18,
|
2018-02-03 12:29:23 +00:00
|
|
|
19, 0, 16, 0, 44, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 87, 0, 216, 0, 52, 0, 301, 329, 54,
|
|
|
|
0, 56, 428, -2, 0, 59, 0, 159, 160, 0,
|
|
|
|
0, 87, 165, 0, 215, 64, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 38, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
88, 98, 101, -2, -2, 0, 95, 97, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 478, 234, 247, 249, 248, 433, 330, 0, 0,
|
|
|
|
0, 0, 329, 250, 268, 269, 270, 271, 282, 0,
|
|
|
|
0, 287, 288, 289, 290, 291, 292, 293, 294, 0,
|
|
|
|
345, 295, 463, 463, 0, 347, 348, 491, 493, 0,
|
|
|
|
0, 300, 0, 349, 336, 337, 330, 0, 0, 339,
|
|
|
|
-2, 0, 0, 0, 0, 505, 506, 0, 508, 509,
|
|
|
|
463, 0, 0, 0, 362, 0, 463, 479, 0, 421,
|
|
|
|
484, 0, 463, 463, 0, 321, 0, -2, 0, 463,
|
|
|
|
0, -2, 473, 0, 328, 0, 0, 10, 3, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
-2, 13, 0, 0, 24, 25, 0, 0, 30, 31,
|
|
|
|
0, 0, 21, 0, 0, 37, 45, 39, 40, 41,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 131, 38, 48, 129, 38, 0, 0, 0, 217,
|
2018-02-03 17:33:22 +00:00
|
|
|
219, 51, 124, 124, 53, 55, 57, 58, 60, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
161, 0, 431, 61, 0, 0, 0, 62, 0, 251,
|
|
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
|
|
262, 263, 264, 265, 266, 267, -2, -2, -2, -2,
|
|
|
|
-2, -2, -2, -2, 280, 0, 0, 0, 82, 84,
|
|
|
|
-2, 428, 0, 0, 0, 71, 72, 0, -2, 103,
|
|
|
|
0, 0, 0, 0, 231, 0, 235, 236, 237, 238,
|
|
|
|
239, 240, 241, 242, 243, 244, 245, 246, 0, 475,
|
|
|
|
476, 0, 0, 332, 0, 0, 227, 429, 430, 344,
|
|
|
|
0, 464, 0, 299, 492, 489, 490, 0, 0, 0,
|
|
|
|
412, 0, 444, 465, 466, 469, 445, 0, 470, 0,
|
|
|
|
229, 350, 0, 0, 332, 0, 456, 0, 0, 510,
|
|
|
|
-2, -2, -2, 428, 0, 0, 416, 361, 417, 0,
|
|
|
|
0, 313, 480, 422, 0, 488, 432, 0, 0, 5,
|
|
|
|
149, 0, 0, 152, -2, -2, 0, 0, 323, 0,
|
|
|
|
447, -2, 517, 0, 0, 0, 448, -2, 0, 9,
|
|
|
|
0, 12, 322, 17, 14, 0, 0, 27, 15, 0,
|
|
|
|
0, 33, 20, 0, 0, 36, 364, 365, 366, -2,
|
|
|
|
0, 0, 0, 419, 372, 373, 374, 353, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 135, 133, 0, 0,
|
|
|
|
216, 0, 0, 124, 0, 124, 158, 0, 163, -2,
|
|
|
|
166, 214, 0, 285, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 73, -2, 0, 139, 141, 87, 146, 147, 148,
|
|
|
|
333, 0, 0, 0, 0, 99, 168, 102, 105, -2,
|
|
|
|
-2, 232, 0, 0, 478, 478, 331, 283, 228, 225,
|
|
|
|
226, 463, 221, 0, 309, 308, 0, 499, 500, 501,
|
|
|
|
495, 496, 0, 498, 437, 442, 443, 441, 463, 0,
|
|
|
|
446, 0, 447, 331, 341, 448, 502, 0, 503, 504,
|
|
|
|
507, 311, 310, 312, 482, 0, 483, 0, 450, 451,
|
|
|
|
150, 0, 151, 156, 157, 324, 325, 458, 459, 326,
|
|
|
|
327, 462, 11, 23, 26, 0, 29, 32, 0, 22,
|
|
|
|
35, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, -2,
|
|
|
|
419, 0, 421, 426, 0, 0, 382, 383, 405, 406,
|
|
|
|
0, 0, 46, 0, 0, 137, 0, 49, 0, 218,
|
|
|
|
120, 0, 0, 0, 0, 0, 162, 0, 0, 284,
|
2018-02-04 16:51:44 +00:00
|
|
|
65, 83, 107, 109, 0, 0, 107, 68, 116, 38,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 118, 75, 0, 0, 315, 145, 89, 0, 335,
|
|
|
|
168, 104, 198, 0, 349, 0, 474, 0, 463, 224,
|
|
|
|
220, 0, 444, 494, 0, 434, 463, 463, 0, 0,
|
|
|
|
471, 338, 511, 0, 486, 487, 153, 28, 34, 0,
|
|
|
|
376, 377, 378, 379, 380, 381, 384, 385, 386, 387,
|
|
|
|
388, 389, 390, 391, 392, 393, 394, -2, -2, -2,
|
|
|
|
-2, -2, -2, -2, -2, 0, 0, -2, 0, 371,
|
|
|
|
420, 422, 0, 363, 516, 407, 42, 0, 136, 0,
|
|
|
|
0, 0, 130, 216, 0, 38, 127, 128, 121, 122,
|
|
|
|
0, 164, 315, 0, 0, 110, 478, 0, 0, 0,
|
|
|
|
70, 0, 0, 0, 0, 0, 142, 0, 90, 334,
|
|
|
|
198, 93, 167, 0, 0, 171, 0, -2, 197, 0,
|
|
|
|
0, 200, 202, 203, 204, 205, 206, 207, 106, 233,
|
|
|
|
230, 477, 0, 223, 438, 0, 436, 0, 0, 467,
|
|
|
|
468, 340, 0, 481, 0, 375, 403, 0, 370, 424,
|
|
|
|
425, 132, 0, 0, 38, 0, 38, 126, 123, 0,
|
|
|
|
0, 108, 0, 0, 0, 119, 38, 0, 38, 38,
|
|
|
|
0, 143, 92, 0, 210, 170, 0, 87, 201, 0,
|
|
|
|
0, 174, 222, 497, 440, 439, 342, 485, 404, 0,
|
|
|
|
47, 38, 138, 0, 125, 38, 66, 114, 38, 111,
|
|
|
|
67, 117, 0, 0, 0, 0, 0, 319, 0, 0,
|
|
|
|
169, 0, 0, 0, 0, 0, 173, 0, 176, 178,
|
|
|
|
423, 134, 50, 112, 38, 0, 0, 76, 0, 91,
|
|
|
|
302, 316, 0, 320, 144, 208, 211, 0, 0, 213,
|
|
|
|
175, 0, 179, 180, 0, 0, 188, 0, 0, -2,
|
|
|
|
0, 303, 0, 38, 317, 0, 0, 212, -2, 177,
|
|
|
|
181, 182, 183, 0, 192, 0, 0, 115, 0, 318,
|
|
|
|
209, 0, 184, 185, 0, -2, 189, 113, 78, 0,
|
|
|
|
0, 190, 74, 77, 79, 0, 172, 194, 38, 186,
|
|
|
|
80, 0, 0, 0, 195, 0, 0, 38, 0, 81,
|
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-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:236
|
2017-11-23 15:33:47 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
rootnode = stmt.NewStmtList(yyDollar[1].list)
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
2017-11-29 21:53:45 +00:00
|
|
|
case 2:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:242
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:243
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 4:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:248
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
namePart := name.NewNamePart(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(namePart, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.list = []node.Node{namePart}
|
|
|
|
comments.AddComments(namePart, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 5:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:255
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
namePart := name.NewNamePart(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(namePart, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.list = append(yyDollar[1].list, namePart)
|
|
|
|
comments.AddComments(namePart, yyDollar[3].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 6:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:265
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 7:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:267
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 8:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:269
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 9:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:271
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.node = stmt.NewHaltCompiler()
|
2018-02-03 10:09:02 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 10:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:277
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
yyVAL.node = stmt.NewNamespace(name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 11:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:287
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
yyVAL.node = stmt.NewNamespace(name, yyDollar[4].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 12:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:297
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.node = stmt.NewNamespace(nil, yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 13:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:303
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.node = stmt.NewUseList(nil, yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 14:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:309
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
useType := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewUseList(useType, yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 15:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:319
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
useType := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewUseList(useType, yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 16:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:329
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 17:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:334
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 18:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:336
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 19:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:341
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 20:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:351
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 21:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:364
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 22:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:374
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(alias, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 23:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:390
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 24:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:392
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 25:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:397
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 26:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:407
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 27:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:420
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 28:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:430
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(alias, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
}
|
|
|
|
case 29:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:446
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 30:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:448
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
|
|
|
case 31:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:453
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
}
|
|
|
|
case 32:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:463
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
comments.AddComments(alias, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
}
|
|
|
|
case 33:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:476
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
}
|
|
|
|
case 34:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:486
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
name := name.NewName(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[2].list))
|
|
|
|
alias := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
yyVAL.node = stmt.NewUse(nil, name, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[2].list, yyDollar[4].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
comments.AddComments(alias, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[2].list))
|
|
|
|
}
|
|
|
|
case 35:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:502
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[5].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
|
|
|
|
comments.AddComments(constant, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
constList := yyDollar[1].node.(*stmt.ConstList)
|
|
|
|
constList.Consts = append(constList.Consts, constant)
|
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeNodeListPosition(yyDollar[1].node, constList.Consts))
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 36:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:518
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[4].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(constant, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
constList := []node.Node{constant}
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewConstList(constList)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, constList))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 37:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:537
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
case 38:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:539
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
|
|
|
case 39:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:545
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 40:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:547
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
|
|
|
case 41:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:549
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 42:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:551
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = stmt.NewHaltCompiler()
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
case 43:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:561
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
case 44:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:563
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
label := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(label, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = stmt.NewLabel(label)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
|
|
|
|
comments.AddComments(label, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
|
|
|
case 45:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:576
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 46:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:582
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewIf(yyDollar[2].node, yyDollar[3].node, yyDollar[4].list, yyDollar[5].node)
|
|
|
|
|
|
|
|
if yyDollar[5].node != nil {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
|
|
|
|
} else if len(yyDollar[4].list) > 0 {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[4].list))
|
|
|
|
} else {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
|
|
|
}
|
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
case 47:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:596
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
stmts := stmt.NewStmtList(yyDollar[4].list)
|
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[4].list))
|
|
|
|
|
2018-02-08 10:48:38 +00:00
|
|
|
yyVAL.node = stmt.NewAltIf(yyDollar[2].node, stmts, yyDollar[5].list, yyDollar[6].node)
|
2018-02-03 12:29:23 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 48:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:605
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-06 17:11:47 +00:00
|
|
|
yyVAL.node = stmt.NewWhile(yyDollar[2].node, yyDollar[3].node)
|
2018-02-03 12:29:23 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 49:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:611
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewDo(yyDollar[2].node, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 50:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:617
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewFor(yyDollar[3].list, yyDollar[5].list, yyDollar[7].list, yyDollar[9].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 51:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:623
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-06 17:11:47 +00:00
|
|
|
yyVAL.node = stmt.NewSwitch(yyDollar[2].node, yyDollar[3].nodesWithEndToken.nodes)
|
2018-02-03 12:29:23 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 52:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:629
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewBreak(nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 53:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:635
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewBreak(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 54:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:641
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewContinue(nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 55:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:647
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewContinue(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 56:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:653
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewReturn(nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 57:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:659
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewReturn(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 58:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:665
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewReturn(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 59:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:671
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 60:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:673
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewGlobal(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 61:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:679
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewStatic(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 62:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:685
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewEcho(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 63:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:691
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewInlineHtml(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 64:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-04 18:55:45 +00:00
|
|
|
//line php5/php5.y:697
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-08 10:48:38 +00:00
|
|
|
yyVAL.node = stmt.NewExpression(yyDollar[1].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 65:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:703
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewUnset(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[5].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 66:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:709
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
if yyDollar[6].foreachVariable.node == nil {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 67:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:719
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
if yyDollar[6].foreachVariable.node == nil {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 68:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:729
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = stmt.NewDeclare(yyDollar[3].list, yyDollar[5].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[5].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 69:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:735
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = stmt.NewNop()
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 70:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:741
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = stmt.NewTry(yyDollar[3].list, yyDollar[5].list, yyDollar[6].node)
|
|
|
|
|
|
|
|
if yyDollar[6].node == nil {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[5].list))
|
|
|
|
} else {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
|
|
|
|
}
|
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 71:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:753
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = stmt.NewThrow(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 72:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:759
|
2017-11-27 23:09:44 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
label := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(label, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
yyVAL.node = stmt.NewGoto(label)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(label, yyDollar[2].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 23:09:44 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 73:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:772
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 74:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:774
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(variable, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
catch := stmt.NewCatch([]node.Node{yyDollar[3].node}, variable, yyDollar[7].list)
|
|
|
|
positions.AddPosition(catch, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
|
|
|
comments.AddComments(catch, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append([]node.Node{catch}, yyDollar[9].list...)
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 75:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:792
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 76:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:794
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = stmt.NewFinally(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 77:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:803
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 78:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:805
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 79:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:810
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 80:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:812
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 81:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:817
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(variable, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewCatch([]node.Node{yyDollar[3].node}, variable, yyDollar[7].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[8].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 82:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:834
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 83:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:836
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 84:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:841
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 85:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:846
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 86:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:851
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 87:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:856
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 88:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:858
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{true, &yyDollar[1].token}
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 89:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:863
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 90:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:865
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{true, &yyDollar[1].token}
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 91:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:870
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewFunction(name, yyDollar[2].boolWithToken.value, yyDollar[5].list, nil, yyDollar[8].list, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[9].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 92:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:883
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
switch n := yyDollar[1].node.(type) {
|
|
|
|
case *stmt.Class:
|
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
n.ClassName = name
|
|
|
|
n.Stmts = yyDollar[6].list
|
|
|
|
n.Extends = yyDollar[3].node
|
|
|
|
n.Implements = yyDollar[4].list
|
|
|
|
|
|
|
|
case *stmt.Trait:
|
|
|
|
// TODO: is it possible that trait extend or implement
|
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
n.TraitName = name
|
|
|
|
n.Stmts = yyDollar[6].list
|
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 93:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:904
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewInterface(name, yyDollar[3].list, yyDollar[5].list, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 94:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:918
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = stmt.NewClass(nil, nil, nil, nil, nil, nil, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 95:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:924
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
classModifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(classModifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(classModifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewClass(nil, []node.Node{classModifier}, nil, nil, nil, nil, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 96:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:934
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = stmt.NewTrait(nil, nil, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 10:09:02 +00:00
|
|
|
case 97:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:940
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
classModifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(classModifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(classModifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewClass(nil, []node.Node{classModifier}, nil, nil, nil, nil, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 12:29:23 +00:00
|
|
|
case 98:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:953
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-02-03 12:29:23 +00:00
|
|
|
case 99:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:955
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-02-03 12:29:23 +00:00
|
|
|
case 100:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:960
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-02-03 12:29:23 +00:00
|
|
|
case 101:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:965
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = nil
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-03 12:29:23 +00:00
|
|
|
case 102:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:967
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 103:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:972
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
|
|
|
case 104:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:974
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 105:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:979
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 106:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:981
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 107:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:986
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{nil, false}
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 108:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:988
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
yyVAL.foreachVariable = yyDollar[2].foreachVariable
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 109:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:993
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[1].node, false}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 110:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:995
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[2].node, true}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 111:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:997
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
list := expr.NewList(yyDollar[3].list)
|
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
yyVAL.foreachVariable = foreachVariable{list, false}
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 112:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1007
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 113:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1009
|
2018-02-03 12:41:34 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 114:
|
2018-02-03 12:41:34 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1019
|
2018-02-03 12:41:34 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 115:
|
2018-02-03 12:41:34 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1021
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 116:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1031
|
2018-02-03 13:24:00 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 117:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1033
|
2018-02-03 13:24:00 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 118:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1043
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[3].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
|
|
|
comments.AddComments(constant, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{constant}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 119:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1055
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[5].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
|
|
|
|
comments.AddComments(constant, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, constant)
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 120:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1071
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 121:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1073
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[3].list, yyDollar[4].token}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 122:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1075
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[4].token}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 123:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1077
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[3].list, yyDollar[5].token}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 124:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1083
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 125:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1085
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
_case := stmt.NewCase(yyDollar[3].node, yyDollar[5].list)
|
|
|
|
positions.AddPosition(_case, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list))
|
|
|
|
yyVAL.list = append(yyDollar[1].list, _case)
|
|
|
|
comments.AddComments(_case, yyDollar[2].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 126:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1092
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
_default := stmt.NewDefault(yyDollar[4].list)
|
|
|
|
positions.AddPosition(_default, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[4].list))
|
|
|
|
yyVAL.list = append(yyDollar[1].list, _default)
|
|
|
|
comments.AddComments(_default, yyDollar[2].token.Comments())
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 129:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1109
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 130:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1111
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = stmt.NewStmtList(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 131:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1121
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-02-08 21:31:38 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 132:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1123
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
_elseIf := stmt.NewElseIf(yyDollar[3].node, yyDollar[4].node)
|
|
|
|
positions.AddPosition(_elseIf, positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(_elseIf, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, _elseIf)
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 133:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1135
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
2018-02-08 10:48:38 +00:00
|
|
|
yyVAL.list = nil
|
2018-02-03 12:29:23 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 134:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1137
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
stmts := stmt.NewStmtList(yyDollar[5].list)
|
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[5].list))
|
|
|
|
|
|
|
|
_elseIf := stmt.NewAltElseIf(yyDollar[3].node, stmts)
|
|
|
|
positions.AddPosition(_elseIf, positionBuilder.NewTokenNodeListPosition(yyDollar[2].token, yyDollar[5].list))
|
|
|
|
comments.AddComments(_elseIf, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, _elseIf)
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 135:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1152
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 136:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1154
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = stmt.NewElse(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 137:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1164
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 138:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1166
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
stmts := stmt.NewStmtList(yyDollar[3].list)
|
|
|
|
positions.AddPosition(stmts, positionBuilder.NewNodeListPosition(yyDollar[3].list))
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewAltElse(stmts)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 139:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1179
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[1].list
|
|
|
|
}
|
|
|
|
case 140:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1181
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
|
|
|
case 141:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1186
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
|
|
|
case 142:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1188
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
|
|
|
case 143:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1193
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, nil, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
|
|
|
|
|
|
|
if yyDollar[1].node != nil {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
|
|
|
} else if yyDollar[2].boolWithToken.value == true {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(*yyDollar[2].boolWithToken.token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
|
|
|
|
} else if yyDollar[3].boolWithToken.value == true {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(*yyDollar[3].boolWithToken.token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
|
|
|
|
} else {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 144:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1219
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(variable, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = node.NewParameter(yyDollar[1].node, variable, yyDollar[6].node, yyDollar[2].boolWithToken.value, yyDollar[3].boolWithToken.value)
|
|
|
|
|
|
|
|
if yyDollar[1].node != nil {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[6].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
|
|
|
} else if yyDollar[2].boolWithToken.value == true {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(*yyDollar[2].boolWithToken.token, yyDollar[6].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[2].boolWithToken.token.Comments())
|
|
|
|
} else if yyDollar[3].boolWithToken.value == true {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(*yyDollar[3].boolWithToken.token, yyDollar[6].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[3].boolWithToken.token.Comments())
|
|
|
|
} else {
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[6].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[4].token.Comments())
|
|
|
|
}
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 145:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1249
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = nil
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 146:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1251
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 147:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1257
|
2017-11-28 20:04:30 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:04:30 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 148:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1263
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 149:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1269
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{[]node.Node{}, yyDollar[2].token}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 150:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1271
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 151:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1273
|
2018-02-03 18:13:11 +00:00
|
|
|
{
|
|
|
|
arg := node.NewArgument(yyDollar[2].node, false, false)
|
|
|
|
positions.AddPosition(arg, positionBuilder.NewNodePosition(yyDollar[2].node))
|
|
|
|
comments.AddComments(arg, comments[yyDollar[2].node])
|
|
|
|
|
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{[]node.Node{arg}, yyDollar[3].token}
|
|
|
|
}
|
|
|
|
case 152:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1285
|
2018-02-03 18:13:11 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
|
|
|
case 153:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1287
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 154:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1292
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[1].node, false, false)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 155:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1298
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[1].node, false, false)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 156:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1304
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[2].node, false, true)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 157:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1310
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = node.NewArgument(yyDollar[2].node, true, false)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 158:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1319
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 159:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1321
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 160:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1327
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewVariable(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 161:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1337
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 162:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1343
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 163:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1353
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
|
|
|
|
staticVar := stmt.NewStaticVar(variable, nil)
|
|
|
|
positions.AddPosition(staticVar, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, staticVar)
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(staticVar, yyDollar[3].token.Comments())
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 164:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1370
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
|
|
|
|
staticVar := stmt.NewStaticVar(variable, yyDollar[5].node)
|
|
|
|
positions.AddPosition(staticVar, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, staticVar)
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(staticVar, yyDollar[3].token.Comments())
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 165:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1387
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
staticVar := stmt.NewStaticVar(variable, nil)
|
|
|
|
positions.AddPosition(staticVar, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{staticVar}
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(staticVar, yyDollar[1].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 166:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1404
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
staticVar := stmt.NewStaticVar(variable, yyDollar[3].node)
|
|
|
|
positions.AddPosition(staticVar, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{staticVar}
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(staticVar, yyDollar[1].token.Comments())
|
2017-11-29 10:24:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 167:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1426
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
case 168:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1428
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
|
|
|
case 169:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1434
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = stmt.NewPropertyList(yyDollar[1].list, yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].list, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
}
|
|
|
|
case 170:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1440
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 171:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1442
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 172:
|
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1444
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(name, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewClassMethod(name, yyDollar[1].list, yyDollar[3].boolWithToken.value, yyDollar[6].list, nil, yyDollar[8].nodesWithEndToken.nodes, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewOptionalListTokensPosition(yyDollar[1].list, yyDollar[2].token, yyDollar[8].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 173:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1457
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUse(yyDollar[2].list, yyDollar[3].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 174:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1466
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 175:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1468
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
|
|
|
case 176:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1473
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[1].token}
|
|
|
|
}
|
|
|
|
case 177:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1475
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
|
|
|
}
|
|
|
|
case 178:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1480
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
|
|
|
case 179:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1482
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[1].list
|
|
|
|
}
|
|
|
|
case 180:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1487
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
|
|
|
case 181:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1489
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
case 182:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1494
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 183:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1496
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 184:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-08 10:48:38 +00:00
|
|
|
//line php5/php5.y:1501
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-02-09 12:48:10 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUsePrecedence(yyDollar[1].node, yyDollar[3].list)
|
2018-02-03 22:09:37 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeNodeListPosition(yyDollar[1].node, yyDollar[3].list))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 185:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1510
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 186:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1512
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 187:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1517
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewTraitMethodRef(nil, name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 188:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1527
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 189:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1532
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewTraitMethodRef(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 190:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1545
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
alias := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(alias, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, alias)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
|
|
|
|
comments.AddComments(alias, yyDollar[4].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 191:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1555
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = stmt.NewTraitUseAlias(yyDollar[1].node, yyDollar[3].node, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 192:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1564
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 193:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1566
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 194:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1571
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[1].token}
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 195:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1573
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 196:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1578
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 197:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1580
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
modifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(modifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(modifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{modifier}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 198:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1591
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 199:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1593
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 200:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1598
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 201:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1600
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 202:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1605
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 203:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1611
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 204:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1617
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 205:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1623
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 206:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1629
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 207:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1635
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 208:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1644
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
property := stmt.NewProperty(variable, nil, "")
|
|
|
|
positions.AddPosition(property, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(property, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, property)
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 209:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1660
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
property := stmt.NewProperty(variable, yyDollar[5].node, "")
|
|
|
|
positions.AddPosition(property, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
|
|
|
|
comments.AddComments(property, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, property)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 210:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1676
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
property := stmt.NewProperty(variable, nil, "")
|
|
|
|
positions.AddPosition(property, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(property, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{property}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 211:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1692
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
property := stmt.NewProperty(variable, yyDollar[3].node, "")
|
|
|
|
positions.AddPosition(property, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].node))
|
|
|
|
comments.AddComments(property, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{property}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 212:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1711
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(name, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[5].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[5].node))
|
|
|
|
comments.AddComments(constant, yyDollar[3].token.Comments())
|
|
|
|
|
2018-02-08 17:52:22 +00:00
|
|
|
yyDollar[1].node.(*stmt.ClassConstList).Consts = append(yyDollar[1].node.(*stmt.ClassConstList).Consts, constant)
|
2018-02-03 22:37:43 +00:00
|
|
|
positions.AddPosition(yyDollar[1].node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
|
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 213:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1726
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(name, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
constant := stmt.NewConstant(name, yyDollar[4].node, "")
|
|
|
|
positions.AddPosition(constant, positionBuilder.NewTokenNodePosition(yyDollar[2].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(constant, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewClassConstList(nil, []node.Node{constant})
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 214:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1743
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 215:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1745
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 216:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1751
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 217:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1753
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 218:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1758
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 219:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1760
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 220:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1765
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 221:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1767
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 222:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1772
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, fetch)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 223:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1779
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[2].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[2].node))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{fetch}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 224:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1789
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 225:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1791
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 226:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1793
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 227:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1798
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 228:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1800
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 17:33:22 +00:00
|
|
|
case 229:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1805
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
if yyDollar[3].nodesWithEndToken != nil {
|
|
|
|
yyVAL.node = expr.NewNew(yyDollar[2].node, yyDollar[3].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].nodesWithEndToken.endToken))
|
|
|
|
} else {
|
|
|
|
yyVAL.node = expr.NewNew(yyDollar[2].node, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
}
|
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 230:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1820
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
list := expr.NewList(yyDollar[3].list)
|
|
|
|
positions.AddPosition(list, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
yyVAL.node = assign_op.NewAssign(list, yyDollar[6].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[6].node))
|
|
|
|
|
|
|
|
comments.AddComments(list, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 231:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1830
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewAssign(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 232:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1836
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewAssignRef(yyDollar[1].node, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 233:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1842
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
_new := expr.NewNew(yyDollar[5].node, nil)
|
|
|
|
positions.AddPosition(_new, positionBuilder.NewTokenNodePosition(yyDollar[4].token, yyDollar[5].node))
|
|
|
|
|
|
|
|
if yyDollar[6].nodesWithEndToken != nil {
|
|
|
|
_new := expr.NewNew(yyDollar[5].node, yyDollar[6].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(_new, positionBuilder.NewTokensPosition(yyDollar[4].token, yyDollar[6].nodesWithEndToken.endToken))
|
|
|
|
}
|
|
|
|
comments.AddComments(_new, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.node = assign_op.NewAssignRef(yyDollar[1].node, _new)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, _new))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 234:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1857
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewClone(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 16:51:44 +00:00
|
|
|
case 235:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1863
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
|
|
|
case 236:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1869
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
|
|
|
case 237:
|
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1875
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewMul(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 238:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1881
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewPow(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 239:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1887
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 240:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1893
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 241:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1899
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewMod(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 242:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1905
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 243:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1911
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 244:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1917
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 245:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1923
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 246:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1929
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = assign_op.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 247:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1935
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewPostInc(yyDollar[1].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 248:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1941
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewPreInc(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 249:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1947
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewPostDec(yyDollar[1].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 250:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1953
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewPreDec(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 251:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1959
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 252:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1965
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 253:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1971
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 254:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1977
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 255:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1983
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 256:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1989
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 257:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:1995
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 258:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2001
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 259:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2007
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 260:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2013
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 261:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2019
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 262:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2025
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewMul(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 263:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2031
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewPow(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-27 22:37:17 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 264:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2037
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 265:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2043
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewMod(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 266:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2049
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 267:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2055
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 268:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2061
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewUnaryPlus(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 269:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2067
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewUnaryMinus(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 270:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2073
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewBooleanNot(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 271:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2079
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewBitwiseNot(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 272:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2085
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewIdentical(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 273:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2091
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 274:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2097
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 275:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2103
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 276:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2109
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewSmaller(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 277:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2115
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 278:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2121
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewGreater(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 279:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2127
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = binary_op.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 280:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2133
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewInstanceOf(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-03 13:24:00 +00:00
|
|
|
case 281:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2139
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 282:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2141
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 283:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2143
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
|
|
|
|
|
|
|
for _, n := range yyDollar[4].list {
|
|
|
|
switch nn := n.(type) {
|
|
|
|
case *expr.ArrayDimFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, yyDollar[1].token.Comments())
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.PropertyFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, yyDollar[1].token.Comments())
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.MethodCall:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, yyDollar[1].token.Comments())
|
|
|
|
yyVAL.node = nn
|
|
|
|
}
|
|
|
|
}
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 284:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2169
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, yyDollar[3].node, yyDollar[5].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 285:
|
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2175
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, nil, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 286:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2181
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 287:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2183
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastInt(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 288:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2189
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastDouble(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 289:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2195
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastString(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 290:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2201
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastArray(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 291:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2207
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastObject(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 292:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2213
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastBool(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 293:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2219
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = cast.NewCastUnset(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 294:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2225
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewExit(yyDollar[2].node, strings.EqualFold(yyDollar[1].token.Value, "die"))
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 295:
|
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2231
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewErrorSuppress(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 296:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2237
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 297:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2239
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 298:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2241
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 299:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2243
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewShellExec(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 300:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2249
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewPrint(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 301:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2255
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewYield(nil, nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 302:
|
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2261
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewClosure(yyDollar[4].list, yyDollar[6].list, nil, yyDollar[8].list, false, yyDollar[2].boolWithToken.value, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[9].token))
|
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 303:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-10 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2268
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = expr.NewClosure(yyDollar[5].list, yyDollar[7].list, nil, yyDollar[9].list, true, yyDollar[3].boolWithToken.value, "")
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[10].token))
|
|
|
|
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 304:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-09 12:48:10 +00:00
|
|
|
//line php5/php5.y:2278
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-10 13:08:54 +00:00
|
|
|
yield := expr.NewYield(nil, yyDollar[2].node)
|
|
|
|
positions.AddPosition(yield, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yield, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewExpression(yield)
|
2018-02-04 17:37:27 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 305:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2288
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-10 13:08:54 +00:00
|
|
|
yield := expr.NewYield(nil, yyDollar[2].node)
|
|
|
|
positions.AddPosition(yield, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yield, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewExpression(yield)
|
2018-02-04 17:37:27 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 306:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2298
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-10 13:08:54 +00:00
|
|
|
yield := expr.NewYield(yyDollar[2].node, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yield, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(yield, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewExpression(yield)
|
2018-02-04 17:37:27 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 307:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2308
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-10 13:08:54 +00:00
|
|
|
yield := expr.NewYield(yyDollar[2].node, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yield, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(yield, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = stmt.NewExpression(yield)
|
2018-02-04 17:37:27 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 308:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2321
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 309:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2327
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 310:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2333
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
str := scalar.NewString(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(str, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(str, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewArrayDimFetch(str, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(str, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[str])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 311:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2343
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 312:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2352
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = expr.NewArray(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 313:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2358
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = expr.NewShortArray(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 314:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2367
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 315:
|
2018-02-02 12:36:57 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2372
|
2018-02-02 12:36:57 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 316:
|
2018-02-02 12:36:57 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2374
|
2018-02-02 12:36:57 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[3].list
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 317:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2379
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
|
2018-02-10 00:02:54 +00:00
|
|
|
use := expr.NewClosureUse(variable, false)
|
2018-02-02 12:36:57 +00:00
|
|
|
positions.AddPosition(use, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
comments.AddComments(use, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, use)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 318:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2395
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[4].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[4].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[4].token))
|
|
|
|
comments.AddComments(variable, yyDollar[3].token.Comments())
|
|
|
|
|
2018-02-10 00:02:54 +00:00
|
|
|
use := expr.NewClosureUse(variable, true)
|
2018-02-02 12:36:57 +00:00
|
|
|
positions.AddPosition(use, positionBuilder.NewTokensPosition(yyDollar[3].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(use, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, use)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 319:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2411
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
|
2018-02-10 00:02:54 +00:00
|
|
|
use := expr.NewClosureUse(variable, false)
|
2018-02-02 12:36:57 +00:00
|
|
|
positions.AddPosition(use, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(use, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{use}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 320:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2427
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(identifier, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(variable, yyDollar[1].token.Comments())
|
|
|
|
|
2018-02-10 00:02:54 +00:00
|
|
|
use := expr.NewClosureUse(variable, true)
|
2018-02-02 12:36:57 +00:00
|
|
|
positions.AddPosition(use, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(use, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{use}
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 321:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2446
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewFunctionCall(name, yyDollar[2].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(name, yyDollar[2].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 322:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2456
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
funcName := name.NewRelative(yyDollar[3].list)
|
|
|
|
positions.AddPosition(funcName, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(funcName, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewFunctionCall(funcName, yyDollar[4].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(funcName, yyDollar[4].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[funcName])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 323:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2466
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
funcName := name.NewFullyQualified(yyDollar[2].list)
|
|
|
|
positions.AddPosition(funcName, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
|
|
|
comments.AddComments(funcName, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewFunctionCall(funcName, yyDollar[3].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(funcName, yyDollar[3].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[funcName])
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 324:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2476
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 325:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2482
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 326:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2488
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 327:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2494
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = expr.NewStaticCall(yyDollar[1].node, yyDollar[3].node, yyDollar[4].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 328:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2500
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.node = expr.NewFunctionCall(yyDollar[1].node, yyDollar[2].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[2].nodesWithEndToken.endToken))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 329:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2509
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 330:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2515
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 331:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2521
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = name.NewRelative(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 332:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2527
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = name.NewFullyQualified(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 333:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2536
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
comments.AddComments(yyVAL.node, ListGetFirstNodeComments(yyDollar[1].list))
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 334:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2542
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = name.NewRelative(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 335:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2548
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = name.NewFullyQualified(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 336:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2557
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 337:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2559
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 338:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2564
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
|
2018-02-04 16:51:44 +00:00
|
|
|
for _, n := range yyDollar[3].list {
|
|
|
|
switch nn := n.(type) {
|
|
|
|
case *expr.ArrayDimFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.PropertyFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.MethodCall:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-04 16:51:44 +00:00
|
|
|
for _, n := range yyDollar[4].list {
|
|
|
|
switch nn := n.(type) {
|
|
|
|
case *expr.ArrayDimFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.PropertyFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.MethodCall:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
|
|
|
}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 339:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2612
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 340:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2618
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 341:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2620
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 342:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2626
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 343:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2631
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 344:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2633
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 345:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2635
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 346:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2640
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 347:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2642
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = []node.Node{scalar.NewEncapsedStringPart(yyDollar[1].token.Value)}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 348:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2644
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 349:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2649
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.nodesWithEndToken = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 350:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2651
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.nodesWithEndToken = yyDollar[1].nodesWithEndToken
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 351:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2656
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 352:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2662
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewDnumber(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 353:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2668
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 354:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2674
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 355:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2680
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 356:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2686
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 357:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2692
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 358:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2698
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 359:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2704
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 360:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2710
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:22:04 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 361:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2716
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token)) /* TODO: mark as Heredoc*/
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 362:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2721
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(nil)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[2].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 363:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2730
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 364:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2743
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 365:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2748
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 366:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2750
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 367:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-10 13:08:54 +00:00
|
|
|
//line php5/php5.y:2752
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-12 10:09:56 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(name))
|
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 368:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2762
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-12 10:09:56 +00:00
|
|
|
name := name.NewRelative(yyDollar[3].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
2018-02-04 18:55:45 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
2018-02-12 10:09:56 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 369:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2772
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-12 10:09:56 +00:00
|
|
|
name := name.NewFullyQualified(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
2018-02-04 18:55:45 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
2018-02-12 10:09:56 +00:00
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 370:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2782
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewArray(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 371:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2788
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewShortArray(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 372:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2794
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 373:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2796
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 374:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2802
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 375:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2807
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 376:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2813
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 377:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2819
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 378:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2825
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewMul(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 379:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2831
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewPow(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 380:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2837
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 381:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2843
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewMod(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 382:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2849
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewBooleanNot(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 383:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2855
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewBitwiseNot(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 384:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2861
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 385:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2867
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 386:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2873
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-03 10:09:02 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 387:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2879
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 388:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2885
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 389:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2891
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 390:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2897
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 391:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2903
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 392:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2909
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 393:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2915
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 394:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2921
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 395:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2927
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewIdentical(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 396:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2933
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 397:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2939
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 398:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2945
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 399:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2951
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewSmaller(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 400:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2957
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewGreater(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 401:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2963
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 402:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2969
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = binary_op.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 403:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2975
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, nil, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 404:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2981
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewTernary(yyDollar[1].node, yyDollar[3].node, yyDollar[5].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[5].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 405:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2987
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewUnaryPlus(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 406:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2993
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewUnaryMinus(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 407:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:2999
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 408:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3004
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 409:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3006
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-10 09:46:18 +00:00
|
|
|
name := name.NewName(yyDollar[1].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewNodeListPosition(yyDollar[1].list))
|
|
|
|
comments.AddComments(name, ListGetFirstNodeComments(yyDollar[1].list))
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(name))
|
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 410:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3016
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-10 09:46:18 +00:00
|
|
|
name := name.NewRelative(yyDollar[3].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[3].list))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(name))
|
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 411:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3026
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-10 09:46:18 +00:00
|
|
|
name := name.NewFullyQualified(yyDollar[2].list)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenNodeListPosition(yyDollar[1].token, yyDollar[2].list))
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewConstFetch(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(name))
|
|
|
|
comments.AddComments(yyVAL.node, comments[name])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 412:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3039
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewVariable(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 413:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3049
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 414:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3051
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 415:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3053
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 416:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3055
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 417:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3061
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewEncapsed(yyDollar[2].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 418:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3067
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewMagicConstant(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 419:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3076
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.list = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 420:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3078
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 423:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3088
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[5].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[5].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[3].node])
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 424:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3096
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[3].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[3].node])
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 425:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3104
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[3].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 426:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3112
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[1].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 427:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3123
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 428:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3125
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 429:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3130
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 430:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3132
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 431:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3138
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 432:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3144
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 433:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3149
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 434:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3154
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
|
|
|
|
if yyDollar[4].list != nil {
|
|
|
|
yyDollar[4].list[0].(*expr.MethodCall).Method = yyDollar[3].list[len(yyDollar[3].list)-1].(*expr.PropertyFetch).Property
|
|
|
|
yyDollar[3].list = append(yyDollar[3].list[:len(yyDollar[3].list)-1], yyDollar[4].list...)
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, n := range yyDollar[3].list {
|
|
|
|
switch nn := n.(type) {
|
|
|
|
case *expr.ArrayDimFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.PropertyFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.MethodCall:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, n := range yyDollar[5].list {
|
|
|
|
switch nn := n.(type) {
|
|
|
|
case *expr.ArrayDimFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.PropertyFetch:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
|
|
|
|
case *expr.MethodCall:
|
|
|
|
nn.Variable = yyVAL.node
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyVAL.node, nn))
|
|
|
|
comments.AddComments(nn, comments[yyDollar[1].node])
|
|
|
|
yyVAL.node = nn
|
|
|
|
}
|
|
|
|
}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 435:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3207
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 436:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3212
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 437:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3214
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 438:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3220
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
if yyDollar[3].list != nil {
|
|
|
|
yyDollar[3].list[0].(*expr.MethodCall).Method = yyDollar[2].list[len(yyDollar[2].list)-1].(*expr.PropertyFetch).Property
|
|
|
|
yyDollar[2].list = append(yyDollar[2].list[:len(yyDollar[2].list)-1], yyDollar[3].list...)
|
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 439:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3232
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, fetch)
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 440:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3239
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node, fetch}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 441:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3249
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.node = expr.NewMethodCall(nil, nil, yyDollar[1].nodesWithEndToken.nodes)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeListTokenPosition(yyDollar[1].nodesWithEndToken.nodes, yyDollar[1].nodesWithEndToken.endToken))
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 442:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3257
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 443:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3259
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 444:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3261
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 445:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3266
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 446:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3268
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar[1].simpleIndirectReference.last.SetVarName(yyDollar[2].node)
|
|
|
|
|
|
|
|
for _, n := range yyDollar[1].simpleIndirectReference.all {
|
|
|
|
positions[n] = positionBuilder.NewNodesPosition(n, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].simpleIndirectReference.all[0]
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 447:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3281
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 448:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3287
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = expr.NewStaticPropertyFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 449:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3297
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 450:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3302
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 451:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3308
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 452:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3316
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 453:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3317
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 454:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3318
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 455:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3324
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 456:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3326
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar[1].simpleIndirectReference.last.SetVarName(yyDollar[2].node)
|
|
|
|
|
|
|
|
for _, n := range yyDollar[1].simpleIndirectReference.all {
|
|
|
|
positions[n] = positionBuilder.NewNodesPosition(n, yyDollar[2].node)
|
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.node = yyDollar[1].simpleIndirectReference.all[0]
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 457:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3336
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 458:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3341
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 459:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3347
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = expr.NewArrayDimFetch(yyDollar[1].node, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 460:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3353
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 461:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3359
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewVariable(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-02 11:53:55 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 462:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3369
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.node = expr.NewVariable(yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 463:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3378
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 464:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3380
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 465:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3386
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 466:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3388
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewPropertyFetch(nil, yyDollar[1].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{fetch}
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 467:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3398
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, fetch)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 468:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3405
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewArrayDimFetch(nil, yyDollar[3].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, fetch)
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 469:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3412
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
fetch := expr.NewPropertyFetch(nil, yyDollar[1].node)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{fetch}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 470:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3422
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 471:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3428
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 472:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3433
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
n := expr.NewVariable(nil)
|
|
|
|
positions.AddPosition(n, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(n, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.simpleIndirectReference = simpleIndirectReference{[]*expr.Variable{n}, n}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 473:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3441
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
n := expr.NewVariable(nil)
|
|
|
|
positions.AddPosition(n, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(n, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyDollar[1].simpleIndirectReference.last.SetVarName(n)
|
|
|
|
|
|
|
|
yyDollar[1].simpleIndirectReference.all = append(yyDollar[1].simpleIndirectReference.all, n)
|
|
|
|
yyDollar[1].simpleIndirectReference.last = n
|
|
|
|
yyVAL.simpleIndirectReference = yyDollar[1].simpleIndirectReference
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 474:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3456
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 475:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3458
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 476:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3464
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-08 22:02:12 +00:00
|
|
|
yyVAL.node = expr.NewArrayItem(nil, yyDollar[1].node, false)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 477:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3470
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-10 11:25:08 +00:00
|
|
|
item := expr.NewList(yyDollar[3].list)
|
|
|
|
positions.AddPosition(item, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(item, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = expr.NewArrayItem(nil, item, false)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodePosition(item))
|
|
|
|
comments.AddComments(yyVAL.node, comments[item])
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 478:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3480
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 479:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3486
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-10 09:07:20 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 480:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3488
|
2017-12-17 22:49:25 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 481:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3493
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[5].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[5].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[3].node])
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 482:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3501
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[3].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodePosition(yyDollar[3].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[3].node])
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 483:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3509
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[3].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[3].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 484:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3517
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[1].node, false)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodePosition(yyDollar[1].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 485:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3525
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[3].node, yyDollar[6].node, true)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[3].node, yyDollar[6].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[3].node])
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 486:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3533
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[4].node, true)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewTokenNodePosition(yyDollar[3].token, yyDollar[4].node))
|
|
|
|
comments.AddComments(arrayItem, yyDollar[3].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = append(yyDollar[1].list, arrayItem)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 487:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3541
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(yyDollar[1].node, yyDollar[4].node, true)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewNodesPosition(yyDollar[1].node, yyDollar[4].node))
|
|
|
|
comments.AddComments(arrayItem, comments[yyDollar[1].node])
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 488:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3549
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
arrayItem := expr.NewArrayItem(nil, yyDollar[2].node, true)
|
|
|
|
positions.AddPosition(arrayItem, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(arrayItem, yyDollar[1].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.list = []node.Node{arrayItem}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 489:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3560
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 490:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3562
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
encapsed := scalar.NewEncapsedStringPart(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(encapsed, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
yyVAL.list = append(yyDollar[1].list, encapsed)
|
|
|
|
comments.AddComments(encapsed, yyDollar[2].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 491:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3569
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 492:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3571
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
encapsed := scalar.NewEncapsedStringPart(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(encapsed, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.list = []node.Node{encapsed, yyDollar[2].node}
|
|
|
|
comments.AddComments(encapsed, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 493:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3581
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
name := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(name, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewVariable(name)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
comments.AddComments(name, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 494:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3591
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
|
|
|
|
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-02-04 17:37:27 +00:00
|
|
|
case 495:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3604
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
fetch := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(fetch, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewPropertyFetch(variable, fetch)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
|
|
|
|
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-02-04 17:37:27 +00:00
|
|
|
case 496:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3620
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-08 10:48:38 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-01-31 10:55:50 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 497:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3626
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
variable := expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(variable, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
yyVAL.node = expr.NewArrayDimFetch(variable, yyDollar[4].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[6].token))
|
|
|
|
|
|
|
|
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-02-04 17:37:27 +00:00
|
|
|
case 498:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3640
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 499:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3645
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 500:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3651
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
// TODO: add option to handle 64 bit integer
|
|
|
|
if _, err := strconv.Atoi(yyDollar[1].token.Value); err == nil {
|
|
|
|
yyVAL.node = scalar.NewLnumber(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
} else {
|
|
|
|
yyVAL.node = scalar.NewString(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
}
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 501:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3663
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
identifier := node.NewIdentifier(yyDollar[1].token.Value)
|
|
|
|
positions.AddPosition(identifier, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
yyVAL.node = expr.NewVariable(identifier)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenPosition(yyDollar[1].token))
|
|
|
|
|
|
|
|
comments.AddComments(identifier, yyDollar[1].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 17:37:45 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 502:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3676
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewIsset(yyDollar[3].list)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 503:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3682
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewEmpty(yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 504:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3688
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewEmpty(yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 505:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3694
|
2017-11-28 22:35:21 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewInclude(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 22:35:21 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 506:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3700
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewIncludeOnce(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 507:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3706
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewEval(yyDollar[3].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 508:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3712
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewRequire(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 509:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3718
|
2017-11-30 16:15:49 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = expr.NewRequireOnce(yyDollar[2].node)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[2].node))
|
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-30 16:15:49 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 510:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3727
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 511:
|
2018-02-01 10:04:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3729
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 512:
|
2018-02-01 10:04:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3734
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 513:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3736
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 514:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3741
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 515:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3751
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 516:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3764
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-02-04 17:37:27 +00:00
|
|
|
case 517:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-02-12 10:09:56 +00:00
|
|
|
//line php5/php5.y:3777
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
target := node.NewIdentifier(yyDollar[3].token.Value)
|
|
|
|
positions.AddPosition(target, positionBuilder.NewTokenPosition(yyDollar[3].token))
|
|
|
|
yyVAL.node = expr.NewClassConstFetch(yyDollar[1].node, target)
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewNodeTokenPosition(yyDollar[1].node, yyDollar[3].token))
|
|
|
|
|
|
|
|
comments.AddComments(target, yyDollar[3].token.Comments())
|
|
|
|
comments.AddComments(yyVAL.node, comments[yyDollar[1].node])
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
goto yystack /* stack new state and value */
|
|
|
|
}
|