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, 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, token
public 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 Lexer
public void scanIdentifier()
scanIdentifier
in class Lexer
public void scanNumber()
scanNumber
in class Lexer
public void scanVariable()
scanVariable
in class Lexer
Copyright © 2013–2017 Alibaba Group. All rights reserved.