Constants

PCDATA

PCDATA = 0

RCDATA

RCDATA = 1

CDATA

CDATA = 2

PLAINTEXT

PLAINTEXT = 3

DOCTYPE

DOCTYPE = 0

STARTTAG

STARTTAG = 1

ENDTAG

ENDTAG = 2

COMMENT

COMMENT = 3

CHARACTR

CHARACTR = 4

EOF

EOF = 5

Properties

$data

$data : 

Type

$char

$char : 

Type

$EOF

$EOF : 

Type

$state

$state : 

Type

$tree

$tree : 

Type

$token

$token : 

Type

$content_model

$content_model : 

Type

$escape

$escape : 

Type

$entities

$entities : 

Type

Methods

__construct()

__construct(  $data) 

Parameters

$data

save()

save() 

char()

char() 

character()

character(  $s,   $l) 

Parameters

$s
$l

characters()

characters(  $char_class,   $start) 

Parameters

$char_class
$start

dataState()

dataState() 

entityDataState()

entityDataState() 

tagOpenState()

tagOpenState() 

closeTagOpenState()

closeTagOpenState() 

tagNameState()

tagNameState() 

beforeAttributeNameState()

beforeAttributeNameState() 

attributeNameState()

attributeNameState() 

afterAttributeNameState()

afterAttributeNameState() 

beforeAttributeValueState()

beforeAttributeValueState() 

attributeValueDoubleQuotedState()

attributeValueDoubleQuotedState() 

attributeValueSingleQuotedState()

attributeValueSingleQuotedState() 

attributeValueUnquotedState()

attributeValueUnquotedState() 

entityInAttributeValueState()

entityInAttributeValueState() 

bogusCommentState()

bogusCommentState() 

markupDeclarationOpenState()

markupDeclarationOpenState() 

commentState()

commentState() 

commentDashState()

commentDashState() 

commentEndState()

commentEndState() 

doctypeState()

doctypeState() 

beforeDoctypeNameState()

beforeDoctypeNameState() 

doctypeNameState()

doctypeNameState() 

afterDoctypeNameState()

afterDoctypeNameState() 

bogusDoctypeState()

bogusDoctypeState() 

entity()

entity() 

emitToken()

emitToken(  $token) 

Parameters

$token

EOF()

EOF()