public class

RpcCommandVisitor

extends Object
java.lang.Object
   ↳ com.google.gwt.rpc.client.ast.RpcCommandVisitor

Class Overview

Describes a visitor that will traverse the RpcCommand structures.

Summary

Nested Classes
interface RpcCommandVisitor.Context The context provides no services at this point and is provided as an extension point for future development. 
Public Constructors
RpcCommandVisitor()
Public Methods
final RpcCommand accept(RpcCommand x)
final void accept(List<? extends RpcCommand> x)
final void accept(RpcCommand[] x)
void endVisit(ShortValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(EnumValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(InstantiateCommand x, RpcCommandVisitor.Context ctx)
void endVisit(SetCommand x, RpcCommandVisitor.Context ctx)
void endVisit(IntValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(CharValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(ByteValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(NullValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(DoubleValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)
void endVisit(StringValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(FloatValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(BooleanValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(LongValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(ArrayValueCommand x, RpcCommandVisitor.Context ctx)
void endVisit(ThrowCommand x, RpcCommandVisitor.Context ctx)
void endVisit(ReturnCommand x, RpcCommandVisitor.Context ctx)
boolean visit(ShortValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(ThrowCommand x, RpcCommandVisitor.Context ctx)
boolean visit(EnumValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(LongValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(CharValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)
boolean visit(IntValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(InstantiateCommand x, RpcCommandVisitor.Context ctx)
boolean visit(DoubleValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(FloatValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(ByteValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(SetCommand x, RpcCommandVisitor.Context ctx)
boolean visit(ArrayValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(StringValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(NullValueCommand x, RpcCommandVisitor.Context ctx)
boolean visit(ReturnCommand x, RpcCommandVisitor.Context ctx)
boolean visit(BooleanValueCommand x, RpcCommandVisitor.Context ctx)
Protected Methods
RpcCommand doAccept(RpcCommand x)
void doAccept(RpcCommand[] x)
void doAccept(List<? extends RpcCommand> x)
final void halt(Throwable t)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RpcCommandVisitor ()

Public Methods

public final RpcCommand accept (RpcCommand x)

Parameters
x a node in an RpcCommand structure

public final void accept (List<? extends RpcCommand> x)

Parameters
x a node in an RpcCommand structure

public final void accept (RpcCommand[] x)

Parameters
x a node in an RpcCommand structure

public void endVisit (ShortValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (EnumValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (InstantiateCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (SetCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (IntValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (CharValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (ByteValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (NullValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (DoubleValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (StringValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (FloatValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (BooleanValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (LongValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (ArrayValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (ThrowCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public void endVisit (ReturnCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (ShortValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (ThrowCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (EnumValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (LongValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (CharValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (InvokeCustomFieldSerializerCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (IntValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (InstantiateCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (DoubleValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (FloatValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (ByteValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (SetCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (ArrayValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (StringValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (NullValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (ReturnCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

public boolean visit (BooleanValueCommand x, RpcCommandVisitor.Context ctx)

Parameters
x a node in an RpcCommand structure
ctx the context for the visit

Protected Methods

protected RpcCommand doAccept (RpcCommand x)

Parameters
x a node in an RpcCommand structure

protected void doAccept (RpcCommand[] x)

Parameters
x a node in an RpcCommand structure

protected void doAccept (List<? extends RpcCommand> x)

Parameters
x a node in an RpcCommand structure

protected final void halt (Throwable t)