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