org.codehaus.jparsec.examples.java.ast.statement
Class DoWhileStatement

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.statement.DoWhileStatement
All Implemented Interfaces:
Statement

public final class DoWhileStatement
extends ValueObject
implements Statement

Represents the "do ... while ()" statement.

Author:
Ben Yu

Field Summary
 Expression condition
           
 Statement statement
           
 
Constructor Summary
DoWhileStatement(Statement statement, Expression condition)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.