public class MySqlLexer extends Lexer
Lexer.CommentHandler| Modifier and Type | Field and Description |
|---|---|
static Keywords |
DEFAULT_MYSQL_KEYWORDS |
| Constructor and Description |
|---|
MySqlLexer(char[] input,
int inputLength,
boolean skipComment) |
MySqlLexer(String input) |
MySqlLexer(String input,
boolean skipComment,
boolean keepComments) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isIdentifierChar(char c) |
void |
scanComment() |
void |
scanIdentifier() |
void |
scanNumber() |
void |
scanSharp() |
void |
scanVariable() |
addSymbol, arraycopy, bp, charAt, current, decimalValue, getCommentCount, getCommentHandler, getDbType, getKeywods, getLine, hasComment, hexString, info, integerValue, isAllowComment, isDigit, isEndOfComment, isEOF, isKeepComments, mark, nextToken, nextTokenComma, nextTokenLParen, nextTokenValue, nextVarIndex, numberString, pos, readAndResetComments, reset, reset, scanHexaDecimal, setAllowComment, setCommentHandler, setKeepComments, skipToEOF, stringVal, subString, tokenpublic static final Keywords DEFAULT_MYSQL_KEYWORDS
public MySqlLexer(char[] input,
int inputLength,
boolean skipComment)
public MySqlLexer(String input)
public MySqlLexer(String input, boolean skipComment, boolean keepComments)
public void scanVariable()
scanVariable in class Lexerpublic void scanIdentifier()
scanIdentifier in class Lexerpublic void scanComment()
scanComment in class Lexerpublic static boolean isIdentifierChar(char c)
public void scanNumber()
scanNumber in class LexerCopyright © 2013–2017 Alibaba Group. All rights reserved.