final class TagLexer

Lexer for PHP-like expression language used in tags.

Constants

private Keywords

private KeywordsFollowed

Methods

array
tokenize(string $input, Position|null $position = null)

No description

array
tokenizePartially(string $input, Position $position, int|null $ofs = null)

No description

array|null
tokenizeUnquotedString(string $input, Position $position, bool $colon, int $offsetDelta)

No description

Details

at line 54
array tokenize(string $input, Position|null $position = null)

No description

Parameters

string $input
Position|null $position

Return Value

array

at line 69
array tokenizePartially(string $input, Position $position, int|null $ofs = null)

No description

Parameters

string $input
Position $position
int|null $ofs

Return Value

array

at line 81
array|null tokenizeUnquotedString(string $input, Position $position, bool $colon, int $offsetDelta)

No description

Parameters

string $input
Position $position
bool $colon
int $offsetDelta

Return Value

array|null