public ParseTreePattern compileParseTreePattern(String pattern, int patternRuleIndex,
													Lexer lexer)
	{
		ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);
		return m.compile(pattern, patternRuleIndex);
	}
The same as {@link #compileParseTreePattern(String, int)} but specify a
{@link Lexer} rather than trying to deduce it from this parser.
runtime/Java/src/org/antlr/v4/runtime/Parser.java