getLeft()
and getRight() returns null.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
default serialVersionUID |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public ASTree | |
| public ASTree | |
| protected String | |
| public void | |
| public void | |
| public String |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID default serialVersionUID | |
| ASTree | back to summary |
|---|---|
| public ASTree() | |
| accept | back to summary |
|---|---|
| public abstract void accept(Visitor v) throws CompileError Is a method for the visitor pattern. It calls
| |
| getLeft | back to summary |
|---|---|
| public ASTree getLeft() | |
| getRight | back to summary |
|---|---|
| public ASTree getRight() | |
| getTag | back to summary |
|---|---|
| protected String getTag() Returns the type of this node. This method is used by
| |
| setLeft | back to summary |
|---|---|
| public void setLeft(ASTree _left) | |
| setRight | back to summary |
|---|---|
| public void setRight(ASTree _right) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |