ponderToolkit.compiler.codeGen.policyObjects.expressions
Class LogicalOp

java.lang.Object
  |
  +--ponderToolkit.compiler.codeGen.policyObjects.expressions.ExpressionOp
        |
        +--ponderToolkit.compiler.codeGen.policyObjects.expressions.LogicalOp
All Implemented Interfaces:
ExpressionOpI, LogicalOpI, java.io.Serializable

public class LogicalOp
extends ExpressionOp
implements LogicalOpI, java.io.Serializable

Function: Models a Logical operator.

See Also:
Serialized Form

Fields inherited from class ponderToolkit.compiler.codeGen.policyObjects.expressions.ExpressionOp
opCode
 
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
LogicalOp(int newOpCode)
          Constructor.
 
Method Summary
 void apply(EvaluationStackI stack)
          Apply this operator to the given EvaluationStack
 java.lang.String getString()
          Return the string representation of the operator
 
Methods inherited from class ponderToolkit.compiler.codeGen.policyObjects.expressions.ExpressionOp
getOp
 
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
getOp
 

Constructor Detail

LogicalOp

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

apply

public void apply(EvaluationStackI stack)
Apply this operator to the given EvaluationStack
Specified by:
apply in interface ExpressionOpI

getString

public java.lang.String getString()
Return the string representation of the operator
Specified by:
getString in interface ExpressionOpI