Avoid doing stupidly clever reflection tricks that make old PHP versions sad.
[htmlpurifier.git] / library / HTMLPurifier / Token / Comment.php
blobdc6bdcabb85952963cc48978bdce24253952e7d8
1 <?php
3 /**
4 * Concrete comment token class. Generally will be ignored.
5 */
6 class HTMLPurifier_Token_Comment extends HTMLPurifier_Token
8 public $data; /**< Character data within comment. */
9 public $is_whitespace = true;
10 /**
11 * Transparent constructor.
13 * @param $data String comment data.
15 public function __construct($data, $line = null, $col = null) {
16 $this->data = $data;
17 $this->line = $line;
18 $this->col = $col;
22 // vim: et sw=4 sts=4