classUtils.javassist.compiler.ast
Class ASTree
java.lang.Object
   classUtils.javassist.compiler.ast.ASTree
classUtils.javassist.compiler.ast.ASTree
- All Implemented Interfaces: 
- java.io.Serializable
- Direct Known Subclasses: 
- ASTList, DoubleConst, IntConst, Keyword, Pair, StringL, Symbol
- public abstract class ASTree 
- extends java.lang.Object- implements java.io.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:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
ASTree
public ASTree()
getLeft
public ASTree getLeft()
- 
 
- 
 
getRight
public ASTree getRight()
- 
 
- 
 
setLeft
public void setLeft(ASTree _left)
- 
 
- 
 
setRight
public void setRight(ASTree _right)
- 
 
- 
 
accept
public abstract void accept(Visitor v)
                     throws CompileError
- Is a method for the visitor pattern.  It calls
 atXXX()on the given visitor, whereXXXis the class name of the node object.
 
- 
 
- 
- Throws:
- CompileError
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
-