Guides

InlineLexer extends AbstractLexer
in package

FinalYes

Table of Contents

Constants

ANNOTATION_END  : mixed = 17
ANNOTATION_START  : mixed = 16
ANONYMOUS_END  : mixed = 3
ANONYMOUSE_REFERENCE  : mixed = 12
BACKSLASH  : mixed = 25
BACKTICK  : mixed = 6
COLON  : mixed = 13
DOUBLE_BACKTICK  : mixed = 18
EMAIL  : mixed = 20
EMPHASIS_DELIMITER  : mixed = 21
HYPERLINK  : mixed = 19
LITERAL  : mixed = 5
NAMED_REFERENCE  : mixed = 11
NBSP  : mixed = 23
OCTOTHORPE  : mixed = 14
STRONG_DELIMITER  : mixed = 22
UNDERSCORE  : mixed = 2
VARIABLE_DELIMITER  : mixed = 24
WHITESPACE  : mixed = 15
WORD  : mixed = 1

Properties

$disableLegacySplitByCharacter  : bool
$disableLegacyTilde  : bool

Methods

__construct()  : mixed
moveNext()  : bool
Moves to the next token in the input string.
getCatchablePatterns()  : string[]
getNonCatchablePatterns()  : string[]
getType()  : int

Constants

ANONYMOUSE_REFERENCE

public mixed ANONYMOUSE_REFERENCE = 12

EMPHASIS_DELIMITER

public mixed EMPHASIS_DELIMITER = 21

VARIABLE_DELIMITER

public mixed VARIABLE_DELIMITER = 24

Properties

$disableLegacySplitByCharacter read-only

private bool $disableLegacySplitByCharacter = false

$disableLegacyTilde read-only

private bool $disableLegacyTilde = false

Methods

__construct()

public __construct([bool $disableLegacyTilde = false ][, bool $disableLegacySplitByCharacter = false ]) : mixed
Parameters
$disableLegacyTilde : bool = false
$disableLegacySplitByCharacter : bool = false

moveNext()

Moves to the next token in the input string.

public moveNext() : bool
Tags
phpstan-impure
phpstan-assert-if-true

!null $this->lookahead

Return values
bool

getCatchablePatterns()

protected getCatchablePatterns() : string[]
Return values
string[]

getNonCatchablePatterns()

protected getNonCatchablePatterns() : string[]
Return values
string[]

getType()

protected getType(string &$value) : int
Parameters
$value : string
Return values
int
On this page

Search results