Track column numbers in addition to line numbers.
[htmlpurifier.git] / library / HTMLPurifier / Token / Comment.php
blob6717478095702708e9faf045cc536a9ebcee92c2
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 /**
10 * Transparent constructor.
12 * @param $data String comment data.
14 public function __construct($data, $line = null, $col = null) {
15 $this->data = $data;
16 $this->line = $line;
17 $this->col = $col;