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

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

public final class ReturnStatement
extends ValueObject
implements Statement

Represents "return" statement.

Author:
Ben Yu

Field Summary
 Expression value
           
 
Constructor Summary
ReturnStatement(Expression value)
           
 
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

value

public final Expression value
Constructor Detail

ReturnStatement

public ReturnStatement(Expression value)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.