ParseTreePatternMatcher.matches

@uml Does {@code pattern} matched as rule patternRuleIndex match tree? Pass in a compiled pattern instead of a string representation of a tree pattern.

  1. bool matches(ParseTree tree, string pattern, int patternRuleIndex)
  2. bool matches(ParseTree tree, ParseTreePattern pattern)
    class ParseTreePatternMatcher

Meta