|
|
File: c:/www/apache/doc2//parser/PhpdocUseParser.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocUseParser
PhpdocObject | +-- PhpdocParserRegExp | +-- PhpdocParserTags | +-- PhpdocParserCore | +-- PhpdocUseParser
Extracts use statements (include and friends) an thheir documentation from php code.
|
private class PhpdocUseParser extends PhpdocParserCore
Extracts use statements (include and friends) an thheir documentation from php code.
|
|
Direct known subclasses: PhpdocConstantParser
|
|
|
|
|
|
|
|
|
Private Field Summary |
array |
$emptyUseStructure of an empty use entry. |
array |
$useTagsList of allowed tags in use doc comments. |
|
Private Method Details |
analyseUse |
private void analyseUse( array $para )
|
|
Takes the result from getPhpdocParagraphs() and interprets it.
|
Parameter |
|
|
Returns |
void |
|
|
Private Field Details |
$emptyUse |
private array $emptyUse
>>array(
"type" => "",
"file" => "",
"undoc" => true
) <<
Structure of an empty use entry.
|
|
$useTags |
private array $useTags
>>array(
"return" => true,
"see" => true,
"link" => true,
"authhor" => true,
"copyright" => true,
"version" => true,
"since" => true,
"deprecated" => true,
"deprec" => true,
"include" => true,
"exclude" => true,
"magic" => true,
"todo" => true
) <<
List of allowed tags in use doc comments.
|
|
|
|
|
PHPDoc 1.0beta |