sisc.util
Class FreeReference

java.lang.Object
  extended by sisc.util.FreeReference
All Implemented Interfaces:
ExpressionVisitee

public class FreeReference
extends java.lang.Object
implements ExpressionVisitee


Constructor Summary
FreeReference()
           
FreeReference(Symbol sym, SymbolicEnvironment senv)
           
 
Method Summary
static FreeReference[] allReferences()
           
 void define(Value v)
           
 void deserialize(Deserializer s)
           
 boolean equals(java.lang.Object o)
           
 Value express()
           
 Symbol getName()
           
 Value getValue()
           
 int hashCode()
           
 void resolve()
           
 void serialize(Serializer s)
           
 void setValue(Value v)
           
 boolean visit(ExpressionVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeReference

public FreeReference(Symbol sym,
                     SymbolicEnvironment senv)

FreeReference

public FreeReference()
Method Detail

allReferences

public static FreeReference[] allReferences()

getName

public Symbol getName()

resolve

public void resolve()
             throws UndefinedVarException
Throws:
UndefinedVarException

getValue

public Value getValue()
               throws UndefinedVarException
Throws:
UndefinedVarException

setValue

public void setValue(Value v)
              throws UndefinedVarException
Throws:
UndefinedVarException

define

public void define(Value v)

express

public Value express()

serialize

public void serialize(Serializer s)
               throws java.io.IOException
Throws:
java.io.IOException

deserialize

public void deserialize(Deserializer s)
                 throws java.io.IOException
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

visit

public boolean visit(ExpressionVisitor v)
Specified by:
visit in interface ExpressionVisitee