public final class IfStatement extends ValueObject implements Statement
Modifier and Type | Field and Description |
---|---|
Expression |
condition |
List<Pair<Expression,Statement>> |
elseifs |
Statement |
otherwise |
Statement |
then |
Constructor and Description |
---|
IfStatement(Expression condition,
Statement then,
List<Pair<Expression,Statement>> elseifs,
Statement otherwise) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, hashCode
public final Expression condition
public final Statement then
public final List<Pair<Expression,Statement>> elseifs
public final Statement otherwise
public IfStatement(Expression condition, Statement then, List<Pair<Expression,Statement>> elseifs, Statement otherwise)
public String toString()
toString
in class ValueObject
Copyright © 2013–2016 jparsec. All rights reserved.