Class IfStatement
java.lang.Object
org.jparsec.examples.common.ValueObject
org.jparsec.examples.java.ast.statement.IfStatement
- All Implemented Interfaces:
Statement
Represents an "if" statement.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIfStatement
(Expression condition, Statement then, List<Pair<Expression, Statement>> elseifs, Statement otherwise) -
Method Summary
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
Field Details
-
condition
-
then
-
elseifs
-
otherwise
-
-
Constructor Details
-
IfStatement
public IfStatement(Expression condition, Statement then, List<Pair<Expression, Statement>> elseifs, Statement otherwise)
-
-
Method Details
-
toString
- Overrides:
toString
in classValueObject
-