ca.uwaterloo.cs.ql.interp
Class Variable

java.lang.Object
  extended by ca.uwaterloo.cs.ql.interp.Variable

public class Variable
extends java.lang.Object


Constructor Summary
Variable(Scope parent, java.lang.String name)
           
Variable(Scope parent, java.lang.String name, Value val)
           
 
Method Summary
 java.lang.String getName()
           
 Scope getScope()
           
 java.lang.Class getType()
           
 Value getValue()
           
 void setValue(Value val)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variable

public Variable(Scope parent,
                java.lang.String name)

Variable

public Variable(Scope parent,
                java.lang.String name,
                Value val)
Method Detail

getScope

public Scope getScope()

getName

public java.lang.String getName()

getType

public java.lang.Class getType()

getValue

public Value getValue()

setValue

public void setValue(Value val)