Parsoid
A bidirectional parser between wikitext and HTML5
|
A special subclass of frame used for the topmost frame in the environment; gets most of its actual data from a PageConfig object. More...
Public Member Functions | |
__construct (Env $env, PageConfig $pageConfig, SiteConfig $siteConfig) | |
Create a top-level frame. | |
Public Member Functions inherited from Wikimedia\Parsoid\Wt2Html\Frame | |
__construct (Title $title, Env $env, array $args, string $srcText, ?Frame $parentFrame=null) | |
getEnv () | |
getTitle () | |
getArgs () | |
getSrcText () | |
newChild (Title $title, array $args, string $srcText) | |
Create a new child frame. | |
expand (array $chunk, array $options) | |
Expand / convert a thunk (a chunk of tokens not yet fully expanded). | |
loopAndDepthCheck (Title $title, int $maxDepth, bool $ignoreLoop) | |
Check if expanding a template would lead to a loop, or would exceed the maximum expansion depth. | |
expandTemplateArg (Token $tplArgToken) | |
A special subclass of frame used for the topmost frame in the environment; gets most of its actual data from a PageConfig object.
Wikimedia\Parsoid\Wt2Html\PageConfigFrame::__construct | ( | Env | $env, |
PageConfig | $pageConfig, | ||
SiteConfig | $siteConfig ) |
Create a top-level frame.
Env | $env | |
PageConfig | $pageConfig | |
SiteConfig | $siteConfig |