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

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.RpcCommandVisitor

public class RpcCommandVisitor
extends java.lang.Object

Describes a visitor that will traverse the RpcCommand structures.


Nested Class Summary
static interface RpcCommandVisitor.Context
          The context provides no services at this point and is provided as an extension point for future development.
 
Constructor Summary
RpcCommandVisitor()
           
 
Method Summary
 void accept(java.util.List<? extends RpcCommand> x)
           
 RpcCommand accept(RpcCommand x)
           
 void accept(RpcCommand[] x)
           
 void endVisit(ArrayValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(BooleanValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(ByteValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(CharValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(DoubleValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(EnumValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(FloatValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(InstantiateCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(IntValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(LongValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(NullValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(ReturnCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(SetCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(ShortValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(StringValueCommand x, RpcCommandVisitor.Context ctx)
           
 void endVisit(ThrowCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(ArrayValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(BooleanValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(ByteValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(CharValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(DoubleValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(EnumValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(FloatValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(InstantiateCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(IntValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(LongValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(NullValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(ReturnCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(SetCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(ShortValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(StringValueCommand x, RpcCommandVisitor.Context ctx)
           
 boolean visit(ThrowCommand x, RpcCommandVisitor.Context ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcCommandVisitor

public RpcCommandVisitor()
Method Detail

accept

public final void accept(java.util.List<? extends RpcCommand> x)
Parameters:
x - a node in an RpcCommand structure

accept

public final RpcCommand accept(RpcCommand x)
Parameters:
x - a node in an RpcCommand structure

accept

public final void accept(RpcCommand[] x)
Parameters:
x - a node in an RpcCommand structure

endVisit

public void endVisit(ArrayValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(BooleanValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(ByteValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(CharValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(DoubleValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(EnumValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(FloatValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(InstantiateCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(IntValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(InvokeCustomFieldSerializerCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(LongValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(NullValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(ReturnCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(SetCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(ShortValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(StringValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

endVisit

public void endVisit(ThrowCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(ArrayValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(BooleanValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(ByteValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(CharValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(DoubleValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(EnumValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(FloatValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(InstantiateCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(IntValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(InvokeCustomFieldSerializerCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(LongValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(NullValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(ReturnCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(SetCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(ShortValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(StringValueCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit

visit

public boolean visit(ThrowCommand x,
                     RpcCommandVisitor.Context ctx)
Parameters:
x - a node in an RpcCommand structure
ctx - the context for the visit