public class MySqlLexer extends Lexer
Lexer.CommentHandler, Lexer.SavePoint| 限定符和类型 | 字段和说明 |
|---|---|
static Keywords |
DEFAULT_MYSQL_KEYWORDS |
private static boolean[] |
identifierFlags |
static SymbolTable |
quoteTable |
buf, bufPos, ch, commentCount, commentHandler, comments, dbType, endOfComment, features, hash, hash_lower, keepComments, keywods, line, lines, mark, optimizedForParameterized, pos, skipComment, stringVal, symbols_l2, text, token| 构造器和说明 |
|---|
MySqlLexer(char[] input,
int inputLength,
boolean skipComment) |
MySqlLexer(String input) |
MySqlLexer(String input,
boolean skipComment,
boolean keepComments) |
MySqlLexer(String input,
SQLParserFeature... features) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isIdentifierChar(char c) |
void |
scanComment() |
void |
scanIdentifier() |
void |
scanNumber() |
void |
scanSharp() |
protected void |
scanString() |
protected void |
scanVariable_at() |
void |
scanVariable() |
void |
skipFirstHintsOrMultiCommentAndNextToken() |
addComment, addSymbol, arraycopy, bp, charAt, computeRowAndColumn, config, current, decimalValue, getCommentCount, getCommentHandler, getDbType, getKeywods, getLine, getPosColumn, getPosLine, getSource, hasComment, hash_lower, hexString, identifierEquals, identifierEquals, info, initBuff, integerValue, isAllowComment, isDigit, isEnabled, isEndOfComment, isEOF, isKeepComments, isSafeComment, lexError, mark, nextToken, nextTokenBy, nextTokenComma, nextTokenCommaValue, nextTokenEq, nextTokenIdent, nextTokenLParen, nextTokenNotOrNull, nextTokenValue, nextVarIndex, numberExpr, numberExpr, numberString, parameterize, pos, putChar, readAndResetComments, reset, reset, reset, reset, scanAlias, scanChar, scanHexaDecimal, scanLBracket, scanString2_d, scanString2, setAllowComment, setCommentHandler, setKeepComments, skipToEOF, stringVal, sub_chars, subString, token, unscanpublic static SymbolTable quoteTable
public static final Keywords DEFAULT_MYSQL_KEYWORDS
private static final boolean[] identifierFlags
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 在类中 Lexerprotected void scanVariable_at()
scanVariable_at 在类中 Lexerpublic void scanIdentifier()
scanIdentifier 在类中 Lexerprotected final void scanString()
scanString 在类中 Lexerpublic void skipFirstHintsOrMultiCommentAndNextToken()
public void scanComment()
scanComment 在类中 Lexerpublic static boolean isIdentifierChar(char c)
public void scanNumber()
scanNumber 在类中 LexerCopyright © 2013–2019 Alibaba Group. All rights reserved.