HTMLPurifier_Node_Comment
Concrete comment node class.
- Full name:
\HTMLPurifier_Node_Comment
- Parent class:
\HTMLPurifier_Node
Properties
data
Character data within comment.
is_whitespace
Methods
__construct
Transparent constructor.
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
string | String comment data. |
$line |
int | |
$col |
int |
toTokenPair
Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.
Inherited methods
toTokenPair
Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.
- This method is abstract.
Automatically generated on 2025-03-18