public class OdpsLexer extends Lexer
Lexer.CommentHandler, Lexer.SavePoint| Modifier and Type | Field and Description |
|---|---|
static Keywords |
DEFAULT_ODPS_KEYWORDS |
| Constructor and Description |
|---|
OdpsLexer(String input) |
OdpsLexer(String input,
boolean skipComment,
boolean keepComments) |
OdpsLexer(String input,
Lexer.CommentHandler commentHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
scanComment() |
void |
scanIdentifier() |
void |
scanNumber() |
void |
scanVariable() |
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, scanSharp, setAllowComment, setCommentHandler, setKeepComments, skipToEOF, stringVal, sub_chars, subString, tokenpublic static final Keywords DEFAULT_ODPS_KEYWORDS
public OdpsLexer(String input)
public OdpsLexer(String input, boolean skipComment, boolean keepComments)
public OdpsLexer(String input, Lexer.CommentHandler commentHandler)
public void scanComment()
scanComment in class Lexerpublic void scanIdentifier()
scanIdentifier in class Lexerpublic void scanNumber()
scanNumber in class Lexerpublic void scanVariable()
scanVariable in class LexerCopyright © 2013–2018 Alibaba Group. All rights reserved.