Source Location: /phpDocumentor/ParserDescCleanup.inc
All of the functions to clean up and handle the long description of a DocBlock are in this file.
The primary functionality is based on Parser and WordParser, and modified to recognize only the tokens defined in the PHPDOCUMENTOR_PDP_* constants
phpDocumentor :: automatic documentation generator
PHP versions 4 and 5
Copyright (c) 2002-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
[line 68]
PHPDOCUMENTOR_PDP_EVENT_B = 605
when <b> is found in a desc
parserDescParser token constants
[ Top ]
[line 76]
PHPDOCUMENTOR_PDP_EVENT_BR = 607
when <br> is found in a desc
parserDescParser token constants
[ Top ]
[line 48]
PHPDOCUMENTOR_PDP_EVENT_CODE = 600
when <code> is found in a desc
parserDescParser token constants
[ Top ]
[line 56]
PHPDOCUMENTOR_PDP_EVENT_DOUBLECR = 602
when \n\n is found in a desc
parserDescParser token constants
[ Top ]
[line 80]
PHPDOCUMENTOR_PDP_EVENT_ESCAPE = 608
when the << potential escape for tags is found in a desc
parserDescParser token constants
[ Top ]
[line 88]
PHPDOCUMENTOR_PDP_EVENT_ESCAPE_CODE = 610
when << /code>> is found in a <code></code> section
parserDescParser token constants
[ Top ]
[line 84]
PHPDOCUMENTOR_PDP_EVENT_ESCAPE_PRE = 609
when << /pre>> is found in a <pre></pre> section
parserDescParser token constants
[ Top ]
[line 72]
PHPDOCUMENTOR_PDP_EVENT_I = 606
when <i> is found in a desc
parserDescParser token constants
[ Top ]
[line 100]
PHPDOCUMENTOR_PDP_EVENT_KBD = 613
when <kbd> is found in a desc
parserDescParser token constants
[ Top ]
[line 64]
PHPDOCUMENTOR_PDP_EVENT_LIST = 604
when <ul>/<ol> is found in a desc
parserDescParser token constants
[ Top ]
[line 52]
PHPDOCUMENTOR_PDP_EVENT_P = 601
when <p> is found in a desc
parserDescParser token constants
[ Top ]
[line 60]
PHPDOCUMENTOR_PDP_EVENT_PRE = 603
when <pre> is found in a desc
parserDescParser token constants
[ Top ]
[line 96]
PHPDOCUMENTOR_PDP_EVENT_SAMP = 612
when <samp> is found in a desc
parserDescParser token constants
[ Top ]
[line 111]
PHPDOCUMENTOR_PDP_EVENT_SIMLIST = 614
when a simple list is found in a desc
parserDescParser token constants like
o item 1 o item 2
[ Top ]
[line 92]
PHPDOCUMENTOR_PDP_EVENT_VAR = 611
when <var> is found in a desc
parserDescParser token constants
[ Top ]
[line 70]
PHPDOCUMENTOR_PDP_STATE_B = 705
when <b> is found in a desc
parserDescParser token constants
[ Top ]
[line 78]
PHPDOCUMENTOR_PDP_STATE_BR = 707
when <br> is found in a desc
parserDescParser token constants
[ Top ]
[line 50]
PHPDOCUMENTOR_PDP_STATE_CODE = 700
when <code> is found in a desc
parserDescParser token constants
[ Top ]
[line 58]
PHPDOCUMENTOR_PDP_STATE_DOUBLECR = 702
when \n\n is found in a desc
parserDescParser token constants
[ Top ]
[line 82]
PHPDOCUMENTOR_PDP_STATE_ESCAPE = 708
when the << potential escape for tags is found in a desc
parserDescParser token constants
[ Top ]
[line 90]
PHPDOCUMENTOR_PDP_STATE_ESCAPE_CODE = 710
when << /code>> is found in a <code></code> section
parserDescParser token constants
[ Top ]
[line 86]
PHPDOCUMENTOR_PDP_STATE_ESCAPE_PRE = 709
when << /pre>> is found in a <pre></pre> section
parserDescParser token constants
[ Top ]
[line 74]
PHPDOCUMENTOR_PDP_STATE_I = 706
when <i> is found in a desc
parserDescParser token constants
[ Top ]
[line 102]
PHPDOCUMENTOR_PDP_STATE_KBD = 713
when <kbd> is found in a desc
parserDescParser token constants
[ Top ]
[line 66]
PHPDOCUMENTOR_PDP_STATE_LIST = 704
when <ul>/<ol> is found in a desc
parserDescParser token constants
[ Top ]
[line 54]
PHPDOCUMENTOR_PDP_STATE_P = 701
when <p> is found in a desc
parserDescParser token constants
[ Top ]
[line 62]
PHPDOCUMENTOR_PDP_STATE_PRE = 703
when <pre> is found in a desc
parserDescParser token constants
[ Top ]
[line 98]
PHPDOCUMENTOR_PDP_STATE_SAMP = 712
when <samp> is found in a desc
parserDescParser token constants
[ Top ]
[line 120]
PHPDOCUMENTOR_PDP_STATE_SIMLIST = 714
when a simple list is found in a desc
parserDescParser token constants like
o item 1 o item 2
[ Top ]
[line 94]
PHPDOCUMENTOR_PDP_STATE_VAR = 711
when <var> is found in a desc
parserDescParser token constants
[ Top ]