public Expr parse(String sql) {
ANTLRInputStream input = new ANTLRInputStream(sql);
SQLLexer lexer = new SQLLexer(input);
CommonTokenStream tokens = new CommonTokenStream(lexer);
this.parser = new SQLParser(tokens);
parser.setBuildParseTree(true);
parser.removeErrorListeners();
parser.setErrorHandler(new SQLErrorStrategy());
parser.addErrorListener(new SQLErrorListener());