4 * Concrete comment token class. Generally will be ignored.
6 class HTMLPurifier_Token_Comment
extends HTMLPurifier_Token
9 * Character data within comment.
17 public $is_whitespace = true;
20 * Transparent constructor.
22 * @param string $data String comment data.
26 public function __construct($data, $line = null, $col = null)
33 public function toNode() {
34 return new HTMLPurifier_Node_Comment($this->data
, $this->line
, $this->col
);