Class WhileStatement
- java.lang.Object
-
- org.jparsec.examples.common.ValueObject
-
- org.jparsec.examples.java.ast.statement.WhileStatement
-
- All Implemented Interfaces:
Statement
public final class WhileStatement extends ValueObject implements Statement
Represents the "while () ..." statement.
-
-
Field Summary
Fields Modifier and Type Field Description Expression
condition
Statement
statement
-
Constructor Summary
Constructors Constructor Description WhileStatement(Expression condition, Statement statement)
-
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
-
condition
public final Expression condition
-
statement
public final Statement statement
-
-
Constructor Detail
-
WhileStatement
public WhileStatement(Expression condition, Statement statement)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValueObject
-
-