Parsoid
A bidirectional parser between wikitext and HTML5
|
Public Member Functions | |
__construct (TokenTransformManager $manager, array $options, string $traceType, TokenHandler $handler) | |
onEnd (EOFTk $token) | |
onNewline (NlTk $token) | |
onTag (Token $token) | |
onAny ( $token) | |
resetState (array $options) | |
setPipelineId (int $id) | |
isDisabled () | |
Public Member Functions inherited from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler | |
__construct (TokenTransformManager $manager, array $options) | |
process ( $tokens) | |
Push an input array of tokens through the transformer and return the transformed tokens. | |
Additional Inherited Members | |
Protected Attributes inherited from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler | |
$env | |
$manager | |
$pipelineId | |
$options | |
$disabled | |
$onAnyEnabled | |
$atTopLevel = false | |
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::__construct | ( | TokenTransformManager | $manager, |
array | $options, | ||
string | $traceType, | ||
TokenHandler | $handler ) |
TokenTransformManager | $manager | |
array | $options | |
string | $traceType | |
TokenHandler | $handler |
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::isDisabled | ( | ) |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::onAny | ( | $token | ) |
string | Token | $token |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::onEnd | ( | EOFTk | $token | ) |
EOFTk | $token |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::onNewline | ( | NlTk | $token | ) |
NlTk | $token |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::onTag | ( | Token | $token | ) |
Token | $token |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::resetState | ( | array | $options | ) |
array | $options |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.
Wikimedia\Parsoid\Wt2Html\TT\TraceProxy::setPipelineId | ( | int | $id | ) |
int | $id |
Reimplemented from Wikimedia\Parsoid\Wt2Html\TT\TokenHandler.