Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/www/apache/doc2//parser/PhpdocModuleParser.php
PHPDOC 2000/12/03 - PHPDoc

PhpdocModuleParser

PhpdocObject
   |
  +-- PhpdocParserRegExp
     |
    +-- PhpdocParserTags
       |
      +-- PhpdocParserCore
         |
        +-- PhpdocUseParser
           |
          +-- PhpdocConstantParser
             |
            +-- PhpdocModuleParser

Extracts modules and their documentation from php code.

 

private class PhpdocModuleParser extends PhpdocConstantParser

Extracts modules and their documentation from php code.

AuthorsUlf Wendel <ulf.wendel@redsys.de>
Version0.1alpha

 
Direct known subclasses: PhpdocVariableParser

Methods inherited from PhpdocConstantParser

analyseconstant, checkconstantdoc

Methods inherited from PhpdocUseParser

analyseuse

Methods inherited from PhpdocParserCore

getphpdocparagraphs, getmodulesandclasses, getmoduledoc, getclasses, extractphpdoc, getdescription, getvalue, getvariabletypeandvalue

Methods inherited from PhpdocParserTags

analysetags, analyseseetagregs, gettags, gettagpos, checkparsererrors

Methods inherited from PhpdocParserRegExp

buildcomplexregexps

Methods inherited from PhpdocObject

setflagoutput, out, nametourl, outl, introspection

Private Method Summary

array

analyseModule(array $para)

Central module parsing function.
array

analyseModuleDoc(array $para)

Extracts the allowed documentation tags out of a module doc comment.

Fields inherited from PhpdocConstantParser

$emptyconstant, $constanttags

Fields inherited from PhpdocUseParser

$emptyuse, $usetags

Fields inherited from PhpdocParserRegExp

$phpdoc_tags, $c_base, $c_complex, $php_base, $php_complex, $tags

Fields inherited from PhpdocObject

$err, $application, $warn, $flag_output

Private Field Summary

array

$emptyModule

Empty hash that shows the structure of a module.
array

$moduleTags

List of tags allowed within a module doc comment.
array

$moduleGroups

Hash of all module groups

Private Method Details

analyseModule

private array analyseModule( array $para )

  Central module parsing function.

Parameter
array $para
of parsing data
Returns array

See Also analyseModuleDoc()

analyseModuleDoc

private array analyseModuleDoc( array $para )

  Extracts the allowed documentation tags out of a module doc comment.

Parameter
array $para
paragraph
Returns array


Private Field Details

$emptyModule

private array $emptyModule

>>array( "name" => "", "group" => "", "undoc" => true, "functions" => array(), "consts" => array(), "uses" => array() )<<

Empty hash that shows the structure of a module.


$moduleTags

private array $moduleTags

>>array( "module" => true, "modulegroup" => true, "access" => true, "see" => true, "link" => true, "author" => true, "copyright" => true, "version" => true, "since" => true, "deprecated" => true, "deprec" => true, "brother" => true, "sister" => true, "exclude" => true, "package" => true, "magic" => true, "todo" => true )<<

List of tags allowed within a module doc comment.


$moduleGroups

private array $moduleGroups

>>array()<<

Hash of all module groups



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta