com.google.gwt.rpc.client.ast
Class ReturnCommand

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.RpcCommand
      extended by com.google.gwt.rpc.client.ast.ReturnCommand
All Implemented Interfaces:
HasValues

public class ReturnCommand
extends RpcCommand
implements HasValues

Represents a return statement.


Constructor Summary
ReturnCommand()
           
 
Method Summary
 void addValue(ValueCommand value)
           
 void clear()
          Delete all internal state so that the command may be used only for instance tracking.
 java.util.List<ValueCommand> getValues()
           
 void traverse(RpcCommandVisitor visitor, RpcCommandVisitor.Context ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnCommand

public ReturnCommand()
Method Detail

addValue

public void addValue(ValueCommand value)
Specified by:
addValue in interface HasValues

clear

public void clear()
Description copied from class: RpcCommand
Delete all internal state so that the command may be used only for instance tracking.

Overrides:
clear in class RpcCommand

getValues

public java.util.List<ValueCommand> getValues()
Specified by:
getValues in interface HasValues

traverse

public void traverse(RpcCommandVisitor visitor,
                     RpcCommandVisitor.Context ctx)
Specified by:
traverse in class RpcCommand