|
Compiler Tree API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tree
Common interface for all nodes in an abstract syntax tree.
WARNING: This interface and its sub-interfaces are subject to change as the Java™ programming language evolves. These interfaces are implemented by Sun's Java compiler (javac) and should not be implemented either directly or indirectly by other applications.
| Nested Class Summary | |
|---|---|
static class |
Tree.Kind
Enumerates all kinds of trees. |
| Method Summary | ||
|---|---|---|
|
accept(TreeVisitor<R,D> visitor,
D data)
Accept method used to implement the visitor pattern. |
|
Tree.Kind |
getKind()
Gets the kind of this tree. |
|
| Method Detail |
|---|
Tree.Kind getKind()
<R,D> R accept(TreeVisitor<R,D> visitor,
D data)
R - result type of this operation.D - type of additonal data.
|
Compiler Tree API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||