ParseTreeMatch constructor
ParseTreeMatch(
- ParseTree tree,
- ParseTreePattern pattern,
- MultiMap<
String, ParseTree> labels, - ParseTree? mismatchedNode,
Constructs a new instance of ParseTreeMatch from the specified parse tree and pattern.
@param tree The parse tree to match against the pattern. @param pattern The parse tree pattern. @param labels A mapping from label names to collections of ParseTree objects located by the tree pattern matching process. @param mismatchedNode The first node which failed to match the tree pattern during the matching process.
Implementation
ParseTreeMatch(this.tree, this.pattern, this.labels, this.mismatchedNode);