PCDATA = 0
RCDATA = 1
CDATA = 2
PLAINTEXT = 3
DOCTYPE = 0
STARTTAG = 1
ENDTAG = 2
COMMENT = 3
CHARACTR = 4
EOF = 5
$data :
$char :
$EOF :
$state :
$tree :
$token :
$content_model :
$escape :
$entities :
__construct( $data)
save()
char()
character( $s, $l)
characters( $char_class, $start)
dataState()
entityDataState()
tagOpenState()
closeTagOpenState()
tagNameState()
beforeAttributeNameState()
attributeNameState()
afterAttributeNameState()
beforeAttributeValueState()
attributeValueDoubleQuotedState()
attributeValueSingleQuotedState()
attributeValueUnquotedState()
entityInAttributeValueState()
bogusCommentState()
markupDeclarationOpenState()
commentState()
commentDashState()
commentEndState()
doctypeState()
beforeDoctypeNameState()
doctypeNameState()
afterDoctypeNameState()
bogusDoctypeState()
entity()
emitToken( $token)
EOF()