Package com.adobe.xfa.formcalc
Class Stack
java.lang.Object
com.adobe.xfa.formcalc.Stack
Class Stack defines the runtime stack that's used by
the invalid input: '<'a href=CalcParser.html">FormCalc scripting engine.
Specifically, the FormCalc interpreter is a stack machine;
it doesn't have general purpose registers. Rather all
intermediate values are preserved on a stack.
For example, when the FormCalc interpreter performs an add instruction, it will pop two operands off the stack, add them together, and push the result onto the stack.
-
Method Summary
-
Method Details
-
peek
Peeks at a symbol within this Stack object.- Parameters:
nOffset- an offset within the stack.- Returns:
- the symbol within the stack.
-