The classes in this file are responsible for the dynamic @example, and <programlisting role="tutorial"> tags output. Using the WordParser, the phpDocumentor_TutorialHighlightParser retrieves PHP tokens one by one from the array generated by WordParser source retrieval functions and then highlights them individually.
It accomplishes this highlighting through the assistance of methods in the output Converter passed to its parse() method, and then returns the fully highlighted source as a string
phpDocumentor :: automatic documentation generator
PHP versions 4 and 5
Copyright (c) 2003-2007 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
CLASS NAME | DESCRIPTION |
| phpDocumentor_TutorialHighlightParser | Highlights source code using parse() |
STATE_TUTORIAL_ATTRIBUTE (line 568)
STATE_TUTORIAL_CLOSETAG (line 578)
STATE_TUTORIAL_COMMENT (line 598)
STATE_TUTORIAL_DOUBLEQUOTE (line 618)
STATE_TUTORIAL_ENTITY (line 588)
STATE_TUTORIAL_ITAG (line 548)
STATE_TUTORIAL_NOEVENTS (line 538)
STATE_TUTORIAL_OPENTAG (line 558)
STATE_TUTORIAL_SINGLEQUOTE (line 608)
TUTORIAL_EVENT_ATTRIBUTE (line 563)
TUTORIAL_EVENT_CLOSETAG (line 573)
TUTORIAL_EVENT_COMMENT (line 593)
TUTORIAL_EVENT_DOUBLEQUOTE (line 613)
TUTORIAL_EVENT_ENTITY (line 583)
TUTORIAL_EVENT_ITAG (line 543)
TUTORIAL_EVENT_NOEVENTS (line 533)
TUTORIAL_EVENT_OPENTAG (line 553)
TUTORIAL_EVENT_SINGLEQUOTE (line 603)