ca.uwaterloo.cs.ql.interp.op
Class IntOperation

java.lang.Object
  extended by ca.uwaterloo.cs.ql.interp.Operation
      extended by ca.uwaterloo.cs.ql.interp.op.IntOperation

public class IntOperation
extends Operation


Constructor Summary
IntOperation()
           
 
Method Summary
 Value eval(int op, Value v)
           
 Value eval(int op, Value left, Value right)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntOperation

public IntOperation()
Method Detail

eval

public Value eval(int op,
                  Value v)
           throws OperationException
Specified by:
eval in class Operation
Throws:
OperationException

eval

public Value eval(int op,
                  Value left,
                  Value right)
           throws OperationException
Specified by:
eval in class Operation
Throws:
OperationException