XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct () | |
emitToken ($token) | |
save () | |
Public Attributes | |
$stack = array() | |
const | AFTER_BODY = 11 |
const | AFTER_HEAD = 2 |
const | AFTR_FRAME = 13 |
const | BEFOR_HEAD = 0 |
const | END_PHASE = 3 |
const | FORMATTING = 2 |
const | IN_BODY = 3 |
const | IN_CAPTION = 5 |
const | IN_CELL = 9 |
const | IN_CGROUP = 6 |
const | IN_FRAME = 12 |
const | IN_HEAD = 1 |
const | IN_ROW = 8 |
const | IN_SELECT = 10 |
const | IN_TABLE = 4 |
const | IN_TBODY = 7 |
const | INIT_PHASE = 0 |
const | MAIN_PHASE = 2 |
const | MARKER = 0 |
const | PHRASING = 3 |
const | ROOT_PHASE = 1 |
const | SCOPING = 1 |
const | SPECIAL = 0 |
Private Member Functions | |
afterBody ($token) | |
afterFrameset ($token) | |
afterHead ($token) | |
appendToRealParent ($node) | |
beforeHead ($token) | |
clearStackToTableContext ($elements) | |
clearTheActiveFormattingElementsUpToTheLastMarker () | |
closeCell () | |
elementInScope ($el, $table=false) | |
generateImpliedEndTags ($exclude=array()) | |
getElementCategory ($node) | |
inBody ($token) | |
inCaption ($token) | |
inCell ($token) | |
inColumnGroup ($token) | |
inFrameset ($token) | |
inHead ($token) | |
initPhase ($token) | |
inRow ($token) | |
inSelect ($token) | |
insertComment ($data) | |
insertElement ($token, $append=true, $check=false) | |
insertText ($data) | |
inTable ($token) | |
inTableBody ($token) | |
mainPhase ($token) | |
reconstructActiveFormattingElements () | |
resetInsertionMode () | |
rootElementPhase ($token) | |
trailingEndPhase ($token) | |
Private Attributes | |
$a_formatting = array() | |
$dom | |
$form_pointer = null | |
$formatting = array('a','b','big','em','font','i','nobr','s','small','strike','strong','tt','u') | |
$foster_parent = null | |
$head_pointer = null | |
$mode | |
$phase | |
$scoping = array('button','caption','html','marquee','object','table','td','th') | |
$special | |
|
private |
Definition at line 3359 of file PH5P.php.
References $comment, $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, and inBody().
Referenced by inBody(), and mainPhase().
|
private |
Definition at line 3461 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inBody(), insertComment(), insertText(), and HTML5\STARTTAG.
Referenced by mainPhase().
|
private |
Definition at line 1576 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, inBody(), inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by inHead(), and mainPhase().
|
private |
Definition at line 3572 of file PH5P.php.
Referenced by insertComment(), insertElement(), and insertText().
|
private |
Definition at line 1398 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by mainPhase().
|
private |
Definition at line 3770 of file PH5P.php.
Referenced by inRow(), inTable(), and inTableBody().
|
private |
Definition at line 3720 of file PH5P.php.
Referenced by inCaption(), and inCell().
|
private |
Definition at line 3885 of file PH5P.php.
References elementInScope(), HTML5\ENDTAG, and inCell().
Referenced by inCell().
|
private |
Definition at line 3600 of file PH5P.php.
Referenced by closeCell(), inBody(), inCaption(), inCell(), inRow(), inSelect(), inTable(), and inTableBody().
HTML5TreeConstructer::emitToken | ( | $token | ) |
Definition at line 1242 of file PH5P.php.
References $token, initPhase(), mainPhase(), rootElementPhase(), and trailingEndPhase().
Referenced by inBody().
|
private |
Definition at line 3741 of file PH5P.php.
Referenced by inBody(), inCaption(), inCell(), inTable(), and mainPhase().
|
private |
|
private |
Definition at line 1632 of file PH5P.php.
References $stop, $token, afterBody(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), emitToken(), HTML5\ENDTAG, generateImpliedEndTags(), getElementCategory(), inHead(), insertComment(), insertElement(), insertText(), HTML5\PLAINTEXT, HTML5\RCDATA, reconstructActiveFormattingElements(), and HTML5\STARTTAG.
Referenced by afterBody(), afterFrameset(), afterHead(), inCaption(), inCell(), inFrameset(), inTable(), and mainPhase().
|
private |
Definition at line 2807 of file PH5P.php.
References $token, clearTheActiveFormattingElementsUpToTheLastMarker(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), inBody(), inTable(), and HTML5\STARTTAG.
Referenced by mainPhase().
|
private |
Definition at line 3103 of file PH5P.php.
References $token, clearTheActiveFormattingElementsUpToTheLastMarker(), closeCell(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), inBody(), inRow(), and HTML5\STARTTAG.
Referenced by closeCell(), inRow(), and mainPhase().
|
private |
Definition at line 2875 of file PH5P.php.
References $comment, $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, insertElement(), inTable(), and HTML5\STARTTAG.
Referenced by inTable(), and mainPhase().
|
private |
Definition at line 3398 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inBody(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by mainPhase().
|
private |
Definition at line 1452 of file PH5P.php.
References $token, afterHead(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, insertComment(), insertElement(), insertText(), HTML5\PCDATA, HTML5\RCDATA, and HTML5\STARTTAG.
Referenced by afterHead(), beforeHead(), inBody(), and mainPhase().
|
private |
Definition at line 1251 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, HTML5\EOF(), rootElementPhase(), and HTML5\STARTTAG.
Referenced by emitToken().
|
private |
Definition at line 3018 of file PH5P.php.
References $token, clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, inCell(), insertElement(), inTable(), and HTML5\STARTTAG.
Referenced by inCell(), inTableBody(), and mainPhase().
|
private |
Definition at line 3210 of file PH5P.php.
References $token, HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, insertComment(), insertElement(), insertText(), mainPhase(), resetInsertionMode(), and HTML5\STARTTAG.
Referenced by mainPhase().
|
private |
Definition at line 3567 of file PH5P.php.
References $comment, and appendToRealParent().
Referenced by afterFrameset(), afterHead(), beforeHead(), inBody(), inFrameset(), inHead(), and inSelect().
Definition at line 3536 of file PH5P.php.
References $token, and appendToRealParent().
Referenced by afterHead(), beforeHead(), inBody(), inColumnGroup(), inFrameset(), inHead(), inRow(), inSelect(), inTable(), and inTableBody().
|
private |
Definition at line 3562 of file PH5P.php.
References appendToRealParent().
Referenced by afterFrameset(), afterHead(), beforeHead(), inBody(), inFrameset(), inHead(), and inSelect().
|
private |
Definition at line 2630 of file PH5P.php.
References $comment, $token, HTML5\CHARACTR, clearStackToTableContext(), HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), inBody(), inColumnGroup(), insertElement(), inTableBody(), mainPhase(), resetInsertionMode(), and HTML5\STARTTAG.
Referenced by inCaption(), inColumnGroup(), inRow(), inTableBody(), and mainPhase().
|
private |
Definition at line 2932 of file PH5P.php.
References $token, clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, inRow(), insertElement(), inTable(), mainPhase(), and HTML5\STARTTAG.
Referenced by inTable(), and mainPhase().
|
private |
Definition at line 1348 of file PH5P.php.
References $token, afterBody(), afterFrameset(), afterHead(), beforeHead(), HTML5\DOCTYPE, HTML5\EOF(), generateImpliedEndTags(), inBody(), inCaption(), inCell(), inColumnGroup(), inFrameset(), inHead(), inRow(), inSelect(), inTable(), inTableBody(), HTML5\STARTTAG, and trailingEndPhase().
Referenced by emitToken(), inSelect(), inTable(), inTableBody(), rootElementPhase(), and trailingEndPhase().
|
private |
|
private |
Definition at line 3787 of file PH5P.php.
Referenced by inSelect(), and inTable().
|
private |
Definition at line 1301 of file PH5P.php.
References $comment, $html, $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF(), mainPhase(), and HTML5\STARTTAG.
Referenced by emitToken(), and initPhase().
|
private |
Definition at line 3496 of file PH5P.php.
References $comment, $token, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF(), mainPhase(), and HTML5\STARTTAG.
Referenced by emitToken(), and mainPhase().
|
private |
|
private |
|
private |