WordParser | --phpDocumentorTWordParser
Located in File: /phpDocumentor/phpDocumentorTWordParser.inc
Static Method concatTokens (line 193)
Static Method tokenEquals (line 178)
Method addFileSource (line 278)
Method addSource (line 300)
This code will split up tokens that contain "\n" and add them to the source code as separate tokens on different lines.
Method backupPos (line 361)
Overridden in child classes as:
Overrides : WordParser::backupPos() Backup to the previous token so that it can be retrieved again in a new context.
Method findGlobal (line 347)
Method getFileSource (line 148)
Method getSource (line 135)
Overrides : WordParser::getSource() Retrieve source code for the last function/method
Method getWord (line 218)
Overridden in child classes as:
Overrides : WordParser::getWord() Retrieve a token from the token list
Method setup (line 117)
Overridden in child classes as:
Overrides : WordParser::setup() Initialize the WordParser
WordParser::backupPos() - Backup to the previous token so that it can be retrieved again in a new context.
WordParser::getBlock() - Unused
WordParser::getPos() - Returns the current pointer position, or 1 character after the end of the word
WordParser::getSource() - Retrieve source code for the last function/method
WordParser::getWord() - Retrieve a token from the token list
WordParser::setPos() - Set the internal cursor within the source code
WordParser::setSeperator() - Sets the list of possible separator tokens
WordParser::setup() - Initialize the WordParser
WordParser::setWhitespace() - set parser to return or strip whitespace