\HTMLPurifier_Token_Comment
Concrete comment token class. Generally will be ignored.
Synopsis
class HTMLPurifier_Token_Comment
extends HTMLPurifier_Token
{
- // members
- public $data;
- public boolean $is_whitespace = true;
- // Inherited members from HTMLPurifier_Token
- public $line;
- public $col;
- public array $armor;
- public $skip;
- public $rewind;
- public $carryover;
- // methods
- public void __construct()
- // Inherited methods from HTMLPurifier_Token
- public void __get()
- public void position()
- public void rawPosition()
Hierarchy
Extends
Members
public
-
$armor
Lookup array of processing that this token is exempt from. - $carryover
- $col
- $data
- $is_whitespace
- $line
- $rewind
-
$skip
Used during MakeWellFormed.
Methods
Inherited from HTMLPurifier_Token
public
- __get()
- position() — Sets the position of the token in the source document.
- rawPosition() — Convenience function for DirectLex settings line/col position.