Serializable
public abstract class ASTree extends Object implements Serializable
getLeft()
and getRight()
returns null.Constructor | Description |
---|---|
ASTree() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
accept(Visitor v) |
Is a method for the visitor pattern.
|
ASTree |
getLeft() |
|
ASTree |
getRight() |
|
protected String |
getTag() |
Returns the type of this node.
|
void |
setLeft(ASTree _left) |
|
void |
setRight(ASTree _right) |
|
String |
toString() |
public ASTree getLeft()
public ASTree getRight()
public void setLeft(ASTree _left)
public void setRight(ASTree _right)
public abstract void accept(Visitor v) throws CompileError
atXXX()
on the given visitor, where
XXX
is the class name of the node object.CompileError
protected String getTag()
toString()
.Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.