A subclass of Tree.Visitor, this class defines
a general tree scanner pattern. Translation proceeds recursively in
left-to-right order down a tree. There is one visitor method in this class
for every possible kind of tree node. To obtain a specific
scanner, it suffices to override those visitor methods which
do some interesting work. The scanner class itself takes care of all
navigational aspects.
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
Method Summary
public void
scan(JCTree tree) Visitor method: Scan a single node.
public void
scan(List<? extends JCTree> trees) Visitor method: scan a list of nodes.