Antlr4.Runtime.Tree.Pattern.ParseTreePattern.Matches C# (CSharp) Method

Matches() public method

Determine whether or not a parse tree matches this tree pattern.
Determine whether or not a parse tree matches this tree pattern.
public Matches ( IParseTree tree ) : bool
tree IParseTree The parse tree to match against this tree pattern.
return bool
        public virtual bool Matches(IParseTree tree)
        {
            return matcher.Match(tree, this).Succeeded;
        }