/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
Class Description
phpDocumentor_XML_Beautifier_Tokenizer Highlights source code using parse()
Includes
require_once ('XML/Beautifier/Tokenizer.php') (line 44)

From the XML_Beautifier package

Constants
PHPDOC_BEAUTIFIER_CDATA = 100000 (line 751)

do not remove, needed in plain renderer

PHPDOC_XMLTOKEN_EVENT_ATTRIBUTE = 4 (line 701)

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

PHPDOC_XMLTOKEN_EVENT_CDATA = 11 (line 736)

used when a <! is found

PHPDOC_XMLTOKEN_EVENT_CLOSETAG = 5 (line 706)

used when a close </tag> is found

PHPDOC_XMLTOKEN_EVENT_COMMENT = 7 (line 716)

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

PHPDOC_XMLTOKEN_EVENT_DEF = 10 (line 731)

used when a <! is found

PHPDOC_XMLTOKEN_EVENT_DOUBLEQUOTE = 9 (line 726)

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

PHPDOC_XMLTOKEN_EVENT_ENTITY = 6 (line 711)

used when an &entity; is found

PHPDOC_XMLTOKEN_EVENT_IN_CDATA = 13 (line 746)

used when a <![CDATA[ section is found

PHPDOC_XMLTOKEN_EVENT_NOEVENTS = 1 (line 686)

starting state

PHPDOC_XMLTOKEN_EVENT_OPENTAG = 3 (line 696)

used when an open <tag> is found

PHPDOC_XMLTOKEN_EVENT_PI = 2 (line 691)

used when a processor instruction is found

PHPDOC_XMLTOKEN_EVENT_SINGLEQUOTE = 8 (line 721)

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

PHPDOC_XMLTOKEN_EVENT_XML = 12 (line 741)

used when a <?xml is found

STATE_XMLTOKEN_ATTRIBUTE = 104 (line 703)

currently parsing an open <tag>

STATE_XMLTOKEN_CDATA = 111 (line 738)

currently parsing a <!

STATE_XMLTOKEN_CLOSETAG = 105 (line 708)

currently parsing a close </tag>

STATE_XMLTOKEN_COMMENT = 107 (line 718)

currently parsing a <!-- comment -->

STATE_XMLTOKEN_DEF = 110 (line 733)

currently parsing a <!

STATE_XMLTOKEN_DOUBLEQUOTE = 109 (line 728)

currently parsing a <!-- comment -->

STATE_XMLTOKEN_ENTITY = 106 (line 713)

currently parsing an &entity;

STATE_XMLTOKEN_IN_CDATA = 113 (line 748)

currently parsing a <![CDATA[ ]]>

STATE_XMLTOKEN_NOEVENTS = 101 (line 688)

currently in starting state

STATE_XMLTOKEN_OPENTAG = 103 (line 698)

currently parsing an open <tag>

STATE_XMLTOKEN_PI = 102 (line 693)

currently in processor instruction

STATE_XMLTOKEN_SINGLEQUOTE = 108 (line 723)

currently parsing a <!-- comment -->

STATE_XMLTOKEN_XML = 112 (line 743)

currently parsing a <?xml

Documentation generated on Mon, 05 Dec 2011 21:23:34 -0600 by phpDocumentor 1.4.4