public static class InputPanel.TRegexGUITreeVisitor extends Object implements TreeVisitor
Modifier and Type | Method and Description |
---|---|
String |
getFilename() |
Map<TreeFromFile,List<Tree>> |
getMatchedParts() |
List<TreeFromFile> |
getMatches() |
TregexPattern |
getPattern() |
int |
numUniqueMatches()
Method for returning the number of matches found in the last tree
visited by this tree visitor.
|
void |
setFilename(String curFilename) |
void |
visitTree(Tree t)
Does whatever one needs to do to a particular parse tree.
|
public Map<TreeFromFile,List<Tree>> getMatchedParts()
public void visitTree(Tree t)
TreeVisitor
visitTree
in interface TreeVisitor
t
- A tree. Classes implementing this interface can assume
that the tree passed in is not null
.public int numUniqueMatches()
public List<TreeFromFile> getMatches()
public String getFilename()
public void setFilename(String curFilename)
public TregexPattern getPattern()