ANTLR4 infrastructure to handle query language parser.