Guides

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

ANONYMOUSE_REFERENCE

public mixed ANONYMOUSE_REFERENCE = 12

EMPHASIS_DELIMITER

public mixed EMPHASIS_DELIMITER = 21

VARIABLE_DELIMITER

public mixed VARIABLE_DELIMITER = 24

Properties

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
inheritDoc

scan()

protected scan(string $input) : void
Parameters
$input : string

        
On this page

Search results