Class HTMLPurifier_Token_Comment
Inheritance | HTMLPurifier_Token_Comment » HTMLPurifier_Token |
---|
Concrete comment token class. Generally will be ignored.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$armor | Lookup array of processing that this token is exempt from. | HTMLPurifier_Token | |
$carryover | HTMLPurifier_Token | ||
$col | Column of line node was on in source document. Null if unknown. | HTMLPurifier_Token | |
$data | Character data within comment. | HTMLPurifier_Token_Comment | |
$is_whitespace | HTMLPurifier_Token_Comment | ||
$line | Line number node was on in source document. Null if unknown. | HTMLPurifier_Token | |
$rewind | HTMLPurifier_Token | ||
$skip | Used during MakeWellFormed. | HTMLPurifier_Token |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Transparent constructor. | HTMLPurifier_Token_Comment |
__get() | HTMLPurifier_Token | |
position() | Sets the position of the token in the source document. | HTMLPurifier_Token |
rawPosition() | Convenience function for DirectLex settings line/col position. | HTMLPurifier_Token |
toNode() | HTMLPurifier_Token_Comment |
Property Details
Method Details
Transparent constructor.
public void __construct ( $data, $line = null, $col = null ) | ||
$data | string | String comment data. |
$line | int | |
$col | int |
public void toNode ( ) |