2018-01-26 13:24:56 +00:00
|
|
|
//line php5/php5.y:2
|
|
|
|
package php5
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
import __yyfmt__ "fmt"
|
|
|
|
|
2018-01-26 13:24:56 +00:00
|
|
|
//line php5/php5.y:2
|
2017-11-23 15:33:47 +00:00
|
|
|
import (
|
2018-01-31 10:55:50 +00:00
|
|
|
"strconv"
|
2018-02-04 17:37:27 +00:00
|
|
|
"strings"
|
2018-01-29 14:11:45 +00:00
|
|
|
|
|
|
|
"github.com/z7zmey/php-parser/node"
|
2018-01-29 14:37:09 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr"
|
2018-02-19 11:12:09 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr/assign"
|
|
|
|
"github.com/z7zmey/php-parser/node/expr/binary"
|
2018-02-04 17:37:27 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/expr/cast"
|
2018-01-29 14:11:45 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/name"
|
2018-01-29 14:22:04 +00:00
|
|
|
"github.com/z7zmey/php-parser/node/scalar"
|
|
|
|
"github.com/z7zmey/php-parser/node/stmt"
|
2018-01-29 14:37:09 +00:00
|
|
|
"github.com/z7zmey/php-parser/token"
|
2017-11-23 15:33:47 +00:00
|
|
|
)
|
|
|
|
|
2018-02-14 19:21:32 +00:00
|
|
|
//line php5/php5.y:21
|
2017-11-23 15:33:47 +00:00
|
|
|
type yySymType struct {
|
2018-02-03 17:33:22 +00:00
|
|
|
yys int
|
|
|
|
node node.Node
|
|
|
|
token 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-02-18 17:44:17 +00:00
|
|
|
altSyntaxNode altSyntaxNode
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const T_INCLUDE = 57346
|
|
|
|
const T_INCLUDE_ONCE = 57347
|
2018-01-29 14:11:45 +00:00
|
|
|
const T_EXIT = 57348
|
|
|
|
const T_IF = 57349
|
|
|
|
const T_LNUMBER = 57350
|
|
|
|
const T_DNUMBER = 57351
|
|
|
|
const T_STRING = 57352
|
|
|
|
const T_STRING_VARNAME = 57353
|
|
|
|
const T_VARIABLE = 57354
|
|
|
|
const T_NUM_STRING = 57355
|
|
|
|
const T_INLINE_HTML = 57356
|
|
|
|
const T_CHARACTER = 57357
|
|
|
|
const T_BAD_CHARACTER = 57358
|
|
|
|
const T_ENCAPSED_AND_WHITESPACE = 57359
|
|
|
|
const T_CONSTANT_ENCAPSED_STRING = 57360
|
|
|
|
const T_ECHO = 57361
|
|
|
|
const T_DO = 57362
|
|
|
|
const T_WHILE = 57363
|
|
|
|
const T_ENDWHILE = 57364
|
|
|
|
const T_FOR = 57365
|
|
|
|
const T_ENDFOR = 57366
|
|
|
|
const T_FOREACH = 57367
|
|
|
|
const T_ENDFOREACH = 57368
|
|
|
|
const T_DECLARE = 57369
|
|
|
|
const T_ENDDECLARE = 57370
|
|
|
|
const T_AS = 57371
|
|
|
|
const T_SWITCH = 57372
|
|
|
|
const T_ENDSWITCH = 57373
|
|
|
|
const T_CASE = 57374
|
|
|
|
const T_DEFAULT = 57375
|
|
|
|
const T_BREAK = 57376
|
|
|
|
const T_CONTINUE = 57377
|
|
|
|
const T_GOTO = 57378
|
|
|
|
const T_FUNCTION = 57379
|
|
|
|
const T_CONST = 57380
|
|
|
|
const T_RETURN = 57381
|
|
|
|
const T_TRY = 57382
|
|
|
|
const T_CATCH = 57383
|
|
|
|
const T_FINALLY = 57384
|
|
|
|
const T_THROW = 57385
|
|
|
|
const T_USE = 57386
|
|
|
|
const T_INSTEADOF = 57387
|
|
|
|
const T_GLOBAL = 57388
|
|
|
|
const T_VAR = 57389
|
|
|
|
const T_UNSET = 57390
|
|
|
|
const T_ISSET = 57391
|
|
|
|
const T_EMPTY = 57392
|
|
|
|
const T_HALT_COMPILER = 57393
|
|
|
|
const T_CLASS = 57394
|
|
|
|
const T_TRAIT = 57395
|
|
|
|
const T_INTERFACE = 57396
|
|
|
|
const T_EXTENDS = 57397
|
|
|
|
const T_IMPLEMENTS = 57398
|
|
|
|
const T_OBJECT_OPERATOR = 57399
|
|
|
|
const T_DOUBLE_ARROW = 57400
|
|
|
|
const T_LIST = 57401
|
|
|
|
const T_ARRAY = 57402
|
|
|
|
const T_CALLABLE = 57403
|
|
|
|
const T_CLASS_C = 57404
|
|
|
|
const T_TRAIT_C = 57405
|
|
|
|
const T_METHOD_C = 57406
|
|
|
|
const T_FUNC_C = 57407
|
|
|
|
const T_LINE = 57408
|
|
|
|
const T_FILE = 57409
|
|
|
|
const T_COMMENT = 57410
|
|
|
|
const T_DOC_COMMENT = 57411
|
|
|
|
const T_OPEN_TAG = 57412
|
|
|
|
const T_OPEN_TAG_WITH_ECHO = 57413
|
|
|
|
const T_CLOSE_TAG = 57414
|
|
|
|
const T_WHITESPACE = 57415
|
|
|
|
const T_START_HEREDOC = 57416
|
|
|
|
const T_END_HEREDOC = 57417
|
|
|
|
const T_DOLLAR_OPEN_CURLY_BRACES = 57418
|
|
|
|
const T_CURLY_OPEN = 57419
|
|
|
|
const T_PAAMAYIM_NEKUDOTAYIM = 57420
|
|
|
|
const T_NAMESPACE = 57421
|
|
|
|
const T_NS_C = 57422
|
|
|
|
const T_DIR = 57423
|
|
|
|
const T_NS_SEPARATOR = 57424
|
|
|
|
const T_ELLIPSIS = 57425
|
|
|
|
const T_EVAL = 57426
|
|
|
|
const T_REQUIRE = 57427
|
|
|
|
const T_REQUIRE_ONCE = 57428
|
|
|
|
const T_LOGICAL_OR = 57429
|
|
|
|
const T_LOGICAL_XOR = 57430
|
|
|
|
const T_LOGICAL_AND = 57431
|
|
|
|
const T_INSTANCEOF = 57432
|
|
|
|
const T_NEW = 57433
|
|
|
|
const T_CLONE = 57434
|
|
|
|
const T_ELSEIF = 57435
|
|
|
|
const T_ELSE = 57436
|
|
|
|
const T_ENDIF = 57437
|
|
|
|
const T_PRINT = 57438
|
|
|
|
const T_YIELD = 57439
|
|
|
|
const T_STATIC = 57440
|
|
|
|
const T_ABSTRACT = 57441
|
|
|
|
const T_FINAL = 57442
|
|
|
|
const T_PRIVATE = 57443
|
|
|
|
const T_PROTECTED = 57444
|
|
|
|
const T_PUBLIC = 57445
|
|
|
|
const T_INC = 57446
|
|
|
|
const T_DEC = 57447
|
|
|
|
const T_YIELD_FROM = 57448
|
|
|
|
const T_INT_CAST = 57449
|
|
|
|
const T_DOUBLE_CAST = 57450
|
|
|
|
const T_STRING_CAST = 57451
|
|
|
|
const T_ARRAY_CAST = 57452
|
|
|
|
const T_OBJECT_CAST = 57453
|
|
|
|
const T_BOOL_CAST = 57454
|
|
|
|
const T_UNSET_CAST = 57455
|
|
|
|
const T_COALESCE = 57456
|
|
|
|
const T_SPACESHIP = 57457
|
|
|
|
const T_NOELSE = 57458
|
|
|
|
const T_PLUS_EQUAL = 57459
|
|
|
|
const T_MINUS_EQUAL = 57460
|
|
|
|
const T_MUL_EQUAL = 57461
|
|
|
|
const T_DIV_EQUAL = 57462
|
|
|
|
const T_CONCAT_EQUAL = 57463
|
|
|
|
const T_MOD_EQUAL = 57464
|
|
|
|
const T_AND_EQUAL = 57465
|
|
|
|
const T_OR_EQUAL = 57466
|
|
|
|
const T_XOR_EQUAL = 57467
|
|
|
|
const T_SL_EQUAL = 57468
|
|
|
|
const T_SR_EQUAL = 57469
|
|
|
|
const T_POW_EQUAL = 57470
|
|
|
|
const T_BOOLEAN_OR = 57471
|
|
|
|
const T_BOOLEAN_AND = 57472
|
|
|
|
const T_IS_EQUAL = 57473
|
|
|
|
const T_IS_NOT_EQUAL = 57474
|
|
|
|
const T_IS_IDENTICAL = 57475
|
|
|
|
const T_IS_NOT_IDENTICAL = 57476
|
|
|
|
const T_IS_SMALLER_OR_EQUAL = 57477
|
|
|
|
const T_IS_GREATER_OR_EQUAL = 57478
|
|
|
|
const T_SL = 57479
|
|
|
|
const T_SR = 57480
|
|
|
|
const T_POW = 57481
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyToknames = [...]string{
|
|
|
|
"$end",
|
|
|
|
"error",
|
|
|
|
"$unk",
|
|
|
|
"T_INCLUDE",
|
|
|
|
"T_INCLUDE_ONCE",
|
|
|
|
"T_EXIT",
|
|
|
|
"T_IF",
|
|
|
|
"T_LNUMBER",
|
|
|
|
"T_DNUMBER",
|
|
|
|
"T_STRING",
|
|
|
|
"T_STRING_VARNAME",
|
|
|
|
"T_VARIABLE",
|
|
|
|
"T_NUM_STRING",
|
|
|
|
"T_INLINE_HTML",
|
|
|
|
"T_CHARACTER",
|
|
|
|
"T_BAD_CHARACTER",
|
|
|
|
"T_ENCAPSED_AND_WHITESPACE",
|
|
|
|
"T_CONSTANT_ENCAPSED_STRING",
|
|
|
|
"T_ECHO",
|
|
|
|
"T_DO",
|
|
|
|
"T_WHILE",
|
|
|
|
"T_ENDWHILE",
|
|
|
|
"T_FOR",
|
|
|
|
"T_ENDFOR",
|
|
|
|
"T_FOREACH",
|
|
|
|
"T_ENDFOREACH",
|
|
|
|
"T_DECLARE",
|
|
|
|
"T_ENDDECLARE",
|
|
|
|
"T_AS",
|
|
|
|
"T_SWITCH",
|
|
|
|
"T_ENDSWITCH",
|
|
|
|
"T_CASE",
|
|
|
|
"T_DEFAULT",
|
|
|
|
"T_BREAK",
|
|
|
|
"T_CONTINUE",
|
|
|
|
"T_GOTO",
|
|
|
|
"T_FUNCTION",
|
|
|
|
"T_CONST",
|
|
|
|
"T_RETURN",
|
|
|
|
"T_TRY",
|
|
|
|
"T_CATCH",
|
|
|
|
"T_FINALLY",
|
|
|
|
"T_THROW",
|
|
|
|
"T_USE",
|
|
|
|
"T_INSTEADOF",
|
|
|
|
"T_GLOBAL",
|
|
|
|
"T_VAR",
|
|
|
|
"T_UNSET",
|
|
|
|
"T_ISSET",
|
|
|
|
"T_EMPTY",
|
|
|
|
"T_HALT_COMPILER",
|
|
|
|
"T_CLASS",
|
|
|
|
"T_TRAIT",
|
|
|
|
"T_INTERFACE",
|
|
|
|
"T_EXTENDS",
|
|
|
|
"T_IMPLEMENTS",
|
|
|
|
"T_OBJECT_OPERATOR",
|
2018-01-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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3824
|
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-04-09 20:08:29 +00:00
|
|
|
-1, 2,
|
|
|
|
1, 1,
|
|
|
|
-2, 0,
|
|
|
|
-1, 51,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
-2, 433,
|
|
|
|
-1, 102,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 332,
|
|
|
|
-2, 411,
|
2018-04-09 20:08:29 +00:00
|
|
|
-1, 114,
|
|
|
|
78, 451,
|
|
|
|
123, 447,
|
|
|
|
-2, 457,
|
|
|
|
-1, 154,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
-2, 433,
|
|
|
|
-1, 204,
|
|
|
|
121, 306,
|
|
|
|
124, 306,
|
|
|
|
-2, 430,
|
|
|
|
-1, 205,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
121, 307,
|
|
|
|
124, 307,
|
|
|
|
-2, 433,
|
|
|
|
-1, 271,
|
|
|
|
78, 451,
|
|
|
|
-2, 457,
|
|
|
|
-1, 298,
|
|
|
|
78, 334,
|
|
|
|
-2, 413,
|
|
|
|
-1, 302,
|
|
|
|
123, 448,
|
|
|
|
-2, 458,
|
|
|
|
-1, 311,
|
|
|
|
78, 333,
|
|
|
|
-2, 412,
|
|
|
|
-1, 378,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 274,
|
|
|
|
-1, 379,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 275,
|
|
|
|
-1, 380,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 276,
|
|
|
|
-1, 381,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 277,
|
|
|
|
-1, 382,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 278,
|
|
|
|
-1, 383,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 279,
|
|
|
|
-1, 384,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 280,
|
|
|
|
-1, 385,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 281,
|
|
|
|
-1, 392,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
-2, 433,
|
|
|
|
-1, 400,
|
|
|
|
124, 142,
|
|
|
|
-2, 147,
|
2018-02-04 16:51:44 +00:00
|
|
|
-1, 462,
|
2018-04-09 20:08:29 +00:00
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
124, 514,
|
|
|
|
135, 514,
|
|
|
|
-2, 433,
|
|
|
|
-1, 463,
|
|
|
|
124, 515,
|
|
|
|
135, 515,
|
|
|
|
-2, 430,
|
|
|
|
-1, 464,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
-2, 433,
|
|
|
|
-1, 486,
|
|
|
|
124, 156,
|
|
|
|
135, 156,
|
|
|
|
-2, 430,
|
|
|
|
-1, 487,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
124, 157,
|
|
|
|
135, 157,
|
|
|
|
-2, 433,
|
|
|
|
-1, 493,
|
|
|
|
123, 472,
|
|
|
|
-2, 516,
|
|
|
|
-1, 499,
|
|
|
|
123, 472,
|
|
|
|
-2, 517,
|
|
|
|
-1, 521,
|
2018-02-04 17:37:27 +00:00
|
|
|
78, 332,
|
|
|
|
-2, 369,
|
2018-04-09 20:08:29 +00:00
|
|
|
-1, 539,
|
|
|
|
93, 135,
|
|
|
|
94, 135,
|
|
|
|
95, 135,
|
|
|
|
-2, 0,
|
|
|
|
-1, 551,
|
|
|
|
124, 142,
|
|
|
|
-2, 147,
|
|
|
|
-1, 564,
|
|
|
|
124, 142,
|
|
|
|
-2, 147,
|
|
|
|
-1, 581,
|
|
|
|
121, 308,
|
|
|
|
124, 308,
|
|
|
|
-2, 430,
|
|
|
|
-1, 582,
|
|
|
|
104, 435,
|
|
|
|
105, 435,
|
|
|
|
121, 309,
|
|
|
|
124, 309,
|
|
|
|
-2, 433,
|
|
|
|
-1, 681,
|
|
|
|
78, 334,
|
|
|
|
-2, 371,
|
|
|
|
-1, 779,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 397,
|
|
|
|
-1, 780,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 398,
|
|
|
|
-1, 781,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 399,
|
|
|
|
-1, 782,
|
2018-01-29 14:11:45 +00:00
|
|
|
153, 0,
|
|
|
|
154, 0,
|
|
|
|
155, 0,
|
|
|
|
156, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 400,
|
|
|
|
-1, 783,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 401,
|
|
|
|
-1, 784,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 402,
|
|
|
|
-1, 785,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 403,
|
|
|
|
-1, 786,
|
2018-01-29 14:11:45 +00:00
|
|
|
157, 0,
|
|
|
|
158, 0,
|
|
|
|
159, 0,
|
|
|
|
160, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
-2, 404,
|
|
|
|
-1, 789,
|
|
|
|
78, 333,
|
|
|
|
-2, 370,
|
|
|
|
-1, 839,
|
|
|
|
37, 201,
|
|
|
|
-2, 198,
|
|
|
|
-1, 879,
|
|
|
|
31, 128,
|
|
|
|
32, 128,
|
|
|
|
33, 128,
|
|
|
|
120, 128,
|
|
|
|
-2, 0,
|
|
|
|
-1, 914,
|
|
|
|
95, 140,
|
|
|
|
-2, 0,
|
|
|
|
-1, 916,
|
|
|
|
31, 127,
|
|
|
|
32, 127,
|
|
|
|
33, 127,
|
|
|
|
120, 127,
|
|
|
|
-2, 0,
|
|
|
|
-1, 943,
|
|
|
|
93, 136,
|
|
|
|
94, 136,
|
|
|
|
95, 136,
|
|
|
|
-2, 0,
|
|
|
|
-1, 971,
|
|
|
|
29, 189,
|
2018-01-29 14:11:45 +00:00
|
|
|
-2, 4,
|
2018-04-09 20:08:29 +00:00
|
|
|
-1, 980,
|
|
|
|
124, 142,
|
|
|
|
-2, 147,
|
|
|
|
-1, 997,
|
|
|
|
121, 193,
|
|
|
|
-2, 195,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const yyPrivate = 57344
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
const yyLast = 8512
|
2017-11-23 15:33:47 +00:00
|
|
|
|
|
|
|
var yyAct = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
102, 571, 843, 565, 1006, 965, 714, 807, 420, 826,
|
|
|
|
123, 131, 606, 200, 340, 918, 734, 567, 452, 815,
|
|
|
|
474, 683, 296, 594, 461, 592, 421, 61, 579, 142,
|
|
|
|
319, 315, 39, 98, 264, 390, 158, 517, 130, 2,
|
|
|
|
444, 115, 289, 192, 653, 118, 138, 140, 447, 544,
|
|
|
|
145, 485, 179, 653, 978, 1002, 228, 228, 162, 477,
|
|
|
|
941, 331, 940, 43, 7, 493, 959, 121, 330, 937,
|
|
|
|
934, 6, 931, 26, 821, 932, 939, 450, 499, 121,
|
|
|
|
121, 267, 44, 656, 658, 659, 657, 953, 432, 933,
|
|
|
|
921, 897, 853, 737, 192, 657, 709, 562, 954, 632,
|
|
|
|
251, 586, 618, 586, 298, 898, 735, 494, 153, 516,
|
|
|
|
633, 653, 585, 619, 270, 655, 654, 137, 358, 325,
|
|
|
|
179, 560, 272, 586, 793, 204, 311, 556, 510, 316,
|
|
|
|
320, 728, 561, 323, 114, 258, 329, 241, 557, 5,
|
|
|
|
506, 305, 511, 675, 677, 676, 678, 663, 664, 665,
|
|
|
|
656, 658, 659, 657, 507, 543, 339, 141, 653, 359,
|
|
|
|
121, 228, 655, 654, 310, 475, 355, 39, 178, 180,
|
|
|
|
181, 179, 121, 360, 451, 159, 357, 350, 312, 162,
|
|
|
|
356, 201, 1018, 976, 929, 907, 451, 451, 906, 120,
|
|
|
|
192, 351, 313, 267, 133, 228, 665, 656, 658, 659,
|
|
|
|
657, 120, 120, 904, 117, 861, 855, 653, 134, 791,
|
|
|
|
661, 655, 654, 241, 745, 271, 653, 104, 595, 639,
|
|
|
|
655, 654, 301, 228, 352, 631, 270, 386, 300, 177,
|
|
|
|
176, 425, 630, 624, 272, 673, 674, 671, 672, 675,
|
|
|
|
677, 676, 678, 663, 664, 665, 656, 658, 659, 657,
|
|
|
|
302, 623, 663, 664, 665, 656, 658, 659, 657, 597,
|
|
|
|
232, 232, 228, 175, 178, 180, 181, 179, 596, 595,
|
|
|
|
456, 473, 749, 231, 231, 333, 440, 336, 393, 748,
|
|
|
|
604, 294, 120, 611, 293, 273, 740, 453, 295, 610,
|
|
|
|
287, 281, 254, 228, 303, 253, 399, 160, 265, 977,
|
|
|
|
930, 1001, 950, 915, 885, 449, 882, 870, 825, 446,
|
|
|
|
814, 727, 693, 634, 131, 396, 625, 621, 509, 430,
|
|
|
|
428, 490, 513, 307, 241, 1013, 521, 271, 980, 297,
|
|
|
|
892, 472, 139, 297, 504, 999, 824, 593, 818, 682,
|
|
|
|
39, 449, 913, 434, 439, 492, 449, 587, 491, 502,
|
|
|
|
498, 564, 505, 497, 809, 808, 876, 463, 465, 521,
|
|
|
|
551, 126, 400, 121, 537, 232, 541, 288, 278, 275,
|
|
|
|
467, 484, 7, 274, 344, 250, 471, 345, 231, 6,
|
|
|
|
486, 222, 479, 480, 196, 195, 194, 144, 548, 495,
|
|
|
|
122, 135, 436, 437, 989, 546, 552, 273, 448, 232,
|
|
|
|
1010, 572, 1009, 572, 577, 572, 580, 458, 228, 400,
|
|
|
|
265, 984, 231, 983, 126, 923, 121, 912, 437, 436,
|
|
|
|
436, 126, 437, 121, 880, 588, 39, 232, 703, 704,
|
|
|
|
229, 703, 704, 230, 448, 811, 805, 804, 798, 448,
|
|
|
|
231, 295, 584, 712, 699, 547, 545, 5, 490, 233,
|
|
|
|
542, 501, 539, 398, 348, 540, 615, 156, 981, 126,
|
|
|
|
905, 121, 605, 423, 1019, 975, 232, 609, 449, 449,
|
|
|
|
874, 917, 492, 498, 891, 491, 497, 890, 309, 231,
|
|
|
|
308, 126, 888, 229, 732, 120, 230, 578, 581, 228,
|
|
|
|
229, 306, 197, 230, 435, 830, 449, 232, 616, 449,
|
|
|
|
614, 449, 233, 446, 295, 617, 224, 225, 316, 233,
|
|
|
|
231, 987, 320, 257, 637, 638, 810, 521, 730, 702,
|
|
|
|
641, 642, 802, 803, 681, 680, 521, 455, 229, 126,
|
|
|
|
353, 230, 39, 521, 521, 521, 521, 521, 120, 645,
|
|
|
|
695, 696, 648, 531, 259, 120, 650, 233, 635, 438,
|
|
|
|
126, 647, 572, 125, 652, 710, 424, 700, 228, 228,
|
|
|
|
228, 448, 448, 521, 7, 572, 718, 125, 726, 39,
|
|
|
|
39, 6, 91, 126, 971, 731, 531, 572, 580, 569,
|
|
|
|
570, 126, 729, 120, 612, 267, 687, 228, 228, 448,
|
|
|
|
124, 459, 448, 713, 448, 705, 739, 707, 573, 295,
|
|
|
|
723, 574, 454, 427, 295, 733, 282, 286, 260, 261,
|
|
|
|
469, 504, 232, 738, 426, 304, 742, 741, 270, 736,
|
|
|
|
126, 299, 321, 126, 816, 231, 272, 864, 228, 595,
|
|
|
|
228, 518, 686, 515, 62, 512, 744, 449, 508, 5,
|
|
|
|
457, 446, 573, 573, 754, 574, 574, 128, 129, 468,
|
|
|
|
322, 54, 263, 317, 521, 521, 521, 521, 521, 521,
|
|
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
|
|
521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
|
|
|
|
521, 789, 743, 521, 576, 758, 295, 756, 295, 757,
|
|
|
|
285, 295, 132, 232, 404, 132, 259, 720, 239, 750,
|
|
|
|
402, 438, 463, 295, 790, 792, 231, 226, 234, 259,
|
|
|
|
521, 208, 126, 207, 121, 985, 486, 228, 259, 271,
|
|
|
|
827, 823, 259, 799, 795, 45, 1007, 438, 725, 572,
|
|
|
|
448, 831, 986, 163, 531, 1017, 572, 850, 819, 338,
|
|
|
|
812, 703, 704, 531, 559, 991, 828, 813, 957, 832,
|
|
|
|
531, 531, 531, 531, 531, 851, 955, 856, 45, 453,
|
|
|
|
260, 261, 232, 232, 232, 742, 796, 609, 706, 703,
|
|
|
|
704, 858, 469, 260, 261, 231, 231, 231, 925, 896,
|
|
|
|
531, 268, 260, 261, 269, 470, 260, 261, 521, 273,
|
|
|
|
893, 232, 232, 259, 521, 521, 550, 1003, 284, 998,
|
|
|
|
233, 960, 265, 935, 231, 231, 847, 848, 849, 846,
|
|
|
|
845, 844, 901, 599, 878, 601, 600, 228, 126, 228,
|
|
|
|
877, 760, 521, 883, 881, 572, 889, 884, 759, 854,
|
|
|
|
875, 722, 232, 800, 232, 651, 120, 859, 860, 820,
|
|
|
|
649, 646, 900, 572, 903, 231, 602, 231, 514, 481,
|
|
|
|
39, 395, 324, 203, 202, 841, 285, 260, 261, 887,
|
|
|
|
199, 842, 136, 1, 840, 944, 335, 228, 899, 829,
|
|
|
|
521, 531, 531, 531, 531, 531, 531, 531, 531, 531,
|
|
|
|
531, 531, 531, 531, 531, 531, 531, 531, 531, 531,
|
|
|
|
531, 531, 531, 531, 531, 531, 531, 531, 519, 259,
|
|
|
|
531, 922, 938, 259, 283, 908, 449, 1008, 256, 39,
|
|
|
|
446, 343, 521, 936, 747, 847, 848, 849, 846, 845,
|
|
|
|
844, 232, 753, 863, 445, 879, 909, 531, 608, 589,
|
|
|
|
590, 519, 521, 591, 231, 521, 873, 894, 521, 684,
|
|
|
|
572, 962, 572, 970, 39, 255, 39, 839, 994, 964,
|
|
|
|
963, 902, 483, 192, 39, 403, 39, 39, 895, 838,
|
|
|
|
521, 835, 575, 260, 261, 572, 970, 260, 261, 956,
|
|
|
|
982, 566, 958, 39, 1005, 961, 1004, 39, 39, 521,
|
|
|
|
724, 572, 394, 389, 993, 164, 572, 995, 341, 997,
|
|
|
|
697, 538, 177, 176, 914, 928, 916, 979, 290, 448,
|
|
|
|
460, 161, 39, 572, 1011, 531, 924, 157, 926, 927,
|
|
|
|
1012, 531, 531, 318, 572, 1015, 992, 314, 127, 919,
|
|
|
|
39, 232, 919, 232, 182, 183, 175, 178, 180, 181,
|
|
|
|
179, 943, 528, 607, 231, 947, 231, 996, 948, 531,
|
|
|
|
969, 968, 967, 192, 39, 966, 837, 836, 834, 401,
|
|
|
|
39, 40, 945, 568, 15, 14, 822, 719, 801, 694,
|
|
|
|
11, 841, 249, 75, 972, 76, 116, 842, 266, 64,
|
|
|
|
840, 232, 89, 598, 90, 520, 101, 74, 12, 326,
|
|
|
|
100, 99, 177, 176, 231, 79, 119, 531, 526, 519,
|
|
|
|
3, 41, 0, 990, 0, 0, 0, 0, 519, 0,
|
|
|
|
0, 0, 0, 0, 0, 519, 519, 519, 519, 519,
|
|
|
|
188, 189, 190, 191, 182, 183, 175, 178, 180, 181,
|
|
|
|
179, 847, 848, 849, 846, 845, 844, 0, 1014, 531,
|
|
|
|
0, 0, 0, 0, 0, 519, 0, 1020, 169, 171,
|
|
|
|
170, 192, 0, 833, 0, 0, 0, 0, 0, 531,
|
|
|
|
558, 0, 531, 0, 0, 531, 0, 685, 0, 0,
|
|
|
|
0, 0, 0, 0, 688, 689, 690, 691, 692, 0,
|
|
|
|
620, 0, 809, 808, 0, 0, 0, 531, 193, 173,
|
|
|
|
177, 176, 209, 210, 211, 212, 214, 215, 216, 217,
|
|
|
|
218, 219, 220, 221, 213, 0, 531, 0, 0, 0,
|
|
|
|
167, 168, 172, 174, 186, 187, 184, 185, 188, 189,
|
|
|
|
190, 191, 182, 183, 175, 178, 180, 181, 179, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 519, 519, 519, 519,
|
2018-02-04 17:37:27 +00:00
|
|
|
519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
|
2018-04-09 20:08:29 +00:00
|
|
|
519, 519, 519, 519, 519, 519, 519, 519, 519, 519,
|
|
|
|
519, 519, 519, 0, 0, 519, 0, 209, 210, 211,
|
|
|
|
212, 214, 215, 216, 217, 218, 219, 220, 221, 213,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 668, 666, 667,
|
|
|
|
0, 0, 519, 0, 0, 761, 762, 763, 764, 765,
|
|
|
|
766, 767, 768, 769, 770, 771, 772, 773, 774, 775,
|
|
|
|
776, 777, 778, 779, 780, 781, 782, 783, 784, 785,
|
|
|
|
786, 788, 869, 0, 685, 653, 0, 679, 661, 655,
|
|
|
|
654, 209, 210, 211, 212, 214, 215, 216, 217, 218,
|
|
|
|
219, 220, 221, 213, 0, 0, 0, 0, 0, 670,
|
|
|
|
669, 660, 662, 673, 674, 671, 672, 675, 677, 676,
|
|
|
|
678, 663, 664, 665, 656, 658, 659, 657, 0, 0,
|
|
|
|
519, 0, 0, 0, 0, 0, 519, 519, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
349, 0, 0, 0, 0, 31, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 519, 209, 210, 211, 212, 214,
|
|
|
|
215, 216, 217, 218, 219, 220, 221, 213, 0, 147,
|
|
|
|
151, 155, 0, 0, 0, 165, 0, 0, 0, 868,
|
|
|
|
0, 0, 51, 198, 0, 871, 872, 0, 206, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 223,
|
|
|
|
0, 0, 519, 235, 236, 237, 238, 0, 154, 240,
|
|
|
|
0, 242, 243, 244, 245, 246, 247, 248, 653, 252,
|
|
|
|
0, 661, 655, 654, 262, 205, 0, 0, 0, 276,
|
|
|
|
277, 0, 279, 280, 0, 0, 0, 0, 227, 227,
|
|
|
|
0, 0, 0, 291, 519, 662, 673, 674, 671, 672,
|
|
|
|
675, 677, 676, 678, 663, 664, 665, 656, 658, 659,
|
|
|
|
657, 910, 0, 0, 519, 0, 0, 519, 0, 0,
|
|
|
|
519, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 240, 0, 0, 0, 0,
|
|
|
|
342, 0, 519, 0, 0, 0, 0, 0, 0, 126,
|
|
|
|
0, 121, 0, 942, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 519, 0, 361, 362, 363, 364, 365, 366, 367,
|
|
|
|
368, 369, 370, 371, 372, 373, 374, 375, 376, 377,
|
|
|
|
378, 379, 380, 381, 382, 383, 384, 385, 0, 387,
|
|
|
|
0, 155, 0, 354, 0, 0, 0, 0, 717, 0,
|
|
|
|
0, 0, 0, 0, 0, 406, 408, 409, 410, 411,
|
|
|
|
412, 413, 414, 415, 416, 417, 418, 419, 229, 0,
|
|
|
|
0, 230, 0, 0, 0, 0, 0, 391, 392, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 233, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 240, 0, 0, 433,
|
|
|
|
433, 0, 0, 0, 0, 422, 441, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 716, 0, 0,
|
|
|
|
155, 155, 0, 120, 466, 0, 0, 433, 0, 0,
|
|
|
|
0, 0, 0, 433, 291, 0, 0, 0, 0, 433,
|
|
|
|
433, 0, 0, 155, 443, 0, 433, 496, 0, 0,
|
|
|
|
0, 0, 500, 0, 0, 0, 653, 462, 464, 661,
|
|
|
|
655, 654, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 478, 0, 0, 0, 0,
|
|
|
|
487, 669, 660, 662, 673, 674, 671, 672, 675, 677,
|
|
|
|
676, 678, 663, 664, 665, 656, 658, 659, 657, 549,
|
|
|
|
0, 0, 0, 0, 0, 0, 553, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 4, 0, 83, 84, 72, 18, 105, 106, 13,
|
|
|
|
88, 121, 0, 30, 555, 0, 0, 95, 29, 20,
|
|
|
|
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
|
|
|
|
0, 155, 0, 23, 24, 38, 45, 16, 25, 36,
|
|
|
|
0, 0, 37, 10, 0, 27, 0, 32, 81, 82,
|
|
|
|
8, 46, 48, 50, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 582, 0,
|
|
|
|
583, 0, 0, 93, 0, 0, 0, 613, 9, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
|
|
|
|
0, 626, 628, 55, 56, 911, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 636, 92, 77, 17, 644,
|
|
|
|
35, 0, 63, 0, 97, 0, 0, 0, 58, 57,
|
|
|
|
59, 60, 73, 120, 668, 666, 667, 0, 0, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 478, 0, 653, 0, 0, 0, 655, 654, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 342, 701,
|
|
|
|
0, 0, 653, 0, 679, 661, 655, 654, 0, 0,
|
|
|
|
711, 673, 674, 671, 672, 675, 677, 676, 678, 663,
|
|
|
|
664, 665, 656, 658, 659, 657, 670, 669, 660, 662,
|
|
|
|
673, 674, 671, 672, 675, 677, 676, 678, 663, 664,
|
|
|
|
665, 656, 658, 659, 657, 0, 0, 0, 0, 433,
|
|
|
|
391, 715, 715, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
746, 0, 0, 0, 0, 0, 433, 751, 668, 666,
|
|
|
|
667, 0, 0, 0, 0, 155, 0, 0, 0, 422,
|
|
|
|
422, 0, 0, 0, 0, 0, 0, 0, 0, 155,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 653, 867, 679, 661,
|
|
|
|
655, 654, 462, 666, 667, 0, 0, 0, 0, 0,
|
|
|
|
478, 0, 478, 0, 0, 0, 487, 0, 0, 0,
|
|
|
|
670, 669, 660, 662, 673, 674, 671, 672, 675, 677,
|
|
|
|
676, 678, 663, 664, 665, 656, 658, 659, 657, 0,
|
|
|
|
653, 0, 679, 661, 655, 654, 0, 0, 0, 806,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 670, 669, 660, 662, 673, 674,
|
|
|
|
671, 672, 675, 677, 676, 678, 663, 664, 665, 656,
|
|
|
|
658, 659, 657, 852, 0, 0, 433, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 433, 433, 0, 0, 0, 817,
|
|
|
|
0, 865, 0, 0, 0, 0, 0, 0, 4, 0,
|
|
|
|
83, 84, 72, 18, 105, 106, 13, 88, 121, 0,
|
|
|
|
30, 0, 0, 0, 95, 29, 20, 19, 0, 21,
|
|
|
|
0, 33, 0, 34, 0, 0, 22, 0, 0, 0,
|
|
|
|
23, 24, 38, 45, 16, 25, 36, 0, 0, 37,
|
|
|
|
10, 342, 27, 0, 32, 81, 82, 8, 46, 48,
|
|
|
|
50, 0, 0, 0, 0, 52, 96, 0, 94, 110,
|
|
|
|
111, 112, 107, 108, 0, 0, 0, 0, 0, 0,
|
|
|
|
93, 0, 0, 0, 0, 9, 113, 109, 103, 0,
|
|
|
|
85, 86, 87, 0, 0, 0, 0, 80, 53, 715,
|
|
|
|
0, 422, 78, 42, 28, 47, 49, 0, 0, 0,
|
|
|
|
55, 56, 0, 65, 66, 67, 68, 69, 70, 71,
|
|
|
|
0, 0, 0, 92, 77, 17, 503, 35, 0, 63,
|
|
|
|
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
|
|
|
|
120, 0, 0, 0, 0, 0, 0, 0, 4, 478,
|
|
|
|
83, 84, 72, 18, 105, 106, 13, 88, 121, 0,
|
|
|
|
30, 0, 0, 0, 95, 29, 20, 19, 0, 21,
|
|
|
|
0, 33, 0, 34, 0, 0, 22, 0, 0, 0,
|
|
|
|
23, 24, 38, 45, 16, 25, 36, 0, 0, 37,
|
|
|
|
10, 0, 27, 0, 32, 81, 82, 8, 46, 48,
|
|
|
|
50, 0, 0, 0, 0, 52, 96, 0, 94, 110,
|
|
|
|
111, 112, 107, 108, 0, 0, 0, 0, 0, 0,
|
|
|
|
93, 0, 0, 0, 0, 9, 113, 109, 103, 0,
|
|
|
|
85, 86, 87, 0, 0, 0, 0, 80, 53, 0,
|
|
|
|
0, 0, 78, 42, 28, 47, 49, 0, 0, 0,
|
|
|
|
55, 56, 0, 65, 66, 67, 68, 69, 70, 71,
|
|
|
|
0, 0, 0, 92, 77, 17, 0, 35, 0, 63,
|
|
|
|
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
|
|
|
|
120, 328, 0, 83, 84, 72, 18, 105, 106, 13,
|
|
|
|
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
|
|
|
|
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
|
|
|
|
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
|
|
|
|
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
|
|
|
|
332, 46, 48, 50, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
|
|
|
|
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 0, 92, 77, 17, 1021,
|
|
|
|
35, 0, 63, 0, 97, 0, 0, 0, 58, 57,
|
|
|
|
59, 60, 73, 120, 328, 0, 83, 84, 72, 18,
|
|
|
|
105, 106, 13, 88, 121, 0, 30, 0, 0, 0,
|
|
|
|
95, 29, 20, 19, 0, 21, 0, 33, 0, 34,
|
|
|
|
0, 0, 22, 0, 0, 0, 23, 24, 38, 45,
|
|
|
|
0, 25, 36, 0, 0, 37, 0, 0, 27, 0,
|
|
|
|
32, 81, 82, 332, 46, 48, 50, 0, 0, 0,
|
|
|
|
0, 52, 96, 0, 94, 110, 111, 112, 107, 108,
|
|
|
|
0, 0, 0, 0, 0, 0, 93, 0, 0, 0,
|
|
|
|
0, 143, 113, 109, 103, 0, 85, 86, 87, 0,
|
|
|
|
0, 0, 0, 80, 53, 0, 0, 0, 78, 42,
|
|
|
|
28, 47, 49, 0, 0, 0, 55, 56, 0, 65,
|
|
|
|
66, 67, 68, 69, 70, 71, 0, 0, 0, 92,
|
|
|
|
77, 17, 1016, 35, 0, 63, 0, 97, 0, 0,
|
|
|
|
0, 58, 57, 59, 60, 73, 120, 328, 0, 83,
|
|
|
|
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
|
|
|
|
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
|
|
|
|
33, 0, 34, 0, 0, 22, 0, 0, 0, 23,
|
|
|
|
24, 38, 45, 0, 25, 36, 0, 0, 37, 0,
|
|
|
|
0, 27, 0, 32, 81, 82, 332, 46, 48, 50,
|
|
|
|
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
|
|
|
|
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
|
|
|
|
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
|
|
|
|
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
|
|
|
|
0, 78, 42, 28, 47, 49, 0, 0, 0, 55,
|
|
|
|
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
|
|
|
|
0, 0, 92, 77, 17, 1000, 35, 0, 63, 0,
|
|
|
|
97, 0, 0, 0, 58, 57, 59, 60, 73, 120,
|
|
|
|
328, 0, 83, 84, 72, 18, 105, 106, 13, 88,
|
|
|
|
121, 0, 30, 0, 0, 0, 95, 29, 20, 19,
|
|
|
|
0, 21, 988, 33, 0, 34, 0, 0, 22, 0,
|
|
|
|
0, 0, 23, 24, 38, 45, 0, 25, 36, 0,
|
|
|
|
0, 37, 0, 0, 27, 0, 32, 81, 82, 332,
|
|
|
|
46, 48, 50, 0, 0, 0, 0, 52, 96, 0,
|
|
|
|
94, 110, 111, 112, 107, 108, 0, 0, 0, 0,
|
|
|
|
0, 0, 93, 0, 0, 0, 0, 143, 113, 109,
|
|
|
|
103, 0, 85, 86, 87, 0, 0, 0, 0, 80,
|
|
|
|
53, 0, 0, 0, 78, 42, 28, 47, 49, 0,
|
|
|
|
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
|
|
|
|
70, 71, 0, 0, 0, 92, 77, 17, 0, 35,
|
|
|
|
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
|
|
|
|
60, 73, 120, 328, 0, 83, 84, 72, 18, 105,
|
|
|
|
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
|
|
|
|
29, 20, 19, 0, 21, 0, 33, 974, 34, 0,
|
|
|
|
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
|
|
|
|
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
|
|
|
|
81, 82, 332, 46, 48, 50, 0, 0, 0, 0,
|
|
|
|
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
|
|
|
|
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
|
|
|
|
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
|
|
|
|
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
|
|
|
|
47, 49, 0, 0, 0, 55, 56, 0, 65, 66,
|
|
|
|
67, 68, 69, 70, 71, 0, 0, 0, 92, 77,
|
|
|
|
17, 0, 35, 0, 63, 0, 97, 0, 0, 0,
|
|
|
|
58, 57, 59, 60, 73, 120, 328, 0, 83, 84,
|
|
|
|
72, 18, 105, 106, 13, 88, 121, 0, 30, 0,
|
|
|
|
0, 0, 95, 29, 20, 19, 0, 21, 0, 33,
|
|
|
|
0, 34, 0, 0, 22, 0, 0, 0, 23, 24,
|
|
|
|
38, 45, 0, 25, 36, 0, 0, 37, 0, 0,
|
|
|
|
27, 0, 32, 81, 82, 332, 46, 48, 50, 0,
|
|
|
|
0, 0, 0, 52, 96, 0, 94, 110, 111, 112,
|
|
|
|
107, 108, 0, 0, 0, 0, 0, 0, 93, 0,
|
|
|
|
0, 0, 0, 143, 113, 109, 103, 0, 85, 86,
|
|
|
|
87, 0, 0, 0, 0, 80, 53, 0, 0, 0,
|
|
|
|
78, 42, 28, 47, 49, 0, 0, 0, 55, 56,
|
|
|
|
0, 65, 66, 67, 68, 69, 70, 71, 0, 0,
|
|
|
|
0, 92, 77, 17, 973, 35, 0, 63, 0, 97,
|
|
|
|
0, 0, 0, 58, 57, 59, 60, 73, 120, 328,
|
|
|
|
0, 83, 84, 72, 18, 105, 106, 13, 88, 121,
|
|
|
|
0, 30, 0, 0, 0, 95, 29, 20, 19, 0,
|
|
|
|
21, 0, 33, 0, 34, 0, 0, 22, 0, 0,
|
|
|
|
0, 23, 24, 38, 45, 0, 25, 36, 0, 0,
|
|
|
|
37, 0, 0, 27, 0, 32, 81, 82, 332, 46,
|
|
|
|
48, 50, 0, 0, 0, 0, 52, 96, 0, 94,
|
|
|
|
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
|
|
|
|
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
|
|
|
|
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
|
|
|
|
0, 0, 0, 78, 42, 28, 47, 49, 0, 0,
|
|
|
|
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
|
|
|
|
71, 0, 0, 0, 92, 77, 17, 952, 35, 0,
|
|
|
|
63, 0, 97, 0, 0, 0, 58, 57, 59, 60,
|
|
|
|
73, 120, 328, 0, 83, 84, 72, 18, 105, 106,
|
|
|
|
13, 88, 121, 0, 30, 0, 0, 0, 95, 29,
|
|
|
|
20, 19, 0, 21, 0, 33, 0, 34, 0, 0,
|
|
|
|
22, 0, 0, 0, 23, 24, 38, 45, 0, 25,
|
|
|
|
36, 0, 0, 37, 0, 0, 27, 0, 32, 81,
|
|
|
|
82, 332, 46, 48, 50, 0, 0, 0, 0, 52,
|
|
|
|
96, 0, 94, 110, 111, 112, 107, 108, 0, 0,
|
|
|
|
0, 0, 0, 0, 93, 0, 0, 0, 0, 143,
|
|
|
|
113, 109, 103, 0, 85, 86, 87, 0, 0, 0,
|
|
|
|
0, 80, 53, 0, 0, 0, 78, 42, 28, 47,
|
|
|
|
49, 0, 0, 0, 55, 56, 0, 65, 66, 67,
|
|
|
|
68, 69, 70, 71, 0, 0, 0, 92, 77, 17,
|
|
|
|
951, 35, 0, 63, 0, 97, 0, 0, 0, 58,
|
|
|
|
57, 59, 60, 73, 120, 328, 0, 83, 84, 72,
|
|
|
|
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
|
|
|
|
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
|
|
|
|
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
|
|
|
|
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
|
|
|
|
0, 32, 81, 82, 332, 46, 48, 50, 0, 0,
|
|
|
|
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
|
|
|
|
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
|
|
|
|
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
|
|
|
|
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
|
|
|
|
42, 28, 47, 49, 0, 0, 0, 55, 56, 0,
|
|
|
|
65, 66, 67, 68, 69, 70, 71, 0, 0, 0,
|
|
|
|
92, 77, 17, 949, 35, 0, 63, 0, 97, 0,
|
|
|
|
0, 0, 58, 57, 59, 60, 73, 120, 328, 0,
|
|
|
|
83, 84, 72, 18, 105, 106, 13, 88, 121, 0,
|
|
|
|
30, 0, 0, 0, 95, 29, 20, 19, 0, 21,
|
|
|
|
0, 33, 0, 34, 886, 0, 22, 0, 0, 0,
|
|
|
|
23, 24, 38, 45, 0, 25, 36, 0, 0, 37,
|
|
|
|
0, 0, 27, 0, 32, 81, 82, 332, 46, 48,
|
|
|
|
50, 0, 0, 0, 0, 52, 96, 0, 94, 110,
|
|
|
|
111, 112, 107, 108, 0, 0, 0, 0, 0, 0,
|
|
|
|
93, 0, 0, 0, 0, 143, 113, 109, 103, 0,
|
|
|
|
85, 86, 87, 0, 0, 0, 0, 80, 53, 0,
|
|
|
|
0, 0, 78, 42, 28, 47, 49, 0, 0, 0,
|
|
|
|
55, 56, 0, 65, 66, 67, 68, 69, 70, 71,
|
|
|
|
0, 0, 0, 92, 77, 17, 0, 35, 0, 63,
|
|
|
|
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
|
|
|
|
120, 328, 0, 83, 84, 72, 18, 105, 106, 13,
|
|
|
|
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
|
|
|
|
19, 698, 21, 0, 33, 0, 34, 0, 0, 22,
|
|
|
|
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
|
|
|
|
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
|
|
|
|
332, 46, 48, 50, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 0, 0, 0, 78, 42, 28, 47, 49,
|
|
|
|
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 0, 92, 77, 17, 0,
|
|
|
|
35, 0, 63, 0, 97, 0, 0, 0, 58, 57,
|
|
|
|
59, 60, 73, 120, 328, 0, 83, 84, 72, 18,
|
|
|
|
105, 106, 13, 88, 121, 0, 30, 0, 0, 0,
|
|
|
|
95, 29, 20, 19, 0, 21, 0, 33, 0, 34,
|
|
|
|
0, 0, 22, 0, 0, 0, 23, 24, 38, 45,
|
|
|
|
0, 25, 36, 0, 0, 37, 0, 0, 27, 0,
|
|
|
|
32, 81, 82, 332, 46, 48, 50, 0, 0, 0,
|
|
|
|
0, 52, 96, 0, 94, 110, 111, 112, 107, 108,
|
|
|
|
0, 0, 0, 0, 0, 0, 93, 0, 0, 0,
|
|
|
|
0, 143, 113, 109, 103, 0, 85, 86, 87, 0,
|
|
|
|
0, 0, 0, 80, 53, 0, 0, 0, 78, 42,
|
|
|
|
28, 47, 49, 0, 0, 0, 55, 56, 0, 65,
|
|
|
|
66, 67, 68, 69, 70, 71, 0, 0, 0, 92,
|
|
|
|
77, 17, 563, 35, 0, 63, 0, 97, 0, 0,
|
|
|
|
0, 58, 57, 59, 60, 73, 120, 328, 0, 83,
|
|
|
|
84, 72, 18, 105, 106, 13, 88, 121, 0, 30,
|
|
|
|
0, 0, 0, 95, 29, 20, 19, 0, 21, 0,
|
|
|
|
33, 0, 34, 0, 0, 22, 0, 0, 0, 23,
|
|
|
|
24, 38, 45, 0, 25, 36, 0, 0, 37, 0,
|
|
|
|
0, 27, 0, 32, 81, 82, 332, 46, 48, 50,
|
|
|
|
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
|
|
|
|
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
|
|
|
|
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
|
|
|
|
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
|
|
|
|
0, 78, 42, 28, 47, 49, 0, 0, 0, 55,
|
|
|
|
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
|
|
|
|
0, 0, 92, 77, 17, 327, 35, 0, 63, 0,
|
|
|
|
97, 0, 0, 0, 58, 57, 59, 60, 73, 120,
|
|
|
|
328, 0, 83, 84, 72, 18, 105, 106, 13, 88,
|
|
|
|
121, 0, 30, 0, 0, 0, 95, 29, 20, 19,
|
|
|
|
0, 21, 0, 33, 0, 34, 0, 0, 22, 0,
|
|
|
|
0, 0, 23, 24, 38, 45, 0, 25, 36, 0,
|
|
|
|
0, 37, 0, 0, 27, 0, 32, 81, 82, 332,
|
|
|
|
46, 48, 50, 0, 0, 0, 0, 52, 96, 0,
|
|
|
|
94, 110, 111, 112, 107, 108, 0, 0, 0, 0,
|
|
|
|
0, 0, 93, 0, 0, 0, 0, 143, 113, 109,
|
|
|
|
103, 0, 85, 86, 87, 0, 0, 0, 0, 80,
|
|
|
|
53, 0, 0, 0, 78, 42, 28, 47, 49, 0,
|
|
|
|
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
|
|
|
|
70, 71, 0, 0, 0, 92, 77, 17, 0, 35,
|
|
|
|
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
|
|
|
|
60, 73, 120, 83, 84, 72, 18, 105, 106, 13,
|
|
|
|
88, 121, 0, 30, 0, 0, 0, 95, 29, 20,
|
|
|
|
19, 0, 21, 0, 33, 0, 34, 0, 0, 22,
|
|
|
|
0, 0, 0, 23, 24, 38, 45, 0, 25, 36,
|
|
|
|
0, 0, 37, 0, 0, 27, 0, 32, 81, 82,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 0, 0, 0, 78, 42, 28, 0, 0,
|
|
|
|
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 0, 92, 77, 17, 0,
|
|
|
|
35, 946, 63, 0, 97, 0, 0, 0, 58, 57,
|
|
|
|
59, 60, 73, 120, 83, 84, 72, 18, 105, 106,
|
|
|
|
13, 88, 121, 0, 30, 0, 0, 0, 95, 29,
|
|
|
|
20, 19, 0, 21, 0, 33, 0, 34, 0, 0,
|
|
|
|
22, 0, 0, 0, 23, 24, 38, 45, 0, 25,
|
|
|
|
36, 0, 0, 37, 0, 0, 27, 0, 32, 81,
|
|
|
|
82, 0, 0, 0, 0, 0, 0, 0, 0, 52,
|
|
|
|
96, 0, 94, 110, 111, 112, 107, 108, 0, 0,
|
|
|
|
0, 0, 0, 0, 93, 0, 0, 0, 0, 143,
|
|
|
|
113, 109, 103, 0, 85, 86, 87, 0, 0, 0,
|
|
|
|
0, 80, 53, 0, 0, 0, 78, 42, 28, 0,
|
|
|
|
0, 0, 0, 0, 55, 56, 0, 65, 66, 67,
|
|
|
|
68, 69, 70, 71, 0, 0, 0, 92, 77, 17,
|
|
|
|
0, 35, 920, 63, 0, 97, 0, 0, 0, 58,
|
|
|
|
57, 59, 60, 73, 120, 83, 84, 72, 18, 105,
|
|
|
|
106, 13, 88, 121, 0, 30, 0, 0, 0, 95,
|
|
|
|
29, 20, 19, 0, 21, 0, 33, 0, 34, 0,
|
|
|
|
0, 22, 0, 0, 0, 23, 24, 38, 45, 0,
|
|
|
|
25, 36, 0, 0, 37, 0, 0, 27, 0, 32,
|
|
|
|
81, 82, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
|
|
|
|
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
|
|
|
|
143, 113, 109, 103, 0, 85, 86, 87, 0, 0,
|
|
|
|
0, 0, 80, 53, 0, 0, 0, 78, 42, 28,
|
|
|
|
0, 0, 0, 0, 0, 55, 56, 0, 65, 66,
|
|
|
|
67, 68, 69, 70, 71, 0, 0, 0, 92, 77,
|
|
|
|
17, 0, 35, 721, 63, 0, 97, 0, 0, 0,
|
|
|
|
58, 57, 59, 60, 73, 120, 83, 84, 72, 18,
|
|
|
|
105, 106, 13, 88, 121, 0, 30, 0, 0, 0,
|
|
|
|
95, 29, 20, 19, 0, 21, 0, 33, 0, 34,
|
|
|
|
0, 0, 22, 0, 0, 0, 23, 24, 38, 45,
|
|
|
|
0, 25, 36, 0, 0, 37, 0, 0, 27, 0,
|
|
|
|
32, 81, 82, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 52, 96, 0, 94, 110, 111, 112, 107, 108,
|
|
|
|
0, 0, 0, 0, 0, 0, 93, 0, 0, 0,
|
|
|
|
0, 143, 113, 109, 103, 0, 85, 86, 87, 0,
|
|
|
|
0, 0, 0, 80, 53, 0, 0, 0, 78, 42,
|
|
|
|
28, 0, 0, 0, 0, 0, 55, 56, 0, 65,
|
|
|
|
66, 67, 68, 69, 70, 71, 0, 0, 0, 92,
|
|
|
|
77, 17, 0, 35, 337, 63, 0, 97, 0, 0,
|
|
|
|
0, 58, 57, 59, 60, 73, 120, 83, 84, 72,
|
|
|
|
18, 105, 106, 13, 88, 121, 0, 30, 0, 0,
|
|
|
|
0, 95, 29, 20, 19, 0, 21, 0, 33, 0,
|
|
|
|
34, 0, 0, 22, 0, 0, 0, 23, 24, 38,
|
|
|
|
45, 0, 25, 36, 0, 0, 37, 0, 0, 27,
|
|
|
|
0, 32, 81, 82, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
|
|
|
|
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
|
|
|
|
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
|
|
|
|
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
|
|
|
|
42, 28, 0, 0, 0, 0, 0, 55, 56, 0,
|
|
|
|
65, 66, 67, 68, 69, 70, 71, 0, 0, 0,
|
|
|
|
92, 77, 17, 0, 35, 334, 63, 0, 97, 0,
|
|
|
|
0, 0, 58, 57, 59, 60, 73, 120, 83, 84,
|
|
|
|
72, 18, 105, 106, 13, 88, 121, 0, 30, 0,
|
|
|
|
0, 0, 95, 29, 20, 19, 0, 21, 0, 33,
|
|
|
|
0, 34, 0, 0, 22, 0, 0, 0, 23, 24,
|
|
|
|
38, 45, 0, 25, 36, 0, 0, 37, 0, 0,
|
|
|
|
27, 0, 32, 81, 82, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 52, 96, 0, 94, 110, 111, 112,
|
|
|
|
107, 108, 0, 0, 0, 0, 0, 0, 93, 0,
|
|
|
|
0, 0, 0, 143, 113, 109, 103, 0, 85, 86,
|
|
|
|
87, 0, 192, 0, 0, 80, 53, 0, 0, 0,
|
|
|
|
78, 42, 28, 0, 0, 0, 0, 0, 55, 56,
|
|
|
|
0, 65, 66, 67, 68, 69, 70, 71, 0, 0,
|
|
|
|
0, 92, 77, 17, 0, 35, 0, 63, 0, 97,
|
|
|
|
173, 177, 176, 58, 57, 59, 60, 73, 120, 169,
|
|
|
|
171, 170, 192, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 167, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
0, 0, 862, 0, 0, 0, 0, 0, 0, 193,
|
|
|
|
173, 177, 176, 169, 171, 170, 192, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 167, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
0, 0, 857, 193, 173, 177, 176, 668, 666, 667,
|
2018-02-01 14:07:18 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 794, 0, 0, 167, 168, 172, 174, 186,
|
|
|
|
187, 184, 185, 188, 189, 190, 191, 182, 183, 175,
|
|
|
|
178, 180, 181, 179, 797, 653, 0, 679, 661, 655,
|
|
|
|
654, 668, 666, 667, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 755, 0, 0, 670,
|
|
|
|
669, 660, 662, 673, 674, 671, 672, 675, 677, 676,
|
|
|
|
678, 663, 664, 665, 656, 658, 659, 657, 0, 653,
|
|
|
|
0, 679, 661, 655, 654, 169, 171, 170, 192, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 670, 669, 660, 662, 673, 674, 671,
|
|
|
|
672, 675, 677, 676, 678, 663, 664, 665, 656, 658,
|
|
|
|
659, 657, 0, 0, 0, 193, 173, 177, 176, 0,
|
|
|
|
0, 0, 0, 169, 171, 170, 192, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 167, 168, 172,
|
|
|
|
174, 186, 187, 184, 185, 188, 189, 190, 191, 182,
|
|
|
|
183, 175, 178, 180, 181, 179, 752, 0, 0, 0,
|
|
|
|
0, 0, 0, 193, 173, 177, 176, 0, 0, 0,
|
|
|
|
0, 169, 171, 170, 192, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 167, 168, 172, 174, 186,
|
|
|
|
187, 184, 185, 188, 189, 190, 191, 182, 183, 175,
|
|
|
|
178, 180, 181, 179, 708, 0, 0, 0, 0, 0,
|
|
|
|
0, 193, 173, 177, 176, 0, 0, 0, 0, 169,
|
|
|
|
171, 170, 192, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 167, 168, 172, 174, 186, 187, 184,
|
|
|
|
185, 188, 189, 190, 191, 182, 183, 175, 178, 180,
|
|
|
|
181, 179, 643, 0, 0, 0, 0, 0, 0, 193,
|
|
|
|
173, 177, 176, 0, 0, 0, 0, 169, 171, 170,
|
|
|
|
192, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 167, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
640, 0, 0, 0, 0, 0, 0, 193, 173, 177,
|
|
|
|
176, 169, 171, 170, 192, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 167,
|
|
|
|
168, 172, 174, 186, 187, 184, 185, 188, 189, 190,
|
|
|
|
191, 182, 183, 175, 178, 180, 181, 179, 622, 0,
|
|
|
|
0, 193, 173, 177, 176, 0, 0, 0, 0, 169,
|
|
|
|
171, 170, 192, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 167, 168, 172, 174, 186, 187, 184,
|
|
|
|
185, 188, 189, 190, 191, 182, 183, 175, 178, 180,
|
|
|
|
181, 179, 603, 0, 0, 0, 0, 0, 0, 193,
|
|
|
|
173, 177, 176, 0, 0, 169, 171, 170, 192, 0,
|
2018-02-03 13:24:00 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
476, 167, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
554, 0, 0, 0, 0, 193, 173, 177, 176, 169,
|
|
|
|
171, 170, 192, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 167, 168, 172,
|
|
|
|
174, 186, 187, 184, 185, 188, 189, 190, 191, 182,
|
|
|
|
183, 175, 178, 180, 181, 179, 0, 0, 0, 193,
|
|
|
|
173, 177, 176, 169, 171, 170, 192, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 405, 0,
|
|
|
|
0, 167, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
429, 0, 0, 193, 173, 177, 176, 169, 171, 170,
|
|
|
|
192, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 167, 168, 172, 174, 186,
|
|
|
|
187, 184, 185, 188, 189, 190, 191, 182, 183, 175,
|
|
|
|
178, 180, 181, 179, 0, 0, 0, 193, 173, 177,
|
|
|
|
176, 0, 0, 0, 169, 171, 170, 192, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 167,
|
|
|
|
168, 172, 174, 186, 187, 184, 185, 188, 189, 190,
|
|
|
|
191, 182, 183, 175, 178, 180, 181, 179, 397, 0,
|
|
|
|
0, 0, 0, 0, 193, 173, 177, 176, 0, 0,
|
|
|
|
0, 169, 171, 170, 192, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 167, 168, 172, 174,
|
|
|
|
186, 187, 184, 185, 188, 189, 190, 191, 182, 183,
|
|
|
|
175, 178, 180, 181, 179, 347, 0, 0, 0, 0,
|
|
|
|
0, 193, 173, 177, 176, 0, 0, 0, 169, 171,
|
|
|
|
170, 192, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 167, 168, 172, 174, 186, 187, 184,
|
|
|
|
185, 188, 189, 190, 191, 182, 183, 175, 178, 180,
|
|
|
|
181, 179, 346, 0, 0, 0, 0, 0, 193, 173,
|
|
|
|
177, 176, 0, 0, 0, 169, 171, 170, 192, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
167, 168, 172, 174, 186, 187, 184, 185, 188, 189,
|
|
|
|
190, 191, 182, 183, 175, 178, 180, 181, 179, 166,
|
|
|
|
0, 0, 0, 0, 0, 193, 173, 177, 176, 668,
|
|
|
|
666, 667, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 167, 168, 172,
|
|
|
|
174, 186, 187, 184, 185, 188, 189, 190, 191, 182,
|
|
|
|
183, 175, 178, 180, 181, 179, 0, 653, 0, 679,
|
|
|
|
661, 655, 654, 169, 171, 170, 192, 0, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 670, 669, 660, 662, 673, 674, 671, 672, 675,
|
|
|
|
677, 676, 678, 663, 664, 665, 656, 658, 659, 657,
|
|
|
|
0, 0, 0, 193, 173, 177, 176, 171, 170, 192,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 167, 168, 172, 174, 186,
|
|
|
|
187, 184, 185, 188, 189, 190, 191, 182, 183, 175,
|
|
|
|
178, 180, 181, 179, 0, 0, 193, 173, 177, 176,
|
|
|
|
0, 667, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 167, 168,
|
|
|
|
172, 174, 186, 187, 184, 185, 188, 189, 190, 191,
|
|
|
|
182, 183, 175, 178, 180, 181, 179, 653, 0, 679,
|
|
|
|
661, 655, 654, 170, 192, 0, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 670, 669, 660, 662, 673, 674, 671, 672, 675,
|
|
|
|
677, 676, 678, 663, 664, 665, 656, 658, 659, 657,
|
|
|
|
0, 193, 173, 177, 176, 192, 0, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 167, 168, 172, 174, 186, 187, 184,
|
|
|
|
185, 188, 189, 190, 191, 182, 183, 175, 178, 180,
|
|
|
|
181, 179, 193, 173, 177, 176, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 167, 168, 172, 174, 186, 187,
|
|
|
|
184, 185, 188, 189, 190, 191, 182, 183, 175, 178,
|
|
|
|
180, 181, 179, 653, 0, 679, 661, 655, 654, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 670, 669, 660,
|
|
|
|
662, 673, 674, 671, 672, 675, 677, 676, 678, 663,
|
|
|
|
664, 665, 656, 658, 659, 657, 653, 0, 0, 661,
|
|
|
|
655, 654, 192, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
670, 669, 660, 662, 673, 674, 671, 672, 675, 677,
|
|
|
|
676, 678, 663, 664, 665, 656, 658, 659, 657, 0,
|
|
|
|
173, 177, 176, 0, 0, 0, 0, 83, 84, 72,
|
|
|
|
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
|
|
|
|
0, 95, 168, 172, 174, 186, 187, 184, 185, 188,
|
|
|
|
189, 190, 191, 182, 183, 175, 178, 180, 181, 179,
|
|
|
|
45, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 81, 82, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
|
|
|
|
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
|
|
|
|
0, 0, 143, 113, 109, 103, 489, 85, 86, 87,
|
|
|
|
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
|
|
|
|
42, 149, 0, 0, 0, 0, 0, 55, 56, 0,
|
|
|
|
65, 66, 67, 68, 69, 70, 71, 0, 0, 653,
|
|
|
|
92, 77, 661, 655, 654, 0, 63, 482, 97, 0,
|
|
|
|
0, 488, 58, 57, 59, 60, 73, 120, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 660, 662, 673, 674, 671,
|
|
|
|
672, 675, 677, 676, 678, 663, 664, 665, 656, 658,
|
|
|
|
659, 657, 83, 84, 72, 0, 105, 106, 126, 88,
|
|
|
|
121, 0, 0, 0, 0, 0, 95, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 45, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 81, 82, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 52, 96, 0,
|
|
|
|
94, 110, 111, 112, 107, 108, 0, 0, 0, 0,
|
|
|
|
0, 0, 93, 0, 192, 0, 0, 143, 113, 109,
|
|
|
|
103, 489, 85, 86, 87, 0, 0, 0, 0, 80,
|
|
|
|
53, 0, 0, 0, 78, 148, 149, 0, 0, 0,
|
|
|
|
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
|
|
|
|
70, 71, 173, 177, 176, 92, 77, 0, 0, 0,
|
|
|
|
0, 63, 0, 97, 0, 0, 488, 58, 57, 59,
|
|
|
|
60, 73, 120, 0, 0, 172, 174, 186, 187, 184,
|
|
|
|
185, 188, 189, 190, 191, 182, 183, 175, 178, 180,
|
|
|
|
181, 179, 83, 84, 72, 0, 105, 106, 126, 88,
|
|
|
|
121, 0, 0, 0, 0, 0, 95, 0, 0, 0,
|
2018-02-03 12:29:23 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 45, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 81, 82, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 52, 96, 0,
|
|
|
|
94, 110, 111, 112, 107, 108, 0, 0, 0, 0,
|
|
|
|
0, 0, 93, 0, 0, 0, 0, 143, 113, 109,
|
|
|
|
103, 0, 85, 86, 87, 192, 0, 0, 0, 80,
|
|
|
|
53, 0, 0, 0, 78, 148, 149, 0, 0, 0,
|
|
|
|
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
|
|
|
|
70, 71, 0, 0, 0, 92, 77, 0, 0, 0,
|
|
|
|
0, 63, 0, 97, 177, 176, 866, 58, 57, 59,
|
|
|
|
60, 73, 120, 83, 84, 72, 0, 105, 106, 126,
|
|
|
|
88, 121, 0, 0, 0, 0, 0, 95, 186, 187,
|
|
|
|
184, 185, 188, 189, 190, 191, 182, 183, 175, 178,
|
|
|
|
180, 181, 179, 0, 0, 0, 45, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 81, 82,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 0, 0, 0, 78, 148, 149, 0, 0,
|
|
|
|
0, 0, 0, 55, 56, 0, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 0, 92, 77, 0, 0,
|
|
|
|
0, 0, 63, 0, 97, 0, 0, 629, 58, 57,
|
|
|
|
59, 60, 73, 120, 83, 84, 72, 0, 105, 106,
|
|
|
|
126, 88, 121, 0, 0, 0, 0, 0, 95, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 45, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 81,
|
|
|
|
82, 0, 0, 0, 0, 0, 0, 0, 0, 52,
|
|
|
|
96, 0, 94, 110, 111, 112, 107, 108, 0, 0,
|
|
|
|
0, 0, 0, 0, 93, 0, 192, 0, 0, 143,
|
|
|
|
113, 109, 103, 0, 85, 86, 87, 0, 0, 0,
|
|
|
|
0, 80, 53, 0, 0, 0, 78, 148, 149, 0,
|
|
|
|
0, 0, 0, 0, 55, 56, 0, 65, 66, 67,
|
|
|
|
68, 69, 70, 71, 173, 177, 176, 92, 77, 0,
|
|
|
|
0, 0, 0, 63, 0, 97, 0, 0, 627, 58,
|
|
|
|
57, 59, 60, 73, 120, 0, 0, 0, 174, 186,
|
|
|
|
187, 184, 185, 188, 189, 190, 191, 182, 183, 175,
|
|
|
|
178, 180, 181, 179, 83, 84, 72, 0, 105, 106,
|
|
|
|
126, 88, 121, 0, 0, 0, 0, 0, 95, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 45, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 81,
|
|
|
|
82, 0, 0, 0, 0, 0, 0, 0, 0, 52,
|
|
|
|
96, 0, 94, 110, 111, 112, 107, 108, 0, 0,
|
|
|
|
0, 0, 0, 0, 93, 0, 0, 0, 0, 143,
|
|
|
|
113, 109, 103, 0, 85, 86, 87, 0, 0, 0,
|
|
|
|
0, 80, 53, 0, 0, 0, 78, 148, 149, 0,
|
|
|
|
0, 0, 0, 0, 55, 56, 0, 65, 66, 67,
|
|
|
|
68, 69, 70, 71, 0, 0, 0, 92, 77, 0,
|
|
|
|
0, 0, 0, 63, 0, 97, 0, 0, 292, 58,
|
|
|
|
57, 59, 60, 73, 120, 83, 84, 72, 0, 105,
|
|
|
|
106, 126, 88, 121, 0, 0, 0, 0, 0, 95,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 45, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
81, 82, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
52, 96, 0, 94, 110, 111, 112, 107, 108, 0,
|
|
|
|
0, 0, 0, 0, 0, 93, 0, 0, 0, 0,
|
|
|
|
143, 113, 109, 103, 0, 85, 86, 87, 0, 192,
|
|
|
|
0, 0, 80, 53, 0, 0, 0, 78, 42, 149,
|
|
|
|
0, 0, 0, 0, 0, 55, 56, 0, 65, 66,
|
|
|
|
67, 68, 69, 70, 71, 0, 0, 0, 92, 77,
|
|
|
|
0, 0, 0, 0, 63, 431, 97, 173, 177, 176,
|
|
|
|
58, 57, 59, 60, 73, 120, 83, 84, 72, 0,
|
|
|
|
105, 106, 126, 88, 121, 0, 0, 0, 0, 0,
|
|
|
|
95, 0, 186, 187, 184, 185, 188, 189, 190, 191,
|
|
|
|
182, 183, 175, 178, 180, 181, 179, 0, 0, 45,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 81, 82, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 52, 96, 0, 94, 110, 111, 112, 107, 108,
|
|
|
|
0, 0, 0, 0, 0, 0, 93, 0, 0, 0,
|
|
|
|
0, 143, 113, 109, 103, 0, 85, 86, 87, 0,
|
|
|
|
0, 0, 0, 80, 53, 0, 0, 0, 78, 148,
|
|
|
|
149, 0, 0, 0, 0, 0, 55, 56, 0, 65,
|
|
|
|
66, 67, 68, 69, 70, 71, 0, 0, 0, 92,
|
|
|
|
77, 0, 0, 0, 0, 63, 0, 97, 0, 0,
|
|
|
|
407, 58, 57, 59, 60, 73, 120, 83, 84, 72,
|
|
|
|
0, 105, 106, 126, 88, 121, 0, 0, 0, 0,
|
|
|
|
0, 95, 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, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
45, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 81, 82, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 52, 96, 0, 94, 110, 111, 112, 107,
|
|
|
|
108, 0, 0, 0, 0, 0, 0, 93, 0, 0,
|
|
|
|
0, 0, 143, 113, 109, 103, 0, 85, 86, 87,
|
|
|
|
0, 0, 0, 0, 80, 53, 0, 0, 0, 78,
|
|
|
|
148, 149, 0, 0, 0, 0, 0, 55, 56, 0,
|
|
|
|
65, 66, 67, 68, 69, 70, 71, 0, 0, 0,
|
|
|
|
92, 77, 0, 0, 0, 388, 63, 0, 97, 0,
|
|
|
|
0, 0, 58, 57, 59, 60, 73, 120, 83, 84,
|
|
|
|
72, 0, 105, 106, 126, 88, 121, 0, 0, 0,
|
|
|
|
0, 0, 95, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 45, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 81, 82, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 52, 96, 0, 94, 110, 111, 112,
|
|
|
|
107, 108, 0, 0, 0, 0, 0, 0, 93, 0,
|
|
|
|
0, 0, 0, 143, 113, 109, 103, 0, 85, 86,
|
|
|
|
87, 0, 0, 0, 0, 80, 53, 0, 0, 0,
|
|
|
|
78, 148, 149, 0, 0, 0, 0, 0, 55, 56,
|
|
|
|
0, 65, 66, 67, 68, 69, 70, 71, 0, 0,
|
|
|
|
0, 92, 77, 0, 0, 152, 0, 63, 0, 97,
|
|
|
|
0, 0, 0, 58, 57, 59, 60, 73, 120, 83,
|
|
|
|
84, 72, 0, 105, 106, 126, 88, 121, 0, 0,
|
|
|
|
0, 0, 0, 95, 0, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 45, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 81, 82, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 52, 96, 0, 94, 110, 111,
|
|
|
|
112, 107, 108, 0, 0, 0, 0, 0, 0, 93,
|
|
|
|
0, 0, 0, 0, 143, 113, 109, 103, 0, 85,
|
|
|
|
86, 87, 0, 0, 0, 0, 80, 53, 0, 0,
|
|
|
|
0, 78, 148, 149, 0, 0, 0, 0, 0, 55,
|
|
|
|
56, 0, 65, 66, 67, 68, 69, 70, 71, 0,
|
|
|
|
0, 0, 92, 77, 0, 0, 150, 0, 63, 0,
|
|
|
|
97, 0, 0, 0, 58, 57, 59, 60, 73, 120,
|
|
|
|
83, 84, 72, 0, 105, 106, 126, 88, 121, 0,
|
|
|
|
0, 0, 0, 0, 95, 0, 0, 0, 0, 0,
|
2018-02-04 17:37:27 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 45, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 81, 82, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 52, 96, 0, 94, 110,
|
|
|
|
111, 112, 107, 108, 0, 0, 0, 0, 0, 0,
|
|
|
|
93, 0, 0, 0, 0, 143, 113, 109, 103, 0,
|
|
|
|
85, 86, 87, 0, 0, 0, 0, 80, 53, 0,
|
|
|
|
0, 0, 78, 148, 149, 0, 0, 0, 0, 0,
|
|
|
|
55, 56, 0, 65, 66, 67, 68, 69, 70, 71,
|
|
|
|
0, 0, 0, 92, 77, 0, 0, 146, 0, 63,
|
|
|
|
0, 97, 0, 0, 0, 58, 57, 59, 60, 73,
|
|
|
|
120, 83, 84, 72, 0, 105, 106, 126, 88, 121,
|
|
|
|
0, 0, 0, 0, 0, 95, 0, 0, 0, 0,
|
2018-02-04 16:51:44 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 45, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 81, 82, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 52, 96, 0, 94,
|
|
|
|
110, 111, 112, 107, 108, 0, 0, 0, 0, 0,
|
|
|
|
0, 93, 0, 0, 0, 0, 143, 113, 109, 103,
|
|
|
|
0, 85, 86, 87, 0, 0, 0, 0, 80, 53,
|
|
|
|
0, 0, 0, 78, 148, 149, 0, 0, 0, 0,
|
|
|
|
0, 55, 56, 0, 65, 66, 67, 68, 69, 70,
|
|
|
|
71, 0, 0, 0, 92, 77, 0, 0, 0, 0,
|
|
|
|
63, 0, 97, 0, 0, 0, 58, 57, 59, 60,
|
|
|
|
73, 120, 83, 84, 72, 0, 105, 106, 126, 442,
|
|
|
|
121, 0, 0, 0, 0, 0, 95, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 45, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 81, 82, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 52, 96, 0,
|
|
|
|
94, 110, 111, 112, 107, 108, 0, 0, 0, 0,
|
|
|
|
0, 0, 93, 0, 0, 0, 0, 143, 113, 109,
|
|
|
|
103, 0, 85, 86, 87, 0, 0, 0, 0, 80,
|
|
|
|
53, 0, 0, 0, 78, 148, 149, 0, 0, 0,
|
|
|
|
0, 0, 55, 56, 0, 65, 66, 67, 68, 69,
|
|
|
|
70, 71, 0, 0, 0, 92, 77, 0, 0, 0,
|
|
|
|
0, 63, 0, 97, 0, 0, 0, 58, 57, 59,
|
|
|
|
60, 73, 120, 83, 84, 72, 0, 105, 106, 126,
|
|
|
|
88, 121, 0, 0, 0, 0, 0, 95, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 45, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 81, 82,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 52, 96,
|
|
|
|
0, 94, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 93, 0, 0, 0, 0, 143, 113,
|
|
|
|
109, 103, 0, 85, 86, 87, 0, 0, 0, 0,
|
|
|
|
80, 53, 105, 106, 126, 78, 42, 149, 0, 0,
|
|
|
|
0, 0, 529, 55, 56, 0, 65, 66, 67, 68,
|
|
|
|
69, 70, 71, 0, 0, 0, 92, 77, 0, 0,
|
|
|
|
0, 0, 63, 0, 97, 0, 0, 0, 58, 57,
|
|
|
|
59, 60, 73, 120, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 524, 0, 527, 110, 111, 112,
|
|
|
|
107, 108, 0, 0, 0, 0, 0, 0, 530, 0,
|
|
|
|
0, 0, 0, 522, 113, 109, 523, 105, 106, 126,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 529, 0, 0,
|
|
|
|
0, 0, 233, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-01 18:40:04 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 787, 536, 0, 525,
|
|
|
|
0, 0, 0, 535, 534, 532, 533, 0, 0, 524,
|
|
|
|
0, 527, 110, 111, 112, 107, 108, 0, 0, 0,
|
|
|
|
0, 0, 0, 530, 0, 0, 0, 0, 522, 113,
|
|
|
|
109, 523, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 233, 0, 0,
|
2018-02-03 10:09:02 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 536, 0, 525, 0, 0, 0, 535, 534,
|
|
|
|
532, 533,
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
var yyPact = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
-1000, -1000, 2286, -1000, -1000, -1000, -1000, -1000, 267, 471,
|
|
|
|
610, 73, -1000, 269, -1000, -1000, 852, -1000, 209, 209,
|
|
|
|
4934, 264, 209, 7826, 7695, 7564, 336, 163, 721, 7957,
|
|
|
|
-1000, 5808, 263, 262, 261, -1000, 373, 7957, 850, 53,
|
|
|
|
844, 843, 7957, -1000, -1000, -1000, -1000, 661, -1000, 659,
|
|
|
|
-1000, 1185, 258, 7957, 402, 449, 449, 7957, 7957, 7957,
|
|
|
|
7957, -1000, -1000, 8219, -1000, 7957, 7957, 7957, 7957, 7957,
|
|
|
|
7957, 7957, 252, 7957, -1000, 170, 167, 891, 7957, 595,
|
|
|
|
702, 250, 246, 7957, 7957, 245, 7957, 7957, -1000, 166,
|
|
|
|
-1000, -1000, 887, 781, -1000, 165, 244, 7040, -1000, 159,
|
|
|
|
156, -1000, 206, 808, 543, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 103, 160, -1000, 537, 210, -1000,
|
|
|
|
372, -1000, 199, 359, -1000, 808, -1000, 57, 571, 540,
|
|
|
|
-1000, 621, 808, -1000, 842, -1000, -17, 4015, 4803, 8219,
|
|
|
|
4672, 718, 53, 485, 7957, 255, -1000, 5761, -1000, 688,
|
|
|
|
-1000, 5714, -1000, 333, 1259, 5896, -1000, 56, -1000, -1000,
|
|
|
|
411, 45, 53, -18, 38, 5896, -1000, 7957, 7957, 7957,
|
|
|
|
7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957,
|
|
|
|
7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957,
|
|
|
|
7957, 7957, 702, 7433, 449, 7957, 841, -1000, 5667, 332,
|
|
|
|
286, -1000, 645, 639, -1000, 1185, 5620, -1000, -1000, 7302,
|
|
|
|
7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957, 7957,
|
|
|
|
7957, 7957, 404, -1000, -1000, -1000, -1000, -1000, 206, 474,
|
|
|
|
808, 536, 525, -1000, -1000, -115, -115, -47, -115, 196,
|
|
|
|
5576, 195, -115, -115, -115, -115, -115, -115, -115, -1000,
|
|
|
|
7171, -1000, -115, 7957, 7957, 376, 706, 684, -1000, 219,
|
|
|
|
8088, 449, 6065, 67, 210, 524, -1000, 422, 445, 808,
|
|
|
|
583, 103, 160, 513, 7957, 7957, 5896, 5896, 7957, 5896,
|
|
|
|
5896, 7957, 532, 706, 697, -1000, 710, 7957, 7040, 145,
|
|
|
|
30, 5532, 449, 7957, 7957, 839, -1000, 6323, 206, 55,
|
|
|
|
7957, 7957, 103, 372, 68, -1000, 7957, 330, -1000, -1000,
|
|
|
|
2146, 206, -1000, 613, 19, -1000, 609, 808, 7, -1000,
|
|
|
|
606, 808, 838, 604, -27, 8379, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 241, -1000, -1000, -1000, -1000, -1000, 209, 239,
|
|
|
|
329, 20, 5896, -1000, 325, 324, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, 163, -1000, 7957, -1000, -1000, 784, 237, 8379, -1000,
|
|
|
|
7957, 6192, 6464, 5939, 6065, 6024, 6876, 6625, 7169, 4,
|
|
|
|
4, 4, -47, -115, -47, -47, 100, 100, 953, 953,
|
|
|
|
953, 953, 863, 863, 863, 863, -1000, 5488, 7957, 3,
|
|
|
|
-1000, -1000, 1121, 715, -3, -39, 3882, -1000, -1000, 228,
|
|
|
|
519, 628, 563, 368, 563, 7957, 6065, 351, 6065, 6065,
|
|
|
|
6065, 6065, 6065, 6065, 6065, 6065, 6065, 6065, 6065, 6065,
|
|
|
|
-12, -1000, -1000, 224, 808, 206, 67, 67, 212, -1000,
|
|
|
|
-1000, -1000, 142, 5896, 133, -1000, -1000, -1000, -1000, 803,
|
|
|
|
836, 5442, 155, 342, 210, 164, -1000, -1000, 103, 160,
|
|
|
|
-1000, 7957, -1000, -1000, 148, 808, 422, 67, 103, 148,
|
|
|
|
-22, -1000, 1185, -1000, 1046, 193, 5394, 125, -1000, -1000,
|
|
|
|
-1000, 107, 192, -1000, -1000, 6890, 6759, -1000, -1000, 106,
|
|
|
|
99, -1000, -1000, -25, 189, -1000, -1000, 1185, 449, 7957,
|
|
|
|
-1000, 210, 210, -1000, -1000, 93, 5350, 210, 210, -1000,
|
|
|
|
5302, -1000, 1759, -1000, -1000, -1000, -1000, 571, 831, 522,
|
|
|
|
-1000, 540, 830, 517, -1000, 825, 8379, -1000, 5852, -1000,
|
|
|
|
-1000, 422, 443, 808, 216, 8379, -1000, -1000, -1000, -1000,
|
|
|
|
615, 508, 8379, 8379, 8379, 8379, 8379, 188, 447, 4148,
|
|
|
|
3749, 323, 7957, 7957, 399, -1000, 737, -1000, -1000, 5254,
|
|
|
|
-40, 519, -1000, 5896, 7957, 4932, 322, 449, 1529, 1529,
|
|
|
|
4541, 821, 8379, 687, 519, 187, -4, -1000, 53, -1000,
|
|
|
|
-1000, -1000, 422, 436, 808, 365, 563, -1000, -1000, -29,
|
|
|
|
-1000, -1000, 1185, -1000, 702, -43, 404, 404, 206, -1000,
|
|
|
|
-1000, 161, 572, 7957, -1000, 67, -1000, -1000, 88, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 7957, -1000, -1000, 154, 147, -1000,
|
|
|
|
7957, 7957, 103, 5206, -1000, 422, -1000, -1000, -1000, 7957,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, 5158, 449, 5896, 449,
|
|
|
|
-1000, -1000, -1000, 6478, -1000, -1000, 5896, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, -1000, -1000, -1000, 818, -1000, -1000,
|
|
|
|
811, -1000, -1000, 8379, 8379, 8379, 8379, 8379, 8379, 8379,
|
|
|
|
8379, 8379, 8379, 8379, 8379, 8379, 8379, 8379, 8379, 8379,
|
|
|
|
8379, 8379, 8379, 8379, 8379, 8379, 8379, 8379, 8379, 8304,
|
|
|
|
808, 422, 8379, 83, -11, 5114, 535, 714, -72, -72,
|
|
|
|
-81, -81, 5070, 317, -1000, 209, 4934, 429, 316, -1000,
|
|
|
|
315, 5896, -1000, 7957, 233, 396, 314, 709, -1000, 8379,
|
|
|
|
186, 4932, -1000, -1000, 566, -1000, 449, 215, 566, -1000,
|
|
|
|
-1000, -1000, -62, -1000, 679, 213, 184, 676, 519, 412,
|
|
|
|
808, 422, -1000, -29, 1023, 563, 210, 7957, -1000, -32,
|
|
|
|
7957, 572, -1000, 80, 210, -1000, 5026, 572, 7957, 7957,
|
|
|
|
79, 4982, -1000, 570, -1000, 6628, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, 1911, -81, -81, -72, -72, -72, -72, 1333, 1788,
|
|
|
|
82, 33, 33, -81, 5982, 6108, 1955, 6314, 1571, -14,
|
|
|
|
-14, -14, -14, 91, 91, 91, 91, 8379, 1190, 422,
|
|
|
|
183, -1000, -1000, 8379, 8379, -1000, -1000, -1000, -1000, 4934,
|
|
|
|
-1000, 375, 209, 234, -1000, 7957, 1051, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 303, -1000, 676, 182, 1529, -1000, 404, 180,
|
|
|
|
3616, 8379, -1000, 363, 563, 358, 355, 207, -1000, 778,
|
|
|
|
-1000, 422, 817, -1000, -1000, 767, -30, -1000, 688, 708,
|
|
|
|
-1000, 802, 563, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, 6065, -1000, 77, -1000, -1000, 340, -1000, 62,
|
|
|
|
59, -1000, -1000, -1000, 67, 5896, 449, -1000, 6151, 8379,
|
|
|
|
-1000, 1807, 5852, -1000, 296, 220, -1000, 179, -1000, 4148,
|
|
|
|
-1000, 352, 4410, -1000, -34, 4410, 294, -1000, -1000, 766,
|
|
|
|
-1000, -1000, 172, -64, -1000, -46, -66, -1000, 793, 53,
|
|
|
|
-1000, -67, -59, -1000, -1000, -1000, -1000, -1000, -1000, -1000,
|
|
|
|
6151, 8379, -1000, -1000, 4148, 4279, 4148, -1000, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, -1000, 3483, 178, 3350, 3217, -37, -1000,
|
|
|
|
744, 8379, -1000, 736, 8379, -70, 791, 8379, -1000, 563,
|
|
|
|
-1000, 564, 5852, 4148, -1000, -1000, -1000, 3084, 2951, -1000,
|
|
|
|
346, -1000, -1000, -1000, 171, -1000, -1000, -82, -1000, 8379,
|
|
|
|
205, -1000, -1000, 338, 564, -1000, 292, 290, 670, 703,
|
|
|
|
433, -1000, 2818, -1000, 273, -1000, -1000, 733, 8379, -1000,
|
|
|
|
519, -1000, -1000, -1000, -1000, 563, 708, 789, 214, -1000,
|
|
|
|
2685, -1000, -1000, 177, -80, -1000, 787, -1000, -1000, -1000,
|
|
|
|
685, 281, 563, -1000, -1000, 685, -1000, 202, -1000, -1000,
|
|
|
|
-1000, -1000, -1000, 563, 2552, 723, -1000, 58, 345, -1000,
|
|
|
|
2419, -1000,
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
var yyPgo = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 29, 1091, 1090, 38, 31, 30, 572, 1088, 1086,
|
|
|
|
134, 217, 204, 88, 1385, 82, 63, 59, 651, 1422,
|
|
|
|
1085, 33, 1081, 1080, 1079, 136, 1078, 36, 37, 1077,
|
|
|
|
1076, 1075, 1074, 135, 1073, 1072, 24, 1069, 26, 48,
|
|
|
|
45, 1068, 634, 34, 1066, 1, 1065, 1063, 27, 1062,
|
|
|
|
73, 68, 61, 1060, 1059, 1058, 35, 1057, 1056, 4,
|
|
|
|
1055, 1054, 1053, 17, 1051, 1049, 1048, 1047, 1046, 51,
|
|
|
|
5, 1045, 1042, 1041, 1040, 1037, 2, 1033, 631, 1032,
|
|
|
|
39, 0, 1018, 1017, 1013, 117, 1007, 1001, 513, 1000,
|
|
|
|
998, 42, 8, 995, 9, 991, 990, 988, 14, 49,
|
|
|
|
985, 983, 982, 980, 976, 974, 3, 971, 16, 962,
|
|
|
|
961, 959, 958, 955, 28, 952, 951, 950, 949, 948,
|
|
|
|
947, 945, 21, 939, 933, 930, 25, 929, 23, 12,
|
|
|
|
928, 40, 924, 923, 922, 914, 41, 6, 19, 18,
|
|
|
|
22, 911, 907, 902, 13, 869, 866, 865, 15, 863,
|
|
|
|
7, 20,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR1 = [...]int{
|
|
|
|
|
2018-02-18 18:29:33 +00:00
|
|
|
0, 149, 80, 80, 81, 81, 3, 3, 3, 3,
|
2018-04-09 20:08:29 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 82, 82,
|
|
|
|
4, 4, 4, 4, 83, 83, 5, 5, 5, 5,
|
|
|
|
84, 84, 6, 6, 6, 6, 53, 53, 85, 85,
|
|
|
|
24, 24, 24, 24, 24, 25, 25, 26, 26, 26,
|
2018-02-03 17:33:22 +00:00
|
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
|
|
|
26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
|
2018-04-09 20:08:29 +00:00
|
|
|
26, 26, 26, 26, 26, 103, 103, 58, 58, 104,
|
|
|
|
104, 105, 105, 59, 101, 101, 56, 51, 52, 144,
|
|
|
|
144, 145, 145, 60, 61, 61, 64, 64, 64, 64,
|
|
|
|
65, 65, 2, 113, 113, 109, 109, 114, 114, 138,
|
|
|
|
138, 137, 137, 137, 147, 147, 148, 148, 57, 57,
|
|
|
|
102, 102, 141, 141, 141, 141, 99, 99, 99, 150,
|
|
|
|
150, 146, 146, 95, 95, 96, 96, 54, 54, 55,
|
|
|
|
55, 106, 106, 107, 107, 63, 63, 62, 62, 62,
|
|
|
|
62, 140, 140, 140, 115, 115, 69, 69, 69, 69,
|
|
|
|
86, 86, 27, 27, 27, 87, 87, 87, 87, 108,
|
|
|
|
108, 66, 66, 66, 66, 68, 116, 116, 143, 143,
|
|
|
|
117, 117, 118, 118, 70, 70, 71, 119, 119, 74,
|
|
|
|
74, 73, 72, 72, 75, 75, 142, 142, 110, 110,
|
|
|
|
111, 111, 120, 120, 76, 76, 76, 76, 76, 76,
|
|
|
|
112, 112, 112, 112, 67, 67, 100, 100, 98, 98,
|
|
|
|
97, 97, 126, 126, 124, 124, 125, 125, 125, 127,
|
|
|
|
127, 42, 15, 15, 15, 15, 15, 15, 15, 15,
|
2018-02-03 17:33:22 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
2018-02-04 17:37:27 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
|
|
|
15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
2018-04-09 20:08:29 +00:00
|
|
|
15, 15, 15, 15, 15, 15, 50, 50, 50, 50,
|
|
|
|
47, 47, 47, 47, 46, 46, 1, 94, 94, 93,
|
|
|
|
93, 93, 93, 23, 23, 23, 23, 23, 23, 23,
|
|
|
|
23, 11, 11, 11, 11, 45, 45, 45, 43, 43,
|
|
|
|
41, 41, 134, 134, 133, 49, 49, 49, 121, 121,
|
|
|
|
121, 139, 139, 7, 7, 7, 7, 7, 7, 7,
|
|
|
|
7, 7, 7, 7, 7, 8, 28, 78, 78, 78,
|
|
|
|
78, 78, 78, 78, 78, 78, 78, 79, 79, 79,
|
2018-02-18 18:29:33 +00:00
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
2018-04-09 20:08:29 +00:00
|
|
|
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
|
|
|
|
35, 35, 35, 35, 29, 29, 29, 29, 29, 29,
|
|
|
|
29, 122, 122, 151, 151, 123, 123, 123, 123, 14,
|
|
|
|
14, 48, 48, 16, 17, 18, 19, 19, 135, 135,
|
|
|
|
128, 130, 130, 77, 129, 129, 129, 40, 40, 44,
|
|
|
|
44, 12, 22, 22, 20, 20, 20, 21, 21, 21,
|
|
|
|
10, 10, 10, 9, 9, 13, 13, 131, 131, 132,
|
|
|
|
132, 132, 39, 39, 136, 136, 92, 92, 38, 38,
|
|
|
|
38, 91, 91, 90, 90, 90, 90, 90, 90, 90,
|
|
|
|
90, 88, 88, 88, 88, 33, 33, 33, 33, 33,
|
|
|
|
33, 34, 34, 34, 37, 37, 37, 37, 37, 37,
|
|
|
|
37, 37, 89, 89, 36, 36, 30, 30, 31, 32,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyR2 = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 1, 2, 0, 1, 3, 1, 1, 1, 1,
|
|
|
|
4, 3, 5, 4, 3, 4, 4, 2, 3, 1,
|
|
|
|
1, 3, 2, 4, 3, 1, 1, 3, 2, 4,
|
|
|
|
3, 1, 1, 3, 2, 4, 5, 4, 2, 0,
|
|
|
|
1, 1, 1, 1, 4, 1, 2, 3, 5, 8,
|
|
|
|
3, 5, 9, 3, 2, 3, 2, 3, 2, 3,
|
|
|
|
3, 2, 3, 3, 3, 1, 2, 5, 8, 8,
|
|
|
|
5, 1, 6, 3, 3, 0, 9, 0, 4, 1,
|
|
|
|
0, 1, 2, 8, 1, 3, 1, 1, 1, 0,
|
|
|
|
1, 0, 1, 9, 7, 6, 1, 2, 1, 2,
|
|
|
|
0, 2, 1, 0, 2, 0, 2, 1, 3, 0,
|
|
|
|
2, 1, 2, 4, 1, 4, 1, 4, 1, 4,
|
|
|
|
3, 5, 3, 4, 4, 5, 0, 5, 4, 1,
|
|
|
|
1, 1, 4, 0, 4, 0, 5, 0, 2, 0,
|
|
|
|
3, 1, 0, 1, 3, 4, 6, 0, 1, 1,
|
|
|
|
1, 2, 3, 3, 1, 3, 1, 1, 2, 2,
|
|
|
|
3, 1, 1, 2, 4, 3, 5, 1, 3, 2,
|
|
|
|
0, 3, 2, 1, 8, 3, 1, 3, 1, 3,
|
|
|
|
0, 1, 1, 2, 2, 2, 3, 1, 3, 1,
|
|
|
|
1, 3, 4, 3, 0, 1, 1, 3, 1, 1,
|
|
|
|
0, 1, 1, 2, 1, 1, 1, 1, 1, 1,
|
|
|
|
3, 5, 1, 3, 5, 4, 3, 1, 0, 1,
|
|
|
|
3, 1, 2, 1, 4, 3, 2, 1, 1, 0,
|
|
|
|
1, 3, 6, 3, 4, 6, 2, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 2,
|
|
|
|
2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 1, 1, 4, 5, 4, 1, 2,
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 1, 1,
|
|
|
|
1, 3, 2, 1, 9, 10, 2, 2, 4, 4,
|
|
|
|
4, 4, 4, 4, 4, 3, 1, 0, 4, 3,
|
|
|
|
4, 1, 2, 2, 4, 3, 4, 4, 4, 4,
|
|
|
|
2, 1, 1, 3, 2, 1, 3, 2, 1, 1,
|
|
|
|
4, 1, 2, 0, 2, 0, 2, 1, 0, 1,
|
|
|
|
1, 0, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 3, 2, 3, 1, 1, 1, 1,
|
|
|
|
3, 2, 4, 3, 1, 1, 1, 4, 3, 3,
|
|
|
|
3, 3, 3, 3, 2, 2, 3, 3, 3, 3,
|
2018-01-29 14:42:52 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-04-09 20:08:29 +00:00
|
|
|
3, 3, 3, 3, 3, 4, 5, 2, 2, 3,
|
|
|
|
1, 1, 3, 2, 1, 1, 1, 1, 3, 3,
|
|
|
|
1, 0, 2, 0, 1, 5, 3, 3, 1, 1,
|
|
|
|
1, 3, 3, 1, 1, 1, 5, 1, 2, 0,
|
|
|
|
3, 4, 4, 1, 1, 1, 0, 1, 2, 3,
|
|
|
|
3, 1, 4, 4, 1, 1, 1, 1, 2, 1,
|
|
|
|
4, 4, 1, 1, 4, 0, 1, 1, 1, 4,
|
|
|
|
4, 1, 1, 3, 1, 2, 3, 1, 1, 4,
|
|
|
|
0, 0, 2, 5, 3, 3, 1, 6, 4, 4,
|
|
|
|
2, 2, 2, 1, 2, 1, 4, 3, 3, 6,
|
|
|
|
3, 1, 1, 1, 4, 4, 4, 2, 2, 4,
|
|
|
|
2, 2, 1, 3, 1, 1, 3, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyChk = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
-1000, -149, -80, -3, 2, -25, -51, -52, 51, 79,
|
|
|
|
44, -53, -26, 10, -60, -61, 38, 119, 7, 21,
|
|
|
|
20, 23, 30, 34, 35, 39, -50, 46, 98, 19,
|
|
|
|
14, -14, 48, 25, 27, 121, 40, 43, 36, -1,
|
|
|
|
-64, -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, -30, -81, 82, -11, 8, 9, 66, 67, 81,
|
|
|
|
63, 64, 65, 80, -10, -136, -44, -12, -40, -9,
|
|
|
|
134, 12, 123, -81, 119, 82, 10, -82, 37, 38,
|
|
|
|
-4, -81, 82, 121, 135, 122, 10, -85, -48, 123,
|
|
|
|
-48, -25, -1, 79, 123, -48, 121, -14, 97, 98,
|
|
|
|
121, -14, 121, -15, -19, -14, 121, -86, -27, 12,
|
|
|
|
134, -87, -1, 12, -100, -14, 121, 149, 150, 87,
|
|
|
|
89, 88, 151, 128, 152, 163, 130, 129, 164, 167,
|
|
|
|
165, 166, 161, 162, 155, 156, 153, 154, 157, 158,
|
|
|
|
159, 160, 90, 127, 123, 123, 123, 119, -14, 10,
|
|
|
|
-144, 128, 10, 10, -15, -19, -14, 52, 52, 136,
|
|
|
|
137, 138, 139, 148, 140, 141, 142, 143, 144, 145,
|
|
|
|
146, 147, 123, -14, 104, 105, -18, -19, -81, 79,
|
|
|
|
82, -11, -12, 98, -18, -14, -14, -14, -14, -42,
|
|
|
|
-14, -50, -14, -14, -14, -14, -14, -14, -14, -49,
|
|
|
|
123, -48, -14, 125, 125, -121, 17, -88, -33, 12,
|
|
|
|
76, 77, -14, 57, -43, -11, -41, -81, 79, 82,
|
|
|
|
-21, -10, -136, -12, 123, 123, -14, -14, 123, -14,
|
|
|
|
-14, 125, -88, 17, 17, 75, -88, 125, 123, -91,
|
|
|
|
-90, -14, 128, 125, 125, 82, -140, 123, -81, 78,
|
|
|
|
125, 119, -10, 134, 78, -140, 119, 124, 121, 119,
|
|
|
|
-80, -81, 121, 135, -83, -5, -81, 82, -84, -6,
|
|
|
|
-81, 82, 29, -81, 10, 136, -24, 120, 2, -25,
|
|
|
|
-51, -52, 51, -25, 122, -146, -25, 122, 21, -144,
|
|
|
|
-98, -97, -14, -141, 119, 122, 121, 121, 121, 121,
|
|
|
|
121, 135, -16, 119, -19, 121, 135, -144, 136, 121,
|
|
|
|
135, -14, -14, -14, -14, -14, -14, -14, -14, -14,
|
2018-02-03 17:33:22 +00:00
|
|
|
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
|
2018-04-09 20:08:29 +00:00
|
|
|
-14, -14, -14, -14, -14, -14, -43, -14, 122, -101,
|
|
|
|
-56, -19, -19, -15, -102, 10, -85, 121, 121, 10,
|
|
|
|
123, -65, 55, -113, 55, 58, -14, 128, -14, -14,
|
2018-02-04 17:37:27 +00:00
|
|
|
-14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
|
2018-04-09 20:08:29 +00:00
|
|
|
-92, -38, -19, 59, 82, -81, 78, 78, 124, 124,
|
|
|
|
124, 124, -13, -14, -13, 118, -33, -33, 17, 125,
|
|
|
|
57, -14, 11, -19, -131, -132, -40, -39, -10, -136,
|
|
|
|
10, 119, -139, -140, 78, 82, -81, 57, -10, 78,
|
|
|
|
-89, -36, -19, -15, -19, -15, -14, -13, 117, 75,
|
|
|
|
75, -13, -91, 126, -151, 135, 58, -17, -19, -13,
|
|
|
|
-13, 10, 124, -115, -50, -69, -15, -19, 128, 83,
|
|
|
|
-140, -39, -40, 10, 52, -13, -14, -39, -40, 10,
|
|
|
|
-14, 121, -80, 120, -140, -4, 121, 135, 29, -81,
|
|
|
|
121, 135, 29, -81, 10, 29, 136, -28, -78, -7,
|
|
|
|
-31, -81, 79, 82, 60, 125, -8, 62, -79, 18,
|
|
|
|
74, -11, 131, 132, 130, 129, 123, 123, -95, -85,
|
|
|
|
-85, -48, 121, 135, -99, 121, -99, 121, -27, -14,
|
|
|
|
12, 123, -28, -14, 122, -14, 124, 135, 29, 29,
|
|
|
|
124, 135, 136, 120, 123, -106, -107, -63, -62, 60,
|
|
|
|
61, -45, -81, 79, 82, -109, 56, -45, 119, -114,
|
|
|
|
-45, -15, -19, -19, 91, 124, 135, 123, -81, -127,
|
|
|
|
-125, -124, -126, 125, -128, 57, 126, 126, -34, 10,
|
|
|
|
13, 12, 10, 120, 125, 120, -129, -77, -130, -140,
|
|
|
|
125, 119, -10, -14, -40, -81, -131, -40, 124, 135,
|
|
|
|
124, 124, 124, 126, 126, 124, -14, 128, -14, 128,
|
|
|
|
126, 126, 124, 135, 124, -17, -14, -140, -140, 126,
|
|
|
|
120, -140, -140, 120, 120, -5, 10, 29, -6, 10,
|
|
|
|
29, 10, -28, 125, 130, 129, 164, 167, 165, 166,
|
|
|
|
151, 128, 152, 161, 162, 163, 88, 89, 87, 150,
|
|
|
|
149, 155, 156, 153, 154, 157, 159, 158, 160, 127,
|
|
|
|
82, -81, 123, -122, -123, -78, 17, 78, -78, -78,
|
|
|
|
-78, -78, -78, 124, -54, 93, 94, -96, 22, 121,
|
|
|
|
-98, -14, 120, 32, 33, -99, 31, -99, 120, 136,
|
|
|
|
-106, -14, 121, -56, -137, -19, 128, 59, -137, -57,
|
|
|
|
-25, 122, 10, -28, -103, 41, -106, 124, 135, -144,
|
|
|
|
82, -81, 119, -114, -108, 135, -43, 136, -38, -92,
|
|
|
|
125, -126, -128, -13, -131, 126, -14, -135, 125, 125,
|
|
|
|
-13, -14, 120, -134, -36, 58, -17, -17, -69, 10,
|
|
|
|
10, -78, -78, -78, -78, -78, -78, -78, -78, -78,
|
2018-02-18 18:29:33 +00:00
|
|
|
-78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
|
2018-04-09 20:08:29 +00:00
|
|
|
-78, -78, -78, -78, -78, -78, -78, 122, -78, -81,
|
|
|
|
-122, 126, -151, 135, 58, 10, 52, 124, 121, -48,
|
|
|
|
-25, -55, 93, 94, 121, 121, -14, -150, 122, 121,
|
|
|
|
120, 121, 31, -28, 124, -138, 58, -19, 123, -138,
|
|
|
|
-85, 136, -58, 42, 123, 124, -94, 44, -63, -145,
|
|
|
|
83, -81, -108, 120, -66, -110, -67, -68, -111, -120,
|
|
|
|
47, 38, 44, -76, 103, 102, 101, 98, 99, 100,
|
|
|
|
-45, -139, -14, 124, -13, 126, -129, 126, -128, -13,
|
|
|
|
-13, 126, 120, -133, 57, -14, 128, 126, -78, 122,
|
|
|
|
124, -78, -78, -25, 95, -48, 122, -98, -150, -85,
|
|
|
|
121, -94, 124, -137, -92, 124, 28, -28, 119, -45,
|
|
|
|
119, 119, 123, 12, 120, -112, 12, 121, 135, -1,
|
|
|
|
-76, 10, -116, -45, 126, 120, 126, 126, -131, -17,
|
|
|
|
-78, 58, 121, 122, -85, 124, -85, 119, -148, -25,
|
|
|
|
122, 124, -148, 121, -85, 12, -85, -85, -93, 12,
|
|
|
|
128, 136, 121, 135, 136, 10, -144, 136, -143, 135,
|
|
|
|
121, 119, -78, -85, -147, -25, 122, -85, -85, 120,
|
|
|
|
124, 120, 120, 124, 135, 12, -28, 12, -28, 136,
|
|
|
|
10, -28, -45, -117, -118, -70, -71, -72, -73, -74,
|
|
|
|
-45, 10, -85, 120, 26, 119, 12, 128, 136, -28,
|
|
|
|
123, 120, -70, 121, 121, 45, 29, 78, 24, 121,
|
|
|
|
-85, 12, -28, -106, -119, -45, -75, -76, 10, 121,
|
|
|
|
120, 124, 135, 10, -104, -105, -59, 41, -142, 121,
|
|
|
|
119, -45, -59, 123, -85, -45, 120, 12, 124, 119,
|
|
|
|
-85, 120,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyDef = [...]int{
|
|
|
|
|
2018-04-09 20:08:29 +00:00
|
|
|
3, -2, -2, 2, 6, 7, 8, 9, 0, 0,
|
|
|
|
0, 0, 45, 4, 87, 88, 0, 39, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 331, 0,
|
|
|
|
65, 0, 0, 0, 0, 71, 0, 0, 0, 89,
|
|
|
|
0, 0, 303, 429, 430, 316, 96, 0, 98, 0,
|
|
|
|
102, -2, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
0, 283, 284, 0, 288, 0, 0, 0, 0, 0,
|
|
|
|
0, 0, 345, 0, 298, 299, 300, 348, 0, 437,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 414, 415,
|
|
|
|
416, 417, 0, 0, 420, 355, 0, 481, 454, 455,
|
|
|
|
456, 410, -2, 0, 0, 353, 354, 356, 357, 358,
|
|
|
|
359, 360, 361, 362, -2, 0, 459, 0, 0, 462,
|
|
|
|
474, 463, 0, 0, 3, 0, 4, 0, 0, 0,
|
|
|
|
19, 20, 0, 17, 0, 46, 0, 0, 0, 0,
|
|
|
|
0, 0, 89, 0, 218, 0, 54, 0, 303, 331,
|
|
|
|
56, 0, 58, 430, -2, 0, 61, 0, 161, 162,
|
|
|
|
0, 0, 89, 167, 0, 217, 66, 0, 0, 0,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 39, 0, 0,
|
|
|
|
0, 90, 100, 103, -2, -2, 0, 97, 99, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, 0, 480, 236, 249, 251, 250, 435, 332, 0,
|
|
|
|
0, 0, 0, 331, 252, 270, 271, 272, 273, 284,
|
|
|
|
0, 0, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
|
|
0, 347, 297, 465, 465, 0, 349, 350, 493, 495,
|
|
|
|
0, 0, 302, 0, 351, 338, 339, 332, 0, 0,
|
|
|
|
341, -2, 0, 0, 0, 0, 507, 508, 0, 510,
|
|
|
|
511, 465, 0, 0, 0, 364, 0, 465, 481, 0,
|
|
|
|
423, 486, 0, 465, 465, 0, 323, 0, -2, 0,
|
|
|
|
465, 0, -2, 475, 0, 330, 0, 0, 11, 3,
|
|
|
|
0, -2, 14, 0, 0, 25, 26, 0, 0, 31,
|
|
|
|
32, 0, 0, 22, 0, 0, 38, 47, 40, 41,
|
|
|
|
42, 43, 0, 133, 39, 50, 131, 39, 0, 0,
|
|
|
|
0, 219, 221, 53, 126, 126, 55, 57, 59, 60,
|
|
|
|
62, 0, 163, 0, 433, 63, 0, 0, 0, 64,
|
|
|
|
0, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
|
|
262, 263, 264, 265, 266, 267, 268, 269, -2, -2,
|
|
|
|
-2, -2, -2, -2, -2, -2, 282, 0, 0, 0,
|
|
|
|
84, 86, -2, 430, 0, 0, 0, 73, 74, 0,
|
|
|
|
-2, 105, 0, 0, 0, 0, 233, 0, 237, 238,
|
|
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
|
|
0, 477, 478, 0, 0, 334, 0, 0, 229, 431,
|
|
|
|
432, 346, 0, 466, 0, 301, 494, 491, 492, 0,
|
|
|
|
0, 0, 414, 0, 446, 467, 468, 471, 447, 0,
|
|
|
|
472, 0, 231, 352, 0, 0, 334, 0, 458, 0,
|
|
|
|
0, 512, -2, -2, -2, 430, 0, 0, 418, 363,
|
|
|
|
419, 0, 0, 315, 482, 424, 0, 490, 434, 0,
|
|
|
|
0, 5, 151, 0, 0, 154, -2, -2, 0, 0,
|
|
|
|
325, 0, 449, -2, 519, 0, 0, 0, 450, -2,
|
|
|
|
0, 10, 0, 13, 324, 18, 15, 0, 0, 28,
|
|
|
|
16, 0, 0, 34, 21, 0, 0, 37, 366, 367,
|
|
|
|
368, -2, 0, 0, 0, 421, 374, 375, 376, 355,
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 137, -2,
|
|
|
|
0, 0, 218, 0, 0, 126, 0, 126, 160, 0,
|
|
|
|
165, -2, 168, 216, 0, 287, 0, 0, 0, 0,
|
|
|
|
0, 0, 0, 75, -2, 0, 141, 143, 89, 148,
|
|
|
|
149, 150, 335, 0, 0, 0, 0, 101, 170, 104,
|
|
|
|
107, -2, -2, 234, 0, 0, 480, 480, 333, 285,
|
|
|
|
230, 227, 228, 465, 223, 0, 311, 310, 0, 501,
|
|
|
|
502, 503, 497, 498, 0, 500, 439, 444, 445, 443,
|
|
|
|
465, 0, 448, 0, 449, 333, 343, 450, 504, 0,
|
|
|
|
505, 506, 509, 313, 312, 314, 484, 0, 485, 0,
|
|
|
|
452, 453, 152, 0, 153, 158, 159, 326, 327, 460,
|
|
|
|
461, 328, 329, 464, 12, 24, 27, 0, 30, 33,
|
|
|
|
0, 23, 36, 0, 0, 0, 0, 0, 0, 0,
|
2018-01-29 14:11:45 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-02-03 17:33:22 +00:00
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2018-04-09 20:08:29 +00:00
|
|
|
0, -2, 421, 0, 423, 428, 0, 0, 384, 385,
|
|
|
|
407, 408, 0, 0, 48, 0, 0, 139, 0, 51,
|
|
|
|
0, 220, 122, 0, 0, 0, 0, 0, 164, 0,
|
|
|
|
0, 286, 67, 85, 109, 111, 0, 0, 109, 70,
|
|
|
|
118, 39, 0, 120, 77, 0, 0, 317, 147, 91,
|
|
|
|
0, 337, 170, 106, 200, 0, 351, 0, 476, 0,
|
|
|
|
465, 226, 222, 0, 446, 496, 0, 436, 465, 465,
|
|
|
|
0, 0, 473, 340, 513, 0, 488, 489, 155, 29,
|
|
|
|
35, 0, 378, 379, 380, 381, 382, 383, 386, 387,
|
|
|
|
388, 389, 390, 391, 392, 393, 394, 395, 396, -2,
|
|
|
|
-2, -2, -2, -2, -2, -2, -2, 0, 0, -2,
|
|
|
|
0, 373, 422, 424, 0, 365, 518, 409, 44, 0,
|
|
|
|
138, 0, 0, 0, 132, 218, 0, 39, 129, 130,
|
|
|
|
123, 124, 0, 166, 317, 0, 0, 112, 480, 0,
|
|
|
|
0, 0, 72, 0, 0, 0, 0, 0, 144, 0,
|
|
|
|
92, 336, 200, 95, 169, 0, 0, 173, 0, -2,
|
|
|
|
199, 0, 0, 202, 204, 205, 206, 207, 208, 209,
|
|
|
|
108, 235, 232, 479, 0, 225, 440, 0, 438, 0,
|
|
|
|
0, 469, 470, 342, 0, 483, 0, 377, 405, 0,
|
|
|
|
372, 426, 427, 134, 0, 0, 39, 0, 39, -2,
|
|
|
|
125, 0, 0, 110, 0, 0, 0, 121, 39, 0,
|
|
|
|
39, 39, 0, 145, 94, 0, 212, 172, 0, 89,
|
|
|
|
203, 0, 0, 176, 224, 499, 442, 441, 344, 487,
|
|
|
|
406, 0, 49, 39, -2, 0, -2, 39, 68, 116,
|
|
|
|
39, 113, 69, 119, 0, 0, 0, 0, 0, 321,
|
|
|
|
0, 0, 171, 0, 0, 0, 0, 0, 175, 0,
|
|
|
|
178, 180, 425, -2, 52, 114, 39, 0, 0, 78,
|
|
|
|
0, 93, 304, 318, 0, 322, 146, 210, 213, 0,
|
|
|
|
0, 215, 177, 0, 181, 182, 0, 0, 190, 0,
|
|
|
|
0, -2, 0, 305, 0, 39, 319, 0, 0, 214,
|
|
|
|
-2, 179, 183, 184, 185, 0, 194, 0, 0, 117,
|
|
|
|
0, 320, 211, 0, 186, 187, 0, -2, 191, 115,
|
|
|
|
80, 0, 0, 192, 76, 79, 81, 0, 174, 196,
|
|
|
|
39, 188, 82, 0, 0, 0, 197, 0, 0, 39,
|
|
|
|
0, 83,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok1 = [...]int{
|
|
|
|
|
|
|
|
1, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 3, 3, 131, 117, 3, 134, 166, 128, 3,
|
|
|
|
123, 124, 164, 130, 135, 129, 163, 165, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 122, 121,
|
|
|
|
157, 136, 159, 127, 133, 3, 3, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 125, 3, 126, 152, 3, 118, 3, 3, 3,
|
2017-11-23 15:33:47 +00:00
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2018-01-29 14:11:45 +00:00
|
|
|
3, 3, 3, 119, 151, 120, 132,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok2 = [...]int{
|
|
|
|
|
2018-01-29 14:11:45 +00:00
|
|
|
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
|
|
112, 113, 114, 115, 116, 137, 138, 139, 140, 141,
|
|
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 153,
|
|
|
|
154, 155, 156, 158, 160, 161, 162, 167,
|
2017-11-23 15:33:47 +00:00
|
|
|
}
|
|
|
|
var yyTok3 = [...]int{
|
|
|
|
0,
|
|
|
|
}
|
|
|
|
|
|
|
|
var yyErrorMessages = [...]struct {
|
|
|
|
state int
|
|
|
|
token int
|
|
|
|
msg string
|
|
|
|
}{}
|
|
|
|
|
2017-11-24 01:36:58 +00:00
|
|
|
//line yaccpar:1
|
|
|
|
|
2017-11-23 15:33:47 +00:00
|
|
|
/* parser for yacc output */
|
|
|
|
|
|
|
|
var (
|
|
|
|
yyDebug = 0
|
|
|
|
yyErrorVerbose = false
|
|
|
|
)
|
|
|
|
|
|
|
|
type yyLexer interface {
|
|
|
|
Lex(lval *yySymType) int
|
|
|
|
Error(s string)
|
|
|
|
}
|
|
|
|
|
|
|
|
type yyParser interface {
|
|
|
|
Parse(yyLexer) int
|
|
|
|
Lookahead() int
|
|
|
|
}
|
|
|
|
|
|
|
|
type yyParserImpl struct {
|
|
|
|
lval yySymType
|
|
|
|
stack [yyInitialStackSize]yySymType
|
|
|
|
char int
|
|
|
|
}
|
|
|
|
|
|
|
|
func (p *yyParserImpl) Lookahead() int {
|
|
|
|
return p.char
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyNewParser() yyParser {
|
|
|
|
return &yyParserImpl{}
|
|
|
|
}
|
|
|
|
|
|
|
|
const yyFlag = -1000
|
|
|
|
|
|
|
|
func yyTokname(c int) string {
|
|
|
|
if c >= 1 && c-1 < len(yyToknames) {
|
|
|
|
if yyToknames[c-1] != "" {
|
|
|
|
return yyToknames[c-1]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return __yyfmt__.Sprintf("tok-%v", c)
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyStatname(s int) string {
|
|
|
|
if s >= 0 && s < len(yyStatenames) {
|
|
|
|
if yyStatenames[s] != "" {
|
|
|
|
return yyStatenames[s]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return __yyfmt__.Sprintf("state-%v", s)
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyErrorMessage(state, lookAhead int) string {
|
|
|
|
const TOKSTART = 4
|
|
|
|
|
|
|
|
if !yyErrorVerbose {
|
|
|
|
return "syntax error"
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, e := range yyErrorMessages {
|
|
|
|
if e.state == state && e.token == lookAhead {
|
|
|
|
return "syntax error: " + e.msg
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
res := "syntax error: unexpected " + yyTokname(lookAhead)
|
|
|
|
|
|
|
|
// To match Bison, suggest at most four expected tokens.
|
|
|
|
expected := make([]int, 0, 4)
|
|
|
|
|
|
|
|
// Look for shiftable tokens.
|
|
|
|
base := yyPact[state]
|
|
|
|
for tok := TOKSTART; tok-1 < len(yyToknames); tok++ {
|
|
|
|
if n := base + tok; n >= 0 && n < yyLast && yyChk[yyAct[n]] == tok {
|
|
|
|
if len(expected) == cap(expected) {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
expected = append(expected, tok)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if yyDef[state] == -2 {
|
|
|
|
i := 0
|
|
|
|
for yyExca[i] != -1 || yyExca[i+1] != state {
|
|
|
|
i += 2
|
|
|
|
}
|
|
|
|
|
|
|
|
// Look for tokens that we accept or reduce.
|
|
|
|
for i += 2; yyExca[i] >= 0; i += 2 {
|
|
|
|
tok := yyExca[i]
|
|
|
|
if tok < TOKSTART || yyExca[i+1] == 0 {
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
if len(expected) == cap(expected) {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
expected = append(expected, tok)
|
|
|
|
}
|
|
|
|
|
|
|
|
// If the default action is to accept or reduce, give up.
|
|
|
|
if yyExca[i+1] != 0 {
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for i, tok := range expected {
|
|
|
|
if i == 0 {
|
|
|
|
res += ", expecting "
|
|
|
|
} else {
|
|
|
|
res += " or "
|
|
|
|
}
|
|
|
|
res += yyTokname(tok)
|
|
|
|
}
|
|
|
|
return res
|
|
|
|
}
|
|
|
|
|
|
|
|
func yylex1(lex yyLexer, lval *yySymType) (char, token int) {
|
|
|
|
token = 0
|
|
|
|
char = lex.Lex(lval)
|
|
|
|
if char <= 0 {
|
|
|
|
token = yyTok1[0]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
if char < len(yyTok1) {
|
|
|
|
token = yyTok1[char]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
if char >= yyPrivate {
|
|
|
|
if char < yyPrivate+len(yyTok2) {
|
|
|
|
token = yyTok2[char-yyPrivate]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for i := 0; i < len(yyTok3); i += 2 {
|
|
|
|
token = yyTok3[i+0]
|
|
|
|
if token == char {
|
|
|
|
token = yyTok3[i+1]
|
|
|
|
goto out
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
out:
|
|
|
|
if token == 0 {
|
|
|
|
token = yyTok2[1] /* unknown char */
|
|
|
|
}
|
|
|
|
if yyDebug >= 3 {
|
|
|
|
__yyfmt__.Printf("lex %s(%d)\n", yyTokname(token), uint(char))
|
|
|
|
}
|
|
|
|
return char, token
|
|
|
|
}
|
|
|
|
|
|
|
|
func yyParse(yylex yyLexer) int {
|
|
|
|
return yyNewParser().Parse(yylex)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (yyrcvr *yyParserImpl) Parse(yylex yyLexer) int {
|
|
|
|
var yyn int
|
|
|
|
var yyVAL yySymType
|
|
|
|
var yyDollar []yySymType
|
|
|
|
_ = yyDollar // silence set and not used
|
|
|
|
yyS := yyrcvr.stack[:]
|
|
|
|
|
|
|
|
Nerrs := 0 /* number of errors */
|
|
|
|
Errflag := 0 /* error recovery flag */
|
|
|
|
yystate := 0
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken := -1 // yyrcvr.char translated into internal numbering
|
|
|
|
defer func() {
|
|
|
|
// Make sure we report no lookahead when not parsing.
|
|
|
|
yystate = -1
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
}()
|
|
|
|
yyp := -1
|
|
|
|
goto yystack
|
|
|
|
|
|
|
|
ret0:
|
|
|
|
return 0
|
|
|
|
|
|
|
|
ret1:
|
|
|
|
return 1
|
|
|
|
|
|
|
|
yystack:
|
|
|
|
/* put a state and value onto the stack */
|
|
|
|
if yyDebug >= 4 {
|
|
|
|
__yyfmt__.Printf("char %v in %v\n", yyTokname(yytoken), yyStatname(yystate))
|
|
|
|
}
|
|
|
|
|
|
|
|
yyp++
|
|
|
|
if yyp >= len(yyS) {
|
|
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
|
|
copy(nyys, yyS)
|
|
|
|
yyS = nyys
|
|
|
|
}
|
|
|
|
yyS[yyp] = yyVAL
|
|
|
|
yyS[yyp].yys = yystate
|
|
|
|
|
|
|
|
yynewstate:
|
|
|
|
yyn = yyPact[yystate]
|
|
|
|
if yyn <= yyFlag {
|
|
|
|
goto yydefault /* simple state */
|
|
|
|
}
|
|
|
|
if yyrcvr.char < 0 {
|
|
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
|
|
}
|
|
|
|
yyn += yytoken
|
|
|
|
if yyn < 0 || yyn >= yyLast {
|
|
|
|
goto yydefault
|
|
|
|
}
|
|
|
|
yyn = yyAct[yyn]
|
|
|
|
if yyChk[yyn] == yytoken { /* valid shift */
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
yyVAL = yyrcvr.lval
|
|
|
|
yystate = yyn
|
|
|
|
if Errflag > 0 {
|
|
|
|
Errflag--
|
|
|
|
}
|
|
|
|
goto yystack
|
|
|
|
}
|
|
|
|
|
|
|
|
yydefault:
|
|
|
|
/* default state action */
|
|
|
|
yyn = yyDef[yystate]
|
|
|
|
if yyn == -2 {
|
|
|
|
if yyrcvr.char < 0 {
|
|
|
|
yyrcvr.char, yytoken = yylex1(yylex, &yyrcvr.lval)
|
|
|
|
}
|
|
|
|
|
|
|
|
/* look through exception table */
|
|
|
|
xi := 0
|
|
|
|
for {
|
|
|
|
if yyExca[xi+0] == -1 && yyExca[xi+1] == yystate {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
xi += 2
|
|
|
|
}
|
|
|
|
for xi += 2; ; xi += 2 {
|
|
|
|
yyn = yyExca[xi+0]
|
|
|
|
if yyn < 0 || yyn == yytoken {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
yyn = yyExca[xi+1]
|
|
|
|
if yyn < 0 {
|
|
|
|
goto ret0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if yyn == 0 {
|
|
|
|
/* error ... attempt to resume parsing */
|
|
|
|
switch Errflag {
|
|
|
|
case 0: /* brand new error */
|
|
|
|
yylex.Error(yyErrorMessage(yystate, yytoken))
|
|
|
|
Nerrs++
|
|
|
|
if yyDebug >= 1 {
|
|
|
|
__yyfmt__.Printf("%s", yyStatname(yystate))
|
|
|
|
__yyfmt__.Printf(" saw %s\n", yyTokname(yytoken))
|
|
|
|
}
|
|
|
|
fallthrough
|
|
|
|
|
|
|
|
case 1, 2: /* incompletely recovered error ... try again */
|
|
|
|
Errflag = 3
|
|
|
|
|
|
|
|
/* find a state where "error" is a legal shift action */
|
|
|
|
for yyp >= 0 {
|
|
|
|
yyn = yyPact[yyS[yyp].yys] + yyErrCode
|
|
|
|
if yyn >= 0 && yyn < yyLast {
|
|
|
|
yystate = yyAct[yyn] /* simulate a shift of "error" */
|
|
|
|
if yyChk[yystate] == yyErrCode {
|
|
|
|
goto yystack
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* the current p has no shift on "error", pop stack */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("error recovery pops state %d\n", yyS[yyp].yys)
|
|
|
|
}
|
|
|
|
yyp--
|
|
|
|
}
|
|
|
|
/* there is no state on the stack with an error shift ... abort */
|
|
|
|
goto ret1
|
|
|
|
|
|
|
|
case 3: /* no shift yet; clobber input char */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("error recovery discards %s\n", yyTokname(yytoken))
|
|
|
|
}
|
|
|
|
if yytoken == yyEofCode {
|
|
|
|
goto ret1
|
|
|
|
}
|
|
|
|
yyrcvr.char = -1
|
|
|
|
yytoken = -1
|
|
|
|
goto yynewstate /* try again in the same state */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* reduction by production yyn */
|
|
|
|
if yyDebug >= 2 {
|
|
|
|
__yyfmt__.Printf("reduce %v in:\n\t%v\n", yyn, yyStatname(yystate))
|
|
|
|
}
|
|
|
|
|
|
|
|
yynt := yyn
|
|
|
|
yypt := yyp
|
|
|
|
_ = yypt // guard against "declared and not used"
|
|
|
|
|
|
|
|
yyp -= yyR2[yyn]
|
|
|
|
// yyp is now the index of $0. Perform the default action. Iff the
|
|
|
|
// reduced production is ε, $1 is possibly out of range.
|
|
|
|
if yyp+1 >= len(yyS) {
|
|
|
|
nyys := make([]yySymType, len(yyS)*2)
|
|
|
|
copy(nyys, yyS)
|
|
|
|
yyS = nyys
|
|
|
|
}
|
|
|
|
yyVAL = yyS[yyp+1]
|
|
|
|
|
|
|
|
/* consult goto table to find next state */
|
|
|
|
yyn = yyR1[yyn]
|
|
|
|
yyg := yyPgo[yyn]
|
|
|
|
yyj := yyg + yyS[yyp].yys + 1
|
|
|
|
|
|
|
|
if yyj >= yyLast {
|
|
|
|
yystate = yyAct[yyg]
|
|
|
|
} else {
|
|
|
|
yystate = yyAct[yyj]
|
|
|
|
if yyChk[yystate] != -yyn {
|
|
|
|
yystate = yyAct[yyg]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// dummy call; replaced with literal code
|
|
|
|
switch yynt {
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-02-18 17:44:17 +00:00
|
|
|
//line 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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:243
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-04-09 20:08:29 +00:00
|
|
|
if yyDollar[2].node != nil {
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
|
|
|
case 3:
|
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:248
|
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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:253
|
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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:260
|
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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:270
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-04-09 20:08:29 +00:00
|
|
|
// error
|
|
|
|
yyVAL.node = nil
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 7:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:275
|
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-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:277
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
|
|
|
case 9:
|
2018-04-09 20:08:29 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
|
|
//line php5/php5.y:279
|
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
|
|
|
case 10:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:281
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 11:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +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, 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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 12:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:297
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 13:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:307
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 14:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:313
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 15:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 16:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:329
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 17:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:339
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 18:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:344
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 19:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:346
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 20:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +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))
|
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 21:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:361
|
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-04-09 20:08:29 +00:00
|
|
|
case 22:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +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))
|
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 23:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:384
|
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-04-09 20:08:29 +00:00
|
|
|
case 24:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:400
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 25:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:402
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 26:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +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))
|
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 27:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:417
|
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-04-09 20:08:29 +00:00
|
|
|
case 28:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:430
|
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-04-09 20:08:29 +00:00
|
|
|
case 29:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:440
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 30:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:456
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-01-29 14:11:45 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 31:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:458
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 32:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +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))
|
|
|
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 33:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:473
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 34:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +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))
|
|
|
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 35:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:496
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 36:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:512
|
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-04-09 20:08:29 +00:00
|
|
|
case 37:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:528
|
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-04-09 20:08:29 +00:00
|
|
|
case 38:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:547
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-04-09 20:08:29 +00:00
|
|
|
if yyDollar[2].node != nil {
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 39:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:553
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 40:
|
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
|
|
|
//line php5/php5.y:559
|
|
|
|
{
|
|
|
|
// error
|
|
|
|
yyVAL.node = nil
|
|
|
|
}
|
|
|
|
case 41:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:564
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 42:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:566
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 43:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:568
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 10:09:02 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 44:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:570
|
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-04-09 20:08:29 +00:00
|
|
|
case 45:
|
2017-11-29 21:53:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:580
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 46:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:582
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 47:
|
2018-01-29 19:12:12 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:595
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 48:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:601
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 49:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:615
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 50:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:624
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
if yyDollar[3].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltWhile(yyDollar[2].node, yyDollar[3].altSyntaxNode.node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewWhile(yyDollar[2].node, yyDollar[3].altSyntaxNode.node)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[3].altSyntaxNode.node))
|
2018-02-03 12:29:23 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 51:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:634
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 52:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:640
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
if yyDollar[9].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltFor(yyDollar[3].list, yyDollar[5].list, yyDollar[7].list, yyDollar[9].altSyntaxNode.node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewFor(yyDollar[3].list, yyDollar[5].list, yyDollar[7].list, yyDollar[9].altSyntaxNode.node)
|
|
|
|
}
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[9].altSyntaxNode.node))
|
2018-02-03 12:29:23 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 53:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:650
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-18 18:39:41 +00:00
|
|
|
if yyDollar[3].nodesWithEndToken.endToken.Value == ";" {
|
|
|
|
yyVAL.node = stmt.NewAltSwitch(yyDollar[2].node, yyDollar[3].nodesWithEndToken.nodes)
|
|
|
|
} else {
|
|
|
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 54:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:660
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 55:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:666
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 56:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:672
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 57:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:678
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 58:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:684
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 59:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:690
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 60:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:696
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 61:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:702
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-12 21:10:53 +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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 62:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:708
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 63:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:714
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 64:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:720
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 65:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:726
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 66:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:732
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 67:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:738
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 68:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:744
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
if yyDollar[6].foreachVariable.node == nil {
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[8].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
}
|
2018-02-03 12:41:34 +00:00
|
|
|
} else {
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[8].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
}
|
2018-02-03 12:41:34 +00:00
|
|
|
}
|
2018-02-18 18:29:33 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].altSyntaxNode.node))
|
2018-02-03 12:41:34 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 69:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:762
|
2017-11-29 21:53:45 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
if yyDollar[6].foreachVariable.node == nil {
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[8].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, nil, yyDollar[5].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[5].foreachVariable.byRef)
|
|
|
|
}
|
2018-02-03 12:41:34 +00:00
|
|
|
} else {
|
2018-02-18 18:29:33 +00:00
|
|
|
if yyDollar[8].altSyntaxNode.isAlt {
|
|
|
|
yyVAL.node = stmt.NewAltForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = stmt.NewForeach(yyDollar[3].node, yyDollar[5].foreachVariable.node, yyDollar[6].foreachVariable.node, yyDollar[8].altSyntaxNode.node, yyDollar[6].foreachVariable.byRef)
|
|
|
|
}
|
2018-02-03 12:41:34 +00:00
|
|
|
}
|
2018-02-18 18:29:33 +00:00
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokenNodePosition(yyDollar[1].token, yyDollar[8].altSyntaxNode.node))
|
2018-02-03 12:41:34 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2017-11-29 21:53:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 70:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:780
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 71:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:786
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 72:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:792
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 73:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:804
|
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-04-09 20:08:29 +00:00
|
|
|
case 74:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:810
|
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-04-09 20:08:29 +00:00
|
|
|
case 75:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:823
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 76:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:825
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
|
2018-02-03 13:24:00 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 77:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:843
|
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-04-09 20:08:29 +00:00
|
|
|
case 78:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:845
|
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-04-09 20:08:29 +00:00
|
|
|
case 79:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:854
|
2018-01-29 19:12:12 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-29 19:12:12 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 80:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:856
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 81:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:861
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 82:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:863
|
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-04-09 20:08:29 +00:00
|
|
|
case 83:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:868
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
|
2018-02-03 13:24:00 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 84:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:885
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 85:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:887
|
2017-11-30 16:25:41 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 16:25:41 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 86:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:892
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 13:24:00 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 87:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:897
|
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-04-09 20:08:29 +00:00
|
|
|
case 88:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:902
|
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-04-09 20:08:29 +00:00
|
|
|
case 89:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:907
|
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-04-09 20:08:29 +00:00
|
|
|
case 90:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:909
|
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-04-09 20:08:29 +00:00
|
|
|
case 91:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:914
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.boolWithToken = boolWithToken{false, nil}
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 92:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:916
|
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-04-09 20:08:29 +00:00
|
|
|
case 93:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:921
|
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-04-09 20:08:29 +00:00
|
|
|
case 94:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-7 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:934
|
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-04-09 20:08:29 +00:00
|
|
|
case 95:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:955
|
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-04-09 20:08:29 +00:00
|
|
|
case 96:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:969
|
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-04-09 20:08:29 +00:00
|
|
|
case 97:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:975
|
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-04-09 20:08:29 +00:00
|
|
|
case 98:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:985
|
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-04-09 20:08:29 +00:00
|
|
|
case 99:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:991
|
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-04-09 20:08:29 +00:00
|
|
|
case 100:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1004
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 101:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1006
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 102:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1011
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 103:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1016
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = nil
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 104:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1018
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 105:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1023
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 106:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1025
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 13:53:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 107:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1030
|
2017-11-29 13:49:32 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 13:49:32 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 108:
|
2017-11-30 17:04:52 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1032
|
2017-11-28 19:47:12 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 19:47:12 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 109:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1037
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{nil, false}
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 110:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1039
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-03 12:41:34 +00:00
|
|
|
yyVAL.foreachVariable = yyDollar[2].foreachVariable
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 111:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1044
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[1].node, false}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 112:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1046
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.foreachVariable = foreachVariable{yyDollar[2].node, true}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 113:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1048
|
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-04-09 20:08:29 +00:00
|
|
|
case 114:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1058
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2018-02-03 12:29:23 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 115:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1060
|
2018-02-03 12:41:34 +00:00
|
|
|
{
|
2018-02-18 17:57:54 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-02-03 12:41:34 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 116:
|
2018-02-03 12:41:34 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1069
|
2018-02-03 12:41:34 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2018-02-03 12:41:34 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 117:
|
2018-02-03 12:41:34 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1071
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
2018-02-18 18:29:33 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2018-02-03 12:29:23 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 118:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1080
|
2018-02-03 13:24:00 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 119:
|
2018-02-03 13:24:00 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1082
|
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-04-09 20:08:29 +00:00
|
|
|
case 120:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1092
|
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-04-09 20:08:29 +00:00
|
|
|
case 121:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1104
|
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-04-09 20:08:29 +00:00
|
|
|
case 122:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1120
|
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-04-09 20:08:29 +00:00
|
|
|
case 123:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1122
|
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-04-09 20:08:29 +00:00
|
|
|
case 124:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1124
|
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-04-09 20:08:29 +00:00
|
|
|
case 125:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1126
|
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-04-09 20:08:29 +00:00
|
|
|
case 126:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1132
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 127:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1134
|
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-04-09 20:08:29 +00:00
|
|
|
case 128:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1141
|
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-04-09 20:08:29 +00:00
|
|
|
case 131:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1158
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{yyDollar[1].node, false}
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 132:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1160
|
2017-11-30 17:04:52 +00:00
|
|
|
{
|
2018-02-18 17:44:17 +00:00
|
|
|
yyVAL.altSyntaxNode = altSyntaxNode{stmt.NewStmtList(yyDollar[2].list), true}
|
|
|
|
positions.AddPosition(yyVAL.altSyntaxNode.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[4].token))
|
2017-11-30 17:04:52 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 133:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1170
|
2017-11-29 13:33:59 +00:00
|
|
|
{
|
2018-02-08 21:31:38 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 13:33:59 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 134:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1172
|
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-04-09 20:08:29 +00:00
|
|
|
case 135:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1184
|
2018-02-03 12:29:23 +00:00
|
|
|
{
|
2018-02-08 10:48:38 +00:00
|
|
|
yyVAL.list = nil
|
2018-02-03 12:29:23 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 136:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1186
|
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-04-09 20:08:29 +00:00
|
|
|
case 137:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1201
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 138:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1203
|
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-04-09 20:08:29 +00:00
|
|
|
case 139:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1213
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 19:56:09 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 140:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1215
|
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-04-09 20:08:29 +00:00
|
|
|
case 141:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1228
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[1].list
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 142:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1230
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 143:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1235
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 144:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1237
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 145:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1242
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
|
2018-02-03 17:33:22 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 146:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1268
|
2017-11-28 19:56:09 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
|
2018-02-03 17:33:22 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 147:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1298
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = nil
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 148:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1300
|
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-04-09 20:08:29 +00:00
|
|
|
case 149:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1306
|
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-04-09 20:08:29 +00:00
|
|
|
case 150:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1312
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 151:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1318
|
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-04-09 20:08:29 +00:00
|
|
|
case 152:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1320
|
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-04-09 20:08:29 +00:00
|
|
|
case 153:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1322
|
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}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 154:
|
2018-02-03 18:13:11 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1334
|
2018-02-03 18:13:11 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 155:
|
2018-02-03 18:13:11 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1336
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-02-03 18:13:11 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:17:11 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 156:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1341
|
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-04-09 20:08:29 +00:00
|
|
|
case 157:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1347
|
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-04-09 20:08:29 +00:00
|
|
|
case 158:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1353
|
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-04-09 20:08:29 +00:00
|
|
|
case 159:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1359
|
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-04-09 20:08:29 +00:00
|
|
|
case 160:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1368
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 161:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1370
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-01-31 10:29:38 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-28 20:36:21 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 162:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1376
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:29:38 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 163:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1386
|
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-04-09 20:08:29 +00:00
|
|
|
case 164:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1392
|
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-04-09 20:08:29 +00:00
|
|
|
case 165:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1402
|
2017-11-28 20:36:21 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
|
2018-01-31 10:29:38 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 166:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1419
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
|
2018-01-31 10:29:38 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 167:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1436
|
2017-11-28 20:17:11 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:29:38 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 168:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1453
|
2017-11-29 10:24:08 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:29:38 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 169:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1475
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 170:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1477
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 171:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1483
|
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))
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 172:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1489
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 173:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1491
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 174:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-8 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1493
|
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-04-09 20:08:29 +00:00
|
|
|
case 175:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1506
|
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-04-09 20:08:29 +00:00
|
|
|
case 176:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1515
|
2018-01-29 14:11:45 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2018-01-29 14:11:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 177:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1517
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 178:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1522
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{nil, yyDollar[1].token}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 179:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1524
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.nodesWithEndToken = &nodesWithEndToken{yyDollar[2].list, yyDollar[3].token}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 180:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1529
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = nil
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 181:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1531
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[1].list
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 182:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1536
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 183:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1538
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 184:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1543
|
2018-02-03 22:09:37 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 185:
|
2018-02-03 22:09:37 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1545
|
2017-11-28 21:20:08 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 21:20:08 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 186:
|
2017-11-28 21:20:08 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1550
|
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-04-09 20:08:29 +00:00
|
|
|
case 187:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1559
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 188:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1561
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 189:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1566
|
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-04-09 20:08:29 +00:00
|
|
|
case 190:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1576
|
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-04-09 20:08:29 +00:00
|
|
|
case 191:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1581
|
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-04-09 20:08:29 +00:00
|
|
|
case 192:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1594
|
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-04-09 20:08:29 +00:00
|
|
|
case 193:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1604
|
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-04-09 20:08:29 +00:00
|
|
|
case 194:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1613
|
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-04-09 20:08:29 +00:00
|
|
|
case 195:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1615
|
2017-11-30 17:16:01 +00:00
|
|
|
{
|
2018-02-03 22:09:37 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 17:16:01 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 196:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1620
|
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-04-09 20:08:29 +00:00
|
|
|
case 197:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1622
|
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-04-09 20:08:29 +00:00
|
|
|
case 198:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1627
|
2017-11-30 17:23:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-30 17:23:46 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 199:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1629
|
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-04-09 20:08:29 +00:00
|
|
|
case 200:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1640
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 201:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1642
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 202:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1647
|
2017-11-30 17:35:13 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 17:35:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 203:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1649
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-03 22:37:43 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-12-01 07:15:46 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 204:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1654
|
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-04-09 20:08:29 +00:00
|
|
|
case 205:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1660
|
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-04-09 20:08:29 +00:00
|
|
|
case 206:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1666
|
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-04-09 20:08:29 +00:00
|
|
|
case 207:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1672
|
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-04-09 20:08:29 +00:00
|
|
|
case 208:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1678
|
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-04-09 20:08:29 +00:00
|
|
|
case 209:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1684
|
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-04-09 20:08:29 +00:00
|
|
|
case 210:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1693
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
|
2018-02-03 22:37:43 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 211:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1709
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
|
2018-02-03 22:37:43 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 212:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1725
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-02-03 22:37:43 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 213:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1741
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-02-03 22:37:43 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 214:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1760
|
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-04-09 20:08:29 +00:00
|
|
|
case 215:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1775
|
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-04-09 20:08:29 +00:00
|
|
|
case 216:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1792
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 217:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1794
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 14:21:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 218:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1800
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 219:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1802
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 220:
|
2018-02-03 12:29:23 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1807
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-29 20:56:37 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 221:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1809
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-03 12:29:23 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 222:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1814
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 223:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1816
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 224:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1821
|
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-04-09 20:08:29 +00:00
|
|
|
case 225:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1828
|
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-04-09 20:08:29 +00:00
|
|
|
case 226:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1838
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 227:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1840
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 228:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1842
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 229:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1847
|
2017-11-29 22:07:15 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 22:07:15 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 230:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1849
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 21:43:39 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 231:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1854
|
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-04-09 20:08:29 +00:00
|
|
|
case 232:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1869
|
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))
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewAssign(list, yyDollar[6].node)
|
2018-02-01 10:35:43 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 233:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1879
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewAssign(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 234:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1885
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-04-05 09:03:32 +00:00
|
|
|
yyVAL.node = assign.NewReference(yyDollar[1].node, yyDollar[4].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 235:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1891
|
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 {
|
2018-02-13 11:38:57 +00:00
|
|
|
_new = expr.NewNew(yyDollar[5].node, yyDollar[6].nodesWithEndToken.nodes)
|
2018-02-04 17:37:27 +00:00
|
|
|
positions.AddPosition(_new, positionBuilder.NewTokensPosition(yyDollar[4].token, yyDollar[6].nodesWithEndToken.endToken))
|
|
|
|
}
|
|
|
|
comments.AddComments(_new, comments[yyDollar[1].node])
|
|
|
|
|
2018-04-05 09:03:32 +00:00
|
|
|
yyVAL.node = assign.NewReference(yyDollar[1].node, _new)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 236:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1906
|
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-04-09 20:08:29 +00:00
|
|
|
case 237:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1912
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 238:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1918
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 239:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1924
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewMul(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 240:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1930
|
2017-11-29 21:43:39 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewPow(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 241:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1936
|
2017-11-29 20:56:37 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 242:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1942
|
2017-11-29 14:21:44 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 243:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1948
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewMod(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 244:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1954
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 245:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1960
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 246:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1966
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 247:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1972
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 248:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1978
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = assign.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 249:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1984
|
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-04-09 20:08:29 +00:00
|
|
|
case 250:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1990
|
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-04-09 20:08:29 +00:00
|
|
|
case 251:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:1996
|
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-04-09 20:08:29 +00:00
|
|
|
case 252:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2002
|
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-04-09 20:08:29 +00:00
|
|
|
case 253:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2008
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 254:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2014
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 255:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2020
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 256:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2026
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 257:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2032
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 258:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2038
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 259:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2044
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 260:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2050
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 261:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2056
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 262:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2062
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 263:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2068
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 264:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2074
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMul(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 265:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2080
|
2017-11-27 22:37:17 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewPow(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 266:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2086
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 267:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2092
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMod(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 268:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2098
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 269:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2104
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 270:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2110
|
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-04-09 20:08:29 +00:00
|
|
|
case 271:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2116
|
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-04-09 20:08:29 +00:00
|
|
|
case 272:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2122
|
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-04-09 20:08:29 +00:00
|
|
|
case 273:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2128
|
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-04-09 20:08:29 +00:00
|
|
|
case 274:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2134
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 275:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2140
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 276:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2146
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 277:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2152
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 278:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2158
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewSmaller(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 279:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2164
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 280:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2170
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewGreater(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 281:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2176
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 17:37:27 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 282:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2182
|
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-04-09 20:08:29 +00:00
|
|
|
case 283:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2188
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 284:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2190
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 285:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2192
|
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-04-09 20:08:29 +00:00
|
|
|
case 286:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2218
|
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-04-09 20:08:29 +00:00
|
|
|
case 287:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2224
|
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-04-09 20:08:29 +00:00
|
|
|
case 288:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2230
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 289:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2232
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewInt(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 290:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2238
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewDouble(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 291:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2244
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewString(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 292:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2250
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewArray(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 293:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2256
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewObject(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 294:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2262
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewBool(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 295:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2268
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-04-05 08:59:29 +00:00
|
|
|
yyVAL.node = cast.NewUnset(yyDollar[2].node)
|
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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 296:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2274
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-18 17:09:18 +00:00
|
|
|
if strings.EqualFold(yyDollar[1].token.Value, "die") {
|
|
|
|
yyVAL.node = expr.NewDie(yyDollar[2].node)
|
|
|
|
} else {
|
|
|
|
yyVAL.node = expr.NewExit(yyDollar[2].node)
|
|
|
|
}
|
2018-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-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 297:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2284
|
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-04-09 20:08:29 +00:00
|
|
|
case 298:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2290
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-03 17:33:22 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 299:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2292
|
2017-11-24 01:36:58 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-24 01:36:58 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 300:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2294
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 301:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2296
|
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-04-09 20:08:29 +00:00
|
|
|
case 302:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2302
|
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-04-09 20:08:29 +00:00
|
|
|
case 303:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2308
|
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-04-09 20:08:29 +00:00
|
|
|
case 304:
|
2018-02-04 17:37:27 +00:00
|
|
|
yyDollar = yyS[yypt-9 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2314
|
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-04-09 20:08:29 +00:00
|
|
|
case 305:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-10 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2321
|
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-04-09 20:08:29 +00:00
|
|
|
case 306:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2331
|
2017-11-29 13:53:44 +00:00
|
|
|
{
|
2018-02-12 21:10:53 +00:00
|
|
|
yyVAL.node = expr.NewYield(nil, yyDollar[2].node)
|
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-04-09 20:08:29 +00:00
|
|
|
case 307:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2337
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-12 21:10:53 +00:00
|
|
|
yyVAL.node = expr.NewYield(nil, yyDollar[2].node)
|
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-04-09 20:08:29 +00:00
|
|
|
case 308:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2343
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-12 21:10:53 +00:00
|
|
|
yyVAL.node = expr.NewYield(yyDollar[2].node, yyDollar[4].node)
|
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-04-09 20:08:29 +00:00
|
|
|
case 309:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2349
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-12 21:10:53 +00:00
|
|
|
yyVAL.node = expr.NewYield(yyDollar[2].node, yyDollar[4].node)
|
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-04-09 20:08:29 +00:00
|
|
|
case 310:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2358
|
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-04-09 20:08:29 +00:00
|
|
|
case 311:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2364
|
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-04-09 20:08:29 +00:00
|
|
|
case 312:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2370
|
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-04-09 20:08:29 +00:00
|
|
|
case 313:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2380
|
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-04-09 20:08:29 +00:00
|
|
|
case 314:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2389
|
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-04-09 20:08:29 +00:00
|
|
|
case 315:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2395
|
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-04-09 20:08:29 +00:00
|
|
|
case 316:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2404
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.token = yyDollar[1].token
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 317:
|
2018-02-02 12:36:57 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2409
|
2018-02-02 12:36:57 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 318:
|
2018-02-02 12:36:57 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2411
|
2018-02-02 12:36:57 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = yyDollar[3].list
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 319:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2416
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[3].token.Value, "$"))
|
2018-02-02 12:36:57 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 320:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2432
|
2017-12-01 07:15:46 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[4].token.Value, "$"))
|
2018-02-02 12:36:57 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 321:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2448
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-02-02 12:36:57 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 322:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2464
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[2].token.Value, "$"))
|
2018-02-02 12:36:57 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 323:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2483
|
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-04-09 20:08:29 +00:00
|
|
|
case 324:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2493
|
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-04-09 20:08:29 +00:00
|
|
|
case 325:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2503
|
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-04-09 20:08:29 +00:00
|
|
|
case 326:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2513
|
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-04-09 20:08:29 +00:00
|
|
|
case 327:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2519
|
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-04-09 20:08:29 +00:00
|
|
|
case 328:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2525
|
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-04-09 20:08:29 +00:00
|
|
|
case 329:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2531
|
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-04-09 20:08:29 +00:00
|
|
|
case 330:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2537
|
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-04-09 20:08:29 +00:00
|
|
|
case 331:
|
2017-11-29 23:25:07 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2546
|
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-04-09 20:08:29 +00:00
|
|
|
case 332:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2552
|
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-04-09 20:08:29 +00:00
|
|
|
case 333:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2558
|
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-04-09 20:08:29 +00:00
|
|
|
case 334:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2564
|
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-04-09 20:08:29 +00:00
|
|
|
case 335:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2573
|
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-04-09 20:08:29 +00:00
|
|
|
case 336:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2579
|
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-04-09 20:08:29 +00:00
|
|
|
case 337:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2585
|
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-04-09 20:08:29 +00:00
|
|
|
case 338:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2594
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
|
|
|
yyVAL.node = yyDollar[1].node
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 339:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2596
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 340:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2601
|
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
|
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
|
2018-02-01 14:07:18 +00:00
|
|
|
}
|
|
|
|
}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 341:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2637
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 342:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2643
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 343:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2645
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 344:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2651
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[2].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 345:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2656
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 346:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2658
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 347:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2660
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 348:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2665
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 349:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2667
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = []node.Node{scalar.NewEncapsedStringPart(yyDollar[1].token.Value)}
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 350:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2669
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 17:37:27 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 351:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2674
|
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-04-09 20:08:29 +00:00
|
|
|
case 352:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2676
|
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-04-09 20:08:29 +00:00
|
|
|
case 353:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2681
|
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-04-09 20:08:29 +00:00
|
|
|
case 354:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2687
|
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-04-09 20:08:29 +00:00
|
|
|
case 355:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2693
|
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-04-09 20:08:29 +00:00
|
|
|
case 356:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2699
|
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-04-09 20:08:29 +00:00
|
|
|
case 357:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2705
|
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-04-09 20:08:29 +00:00
|
|
|
case 358:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2711
|
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-04-09 20:08:29 +00:00
|
|
|
case 359:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2717
|
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-04-09 20:08:29 +00:00
|
|
|
case 360:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2723
|
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-04-09 20:08:29 +00:00
|
|
|
case 361:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2729
|
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-04-09 20:08:29 +00:00
|
|
|
case 362:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2735
|
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-04-09 20:08:29 +00:00
|
|
|
case 363:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2741
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-04-05 10:47:36 +00:00
|
|
|
encapsed := scalar.NewEncapsedStringPart(yyDollar[2].token.Value)
|
|
|
|
positions.AddPosition(encapsed, positionBuilder.NewTokenPosition(yyDollar[2].token))
|
|
|
|
comments.AddComments(encapsed, yyDollar[2].token.Comments())
|
|
|
|
|
|
|
|
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, []node.Node{encapsed})
|
|
|
|
positions.AddPosition(yyVAL.node, positionBuilder.NewTokensPosition(yyDollar[1].token, yyDollar[3].token))
|
2018-01-31 10:55:50 +00:00
|
|
|
comments.AddComments(yyVAL.node, yyDollar[1].token.Comments())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 364:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2751
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-04-05 10:47:36 +00:00
|
|
|
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, nil)
|
2018-01-31 10:55:50 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 365:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2760
|
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-04-09 20:08:29 +00:00
|
|
|
case 366:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2773
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 367:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2778
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 368:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2780
|
2018-02-04 16:51:44 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-04 16:51:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 369:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2782
|
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-04-09 20:08:29 +00:00
|
|
|
case 370:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2792
|
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-04-09 20:08:29 +00:00
|
|
|
case 371:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2802
|
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-04-09 20:08:29 +00:00
|
|
|
case 372:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2812
|
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-04-09 20:08:29 +00:00
|
|
|
case 373:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2818
|
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-04-09 20:08:29 +00:00
|
|
|
case 374:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2824
|
2018-02-03 17:33:22 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-03 17:33:22 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 375:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2826
|
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-04-09 20:08:29 +00:00
|
|
|
case 376:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2832
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-02-01 18:40:04 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 377:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +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 = 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-04-09 20:08:29 +00:00
|
|
|
case 378:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2843
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewPlus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 379:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2849
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMinus(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 380:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2855
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMul(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 381:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2861
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewPow(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 382:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2867
|
2018-02-01 18:40:04 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewDiv(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 383:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2873
|
2018-02-01 14:07:18 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewMod(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 384:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2879
|
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-04-09 20:08:29 +00:00
|
|
|
case 385:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2885
|
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-04-09 20:08:29 +00:00
|
|
|
case 386:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2891
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 387:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2897
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 388:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2903
|
2018-02-03 10:09:02 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBitwiseXor(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 389:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2909
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewShiftLeft(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 390:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2915
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewShiftRight(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 391:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2921
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewConcat(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 392:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2927
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalXor(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 393:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2933
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 394:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2939
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewLogicalOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 395:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2945
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBooleanAnd(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 396:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2951
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewBooleanOr(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 397:
|
2018-02-03 10:09:02 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2957
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 398:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2963
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewNotIdentical(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 399:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2969
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 400:
|
2018-02-01 14:07:18 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2975
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewNotEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 401:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2981
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewSmaller(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 402:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2987
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewGreater(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 403:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2993
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewSmallerOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 404:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:2999
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-19 11:12:09 +00:00
|
|
|
yyVAL.node = binary.NewGreaterOrEqual(yyDollar[1].node, yyDollar[3].node)
|
2018-02-04 18:55:45 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 405:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3005
|
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-04-09 20:08:29 +00:00
|
|
|
case 406:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3011
|
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-04-09 20:08:29 +00:00
|
|
|
case 407:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3017
|
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-04-09 20:08:29 +00:00
|
|
|
case 408:
|
2018-02-03 17:33:22 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3023
|
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-04-09 20:08:29 +00:00
|
|
|
case 409:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3029
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 410:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3034
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-02 12:36:57 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 411:
|
2018-02-01 18:40:04 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3036
|
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-04-09 20:08:29 +00:00
|
|
|
case 412:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3046
|
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-04-09 20:08:29 +00:00
|
|
|
case 413:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3056
|
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-04-09 20:08:29 +00:00
|
|
|
case 414:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3069
|
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-04-09 20:08:29 +00:00
|
|
|
case 415:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3079
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 416:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3081
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 417:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3083
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 418:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3085
|
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-04-09 20:08:29 +00:00
|
|
|
case 419:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3091
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-04-05 10:47:36 +00:00
|
|
|
yyVAL.node = scalar.NewHeredoc(yyDollar[1].token.Value, yyDollar[2].list)
|
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())
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 420:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3097
|
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-04-09 20:08:29 +00:00
|
|
|
case 421:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3106
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.list = nil
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 422:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3108
|
2018-01-27 10:33:13 +00:00
|
|
|
{
|
2018-02-04 18:55:45 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-01-27 10:33:13 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 425:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3118
|
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-04-09 20:08:29 +00:00
|
|
|
case 426:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3126
|
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-04-09 20:08:29 +00:00
|
|
|
case 427:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3134
|
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-04-09 20:08:29 +00:00
|
|
|
case 428:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3142
|
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-04-09 20:08:29 +00:00
|
|
|
case 429:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3153
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 430:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3155
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 14:07:18 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 431:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3160
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 432:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3162
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-02 13:01:03 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 433:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3168
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 434:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3174
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 435:
|
2017-11-30 17:37:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3179
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 436:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3184
|
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-04-09 20:08:29 +00:00
|
|
|
case 437:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3237
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 438:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3242
|
2017-12-01 08:26:17 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].list...)
|
2017-12-01 08:26:17 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 439:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3244
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 440:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3250
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
if yyDollar[3].list != nil {
|
|
|
|
yyDollar[3].list[0].(*expr.MethodCall).Method = yyDollar[2].list[len(yyDollar[2].list)-1].(*expr.PropertyFetch).Property
|
|
|
|
yyDollar[2].list = append(yyDollar[2].list[:len(yyDollar[2].list)-1], yyDollar[3].list...)
|
|
|
|
}
|
|
|
|
|
|
|
|
yyVAL.list = yyDollar[2].list
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 441:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3262
|
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-04-09 20:08:29 +00:00
|
|
|
case 442:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3269
|
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-04-09 20:08:29 +00:00
|
|
|
case 443:
|
2018-02-04 16:51:44 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3279
|
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-04-09 20:08:29 +00:00
|
|
|
case 444:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3287
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 445:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3289
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 446:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3291
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = nil
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 447:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3296
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 448:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3298
|
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-04-09 20:08:29 +00:00
|
|
|
case 449:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3311
|
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-04-09 20:08:29 +00:00
|
|
|
case 450:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3317
|
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-04-09 20:08:29 +00:00
|
|
|
case 451:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3327
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 452:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3332
|
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-04-09 20:08:29 +00:00
|
|
|
case 453:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3338
|
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-04-09 20:08:29 +00:00
|
|
|
case 454:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3346
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 455:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3347
|
2017-11-30 18:45:54 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:45:54 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 456:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3348
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 457:
|
2018-01-02 11:53:55 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3354
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 458:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3356
|
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-04-09 20:08:29 +00:00
|
|
|
case 459:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3366
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-01 18:40:04 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 460:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3371
|
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-04-09 20:08:29 +00:00
|
|
|
case 461:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3377
|
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-04-09 20:08:29 +00:00
|
|
|
case 462:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3383
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 14:37:09 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 463:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3389
|
2018-01-02 11:53:55 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-29 14:37:09 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 464:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3399
|
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-04-09 20:08:29 +00:00
|
|
|
case 465:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3408
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 466:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3410
|
2017-11-30 19:14:26 +00:00
|
|
|
{
|
2018-01-29 19:12:12 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 19:14:26 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 467:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3416
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
2018-02-04 16:51:44 +00:00
|
|
|
yyVAL.list = yyDollar[1].list
|
2018-02-01 10:35:43 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 468:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3418
|
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-04-09 20:08:29 +00:00
|
|
|
case 469:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3428
|
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-04-09 20:08:29 +00:00
|
|
|
case 470:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3435
|
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-04-09 20:08:29 +00:00
|
|
|
case 471:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3442
|
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-04-09 20:08:29 +00:00
|
|
|
case 472:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3452
|
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-04-09 20:08:29 +00:00
|
|
|
case 473:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3458
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 474:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3463
|
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-04-09 20:08:29 +00:00
|
|
|
case 475:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3471
|
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-04-09 20:08:29 +00:00
|
|
|
case 476:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3486
|
2018-02-01 10:35:43 +00:00
|
|
|
{
|
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 477:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3488
|
2017-11-29 23:25:07 +00:00
|
|
|
{
|
2018-02-14 19:02:57 +00:00
|
|
|
if yyDollar[1].node == nil {
|
|
|
|
yyVAL.list = []node.Node{}
|
|
|
|
} else {
|
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
|
|
|
}
|
2017-11-29 23:25:07 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 478:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3500
|
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-04-09 20:08:29 +00:00
|
|
|
case 479:
|
2018-02-01 10:35:43 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3506
|
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-04-09 20:08:29 +00:00
|
|
|
case 480:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3516
|
2017-11-28 16:00:27 +00:00
|
|
|
{
|
2018-02-01 10:35:43 +00:00
|
|
|
yyVAL.node = nil
|
2017-11-28 16:00:27 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 481:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-0 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3522
|
2017-11-28 20:47:44 +00:00
|
|
|
{
|
2018-02-10 09:07:20 +00:00
|
|
|
yyVAL.list = []node.Node{}
|
2017-11-28 20:47:44 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 482:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3524
|
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-04-09 20:08:29 +00:00
|
|
|
case 483:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-5 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3529
|
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-04-09 20:08:29 +00:00
|
|
|
case 484:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3537
|
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-04-09 20:08:29 +00:00
|
|
|
case 485:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3545
|
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-04-09 20:08:29 +00:00
|
|
|
case 486:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3553
|
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-04-09 20:08:29 +00:00
|
|
|
case 487:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3561
|
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-04-09 20:08:29 +00:00
|
|
|
case 488:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3569
|
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-04-09 20:08:29 +00:00
|
|
|
case 489:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3577
|
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-04-09 20:08:29 +00:00
|
|
|
case 490:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3585
|
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-04-09 20:08:29 +00:00
|
|
|
case 491:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3596
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[2].node)
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 492:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3598
|
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-04-09 20:08:29 +00:00
|
|
|
case 493:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3605
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 494:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3607
|
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-04-09 20:08:29 +00:00
|
|
|
case 495:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3617
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
name := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:55:50 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 496:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3627
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:55:50 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 497:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3640
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:55:50 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 498:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3656
|
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-04-09 20:08:29 +00:00
|
|
|
case 499:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-6 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3662
|
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-04-09 20:08:29 +00:00
|
|
|
case 500:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3676
|
2017-11-30 18:07:45 +00:00
|
|
|
{
|
2018-01-31 10:55:50 +00:00
|
|
|
yyVAL.node = yyDollar[2].node
|
2017-11-30 18:07:45 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 501:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3681
|
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-04-09 20:08:29 +00:00
|
|
|
case 502:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3687
|
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-04-09 20:08:29 +00:00
|
|
|
case 503:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3699
|
2017-11-30 17:37:45 +00:00
|
|
|
{
|
2018-03-18 14:50:19 +00:00
|
|
|
identifier := node.NewIdentifier(strings.TrimLeft(yyDollar[1].token.Value, "$"))
|
2018-01-31 10:55:50 +00:00
|
|
|
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-04-09 20:08:29 +00:00
|
|
|
case 504:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +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.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-04-09 20:08:29 +00:00
|
|
|
case 505:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +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.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-04-09 20:08:29 +00:00
|
|
|
case 506:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3724
|
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-04-09 20:08:29 +00:00
|
|
|
case 507:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3730
|
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-04-09 20:08:29 +00:00
|
|
|
case 508:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3736
|
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-04-09 20:08:29 +00:00
|
|
|
case 509:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-4 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3742
|
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-04-09 20:08:29 +00:00
|
|
|
case 510:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3748
|
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-04-09 20:08:29 +00:00
|
|
|
case 511:
|
2017-12-01 07:15:46 +00:00
|
|
|
yyDollar = yyS[yypt-2 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3754
|
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-04-09 20:08:29 +00:00
|
|
|
case 512:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3763
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.list = []node.Node{yyDollar[1].node}
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 513:
|
2018-02-01 10:04:17 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3765
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.list = append(yyDollar[1].list, yyDollar[3].node)
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 514:
|
2018-02-01 10:04:17 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3770
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 515:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-1 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3772
|
2017-11-30 18:36:10 +00:00
|
|
|
{
|
2018-02-01 10:04:17 +00:00
|
|
|
yyVAL.node = yyDollar[1].node
|
2017-11-30 18:36:10 +00:00
|
|
|
}
|
2018-04-09 20:08:29 +00:00
|
|
|
case 516:
|
2018-01-31 10:55:50 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3777
|
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-04-09 20:08:29 +00:00
|
|
|
case 517:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3787
|
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-04-09 20:08:29 +00:00
|
|
|
case 518:
|
2018-01-29 14:11:45 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3800
|
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-04-09 20:08:29 +00:00
|
|
|
case 519:
|
2018-01-27 10:33:13 +00:00
|
|
|
yyDollar = yyS[yypt-3 : yypt+1]
|
2018-04-09 20:08:29 +00:00
|
|
|
//line php5/php5.y:3813
|
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 */
|
|
|
|
}
|