Uses of Class
org.fusesource.hawtbuf.proto.compiler.parser.Token
-
Packages that use Token Package Description org.fusesource.hawtbuf.proto.compiler org.fusesource.hawtbuf.proto.compiler.parser -
-
Uses of Token in org.fusesource.hawtbuf.proto.compiler
Methods in org.fusesource.hawtbuf.proto.compiler with parameters of type Token Modifier and Type Method Description static java.lang.String
ParserSupport. decodeString(Token token)
-
Uses of Token in org.fusesource.hawtbuf.proto.compiler.parser
Fields in org.fusesource.hawtbuf.proto.compiler.parser declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.(package private) Token
ProtoParser.JJCalls. first
private Token
ProtoParser. jj_lastpos
Token
ProtoParser. jj_nt
Next token.private Token
ProtoParser. jj_scanpos
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
Token. specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Token
ProtoParser. token
Current token.Methods in org.fusesource.hawtbuf.proto.compiler.parser that return Token Modifier and Type Method Description Token
ProtoParser. getNextToken()
Get the next Token.Token
ProtoParserTokenManager. getNextToken()
Get the next Token.Token
ProtoParser. getToken(int index)
Get the specific Token.private Token
ProtoParser. jj_consume_token(int kind)
protected Token
ProtoParserTokenManager. jjFillToken()
static Token
Token. newToken(int ofKind)
static Token
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in org.fusesource.hawtbuf.proto.compiler.parser with parameters of type Token Modifier and Type Method Description private static java.lang.String
ParseException. initialise(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.(package private) void
ProtoParserTokenManager. SkipLexicalActions(Token matchedToken)
(package private) void
ProtoParserTokenManager. TokenLexicalActions(Token matchedToken)
Constructors in org.fusesource.hawtbuf.proto.compiler.parser 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.
-