Stores information about parser items that are actual source code. Typically these parser items have authors and versions, so all of that information is stored in this class.
This is the code documentation for the Pelzini project
Search documentation |
class CodeParserItemStores information about parser items that are actual source code. Typically these parser items have authors and versions, so all of that information is stored in this class.
AuthorsVariables
Functions
protected __constructvoid $CodeParserItem->__construct ( ); This constructor must be called by extending classes public applyCommentvoid $CodeParserItem->applyComment ( mixed $comment ); This parses a comment for a specific item public cascadeTagsvoid $CodeParserItem->cascadeTags ( ParserItem $child ); Cascades parent Docblock tags into a child item Only cascades the tags specified in the config protected dumpvoid $CodeParserItem->dump ( ); Debugging use only public getDocblockTagsunknown $CodeParserItem->getDocblockTags ( ); Gets the Docblock tags of this item protected processGenericDocblockTagsvoid $CodeParserItem->processGenericDocblockTags ( mixed $docblock_tags ); Processes general DocBlock tags that should apply to everything protected processSpecificDocblockTagsvoid $CodeParserItem->processSpecificDocblockTags ( mixed $docblock_tags ); Processes the docblock tags for a specific item public processTagsvoid $CodeParserItem->processTags ( ); Processes the tags for a specific item public setDocblockTagsvoid $CodeParserItem->setDocblockTags ( array $tags ); Sets the Docblock tags for this item public treeWalkvoid $CodeParserItem->treeWalk ( mixed $function_name [, ParserItem $parent_item ] ); Executes a function for this ParserItem, and all of its children ParserItems The function will be called with a two arguments, the ParserItem that it should operate on, and the parent of the parser item |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Thursday, 15th March, 2018 at 02:05 pm |