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

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

public final class WhileStatement
extends ValueObject
implements Statement

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

Author:
Ben Yu

Field Summary
 Expression condition
           
 Statement statement
           
 
Constructor Summary
WhileStatement(Expression condition, Statement statement)
           
 
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

condition

public final Expression condition

statement

public final Statement statement
Constructor Detail

WhileStatement

public WhileStatement(Expression condition,
                      Statement statement)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.