ca.uwaterloo.cs.ql.interp
Class CommandDeleteNode

java.lang.Object
  extended by ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
      extended by ca.uwaterloo.cs.ql.interp.StatementNode
          extended by ca.uwaterloo.cs.ql.interp.CommandNode
              extended by ca.uwaterloo.cs.ql.interp.CommandDeleteNode

public class CommandDeleteNode
extends CommandNode


Constructor Summary
CommandDeleteNode(ExpressionNode expNode)
           
 
Method Summary
 Value evaluate(Env env)
           
 java.lang.String toString()
           
 
Methods inherited from class ca.uwaterloo.cs.ql.interp.StatementNode
getIndent, propagate, shortFormLocation
 
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

CommandDeleteNode

public CommandDeleteNode(ExpressionNode expNode)
Method Detail

evaluate

public Value evaluate(Env env)
               throws EvaluationException
Specified by:
evaluate in class SyntaxTreeNode
Throws:
EvaluationException

toString

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