This class is used to represent a token that has been tokenised using a Lexer. (e.g. the JavascriptLexer) These tokens are used to create various ParserItems, by passing them to an Analyser (e.g. the JavascriptAnalyser)
This is the code documentation for the Pelzini project
Search documentation |
class TokenThis class is used to represent a token that has been tokenised using a Lexer. (e.g. the JavascriptLexer) These tokens are used to create various ParserItems, by passing them to an Analyser (e.g. the JavascriptAnalyser)
Class structureAs a function return valuefindTokenBackwards from class Analyser Finds a token looking backwards from the current position. Searching starts before the current token. The token must be of the type specified From /processor/analyser.php findTokenForwards from class Analyser Finds a token looking forward from the current position. Searching starts after the current token. The token must be of the type specified From /processor/analyser.php |
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 |