Package javassist.compiler.ast
Class ASTree
java.lang.Object
javassist.compiler.ast.ASTree
- All Implemented Interfaces:
Serializable
Abstract Syntax Tree. An ASTree object represents a node of
a binary tree. If the node is a leaf node, both
getLeft()
and getRight()
returns null.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
default serialVersionUID -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDdefault serialVersionUID- See Also:
-
-
Constructor Details
-
ASTree
public ASTree()
-
-
Method Details
-
getLeft
-
getRight
-
setLeft
-
setRight
-
accept
Is a method for the visitor pattern. It callsatXXX()
on the given visitor, whereXXX
is the class name of the node object.- Throws:
CompileError
-
toString
-
getTag
Returns the type of this node. This method is used bytoString()
.
-