2008-02-10 22:38:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Concrete comment token class. Generally will be ignored.
|
|
|
|
*/
|
|
|
|
class HTMLPurifier_Token_Comment extends HTMLPurifier_Token
|
|
|
|
{
|
|
|
|
public $data; /**< Character data within comment. */
|
2009-02-05 23:04:10 +00:00
|
|
|
public $is_whitespace = true;
|
2008-02-10 22:38:53 +00:00
|
|
|
/**
|
|
|
|
* Transparent constructor.
|
2008-12-06 07:28:20 +00:00
|
|
|
*
|
2008-02-10 22:38:53 +00:00
|
|
|
* @param $data String comment data.
|
|
|
|
*/
|
2008-09-01 18:10:10 +00:00
|
|
|
public function __construct($data, $line = null, $col = null) {
|
2008-02-10 22:38:53 +00:00
|
|
|
$this->data = $data;
|
|
|
|
$this->line = $line;
|
2008-09-01 18:10:10 +00:00
|
|
|
$this->col = $col;
|
2008-02-10 22:38:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-12-06 09:24:59 +00:00
|
|
|
// vim: et sw=4 sts=4
|