Documentation
¶
Overview ¶
line internal/php7/scanner.rl:1
Index ¶
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 ArgumentList ¶
type ArgumentList struct { Position *position.Position OpenParenthesisTkn *token.Token Arguments []ast.Vertex SeparatorTkns []*token.Token CloseParenthesisTkn *token.Token }
ArgumentList node
func (*ArgumentList) Accept ¶
func (n *ArgumentList) Accept(v ast.Visitor)
func (*ArgumentList) GetPosition ¶
func (n *ArgumentList) GetPosition() *position.Position
func (*ArgumentList) GetType ¶
func (n *ArgumentList) GetType() ast.Type
type Parser ¶
type Parser struct { Lexer *Lexer // contains filtered or unexported fields }
Parser structure
func (*Parser) GetRootNode ¶
GetRootNode returns root node
type ParserBrackets ¶
type ParserBrackets struct { Position *position.Position OpenBracketTkn *token.Token Child ast.Vertex CloseBracketTkn *token.Token }
func (*ParserBrackets) Accept ¶
func (n *ParserBrackets) Accept(v ast.Visitor)
func (*ParserBrackets) GetPosition ¶
func (n *ParserBrackets) GetPosition() *position.Position
func (*ParserBrackets) GetType ¶
func (n *ParserBrackets) GetType() ast.Type
type ParserSeparatedList ¶
type ParserSeparatedList struct { Position *position.Position Items []ast.Vertex SeparatorTkns []*token.Token }
func (*ParserSeparatedList) Accept ¶
func (n *ParserSeparatedList) Accept(v ast.Visitor)
func (*ParserSeparatedList) GetPosition ¶
func (n *ParserSeparatedList) GetPosition() *position.Position
func (*ParserSeparatedList) GetType ¶
func (n *ParserSeparatedList) GetType() ast.Type
type ReturnType ¶
func (*ReturnType) Accept ¶
func (n *ReturnType) Accept(v ast.Visitor)
func (*ReturnType) GetPosition ¶
func (n *ReturnType) GetPosition() *position.Position
func (*ReturnType) GetType ¶
func (n *ReturnType) GetType() ast.Type
type TraitAdaptationList ¶
type TraitAdaptationList struct { Position *position.Position OpenCurlyBracketTkn *token.Token Adaptations []ast.Vertex CloseCurlyBracketTkn *token.Token }
TraitAdaptationList node
func (*TraitAdaptationList) Accept ¶
func (n *TraitAdaptationList) Accept(v ast.Visitor)
func (*TraitAdaptationList) GetPosition ¶
func (n *TraitAdaptationList) GetPosition() *position.Position
func (*TraitAdaptationList) GetType ¶
func (n *TraitAdaptationList) GetType() ast.Type
type TraitMethodRef ¶
type TraitMethodRef struct { Position *position.Position Trait ast.Vertex DoubleColonTkn *token.Token Method ast.Vertex }
TraitMethodRef node
func (*TraitMethodRef) Accept ¶
func (n *TraitMethodRef) Accept(v ast.Visitor)
func (*TraitMethodRef) GetPosition ¶
func (n *TraitMethodRef) GetPosition() *position.Position
func (*TraitMethodRef) GetType ¶
func (n *TraitMethodRef) GetType() ast.Type
Click to show internal directories.
Click to hide internal directories.