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. */
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
}
|
|
|
|
}
|
|
|
|
|