classUtils.javassist.compiler.ast
Class Pair
java.lang.Object
   classUtils.javassist.compiler.ast.ASTree
classUtils.javassist.compiler.ast.ASTree
       classUtils.javassist.compiler.ast.Pair
classUtils.javassist.compiler.ast.Pair
- All Implemented Interfaces: 
- java.io.Serializable
- public class Pair 
- extends ASTree
A node of a a binary tree.  This class provides concrete methods
 overriding abstract methods in ASTree.
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
Pair
public Pair(ASTree _left,
            ASTree _right)
accept
public void accept(Visitor v)
            throws CompileError
- Description copied from class: ASTree
- Is a method for the visitor pattern.  It calls
 atXXX()on the given visitor, whereXXXis the class name of the node object.
 
- 
- Specified by:
- acceptin class- ASTree
 
- 
- Throws:
- CompileError
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- ASTree
 
- 
 
getLeft
public ASTree getLeft()
- 
- Overrides:
- getLeftin class- ASTree
 
- 
 
getRight
public ASTree getRight()
- 
- Overrides:
- getRightin class- ASTree
 
- 
 
setLeft
public void setLeft(ASTree _left)
- 
- Overrides:
- setLeftin class- ASTree
 
- 
 
setRight
public void setRight(ASTree _right)
- 
- Overrides:
- setRightin class- ASTree
 
-