0
0
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:
Edward Z. Yang 2013-10-17 16:13:04 -07:00
parent d6fbd7df22
commit be5769804a
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
/**
* 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.

View File

@ -3,7 +3,7 @@
/**
* 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.