Package edu.caltech.nanodb.sqlparse
Class NanoSQLLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- edu.caltech.nanodb.sqlparse.NanoSQLLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class NanoSQLLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
private static java.lang.String[]
_LITERAL_NAMES
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
private static java.lang.String[]
_SYMBOLIC_NAMES
static int
ADD
static int
ALL
static int
ALTER
static int
ANALYZE
static int
AND
static int
ANY
static int
AS
static int
ASC
static int
ASCENDING
static int
BEGIN
static int
BETWEEN
static int
BY
static int
CASCADE
static java.lang.String[]
channelNames
static int
CHECK
static int
COLUMN
static int
COMMENT
static int
COMMIT
static int
CONSTRAINT
static int
CRASH
static int
CREATE
static int
CROSS
static int
DECIMAL_LITERAL
static int
DEFAULT
static int
DELETE
static int
DESC
static int
DESCENDING
static int
DISTINCT
static int
DROP
static int
DUMP
static int
EXCEPT
static int
EXISTS
static int
EXIT
static int
EXPLAIN
static int
FALSE
static int
FILE
static int
FLUSH
static int
FOREIGN
static int
FORMAT
static int
FROM
static int
FULL
static int
GROUP
static int
HAVING
static int
IDENT
static int
IF
static int
IN
static int
INDEX
static int
INNER
static int
INSERT
static int
INT_LITERAL
static int
INTERSECT
static int
INTERVAL
static int
INTO
static int
IS
static int
JOIN
static int
KEY
static int
LEFT
static int
LIKE
static int
LIMIT
static int
LINE_COMMENT
static int
MINUS
static java.lang.String[]
modeNames
static int
NATURAL
static int
NOT
static int
NULL
static int
OFFSET
static int
ON
static int
OPTIMIZE
static int
OR
static int
ORDER
static int
OUTER
static int
PRIMARY
static int
PROPERTIES
static int
PROPERTY
static int
QUIT
static int
RECURSIVE
static int
REFERENCES
static int
RENAME
static int
RESTRICT
static int
RIGHT
static int
ROLLBACK
static java.lang.String[]
ruleNames
static int
SELECT
static int
SET
static int
SHOW
static int
SIMILAR
static int
SOME
static int
START
static int
STATS
static int
STRING_LITERAL
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
static int
T__2
static int
T__3
static int
T__4
static int
T__5
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static int
TABLE
static int
TABLES
static int
TEMPORARY
static int
TO
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TRANSACTION
static int
TRUE
static int
TYPE
static int
TYPE_BIGINT
static int
TYPE_BLOB
static int
TYPE_CHAR
static int
TYPE_CHARACTER
static int
TYPE_DATE
static int
TYPE_DATETIME
static int
TYPE_DECIMAL
static int
TYPE_DOUBLE
static int
TYPE_FLOAT
static int
TYPE_INT
static int
TYPE_INTEGER
static int
TYPE_NUMERIC
static int
TYPE_SMALLINT
static int
TYPE_TEXT
static int
TYPE_TIME
static int
TYPE_TIMESTAMP
static int
TYPE_TINYINT
static int
TYPE_VARCHAR
static int
TYPE_VARYING
static int
UNION
static int
UNIQUE
static int
UNKNOWN
static int
UPDATE
static int
USING
static int
VALUES
static int
VERBOSE
static int
VERIFY
static int
VIEW
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WHERE
static int
WITH
static int
WORK
static int
WS
-
Fields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
-
-
Constructor Summary
Constructors Constructor Description NanoSQLLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATN
getATN()
java.lang.String[]
getChannelNames()
java.lang.String
getGrammarFileName()
java.lang.String[]
getModeNames()
java.lang.String[]
getRuleNames()
java.lang.String
getSerializedATN()
java.lang.String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
T__16
public static final int T__16
- See Also:
- Constant Field Values
-
T__17
public static final int T__17
- See Also:
- Constant Field Values
-
ADD
public static final int ADD
- See Also:
- Constant Field Values
-
ALL
public static final int ALL
- See Also:
- Constant Field Values
-
ALTER
public static final int ALTER
- See Also:
- Constant Field Values
-
ANALYZE
public static final int ANALYZE
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
ANY
public static final int ANY
- See Also:
- Constant Field Values
-
AS
public static final int AS
- See Also:
- Constant Field Values
-
ASC
public static final int ASC
- See Also:
- Constant Field Values
-
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
-
BEGIN
public static final int BEGIN
- See Also:
- Constant Field Values
-
BETWEEN
public static final int BETWEEN
- See Also:
- Constant Field Values
-
BY
public static final int BY
- See Also:
- Constant Field Values
-
CASCADE
public static final int CASCADE
- See Also:
- Constant Field Values
-
CHECK
public static final int CHECK
- See Also:
- Constant Field Values
-
COLUMN
public static final int COLUMN
- See Also:
- Constant Field Values
-
COMMIT
public static final int COMMIT
- See Also:
- Constant Field Values
-
CONSTRAINT
public static final int CONSTRAINT
- See Also:
- Constant Field Values
-
CRASH
public static final int CRASH
- See Also:
- Constant Field Values
-
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
-
CROSS
public static final int CROSS
- See Also:
- Constant Field Values
-
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
-
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
-
DESC
public static final int DESC
- See Also:
- Constant Field Values
-
DESCENDING
public static final int DESCENDING
- See Also:
- Constant Field Values
-
DISTINCT
public static final int DISTINCT
- See Also:
- Constant Field Values
-
DROP
public static final int DROP
- See Also:
- Constant Field Values
-
DUMP
public static final int DUMP
- See Also:
- Constant Field Values
-
EXCEPT
public static final int EXCEPT
- See Also:
- Constant Field Values
-
EXISTS
public static final int EXISTS
- See Also:
- Constant Field Values
-
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
-
EXPLAIN
public static final int EXPLAIN
- See Also:
- Constant Field Values
-
FALSE
public static final int FALSE
- See Also:
- Constant Field Values
-
FILE
public static final int FILE
- See Also:
- Constant Field Values
-
FLUSH
public static final int FLUSH
- See Also:
- Constant Field Values
-
FOREIGN
public static final int FOREIGN
- See Also:
- Constant Field Values
-
FORMAT
public static final int FORMAT
- See Also:
- Constant Field Values
-
FROM
public static final int FROM
- See Also:
- Constant Field Values
-
FULL
public static final int FULL
- See Also:
- Constant Field Values
-
GROUP
public static final int GROUP
- See Also:
- Constant Field Values
-
HAVING
public static final int HAVING
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
IN
public static final int IN
- See Also:
- Constant Field Values
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
INNER
public static final int INNER
- See Also:
- Constant Field Values
-
INSERT
public static final int INSERT
- See Also:
- Constant Field Values
-
INTERSECT
public static final int INTERSECT
- See Also:
- Constant Field Values
-
INTERVAL
public static final int INTERVAL
- See Also:
- Constant Field Values
-
INTO
public static final int INTO
- See Also:
- Constant Field Values
-
IS
public static final int IS
- See Also:
- Constant Field Values
-
JOIN
public static final int JOIN
- See Also:
- Constant Field Values
-
KEY
public static final int KEY
- See Also:
- Constant Field Values
-
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
-
LIKE
public static final int LIKE
- See Also:
- Constant Field Values
-
LIMIT
public static final int LIMIT
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
NATURAL
public static final int NATURAL
- See Also:
- Constant Field Values
-
NOT
public static final int NOT
- See Also:
- Constant Field Values
-
NULL
public static final int NULL
- See Also:
- Constant Field Values
-
OFFSET
public static final int OFFSET
- See Also:
- Constant Field Values
-
ON
public static final int ON
- See Also:
- Constant Field Values
-
OPTIMIZE
public static final int OPTIMIZE
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
ORDER
public static final int ORDER
- See Also:
- Constant Field Values
-
OUTER
public static final int OUTER
- See Also:
- Constant Field Values
-
PRIMARY
public static final int PRIMARY
- See Also:
- Constant Field Values
-
PROPERTIES
public static final int PROPERTIES
- See Also:
- Constant Field Values
-
PROPERTY
public static final int PROPERTY
- See Also:
- Constant Field Values
-
QUIT
public static final int QUIT
- See Also:
- Constant Field Values
-
RECURSIVE
public static final int RECURSIVE
- See Also:
- Constant Field Values
-
REFERENCES
public static final int REFERENCES
- See Also:
- Constant Field Values
-
RENAME
public static final int RENAME
- See Also:
- Constant Field Values
-
RESTRICT
public static final int RESTRICT
- See Also:
- Constant Field Values
-
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
-
ROLLBACK
public static final int ROLLBACK
- See Also:
- Constant Field Values
-
SELECT
public static final int SELECT
- See Also:
- Constant Field Values
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
SHOW
public static final int SHOW
- See Also:
- Constant Field Values
-
SIMILAR
public static final int SIMILAR
- See Also:
- Constant Field Values
-
SOME
public static final int SOME
- See Also:
- Constant Field Values
-
START
public static final int START
- See Also:
- Constant Field Values
-
STATS
public static final int STATS
- See Also:
- Constant Field Values
-
TABLE
public static final int TABLE
- See Also:
- Constant Field Values
-
TABLES
public static final int TABLES
- See Also:
- Constant Field Values
-
TEMPORARY
public static final int TEMPORARY
- See Also:
- Constant Field Values
-
TO
public static final int TO
- See Also:
- Constant Field Values
-
TRANSACTION
public static final int TRANSACTION
- See Also:
- Constant Field Values
-
TRUE
public static final int TRUE
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
UNION
public static final int UNION
- See Also:
- Constant Field Values
-
UNIQUE
public static final int UNIQUE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
-
UPDATE
public static final int UPDATE
- See Also:
- Constant Field Values
-
USING
public static final int USING
- See Also:
- Constant Field Values
-
VALUES
public static final int VALUES
- See Also:
- Constant Field Values
-
VERBOSE
public static final int VERBOSE
- See Also:
- Constant Field Values
-
VERIFY
public static final int VERIFY
- See Also:
- Constant Field Values
-
VIEW
public static final int VIEW
- See Also:
- Constant Field Values
-
WHERE
public static final int WHERE
- See Also:
- Constant Field Values
-
WITH
public static final int WITH
- See Also:
- Constant Field Values
-
WORK
public static final int WORK
- See Also:
- Constant Field Values
-
TYPE_BIGINT
public static final int TYPE_BIGINT
- See Also:
- Constant Field Values
-
TYPE_BLOB
public static final int TYPE_BLOB
- See Also:
- Constant Field Values
-
TYPE_CHAR
public static final int TYPE_CHAR
- See Also:
- Constant Field Values
-
TYPE_CHARACTER
public static final int TYPE_CHARACTER
- See Also:
- Constant Field Values
-
TYPE_DATE
public static final int TYPE_DATE
- See Also:
- Constant Field Values
-
TYPE_DATETIME
public static final int TYPE_DATETIME
- See Also:
- Constant Field Values
-
TYPE_DECIMAL
public static final int TYPE_DECIMAL
- See Also:
- Constant Field Values
-
TYPE_FLOAT
public static final int TYPE_FLOAT
- See Also:
- Constant Field Values
-
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- See Also:
- Constant Field Values
-
TYPE_INT
public static final int TYPE_INT
- See Also:
- Constant Field Values
-
TYPE_INTEGER
public static final int TYPE_INTEGER
- See Also:
- Constant Field Values
-
TYPE_NUMERIC
public static final int TYPE_NUMERIC
- See Also:
- Constant Field Values
-
TYPE_SMALLINT
public static final int TYPE_SMALLINT
- See Also:
- Constant Field Values
-
TYPE_TEXT
public static final int TYPE_TEXT
- See Also:
- Constant Field Values
-
TYPE_TIME
public static final int TYPE_TIME
- See Also:
- Constant Field Values
-
TYPE_TIMESTAMP
public static final int TYPE_TIMESTAMP
- See Also:
- Constant Field Values
-
TYPE_TINYINT
public static final int TYPE_TINYINT
- See Also:
- Constant Field Values
-
TYPE_VARCHAR
public static final int TYPE_VARCHAR
- See Also:
- Constant Field Values
-
TYPE_VARYING
public static final int TYPE_VARYING
- See Also:
- Constant Field Values
-
IDENT
public static final int IDENT
- See Also:
- Constant Field Values
-
INT_LITERAL
public static final int INT_LITERAL
- See Also:
- Constant Field Values
-
DECIMAL_LITERAL
public static final int DECIMAL_LITERAL
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Overrides:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] getModeNames()
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-