phpDocumentor

SpanLexer extends AbstractLexer
in package

Table of Contents

ANONYMOUS_END  = 3
ANONYMOUSE_REFERENCE  = 12
BACKTICK  = 6
EMBEDED_URL_END  = 10
EMBEDED_URL_START  = 9
INTERNAL_REFERENCE_START  = 8
LITERAL  = 5
NAMED_REFERENCE  = 11
NAMED_REFERENCE_END  = 7
PHRASE_ANONYMOUS_END  = 4
UNDERSCORE  = 2
WORD  = 1
$tokenPositions  : array<int, int>
Map between string position and position in token list.
resetPosition()  : mixed
getCatchablePatterns()  : array<string|int, string>
getNonCatchablePatterns()  : array<string|int, string>
getType()  : mixed
scan()  : mixed

Constants

ANONYMOUS_END

public mixed ANONYMOUS_END = 3

ANONYMOUSE_REFERENCE

public mixed ANONYMOUSE_REFERENCE = 12

EMBEDED_URL_END

public mixed EMBEDED_URL_END = 10

EMBEDED_URL_START

public mixed EMBEDED_URL_START = 9

INTERNAL_REFERENCE_START

public mixed INTERNAL_REFERENCE_START = 8

NAMED_REFERENCE

public mixed NAMED_REFERENCE = 11

NAMED_REFERENCE_END

public mixed NAMED_REFERENCE_END = 7

PHRASE_ANONYMOUS_END

public mixed PHRASE_ANONYMOUS_END = 4

Properties

Methods

resetPosition()

public resetPosition(int $position) : mixed
Parameters
$position : int
Return values
mixed

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(mixed &$value) : mixed
Parameters
$value : mixed
Tags
inheritDoc
Return values
mixed

scan()

protected scan(string $input) : mixed
Parameters
$input : string
Return values
mixed

Search results