public class ANTLR4Parser extends AbstractParser {
@Override
protected AbstractExpression doParse(String query) throws ParsingException {
CharStream charStream = new ANTLRInputStream(query);
jcfLexer lexer = new jcfLexer(charStream);
CommonTokenStream tokens = new CommonTokenStream(lexer);
jcfParser parser = new jcfParser(tokens);
parser.setErrorHandler(new ExceptionErrorStrategy());
parser.query();