ParseTreePatternMatcher.matches

Does {@code pattern} matched as rule {@code patternRuleIndex} match {@code tree}?

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

Meta