Uses of Class
com.mckoi.database.sql.Token
Packages that use Token
Package
Description
These classes parse SQL statements in Mckoi.
-
Uses of Token in com.mckoi.database.interpret
Methods in com.mckoi.database.interpret with parameters of type Token -
Uses of Token in com.mckoi.database.sql
Fields in com.mckoi.database.sql declared as TokenModifier and TypeFieldDescriptionParseException.currentToken
This is the last token that has been consumed successfully.SQL.jj_nt
Token.next
A reference to the next regular (non-special) token from the input stream.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.SQL.token
Methods in com.mckoi.database.sql that return TokenModifier and TypeMethodDescriptionfinal Token
SQL.FunctionIdentifier()
final Token
SQL.getNextToken()
final Token
SQLTokenManager.getNextToken()
final Token
SQL.getToken
(int index) static final Token
Token.newToken
(int ofKind) Returns a new Token object, by default.final Token
SQL.SQLIdentifier()
Methods in com.mckoi.database.sql with parameters of type TokenModifier and TypeMethodDescriptionstatic String
Util.asNonQuotedRef
(Token token) Returns the Token as a non quoted reference.static TObject
Util.parseNumberToken
(Token token, boolean negative) Parses a NUMBER_LITERAL Token with a sign boolean.static Object
Util.toParamObject
(Token token, boolean upper_identifiers) Converts a Token which is either a STRING_LITERAL, NUMBER_LITERAL or IDENTIFIER into a Java Object.Constructors in com.mckoi.database.sql with parameters of type TokenModifierConstructorDescriptionParseException
(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.