Package javassist.compiler.ast
Class Pair
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description protected ASTree
left
protected ASTree
right
private static long
serialVersionUID
default serialVersionUID
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
default serialVersionUID- See Also:
- Constant Field Values
-
left
protected ASTree left
-
right
protected ASTree right
-
-
Method Detail
-
accept
public void accept(Visitor v) throws CompileError
Description copied from class:ASTree
Is a method for the visitor pattern. It callsatXXX()
on the given visitor, whereXXX
is the class name of the node object.- Specified by:
accept
in classASTree
- Throws:
CompileError
-
-