Class MySqlLexer


  • public class MySqlLexer
    extends Lexer
    • Constructor Detail

      • MySqlLexer

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

        public MySqlLexer​(String input)
      • MySqlLexer

        public MySqlLexer​(String input,
                          boolean skipComment,
                          boolean keepComments)
    • Method Detail

      • scanSharp

        public void scanSharp()
        Overrides:
        scanSharp in class Lexer
      • scanString

        protected final void scanString()
        Overrides:
        scanString in class Lexer
      • skipFirstHintsOrMultiCommentAndNextToken

        public void skipFirstHintsOrMultiCommentAndNextToken()
      • scanComment

        public void scanComment()
        Overrides:
        scanComment in class Lexer
      • isIdentifierChar

        public static boolean isIdentifierChar​(char c)
      • isIdentifierCharForVariable

        public static boolean isIdentifierCharForVariable​(char c)
        employee.code=:employee.code 解析异常 修复:变量名支持含符号.
        Parameters:
        c - the character to check
        Returns:
        true if the character is a valid identifier character for variables; otherwise false