Antlr4.Runtime.Tree.Pattern.ParseTreePatternMatcher.Matches C# (CSharp) Метод

Matches() публичный Метод

Does pattern matched as rule patternRuleIndex match tree ?
public Matches ( IParseTree tree, string pattern, int patternRuleIndex ) : bool
tree IParseTree
pattern string
patternRuleIndex int
Результат bool
        public virtual bool Matches(IParseTree tree, string pattern, int patternRuleIndex)
        {
            ParseTreePattern p = Compile(pattern, patternRuleIndex);
            return Matches(tree, p);
        }

Same methods

ParseTreePatternMatcher::Matches ( IParseTree tree, ParseTreePattern pattern ) : bool