Publisher | --Parser | --phpDocumentor_TutorialHighlightParser
Located in File: /phpDocumentor/TutorialHighlightParser.inc
Constructor phpDocumentor_TutorialHighlightParser (line 423)
Method checkEventPop (line 380)
Overrides : Parser::checkEventPop() this function checks whether parameter $word is a token for popping the current event off of the Event Stack.
Method checkEventPush (line 358)
Overrides : Parser::checkEventPush() this function checks whether parameter $word is a token for pushing a new event onto the Event Stack.
Method configWordParser (line 341)
Overrides : Parser::configWordParser() tell the parser's WordParser $wp to set up tokens to parse words by.
Tokens are word separators. In English, a space or punctuation are examples of tokens. In PHP, a token can be a ;, a parenthesis, or even the word "function"
Method getParserEventName (line 508)
Overrides : Parser::getParserEventName() Debugging function, takes an event number and attempts to return its name
Method newLineNum (line 115)
Method parse (line 166)
Overrides : Parser::parse() Parse a new file
The parse() method is a do...while() loop that retrieves tokens one by one from the $_event_stack, and uses the token event array set up by the class constructor to call event handlers.
The event handlers each process the tokens passed to them, and use the _addoutput() method to append the processed tokens to the $_line variable. The word parser calls newLineNum() every time a line is reached.
In addition, the event handlers use special linking functions _link() and its cousins (_classlink(), etc.) to create in-code hyperlinks to the documentation for source code elements that are in the source code.
Method setLineNum (line 130)
Method setupStates (line 403)
Overrides : Parser::setupStates() setup the parser tokens, and the pushEvent/popEvent arrays
Publisher::$subscriber - Array of references objects that have Subscribed to this publisher
Parser::Parser() - Set up invariant parsing variables
Parser::categoryTagHandler() - handles @category
Parser::checkEventPop() - this function checks whether parameter $word is a token for popping the current event off of the Event Stack.
Parser::checkEventPush() - this function checks whether parameter $word is a token for pushing a new event onto the Event Stack.
Parser::configWordParser() - tell the parser's WordParser $wp to set up tokens to parse words by.
Parser::defaultTagHandler() - Handles all standard tags that only have a description
Parser::endTag() - Called to clean up at the end of parsing a @tag in a docblock
Parser::exampleTagHandler() - handles @example
Parser::getParserEventName() - Debugging function, takes an event number and attempts to return its name
Parser::globalTagHandler() - handles @global
Parser::invalidTagHandler() - Handles tags like '@filesource' that only work in PHP 4.3.0+
Parser::packageTagHandler() - handles @package
Parser::paramTagHandler() - handles @param
Parser::parse() - Parse a new file
Parser::propertyTagHandler() - Handles @property(-read or -write) and @method magic tag
Parser::returnTagHandler() - handles @return
Parser::setupStates() - setup the parser tokens, and the pushEvent/popEvent arrays
Parser::staticvarTagHandler() - handles @staticvar
Parser::usesTagHandler() - handles @uses
Parser::varTagHandler() - handles @var
Publisher::publishEvent() - Publish an event
Publisher::subscribe() - Adds a subscriber to the $subscriber array().