public class MySqlLexer extends Lexer
Lexer.CommentHandler, Lexer.SavePoint| Modifier and Type | Field and Description |
|---|---|
static Keywords |
DEFAULT_MYSQL_KEYWORDS |
static SymbolTable |
quoteTable |
| Constructor and Description |
|---|
MySqlLexer(char[] input,
int inputLength,
boolean skipComment) |
MySqlLexer(String input) |
MySqlLexer(String input,
boolean skipComment,
boolean keepComments) |
MySqlLexer(String input,
SQLParserFeature... features) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isIdentifierChar(char c) |
void |
scanComment() |
void |
scanIdentifier() |
void |
scanNumber() |
void |
scanSharp() |
void |
scanVariable() |
void |
skipFirstHintsOrMultiCommentAndNextToken() |
addSymbol, arraycopy, bp, charAt, computeRowAndColumn, config, current, decimalValue, getCommentCount, getCommentHandler, getDbType, getKeywods, getLine, getPosColumn, getPosLine, getSource, hasComment, hash_lower, hexString, identifierEquals, identifierEquals, info, integerValue, isAllowComment, isDigit, isEnabled, isEndOfComment, isEOF, isKeepComments, mark, nextToken, nextTokenBy, nextTokenComma, nextTokenCommaValue, nextTokenEq, nextTokenIdent, nextTokenLParen, nextTokenNotOrNull, nextTokenValue, nextVarIndex, numberExpr, numberExpr, numberString, parameterize, pos, readAndResetComments, reset, reset, reset, reset, scanHexaDecimal, setAllowComment, setCommentHandler, setKeepComments, skipToEOF, stringVal, sub_chars, subString, tokenpublic static SymbolTable quoteTable
public static final Keywords DEFAULT_MYSQL_KEYWORDS
public MySqlLexer(char[] input,
int inputLength,
boolean skipComment)
public MySqlLexer(String input)
public MySqlLexer(String input, SQLParserFeature... features)
public MySqlLexer(String input, boolean skipComment, boolean keepComments)
public void scanVariable()
scanVariable in class Lexerpublic void scanIdentifier()
scanIdentifier in class Lexerpublic void skipFirstHintsOrMultiCommentAndNextToken()
public void scanComment()
scanComment in class Lexerpublic static boolean isIdentifierChar(char c)
public void scanNumber()
scanNumber in class LexerCopyright © 2013–2018 Alibaba Group. All rights reserved.