public class ATBCorrector extends java.lang.Object implements TreeTransformer
Also cleans up some of the headlines, and other weirdly tokenized sentences.
| Constructor and Description |
|---|
ATBCorrector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
Tree |
transformTree(Tree t)
Does whatever one needs to do to a particular tree.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic Tree transformTree(Tree t)
TreeTransformerTree, and could itself
work recursively, but the canonical usage is to invoke this method
via the Tree.transform() method, which will apply the
transformer in a bottom-up manner to each local Tree,
and hence the implementation of TreeTransformer should
merely examine and change a local (one-level) Tree.transformTree in interface TreeTransformert - A tree. Classes implementing this interface can assume
that the tree passed in is not null.Treepublic static void main(java.lang.String[] args)
args -