Package org.kigalisim.lang.operation
Class PreCalculatedOperation
java.lang.Object
org.kigalisim.lang.operation.PreCalculatedOperation
- All Implemented Interfaces:
Operation
Description of a calculation that has already been resolved to an EngineNumber.
-
Constructor Summary
ConstructorsConstructorDescriptionPreCalculatedOperation(EngineNumber result) Create a new PreCalculatedOperation. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(PushDownMachine engine) Execute the calculation and leave the result at the top of the stack.
-
Constructor Details
-
PreCalculatedOperation
Create a new PreCalculatedOperation.- Parameters:
result- The precomputed result of the calculation.
-
-
Method Details