HTMLPurifier 4.4.0
HTMLPurifier_Token Class Reference

Abstract base token class that all others inherit from. More...

Inheritance diagram for HTMLPurifier_Token:
HTMLPurifier_Token_Comment HTMLPurifier_Token_Comment HTMLPurifier_Token_Tag HTMLPurifier_Token_Tag HTMLPurifier_Token_Text HTMLPurifier_Token_Text HTMLPurifier_Token_Empty HTMLPurifier_Token_Empty HTMLPurifier_Token_End HTMLPurifier_Token_End HTMLPurifier_Token_Start HTMLPurifier_Token_Start HTMLPurifier_Token_Empty HTMLPurifier_Token_Empty HTMLPurifier_Token_End HTMLPurifier_Token_End HTMLPurifier_Token_Start HTMLPurifier_Token_Start

List of all members.

Public Member Functions

 __get ($n)
 position ($l=null, $c=null)
 Sets the position of the token in the source document.
 rawPosition ($l, $c)
 Convenience function for DirectLex settings line/col position.
 __get ($n)
 position ($l=null, $c=null)
 Sets the position of the token in the source document.
 rawPosition ($l, $c)
 Convenience function for DirectLex settings line/col position.

Public Attributes

 $line
 Line number node was on in source document.
 $col
 Column of line node was on in source document.
 $armor = array()
 Lookup array of processing that this token is exempt from.
 $skip
 Used during MakeWellFormed.
 $rewind
 $carryover

Detailed Description

Abstract base token class that all others inherit from.

Definition at line 6 of file Token.php.


Member Function Documentation

HTMLPurifier_Token::__get ( n)

Definition at line 24 of file Token.php.

HTMLPurifier_Token::__get ( n)

Definition at line 6978 of file HTMLPurifier.standalone.php.

HTMLPurifier_Token::position ( l = null,
c = null 
)

Sets the position of the token in the source document.

Definition at line 6995 of file HTMLPurifier.standalone.php.

HTMLPurifier_Token::position ( l = null,
c = null 
)

Sets the position of the token in the source document.

Definition at line 41 of file Token.php.

HTMLPurifier_Token::rawPosition ( l,
c 
)

Convenience function for DirectLex settings line/col position.

Definition at line 49 of file Token.php.

HTMLPurifier_Token::rawPosition ( l,
c 
)

Convenience function for DirectLex settings line/col position.

Definition at line 7003 of file HTMLPurifier.standalone.php.


Member Data Documentation

HTMLPurifier_Token::$armor = array()

Lookup array of processing that this token is exempt from.

Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError"

Definition at line 15 of file Token.php.

Referenced by HTMLPurifier_Token_Tag::__construct().

HTMLPurifier_Token::$carryover

Definition at line 22 of file Token.php.

HTMLPurifier_Token::$col

Column of line node was on in source document.

Null if unknown.

Definition at line 8 of file Token.php.

Referenced by HTMLPurifier_Token_Text::__construct(), HTMLPurifier_Token_Tag::__construct(), and HTMLPurifier_Token_Comment::__construct().

HTMLPurifier_Token::$line

Line number node was on in source document.

Null if unknown.

Definition at line 7 of file Token.php.

Referenced by HTMLPurifier_Token_Text::__construct(), HTMLPurifier_Token_Tag::__construct(), and HTMLPurifier_Token_Comment::__construct().

HTMLPurifier_Token::$rewind

Definition at line 21 of file Token.php.

HTMLPurifier_Token::$skip

Used during MakeWellFormed.

Definition at line 20 of file Token.php.


The documentation for this class was generated from the following files: