Package org.kigalisim.lang.operation
Interface Operation
- All Known Implementing Classes:
AdditionOperation,CapDisplacingOperation,CapOperation,ChangeOperation,ChangeUnitsOperation,ComparisonOperation,ConditionalOperation,DefineVariableOperation,DivisionOperation,DrawNormalOperation,DrawUniformOperation,EnableOperation,EqualityOperation,EqualsOperation,FloorDisplacingOperation,FloorOperation,GetStreamOperation,GetVariableOperation,InitialChargeOperation,JointOperation,LimitOperation,LogicalOperation,MultiplicationOperation,PowerOperation,PreCalculatedOperation,RechargeOperation,RecoverOperation,RemoveUnitsOperation,ReplaceOperation,RetireOperation,RetireWithReplacementOperation,SetOperation,SubtractionOperation
public interface Operation
Description of a calculation which can be resolved to an EngineNumber at QubecTalk runtime.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(PushDownMachine machine) Execute the calculation and leave the result at the top of the stack.
-
Method Details
-
execute
Execute the calculation and leave the result at the top of the stack.- Parameters:
machine- The machine in which to execute the calculation if needed.
-