class (none) \ HTML5_TreeBuilder



Method Summary

Name Description
__construct()
adjustForeignAttributes($token)
adjustMathMLAttributes($token)
adjustSVGAttributes($token)
appendToRealParent($node)
clearStackToTableContext($elements)
clearTheActiveFormattingElementsUpToTheLastMarker()
closeCell()
currentTableIsTainted()
elementInScope($el, $scope)
emitToken($token, $mode = null)
fosterParent($node)
generateImpliedEndTags($exclude = array())
getAttr($token, $key)
getCurrentTable()
getElementCategory($node)
getFosterParent()
insertCDATAElement($token)
insertComment($data)
insertElement($token, $append = true)
insertForeignElement($token, $namespaceURI)
insertRCDATAElement($token)
insertText($data)
printActiveFormattingElements() For debugging, prints active formatting elements
printStack() For debugging, prints the stack
processWithRulesFor($token, $mode)
reconstructActiveFormattingElements()
resetInsertionMode($context = null)
save()
setupContext($context = null) Sets up the tree constructor for building a fragment.
strConst($number) Converts a magic number to a readable name. Use for debugging.

public function __construct()


public function adjustForeignAttributes($token)


public function adjustMathMLAttributes($token)


public function adjustSVGAttributes($token)


private function appendToRealParent($node)


private function clearStackToTableContext($elements)


private function clearTheActiveFormattingElementsUpToTheLastMarker()


private function closeCell()


public function currentTableIsTainted()


private function elementInScope($el, $scope)

Defaults:
scope = PhpParser\Node\Expr\ClassConstFetch

public function emitToken($token, $mode = null)

Defaults:
mode = null

public function fosterParent($node)


private function generateImpliedEndTags($exclude = array())

Defaults:
exclude = array()

private function getAttr($token, $key)


private function getCurrentTable()


private function getElementCategory($node)


private function getFosterParent()


private function insertCDATAElement($token)


private function insertComment($data)


private function insertElement($token, $append = true)

Defaults:
append = true

public function insertForeignElement($token, $namespaceURI)


private function insertRCDATAElement($token)


private function insertText($data)


private function printActiveFormattingElements()

For debugging, prints active formatting elements


private function printStack()

For debugging, prints the stack


private function processWithRulesFor($token, $mode)


private function reconstructActiveFormattingElements()


private function resetInsertionMode($context = null)

Defaults:
context = null

public function save()


public function setupContext($context = null)

Sets up the tree constructor for building a fragment.

Defaults:
context = null

private function strConst($number)

Converts a magic number to a readable name. Use for debugging.