1: <?php
2:
3: /**
4: * Concrete comment token class. Generally will be ignored.
5: */
6: class HTMLPurifier_Token_Comment extends HTMLPurifier_Token
7: {
8: public $data; /**< Character data within comment. */
9: public $is_whitespace = true;
10: /**
11: * Transparent constructor.
12: *
13: * @param $data String comment data.
14: */
15: public function __construct($data, $line = null, $col = null) {
16: $this->data = $data;
17: $this->line = $line;
18: $this->col = $col;
19: }
20: }
21:
22: // vim: et sw=4 sts=4
23: