ca.uwaterloo.cs.ql.interp
Class SetConstructorNode
java.lang.Object
ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
ca.uwaterloo.cs.ql.interp.ExpressionNode
ca.uwaterloo.cs.ql.interp.SetConstructorNode
public class SetConstructorNode
- extends ExpressionNode
SetConstructorNode is used to create a set.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SetConstructorNode
public SetConstructorNode()
addItem
public void addItem(ExpressionNode nd)
propagate
public void propagate(Env env,
java.lang.Object userObj)
throws EvaluationException
- Specified by:
propagate in class SyntaxTreeNode
- Throws:
EvaluationException
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