FileDocCategorySizeDatePackage
Tree.javaAPI DocJava SE 6 API16004Tue Jun 10 00:23:26 BST 2008com.sun.source.tree

Tree

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.

author
Peter von der Ahé
author
Jonathan Gibbons
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public Raccept(com.sun.source.tree.TreeVisitor visitor, D data)
Accept method used to implement the visitor pattern. The visitor pattern is used to implement operations on trees.

param
result type of this operation.
param
type of additonal data.

public com.sun.source.tree.Tree$KindgetKind()
Gets the kind of this tree.

return
the kind of this tree.