public Matches ( IParseTree tree, string pattern, int patternRuleIndex ) : bool | ||
tree | IParseTree | |
pattern | string | |
patternRuleIndex | int | |
return | bool |
public virtual bool Matches(IParseTree tree, string pattern, int patternRuleIndex)
{
ParseTreePattern p = Compile(pattern, patternRuleIndex);
return Matches(tree, p);
}
ParseTreePatternMatcher::Matches ( IParseTree tree, |