sisc.util
Class FreeReference
java.lang.Object
sisc.util.FreeReference
- All Implemented Interfaces:
- ExpressionVisitee
public class FreeReference
- extends java.lang.Object
- implements ExpressionVisitee
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
FreeReference
public FreeReference(Symbol sym,
SymbolicEnvironment senv)
FreeReference
public FreeReference()
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