code: public static EventFilterParser createParser(String input) {
      	    ANTLRStringStream inputStream = new ANTLRStringStream(input);
      		EventFilterLexer lexer = new EventFilterLexer(inputStream);
      		CommonTokenStream tokens = new CommonTokenStream(lexer); 
      		
      		return new EventFilterParser(tokens);
          }
docs: Creates a new parser that parses the given input string.