ca.uwaterloo.cs.ql.interp
Class AttrSignNode

java.lang.Object
  extended by ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
      extended by ca.uwaterloo.cs.ql.interp.ExpressionNode
          extended by ca.uwaterloo.cs.ql.interp.VariableNode
              extended by ca.uwaterloo.cs.ql.interp.AttrSignNode
All Implemented Interfaces:
EvalName

public class AttrSignNode
extends VariableNode
implements EvalName


Constructor Summary
AttrSignNode(java.lang.String name)
           
 
Method Summary
 java.lang.String evalName(Env env)
           
 Value evaluate(Env env)
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class ca.uwaterloo.cs.ql.interp.VariableNode
propagate
 
Methods inherited from class ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
getLocation, setLocation, strLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttrSignNode

public AttrSignNode(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class VariableNode

evaluate

public Value evaluate(Env env)
               throws EvaluationException
Overrides:
evaluate in class VariableNode
Throws:
EvaluationException

evalName

public java.lang.String evalName(Env env)
                          throws EvaluationException
Specified by:
evalName in interface EvalName
Overrides:
evalName in class VariableNode
Throws:
EvaluationException

toString

public java.lang.String toString()
Overrides:
toString in class VariableNode