|
|
File: c:/www/apache/doc2//parser/PhpdocClassParser.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocClassParser
PhpdocObject | +-- PhpdocParserRegExp | +-- PhpdocParserTags | +-- PhpdocParserCore | +-- PhpdocUseParser | +-- PhpdocConstantParser | +-- PhpdocModuleParser | +-- PhpdocVariableParser | +-- PhpdocFunctionParser | +-- PhpdocClassParser
Parses phpcode to extract classes and their documentation.
|
Parses phpcode to extract classes and their documentation.
|
|
Direct known subclasses: PhpdocParser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Private Field Summary |
array |
$classesArray of all classes in the given code |
array |
$emptyClassDefault values of a class |
array |
$classTagsArray of tags that are allowed in front of the class keyword |
|
Private Method Details |
analyseClass |
private array analyseClass( array $para )
|
|
Analyse a class
Calls all neccessary analyse functions.
|
Parameter |
|
|
Returns |
array |
|
analyseClassDoc |
private array analyseClassDoc( array $para )
|
|
Analyses a class doc comment.
|
Parameter |
|
array |
$para |
|
|
returned by getPhpdocParagraph() |
|
Returns |
array |
|
|
Private Field Details |
$classes |
private array $classes
>>array() <<
Array of all classes in the given code
The array is indexed by the classname.See $emptyClass to see the internal structure.
|
See Also |
$emptyClass |
|
$emptyClass |
private array $emptyClass
>>array (
"name" => "",
"extends" => "",
"undoc" => true
) <<
Default values of a class
|
|
$classTags |
private array $classTags
>>array(
"access" => true,
"abstract" => true,
"static" => true,
"final" => 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
) <<
Array of tags that are allowed in front of the class keyword
|
|
|
|
|
PHPDoc 1.0beta |