Parsoid
A bidirectional parser between wikitext and HTML5
|
A helper class for TemplateHandler that encapsulates template-like syntax with the appropriate meta tags, adding argument info data. More...
Public Member Functions | |
__construct (Env $env, Frame $frame, Token $token, string $wrapperType) | |
encapTokens (array $tokens) | |
Main entry point. | |
Public Attributes | |
Token | $token |
string | $variableName = null |
string | $parserFunctionName = null |
string | $resolvedTemplateTarget = null |
A helper class for TemplateHandler that encapsulates template-like syntax with the appropriate meta tags, adding argument info data.
Wikimedia\Parsoid\Wt2Html\TT\TemplateEncapsulator::encapTokens | ( | array | $tokens | ) |
Main entry point.
Encapsulate the template element, including the arguments.
array | $tokens |