public boolean matches(ParseTree tree) {
		return matcher.match(tree, this).succeeded();
	}
Determine whether or not a parse tree matches this tree pattern.

@param tree The parse tree to match against this tree pattern.
@return {@code true} if {@code tree} is a match for the current tree
pattern; otherwise, {@code false}.
runtime/Java/src/org/antlr/v4/runtime/tree/pattern/ParseTreePattern.java