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, 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, token
public 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 Lexer
public void scanIdentifier()
scanIdentifier
in class Lexer
public void skipFirstHintsOrMultiCommentAndNextToken()
public void scanComment()
scanComment
in class Lexer
public static boolean isIdentifierChar(char c)
public void scanNumber()
scanNumber
in class Lexer
Copyright © 2013–2017 Alibaba Group. All rights reserved.