\phpDocumentor\Guides\RestructuredText\SpanSpanProcessor

Summary

Methods
Properties
Constants
__construct()
process()
getTokens()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
addToken()
replaceLiterals()
replaceTitleLetters()
replaceReferences()
replaceLinks()
replaceStandaloneHyperlinks()
replaceStandaloneEmailAddresses()
generateId()
$environment
$span
$tokenId
$prefix
$tokens
N/A

Properties

$environment

$environment : \phpDocumentor\Guides\Environment

Type

Environment

$span

$span : string

Type

string

$tokenId

$tokenId : int

Type

int

$prefix

$prefix : string

Type

string

$tokens

$tokens : \phpDocumentor\Guides\RestructuredText\Span\SpanToken[]

Type

SpanToken[]

Methods

__construct()

__construct(\phpDocumentor\Guides\Environment  $environment, string  $span) : mixed

Parameters

\phpDocumentor\Guides\Environment $environment
string $span

Returns

mixed —

process()

process() : string

Returns

string —

getTokens()

getTokens() : \phpDocumentor\Guides\RestructuredText\Span\SpanToken[]

Returns

\phpDocumentor\Guides\RestructuredText\Span\SpanToken[] —

addToken()

addToken(string  $type, string  $id, array  $tokenData) : void

Parameters

string $type
string $id
array $tokenData

replaceLiterals()

replaceLiterals(string  $span) : string

Parameters

string $span

Returns

string —

replaceTitleLetters()

replaceTitleLetters(string  $span) : string

Parameters

string $span

Returns

string —

replaceReferences()

replaceReferences(string  $span) : string

Parameters

string $span

Returns

string —

replaceLinks()

replaceLinks(string  $span) : string

Parameters

string $span

Returns

string —

replaceStandaloneHyperlinks()

replaceStandaloneHyperlinks(string  $span) : string

Parameters

string $span

Returns

string —

replaceStandaloneEmailAddresses()

replaceStandaloneEmailAddresses(string  $span) : string

Parameters

string $span

Returns

string —

generateId()

generateId() : string

Returns

string —