de.infinityloop.upcast.upl.val
Class UPLVoid

java.lang.Object
  extended by de.infinityloop.upcast.upl.val.UPLValue
      extended by de.infinityloop.upcast.upl.val.UPLNull
          extended by de.infinityloop.upcast.upl.val.UPLVoid

public class UPLVoid
extends UPLNull


Field Summary
 
Fields inherited from class de.infinityloop.upcast.upl.val.UPLNull
cause
 
Fields inherited from class de.infinityloop.upcast.upl.val.UPLValue
isBreakValue, isEmptyReturnValue, isReturnValue, isValid, kTYPE_BOOL, kTYPE_COLOR, kTYPE_ID, kTYPE_LIST, kTYPE_NULL, kTYPE_NUMERIC, kTYPE_STRING, kTYPE_UNKNOWN, kTYPE_VALUE, kTYPE_VOID, type
 
Constructor Summary
UPLVoid(java.lang.String cause)
           
 
Method Summary
 int compareTo(UPLValue to)
           
 java.lang.String getAsString()
           
 java.lang.String getAsUPL()
           
 boolean getBooleanValue()
          The boolean value of an UPLValue.
 java.lang.String getDebugString()
           
 
Methods inherited from class de.infinityloop.upcast.upl.val.UPLNull
castToNull, compareTo
 
Methods inherited from class de.infinityloop.upcast.upl.val.UPLValue
add, affirmate, castValueToType, decrement, div, equals, eval, getType, getType, getTypeName, getTypeName, increment, isBreakValue, isEmptyReturnValue, isReturnValue, isValid, mod, negate, not, setBreakValue, setEmptyReturnValue, setReturnValue, setValid, sub, times, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UPLVoid

public UPLVoid(java.lang.String cause)
Method Detail

compareTo

public int compareTo(UPLValue to)
              throws UPLValueException
Throws:
UPLValueException

getBooleanValue

public boolean getBooleanValue()
                        throws UPLValueException
Description copied from class: UPLValue
The boolean value of an UPLValue.

Overrides:
getBooleanValue in class UPLNull
Returns:
always false
Throws:
UPLValueException
See Also:
UPLValue.getBooleanValue()

getAsUPL

public java.lang.String getAsUPL()
Overrides:
getAsUPL in class UPLNull

getAsString

public java.lang.String getAsString()
Overrides:
getAsString in class UPLNull

getDebugString

public java.lang.String getDebugString()
Overrides:
getDebugString in class UPLNull