ponderToolkit.compiler.codeGen.policyObjects.expressions
Class ExpressionOp

java.lang.Object
  |
  +--ponderToolkit.compiler.codeGen.policyObjects.expressions.ExpressionOp
All Implemented Interfaces:
ExpressionOpI, java.io.Serializable
Direct Known Subclasses:
AdditiveOp, LogicalOp, MultOp, RelationalOp, UnaryOp

public abstract class ExpressionOp
extends java.lang.Object
implements ExpressionOpI, java.io.Serializable

Function: Models an Expression operator. The super-type of all operators. This is an abstract class.

See Also:
Serialized Form

Field Summary
protected  int opCode
          Fields
 
Fields inherited from interface ponderToolkit.compiler.codeGen.interfaces.expressions.ExpressionOpI
ADDITIVE_OP_MINUS, ADDITIVE_OP_PLUS, LOGICAL_OP_AND, LOGICAL_OP_IMPLIES, LOGICAL_OP_OR, LOGICAL_OP_XOR, MULT_OP_DIV, MULT_OP_TIMES, RELATIONAL_OP_EQUALS, RELATIONAL_OP_GREATER_THAN, RELATIONAL_OP_GREATER_THAN_EQUALS, RELATIONAL_OP_LESS_THAN, RELATIONAL_OP_LESS_THAN_EQUALS, RELATIONAL_OP_NOT_EQUALS, UNARY_OP_MINUS, UNARY_OP_NOT
 
Constructor Summary
ExpressionOp(int newOpCode)
          Constructor.
 
Method Summary
 int getOp()
          Get the operator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ponderToolkit.compiler.codeGen.interfaces.expressions.ExpressionOpI
apply, getString
 

Field Detail

opCode

protected int opCode
Fields
Constructor Detail

ExpressionOp

public ExpressionOp(int newOpCode)
Constructor. Accepts the Operator code from: ExpressionOpI
Method Detail

getOp

public int getOp()
Get the operator
Specified by:
getOp in interface ExpressionOpI