Uses of Class
org.javacc.jjtree.Token
-
Packages that use Token Package Description org.javacc.jjtree A tree generator. -
-
Uses of Token in org.javacc.jjtree
Subclasses of Token in org.javacc.jjtree Modifier and Type Class Description (package private) static classToken.GTTokenGreater than Token.Fields in org.javacc.jjtree declared as Token Modifier and Type Field Description TokenParseException. 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_lastposTokenJJTreeParser. 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.TokenToken. 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.TokenToken. 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. stmBeginLocTokenJJTreeParser. tokenCurrent token.Methods in org.javacc.jjtree that return Token Modifier and Type Method Description TokenJJTreeParser. BooleanLiteral()TokenJJTreeNode. getFirstToken()TokenJJTreeNode. getLastToken()TokenJJTreeParser. getNextToken()Get the next Token.TokenJJTreeParserTokenManager. getNextToken()Get the next Token.TokenJJTreeParser. getToken(int index)Get the specific Token.TokenJJTreeParser. identifier()TokenJJTreeParser. IntegerLiteral()private TokenJJTreeParser. jj_consume_token(int kind)protected TokenJJTreeParserTokenManager. jjFillToken()static TokenToken. newToken(int ofKind, java.lang.String image)Returns a new Token object, by default.TokenJJTreeParser. StringLiteral()Methods in org.javacc.jjtree with parameters of type Token Modifier and Type Method Description private static java.lang.StringParseException. initialise(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.voidJJTreeNode. print(Token t, IO io)static voidTokenUtils. print(Token t, IO io, java.lang.String in, java.lang.String out)(package private) static java.lang.StringTokenUtils. remove_escapes_and_quotes(Token t, java.lang.String str, Context context)voidJJTreeNode. setFirstToken(Token t)voidJJTreeNode. setLastToken(Token t)(package private) voidJJTreeParserTokenManager. SkipLexicalActions(Token matchedToken)(package private) voidJJTreeParserTokenManager. TokenLexicalActions(Token matchedToken)java.lang.StringASTNodeDescriptor. translateImage(Token t)java.lang.StringASTNodeDescriptorExpression. translateImage(Token t)java.lang.StringASTOptionBinding. translateImage(Token t)java.lang.StringJJTreeNode. translateImage(Token t)(package private) java.lang.StringJJTreeNode. whiteOut(Token t)Constructors in org.javacc.jjtree with parameters of type Token Constructor Description ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)This constructor is used by the method "generateParseException" in the generated parser.
-