mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
Make the Token class abstract.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
parent
d6fbd7df22
commit
be5769804a
@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* Abstract base token class that all others inherit from.
|
* Abstract base token class that all others inherit from.
|
||||||
*/
|
*/
|
||||||
class HTMLPurifier_Token
|
abstract class HTMLPurifier_Token
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Line number node was on in source document. Null if unknown.
|
* Line number node was on in source document. Null if unknown.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* Abstract class of a tag token (start, end or empty), and its behavior.
|
* Abstract class of a tag token (start, end or empty), and its behavior.
|
||||||
*/
|
*/
|
||||||
class HTMLPurifier_Token_Tag extends HTMLPurifier_Token
|
abstract class HTMLPurifier_Token_Tag extends HTMLPurifier_Token
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Static bool marker that indicates the class is a tag.
|
* Static bool marker that indicates the class is a tag.
|
||||||
|
Loading…
Reference in New Issue
Block a user