#include <tokenarray.hxx>
Definition at line 534 of file tokenarray.hxx.
◆ FormulaTokenIterator()
formula::FormulaTokenIterator::FormulaTokenIterator |
( |
const FormulaTokenArray & |
rArr | ) |
|
◆ ~FormulaTokenIterator()
formula::FormulaTokenIterator::~FormulaTokenIterator |
( |
| ) |
|
◆ GetNonEndOfPathToken()
const FormulaToken * formula::FormulaTokenIterator::GetNonEndOfPathToken |
( |
short |
nIdx | ) |
const |
|
private |
◆ GetPC()
short formula::FormulaTokenIterator::GetPC |
( |
| ) |
const |
|
inline |
◆ HasStacked()
bool formula::FormulaTokenIterator::HasStacked |
( |
| ) |
const |
|
inline |
◆ IsEndOfPath()
bool formula::FormulaTokenIterator::IsEndOfPath |
( |
| ) |
const |
◆ Jump()
void formula::FormulaTokenIterator::Jump |
( |
short |
nStart, |
|
|
short |
nNext, |
|
|
short |
nStop = SHRT_MAX |
|
) |
| |
Jump or subroutine call.
The nPC counts after a Push() are -1.
Program counter values will be incremented before code is executed => positions are to be passed with -1 offset.
- Parameters
-
nStart | Start on code at position nStart+1 (yes, pass with offset -1) |
nNext | After subroutine continue with instruction at position nNext+1 |
nStop | Stop before reaching code at position nStop. If not specified the default is to either run the entire code, or to stop if an ocSep or ocClose is encountered, which are only present in ocIf or ocChoose jumps. |
Definition at line 1698 of file token.cxx.
References maStack, and Push().
◆ Next()
const FormulaToken * formula::FormulaTokenIterator::Next |
( |
void |
| ) |
|
◆ PeekNextOperator()
const FormulaToken * formula::FormulaTokenIterator::PeekNextOperator |
( |
| ) |
|
◆ Pop()
void formula::FormulaTokenIterator::Pop |
( |
| ) |
|
◆ Push()
◆ ReInit()
◆ Reset()
void formula::FormulaTokenIterator::Reset |
( |
void |
| ) |
|
◆ maStack
std::vector<Item> formula::FormulaTokenIterator::maStack |
|
private |
The documentation for this class was generated from the following files: