Documentation
¶
Overview ¶
line php7/php7.y:2
Index ¶
- Constants
- type Parser
- func (l *Parser) Error(msg string)
- func (l *Parser) GetErrors() []*errors.Error
- func (l *Parser) GetFreeFloatingToken(t *scanner.Token) []freefloating.String
- func (l *Parser) GetRootNode() node.Node
- func (l *Parser) Lex(lval *yySymType) int
- func (l *Parser) MoveFreeFloating(src node.Node, dst node.Node)
- func (l *Parser) Parse() int
- func (l *Parser) WithFreeFloating()
Constants ¶
View Source
const T_ABSTRACT = 57442
View Source
const T_AND_EQUAL = 57467
View Source
const T_ARRAY = 57403
View Source
const T_ARRAY_CAST = 57453
View Source
const T_AS = 57371
View Source
const T_BAD_CHARACTER = 57358
View Source
const T_BOOLEAN_AND = 57474
View Source
const T_BOOLEAN_OR = 57473
View Source
const T_BOOL_CAST = 57455
View Source
const T_BREAK = 57376
View Source
const T_CALLABLE = 57404
View Source
const T_CASE = 57374
View Source
const T_CATCH = 57384
View Source
const T_CHARACTER = 57357
View Source
const T_CLASS = 57395
View Source
const T_CLASS_C = 57405
View Source
const T_CLONE = 57435
View Source
const T_CLOSE_TAG = 57415
View Source
const T_COALESCE = 57457
View Source
const T_COALESCE_EQUAL = 57472
View Source
const T_COMMENT = 57411
View Source
const T_CONCAT_EQUAL = 57465
View Source
const T_CONST = 57381
View Source
const T_CONSTANT_ENCAPSED_STRING = 57360
View Source
const T_CONTINUE = 57377
View Source
const T_CURLY_OPEN = 57420
View Source
const T_DEC = 57448
View Source
const T_DECLARE = 57369
View Source
const T_DEFAULT = 57375
View Source
const T_DIR = 57424
View Source
const T_DIV_EQUAL = 57464
View Source
const T_DNUMBER = 57351
View Source
const T_DO = 57362
View Source
const T_DOC_COMMENT = 57412
View Source
const T_DOLLAR_OPEN_CURLY_BRACES = 57419
View Source
const T_DOUBLE_ARROW = 57401
View Source
const T_DOUBLE_CAST = 57451
View Source
const T_ECHO = 57361
View Source
const T_ELLIPSIS = 57426
View Source
const T_ELSE = 57437
View Source
const T_ELSEIF = 57436
View Source
const T_EMPTY = 57393
View Source
const T_ENCAPSED_AND_WHITESPACE = 57359
View Source
const T_ENDDECLARE = 57370
View Source
const T_ENDFOR = 57366
View Source
const T_ENDFOREACH = 57368
View Source
const T_ENDIF = 57438
View Source
const T_ENDSWITCH = 57373
View Source
const T_ENDWHILE = 57364
View Source
const T_END_HEREDOC = 57418
View Source
const T_EVAL = 57427
View Source
const T_EXIT = 57348
View Source
const T_EXTENDS = 57398
View Source
const T_FILE = 57410
View Source
const T_FINAL = 57443
View Source
const T_FINALLY = 57385
View Source
const T_FN = 57380
View Source
const T_FOR = 57365
View Source
const T_FOREACH = 57367
View Source
const T_FUNCTION = 57379
View Source
const T_FUNC_C = 57408
View Source
const T_GLOBAL = 57389
View Source
const T_GOTO = 57378
View Source
const T_HALT_COMPILER = 57394
View Source
const T_IF = 57349
View Source
const T_IMPLEMENTS = 57399
View Source
const T_INC = 57447
View Source
const T_INCLUDE = 57346
View Source
const T_INCLUDE_ONCE = 57347
View Source
const T_INLINE_HTML = 57356
View Source
const T_INSTANCEOF = 57433
View Source
const T_INSTEADOF = 57388
View Source
const T_INTERFACE = 57397
View Source
const T_INT_CAST = 57450
View Source
const T_ISSET = 57392
View Source
const T_IS_EQUAL = 57480
View Source
const T_IS_GREATER_OR_EQUAL = 57483
View Source
const T_IS_IDENTICAL = 57478
View Source
const T_IS_NOT_EQUAL = 57481
View Source
const T_IS_NOT_IDENTICAL = 57479
View Source
const T_IS_SMALLER_OR_EQUAL = 57482
View Source
const T_LINE = 57409
View Source
const T_LIST = 57402
View Source
const T_LNUMBER = 57350
View Source
const T_LOGICAL_AND = 57432
View Source
const T_LOGICAL_OR = 57430
View Source
const T_LOGICAL_XOR = 57431
View Source
const T_METHOD_C = 57407
View Source
const T_MINUS_EQUAL = 57461
View Source
const T_MOD_EQUAL = 57466
View Source
const T_MUL_EQUAL = 57462
View Source
const T_NAMESPACE = 57422
View Source
const T_NEW = 57434
View Source
const T_NOELSE = 57459
View Source
const T_NS_C = 57423
View Source
const T_NS_SEPARATOR = 57425
View Source
const T_NUM_STRING = 57355
View Source
const T_OBJECT_CAST = 57454
View Source
const T_OBJECT_OPERATOR = 57400
View Source
const T_OPEN_TAG = 57413
View Source
const T_OPEN_TAG_WITH_ECHO = 57414
View Source
const T_OR_EQUAL = 57468
View Source
const T_PAAMAYIM_NEKUDOTAYIM = 57421
View Source
const T_PLUS_EQUAL = 57460
View Source
const T_POW = 57475
View Source
const T_POW_EQUAL = 57463
View Source
const T_PRINT = 57439
View Source
const T_PRIVATE = 57444
View Source
const T_PROTECTED = 57445
View Source
const T_PUBLIC = 57446
View Source
const T_REQUIRE = 57428
View Source
const T_REQUIRE_ONCE = 57429
View Source
const T_RETURN = 57382
View Source
const T_SL = 57476
View Source
const T_SL_EQUAL = 57470
View Source
const T_SPACESHIP = 57458
View Source
const T_SR = 57477
View Source
const T_SR_EQUAL = 57471
View Source
const T_START_HEREDOC = 57417
View Source
const T_STATIC = 57441
View Source
const T_STRING = 57352
View Source
const T_STRING_CAST = 57452
View Source
const T_STRING_VARNAME = 57353
View Source
const T_SWITCH = 57372
View Source
const T_THROW = 57386
View Source
const T_TRAIT = 57396
View Source
const T_TRAIT_C = 57406
View Source
const T_TRY = 57383
View Source
const T_UNSET = 57391
View Source
const T_UNSET_CAST = 57456
View Source
const T_USE = 57387
View Source
const T_VAR = 57390
View Source
const T_VARIABLE = 57354
View Source
const T_WHILE = 57363
View Source
const T_WHITESPACE = 57416
View Source
const T_XOR_EQUAL = 57469
View Source
const T_YIELD = 57440
View Source
const T_YIELD_FROM = 57449
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶ added in v0.5.0
Parser structure
func (*Parser) GetFreeFloatingToken ¶ added in v0.6.0
func (l *Parser) GetFreeFloatingToken(t *scanner.Token) []freefloating.String
func (*Parser) GetRootNode ¶ added in v0.5.0
GetRootNode returns root node
func (*Parser) MoveFreeFloating ¶ added in v0.6.0
func (*Parser) WithFreeFloating ¶ added in v0.6.0
func (l *Parser) WithFreeFloating()
Click to show internal directories.
Click to hide internal directories.