Parsoid
A bidirectional parser between wikitext and HTML5
|
State carried while DOM Traversing. More...
Public Member Functions | |
__construct (Env $env, array $options=[], bool $atTopLevel=false) | |
Public Attributes | |
Env | $env |
array | $options |
bool | $atTopLevel |
stdClass | $tplInfo = null |
array | $abouts = [] |
array | $seenIds = [] |
PegTokenizer | $tokenizer = null |
State carried while DOM Traversing.
FIXME: As it stands, DTState cannot be constructed outside of Parsoid. However, extensions and core code might benefit from a non-Parsoid-specific state object that DOMTraverser users outside of Parsoid could use.