com.alibaba.druid.sql.dialect.mysql.parser
Class MySqlLexer

java.lang.Object
  extended by com.alibaba.druid.sql.parser.Lexer
      extended by com.alibaba.druid.sql.dialect.mysql.parser.MySqlLexer

public class MySqlLexer
extends Lexer


Field Summary
static Keywords DEFAULT_MYSQL_KEYWORDS
           
 
Constructor Summary
MySqlLexer(char[] input, int inputLength, boolean skipComment)
           
MySqlLexer(String input)
           
 
Method Summary
 void scanComment()
           
 void scanIdentifier()
           
 void scanVariable()
           
 
Methods inherited from class com.alibaba.druid.sql.parser.Lexer
addSymbol, arraycopy, bp, charAt, current, decimalValue, getKeywods, hexString, info, integerValue, isAllowComment, isDigit, isEOF, mark, nextToken, nextVarIndex, numberString, pos, reset, reset, scanHexaDecimal, scanNumber, setAllowComment, stringVal, subString, token
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MYSQL_KEYWORDS

public static final Keywords DEFAULT_MYSQL_KEYWORDS
Constructor Detail

MySqlLexer

public MySqlLexer(char[] input,
                  int inputLength,
                  boolean skipComment)

MySqlLexer

public MySqlLexer(String input)
Method Detail

scanVariable

public void scanVariable()
Overrides:
scanVariable in class Lexer

scanIdentifier

public void scanIdentifier()
Overrides:
scanIdentifier in class Lexer

scanComment

public void scanComment()
Overrides:
scanComment in class Lexer


Copyright © 2012 Alibaba Group. All Rights Reserved.