Class DoWhileStatement
- java.lang.Object
-
- org.jparsec.examples.common.ValueObject
-
- org.jparsec.examples.java.ast.statement.DoWhileStatement
-
- All Implemented Interfaces:
Statement
public final class DoWhileStatement extends ValueObject implements Statement
Represents the "do ... while ()" statement.
-
-
Field Summary
Fields Modifier and Type Field Description Expression
condition
Statement
statement
-
Constructor Summary
Constructors Constructor Description DoWhileStatement(Statement statement, Expression condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
-
-
-
Field Detail
-
statement
public final Statement statement
-
condition
public final Expression condition
-
-
Constructor Detail
-
DoWhileStatement
public DoWhileStatement(Statement statement, Expression condition)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValueObject
-
-