orc.orchard.oil
Class ValueMarshaller

java.lang.Object
  extended by orc.orchard.oil.ValueMarshaller
All Implemented Interfaces:
Visitor<Value>

public class ValueMarshaller
extends java.lang.Object
implements Visitor<Value>


Constructor Summary
ValueMarshaller()
           
 
Method Summary
 Value visit(Closure v)
           
 Value visit(Constant v)
           
 Value visit(Field v)
           
 Value visit(ListValue v)
           
 Value visit(OptionValue v)
           
 Value visit(Site v)
           
 Value visit(TupleValue v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueMarshaller

public ValueMarshaller()
Method Detail

visit

public Value visit(Closure v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(Constant v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(Field v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(ListValue v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(OptionValue v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(TupleValue v)
Specified by:
visit in interface Visitor<Value>

visit

public Value visit(Site v)
Specified by:
visit in interface Visitor<Value>