public class CondExpr extends ASTList
| Constructor and Description |
|---|
CondExpr(ASTree cond,
ASTree thenp,
ASTree elsep) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Is a method for the visitor pattern.
|
ASTree |
condExpr() |
ASTree |
elseExpr() |
String |
getTag()
Returns the type of this node.
|
void |
setCond(ASTree t) |
void |
setElse(ASTree t) |
void |
setThen(ASTree t) |
ASTree |
thenExpr() |
public ASTree condExpr()
public void setCond(ASTree t)
public ASTree thenExpr()
public void setThen(ASTree t)
public ASTree elseExpr()
public void setElse(ASTree t)
public String getTag()
ASTreetoString().public void accept(Visitor v) throws CompileError
ASTreeatXXX() on the given visitor, where
XXX is the class name of the node object.accept in class ASTListCompileErrorCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.