Constructs a {@link ParseTreePatternMatcher} or from a {@link Lexer} and
{@link Parser} object. The lexer input stream is altered for tokenizing
the tree patterns. The parser is used as a convenient mechanism to get
the grammar name, plus token, rule names.
Constructs a {@link ParseTreePatternMatcher} or from a {@link Lexer} and {@link Parser} object. The lexer input stream is altered for tokenizing the tree patterns. The parser is used as a convenient mechanism to get the grammar name, plus token, rule names.