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) |
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, token
public static final Keywords DEFAULT_MYSQL_KEYWORDS
public MySqlLexer(char[] input, int inputLength, boolean skipComment)
public MySqlLexer(String input)
public void scanVariable()
scanVariable
in class Lexer
public void scanIdentifier()
scanIdentifier
in class Lexer
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.