51 trigger_error(
'Deprecated type property called; use instanceof', E_USER_NOTICE);
52 switch (get_class($this)) {
53 case 'HTMLPurifier_Token_Start':
55 case 'HTMLPurifier_Token_Empty':
57 case 'HTMLPurifier_Token_End':
59 case 'HTMLPurifier_Token_Text':
61 case 'HTMLPurifier_Token_Comment':
97 abstract public function toNode();
$armor
Lookup array of processing that this token is exempt from.
$line
Line number node was on in source document.
toNode()
Converts a token into its corresponding node.
Create styles array
The data for the language used.
Abstract base token class that all others inherit from.
rawPosition($l, $c)
Convenience function for DirectLex settings line/col position.
$col
Column of line node was on in source document.
$skip
Used during MakeWellFormed.
position($l=null, $c=null)
Sets the position of the token in the source document.