Property | Type | Description | |
---|---|---|---|
FindAll | IList |
||
Match |
Method | Description | |
---|---|---|
Matches ( IParseTree tree ) : bool |
Determine whether or not a parse tree matches this tree pattern. Determine whether or not a parse tree matches this tree pattern. |
|
ParseTreePattern ( |
Construct a new instance of the ParseTreePattern class.
|
Method | Description | |
---|---|---|
FindAll ( IParseTree tree, string xpath ) : IList |
||
Match ( IParseTree tree ) : |
public Matches ( IParseTree tree ) : bool | ||
tree | IParseTree | The parse tree to match against this tree pattern. |
return | bool |
public ParseTreePattern ( |
||
matcher |
/// The
/// |
|
pattern | string | The tree pattern in concrete syntax form. |
patternRuleIndex | int | /// The parser rule which serves as the root of the /// tree pattern. /// |
patternTree | IParseTree |
/// The tree pattern in
/// |
return | System.Collections.Generic |