|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.orchard.oil.Expression
orc.orchard.oil.Argument
orc.orchard.oil.Value
orc.orchard.oil.Option
public class Option
Rather than using two different classes for NoneValue and SomeValue, we assume use null to represent NoneValue, and Constant(null) to represent a null SomeValue.
Constructor Summary | |
---|---|
Option()
|
|
Option(Value value)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Arg |
unmarshal()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Option()
public Option(Value value)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public Arg unmarshal() throws InvalidOilException
unmarshal
in class Value
InvalidOilException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |