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 Type
    Method
    Description
    void
    Execute the calculation and leave the result at the top of the stack.
  • Method Details

    • execute

      void execute(PushDownMachine machine)
      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.