phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]

Procedural File: Tokenizer.php

Source Location: /phpDocumentor/Converters/XML/DocBook/peardoc2/Tokenizer.php



Classes:

phpDocumentor_XML_Beautifier_Tokenizer
Highlights source code using parse()


Page Details:

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




Tags:

author:  Greg Beaver <cellog@php.net>
version:  CVS: $Id: Tokenizer.php 289596 2009-10-12 21:08:13Z ashnazg $
copyright:  2004-2006 Gregory Beaver
link:  http://pear.php.net/PhpDocumentor
link:  http://www.phpdoc.org
since:  1.3.0
filesource:  Source Code for this file
license:  LGPL


Includes:

require_once('XML/Beautifier/Tokenizer.php') [line 44]
From the XML_Beautifier package






PHPDOC_BEAUTIFIER_CDATA [line 751]

PHPDOC_BEAUTIFIER_CDATA = 100000
do not remove, needed in plain renderer


[ Top ]



PHPDOC_XMLTOKEN_EVENT_ATTRIBUTE [line 701]

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


[ Top ]



PHPDOC_XMLTOKEN_EVENT_CDATA [line 736]

PHPDOC_XMLTOKEN_EVENT_CDATA = 11
used when a <! is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_CLOSETAG [line 706]

PHPDOC_XMLTOKEN_EVENT_CLOSETAG = 5
used when a close </tag> is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_COMMENT [line 716]

PHPDOC_XMLTOKEN_EVENT_COMMENT = 7
used when a <!-- comment --> is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_DEF [line 731]

PHPDOC_XMLTOKEN_EVENT_DEF = 10
used when a <! is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_DOUBLEQUOTE [line 726]

PHPDOC_XMLTOKEN_EVENT_DOUBLEQUOTE = 9
used when a <!-- comment --> is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_ENTITY [line 711]

PHPDOC_XMLTOKEN_EVENT_ENTITY = 6
used when an &entity; is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_IN_CDATA [line 746]

PHPDOC_XMLTOKEN_EVENT_IN_CDATA = 13
used when a <![CDATA[ section is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_NOEVENTS [line 686]

PHPDOC_XMLTOKEN_EVENT_NOEVENTS = 1
starting state


[ Top ]



PHPDOC_XMLTOKEN_EVENT_OPENTAG [line 696]

PHPDOC_XMLTOKEN_EVENT_OPENTAG = 3
used when an open <tag> is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_PI [line 691]

PHPDOC_XMLTOKEN_EVENT_PI = 2
used when a processor instruction is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_SINGLEQUOTE [line 721]

PHPDOC_XMLTOKEN_EVENT_SINGLEQUOTE = 8
used when a <!-- comment --> is found


[ Top ]



PHPDOC_XMLTOKEN_EVENT_XML [line 741]

PHPDOC_XMLTOKEN_EVENT_XML = 12
used when a <?xml is found


[ Top ]



STATE_XMLTOKEN_ATTRIBUTE [line 703]

STATE_XMLTOKEN_ATTRIBUTE = 104
currently parsing an open <tag>


[ Top ]



STATE_XMLTOKEN_CDATA [line 738]

STATE_XMLTOKEN_CDATA = 111
currently parsing a <!


[ Top ]



STATE_XMLTOKEN_CLOSETAG [line 708]

STATE_XMLTOKEN_CLOSETAG = 105
currently parsing a close </tag>


[ Top ]



STATE_XMLTOKEN_COMMENT [line 718]

STATE_XMLTOKEN_COMMENT = 107
currently parsing a <!-- comment -->


[ Top ]



STATE_XMLTOKEN_DEF [line 733]

STATE_XMLTOKEN_DEF = 110
currently parsing a <!


[ Top ]



STATE_XMLTOKEN_DOUBLEQUOTE [line 728]

STATE_XMLTOKEN_DOUBLEQUOTE = 109
currently parsing a <!-- comment -->


[ Top ]



STATE_XMLTOKEN_ENTITY [line 713]

STATE_XMLTOKEN_ENTITY = 106
currently parsing an &entity;


[ Top ]



STATE_XMLTOKEN_IN_CDATA [line 748]

STATE_XMLTOKEN_IN_CDATA = 113
currently parsing a <![CDATA[ ]]>


[ Top ]



STATE_XMLTOKEN_NOEVENTS [line 688]

STATE_XMLTOKEN_NOEVENTS = 101
currently in starting state


[ Top ]



STATE_XMLTOKEN_OPENTAG [line 698]

STATE_XMLTOKEN_OPENTAG = 103
currently parsing an open <tag>


[ Top ]



STATE_XMLTOKEN_PI [line 693]

STATE_XMLTOKEN_PI = 102
currently in processor instruction


[ Top ]



STATE_XMLTOKEN_SINGLEQUOTE [line 723]

STATE_XMLTOKEN_SINGLEQUOTE = 108
currently parsing a <!-- comment -->


[ Top ]



STATE_XMLTOKEN_XML [line 743]

STATE_XMLTOKEN_XML = 112
currently parsing a <?xml


[ Top ]




Documentation generated on Tue, 06 Dec 2011 07:15:00 -0600 by phpDocumentor 1.4.4