File: /phpDocumentor/Converters/XML/DocBook/peardoc2/Tokenizer.php

Description

XML/Beautifier.php

Format XML files containing unknown entities (like all of peardoc)

phpDocumentor :: automatic documentation generator

PHP versions 4 and 5

Copyright (c) 2004-2006 Gregory Beaver

LICENSE:

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Classes defined in this file

CLASS NAME

DESCRIPTION

phpDocumentor_XML_Beautifier_Tokenizer Highlights source code using parse()

Include/Require Statements

'XML/Beautifier/Tokenizer.php' (line 44)

require_once : 'XML/Beautifier/Tokenizer.php'

From the XML_Beautifier package

Global Variables

Constants

PHPDOC_BEAUTIFIER_CDATA (line 751)

PHPDOC_BEAUTIFIER_CDATA : 100000

do not remove, needed in plain renderer

PHPDOC_XMLTOKEN_EVENT_ATTRIBUTE (line 701)

PHPDOC_XMLTOKEN_EVENT_ATTRIBUTE : 4

used when a <tag attr="attribute"> is found

PHPDOC_XMLTOKEN_EVENT_CDATA (line 736)

PHPDOC_XMLTOKEN_EVENT_CDATA : 11

used when a <! is found

PHPDOC_XMLTOKEN_EVENT_CLOSETAG (line 706)

PHPDOC_XMLTOKEN_EVENT_CLOSETAG : 5

used when a close </tag> is found

PHPDOC_XMLTOKEN_EVENT_COMMENT (line 716)

PHPDOC_XMLTOKEN_EVENT_COMMENT : 7

used when a <!-- comment --> is found

PHPDOC_XMLTOKEN_EVENT_DEF (line 731)

PHPDOC_XMLTOKEN_EVENT_DEF : 10

used when a <! is found

PHPDOC_XMLTOKEN_EVENT_DOUBLEQUOTE (line 726)

PHPDOC_XMLTOKEN_EVENT_DOUBLEQUOTE : 9

used when a <!-- comment --> is found

PHPDOC_XMLTOKEN_EVENT_ENTITY (line 711)

PHPDOC_XMLTOKEN_EVENT_ENTITY : 6

used when an &entity; is found

PHPDOC_XMLTOKEN_EVENT_IN_CDATA (line 746)

PHPDOC_XMLTOKEN_EVENT_IN_CDATA : 13

used when a <![CDATA[ section is found

PHPDOC_XMLTOKEN_EVENT_NOEVENTS (line 686)

PHPDOC_XMLTOKEN_EVENT_NOEVENTS : 1

starting state

PHPDOC_XMLTOKEN_EVENT_OPENTAG (line 696)

PHPDOC_XMLTOKEN_EVENT_OPENTAG : 3

used when an open <tag> is found

PHPDOC_XMLTOKEN_EVENT_PI (line 691)

PHPDOC_XMLTOKEN_EVENT_PI : 2

used when a processor instruction is found

PHPDOC_XMLTOKEN_EVENT_SINGLEQUOTE (line 721)

PHPDOC_XMLTOKEN_EVENT_SINGLEQUOTE : 8

used when a <!-- comment --> is found

PHPDOC_XMLTOKEN_EVENT_XML (line 741)

PHPDOC_XMLTOKEN_EVENT_XML : 12

used when a <?xml is found

STATE_XMLTOKEN_ATTRIBUTE (line 703)

STATE_XMLTOKEN_ATTRIBUTE : 104

currently parsing an open <tag>

STATE_XMLTOKEN_CDATA (line 738)

STATE_XMLTOKEN_CDATA : 111

currently parsing a <!

STATE_XMLTOKEN_CLOSETAG (line 708)

STATE_XMLTOKEN_CLOSETAG : 105

currently parsing a close </tag>

STATE_XMLTOKEN_COMMENT (line 718)

STATE_XMLTOKEN_COMMENT : 107

currently parsing a <!-- comment -->

STATE_XMLTOKEN_DEF (line 733)

STATE_XMLTOKEN_DEF : 110

currently parsing a <!

STATE_XMLTOKEN_DOUBLEQUOTE (line 728)

STATE_XMLTOKEN_DOUBLEQUOTE : 109

currently parsing a <!-- comment -->

STATE_XMLTOKEN_ENTITY (line 713)

STATE_XMLTOKEN_ENTITY : 106

currently parsing an &entity;

STATE_XMLTOKEN_IN_CDATA (line 748)

STATE_XMLTOKEN_IN_CDATA : 113

currently parsing a <![CDATA[ ]]>

STATE_XMLTOKEN_NOEVENTS (line 688)

STATE_XMLTOKEN_NOEVENTS : 101

currently in starting state

STATE_XMLTOKEN_OPENTAG (line 698)

STATE_XMLTOKEN_OPENTAG : 103

currently parsing an open <tag>

STATE_XMLTOKEN_PI (line 693)

STATE_XMLTOKEN_PI : 102

currently in processor instruction

STATE_XMLTOKEN_SINGLEQUOTE (line 723)

STATE_XMLTOKEN_SINGLEQUOTE : 108

currently parsing a <!-- comment -->

STATE_XMLTOKEN_XML (line 743)

STATE_XMLTOKEN_XML : 112

currently parsing a <?xml

Functions


Documentation generated on Mon, 05 Dec 2011 21:29:09 -0600 by phpDocumentor 1.4.4