anvil.core
Class AnyLocalRef

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyRef
              |
              +--anvil.core.AnyLocalRef
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
AnyEscapedLocalRef

public class AnyLocalRef
extends AnyRef


Field Summary
protected  StackFrame _frame
           
protected  int _index
           
 
Fields inherited from class anvil.core.Any
_class, ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Constructor Summary
protected AnyLocalRef()
           
  AnyLocalRef(StackFrame frame, int index)
           
 
Method Summary
 Any getRef()
           
 void serialize(Serializer serializer)
           
 Any setRef(Any value)
           
static Any unserialize(Unserializer unserializer)
           
 
Methods inherited from class anvil.core.AnyRef
add, classOf, clone, coerce, compare, contains, copy, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getReference, has, hashCode, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInt, isIterator, isList, isMap, isMutable, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, minus, modulo, multiply, plus, setAttribute, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBoolean, toBuffer, toByte, toCode, toDouble, toInt, toList, toLong, toMap, toObject, toPattern, toRange, toString, toTuple, type, typeOf
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, classNameOf, compareTo, concat, create, create, create, create, create, create, create, create, create, create, create, create, create, create, isInstanceOf, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, not, toChar
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_frame

protected StackFrame _frame

_index

protected int _index
Constructor Detail

AnyLocalRef

protected AnyLocalRef()

AnyLocalRef

public AnyLocalRef(StackFrame frame,
                   int index)
Method Detail

setRef

public Any setRef(Any value)
Specified by:
setRef in class AnyRef

getRef

public Any getRef()
Specified by:
getRef in class AnyRef

serialize

public void serialize(Serializer serializer)
               throws java.io.IOException
Overrides:
serialize in class AnyRef
java.io.IOException

unserialize

public static Any unserialize(Unserializer unserializer)
                       throws UnserializationException
UnserializationException