public class CoindexNodes extends TsurgeonPattern
| Constructor and Description |
|---|
CoindexNodes(TsurgeonPattern[] children) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
evaluate(Tree t,
TregexMatcher m)
Evaluates the pattern against a
Tree and a TregexMatcher
that has been successfully matched against the tree. |
setRoot, toStringpublic CoindexNodes(TsurgeonPattern[] children)
public Tree evaluate(Tree t, TregexMatcher m)
TsurgeonPatternTree and a TregexMatcher
that has been successfully matched against the tree.evaluate in class TsurgeonPatternt - the Tree that has been matched upon; typically this tree will be destructively modified.m - the successfully matched TregexMatcher