kiama.example.lambda2.AST

class Op

[source: kiama/example/lambda2/AST.scala]

abstract class Op
extends AnyRef
Primitive binary operators.
Direct Known Subclasses:
AST.AddOp, AST.SubOp

Method Summary
abstract def eval (l : Int, r : Int) : Int
Evaluate the oeprator on the given integer operands.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def eval(l : Int, r : Int) : Int
Evaluate the oeprator on the given integer operands.