InlineLexer
extends AbstractLexer
in package
FinalYes
Table of Contents
Constants
- ANNOTATION_END = 17
- ANNOTATION_START = 16
- ANONYMOUS_END = 3
- ANONYMOUSE_REFERENCE = 12
- BACKTICK = 6
- COLON = 13
- DOUBLE_BACKTICK = 18
- EMAIL = 20
- EMPHASIS_DELIMITER = 21
- ESCAPED_SIGN = 25
- HYPERLINK = 19
- LITERAL = 5
- NAMED_REFERENCE = 11
- NBSP = 23
- OCTOTHORPE = 14
- STRONG_DELIMITER = 22
- UNDERSCORE = 2
- VARIABLE_DELIMITER = 24
- WHITESPACE = 15
- WORD = 1
Properties
- $tokenPositions : array<int, int>
- Map between string position and position in token list.
Methods
- resetPosition() : void
- getCatchablePatterns() : array<string|int, string>
- getNonCatchablePatterns() : array<string|int, string>
- getType() : mixed
- scan() : void
Constants
ANNOTATION_END
public
mixed
ANNOTATION_END
= 17
ANNOTATION_START
public
mixed
ANNOTATION_START
= 16
ANONYMOUS_END
public
mixed
ANONYMOUS_END
= 3
ANONYMOUSE_REFERENCE
public
mixed
ANONYMOUSE_REFERENCE
= 12
BACKTICK
public
mixed
BACKTICK
= 6
COLON
public
mixed
COLON
= 13
DOUBLE_BACKTICK
public
mixed
DOUBLE_BACKTICK
= 18
public
mixed
EMAIL
= 20
EMPHASIS_DELIMITER
public
mixed
EMPHASIS_DELIMITER
= 21
ESCAPED_SIGN
public
mixed
ESCAPED_SIGN
= 25
HYPERLINK
public
mixed
HYPERLINK
= 19
LITERAL
public
mixed
LITERAL
= 5
NAMED_REFERENCE
public
mixed
NAMED_REFERENCE
= 11
NBSP
public
mixed
NBSP
= 23
OCTOTHORPE
public
mixed
OCTOTHORPE
= 14
STRONG_DELIMITER
public
mixed
STRONG_DELIMITER
= 22
UNDERSCORE
public
mixed
UNDERSCORE
= 2
VARIABLE_DELIMITER
public
mixed
VARIABLE_DELIMITER
= 24
WHITESPACE
public
mixed
WHITESPACE
= 15
WORD
public
mixed
WORD
= 1
Properties
$tokenPositions
Map between string position and position in token list.
private
array<int, int>
$tokenPositions
= []
Tags
Methods
resetPosition()
public
resetPosition([int $position = 0 ]) : void
Parameters
- $position : int = 0
getCatchablePatterns()
protected
getCatchablePatterns() : array<string|int, string>
Return values
array<string|int, string>getNonCatchablePatterns()
protected
getNonCatchablePatterns() : array<string|int, string>
Return values
array<string|int, string>getType()
protected
getType(string &$value) : mixed
Parameters
- $value : string
Tags
scan()
protected
scan(string $input) : void
Parameters
- $input : string