public final class ConditionalExpr extends Expression
Constructor and Description |
---|
ConditionalExpr() |
ConditionalExpr(Expression condition,
Expression thenExpr,
Expression elseExpr) |
ConditionalExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression condition,
Expression thenExpr,
Expression elseExpr) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Expression |
getCondition() |
Expression |
getElseExpr() |
Expression |
getThenExpr() |
void |
setCondition(Expression condition) |
void |
setElseExpr(Expression elseExpr) |
void |
setThenExpr(Expression thenExpr) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public ConditionalExpr()
public ConditionalExpr(Expression condition, Expression thenExpr, Expression elseExpr)
public ConditionalExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression condition, Expression thenExpr, Expression elseExpr)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getCondition()
public Expression getElseExpr()
public Expression getThenExpr()
public void setCondition(Expression condition)
public void setElseExpr(Expression elseExpr)
public void setThenExpr(Expression thenExpr)