Uses of Class
org.javacc.jjtree.Token
Packages that use Token
-
Uses of Token in org.javacc.jjtree
Subclasses of Token in org.javacc.jjtreeModifier and TypeClassDescription(package private) static classGreater than Token.Fields in org.javacc.jjtree declared as TokenModifier and TypeFieldDescriptionParseException.currentTokenThis is the last token that has been consumed successfully.(package private) TokenASTBNF.declBeginLocprivate TokenJJTreeNode.firstThe following is added manually to enhance all tree nodes with attributes that store the first and last tokens corresponding to each node, as well as to print the tokens back to the specified output stream.(package private) TokenJJTreeParser.JJCalls.firstprivate TokenJJTreeParser.jj_lastposJJTreeParser.jj_ntNext token.private TokenJJTreeParser.jj_scanposprivate TokenJJTreeNode.lastThe following is added manually to enhance all tree nodes with attributes that store the first and last tokens corresponding to each node, as well as to print the tokens back to the specified output stream.Token.nextA reference to the next regular (non-special) token from the input stream.static TokenJJTreeGlobals.parserClassBodyStartThe first token of the parser class body (the{).static TokenJJTreeGlobals.parserImplementsTheimplementstoken of the parser class.static TokenJJTreeGlobals.parserImportsThe first token of theimportlist, or the position where such a list should be inserted.Token.specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.(package private) TokenASTJavacode.stmBeginLocJJTreeParser.tokenCurrent token.Methods in org.javacc.jjtree that return TokenModifier and TypeMethodDescriptionfinal TokenJJTreeParser.BooleanLiteral()JJTreeNode.getFirstToken()JJTreeNode.getLastToken()final TokenJJTreeParser.getNextToken()Get the next Token.JJTreeParserTokenManager.getNextToken()Get the next Token.final TokenJJTreeParser.getToken(int index) Get the specific Token.final TokenJJTreeParser.identifier()final TokenJJTreeParser.IntegerLiteral()private TokenJJTreeParser.jj_consume_token(int kind) protected TokenJJTreeParserTokenManager.jjFillToken()static final TokenReturns a new Token object, by default.final TokenJJTreeParser.StringLiteral()Methods in org.javacc.jjtree with parameters of type TokenModifier and TypeMethodDescriptionprivate static StringParseException.initialise(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage) It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.voidstatic void(package private) static StringTokenUtils.remove_escapes_and_quotes(Token t, String str, Context context) voidJJTreeNode.setFirstToken(Token t) voidJJTreeNode.setLastToken(Token t) (package private) voidJJTreeParserTokenManager.SkipLexicalActions(Token matchedToken) (package private) voidJJTreeParserTokenManager.TokenLexicalActions(Token matchedToken) ASTNodeDescriptor.translateImage(Token t) ASTNodeDescriptorExpression.translateImage(Token t) ASTOptionBinding.translateImage(Token t) JJTreeNode.translateImage(Token t) (package private) StringConstructors in org.javacc.jjtree with parameters of type TokenModifierConstructorDescriptionParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.