Inherits TObject.
Public Member Functions | |
| Clear () | |
| Clears this stack. | |
| TZVariant | GetParameter (Integer Index) |
| Gets a function parameter by index. | |
| TZVariant | Peek () |
| Gets a value from the top of the stack without removing it. | |
| TZVariant | Pop () |
| Gets a value from the top and removes it from the stack. | |
| Push (TZVariant Value) | |
| Puts a value to the top of the stack. | |
| Swap () | |
| Swaps two values on the top of the stack. | |
| TZExecutionStack () | |
| Creates this object. | |
Public Attributes | |
| Integer | Count |
| TZVariant | Values |
Private Member Functions | |
| TZVariant | GetValue (Integer Index) |
| Gets a value from absolute position in the stack. | |
Private Attributes | |
| Integer | FCapacity |
| Integer | FCount |
| TZVariantDynArray | FValues |
Defines an execution stack object.
Definition at line 67 of file ZExpression.pas.
| TZExecutionStack::TZExecutionStack | ( | ) |
| TZExecutionStack::Clear | ( | ) |
| TZVariant TZExecutionStack::GetParameter | ( | Integer | Index | ) |
Gets a function parameter by index.
| a | function parameter index. O is used for parameter count. |
Definition at line 536 of file ZExpression.pas.
| TZVariant TZExecutionStack::GetValue | ( | Integer | Index | ) | [private] |
Gets a value from absolute position in the stack.
| Index | a value index. |
Definition at line 508 of file ZExpression.pas.
| TZVariant TZExecutionStack::Peek | ( | ) |
Gets a value from the top of the stack without removing it.
Definition at line 521 of file ZExpression.pas.
| TZVariant TZExecutionStack::Pop | ( | ) |
Gets a value from the top and removes it from the stack.
Definition at line 551 of file ZExpression.pas.
| TZExecutionStack::Push | ( | TZVariant | Value | ) |
| TZExecutionStack::Swap | ( | ) |
| Integer TZExecutionStack::Count |
Integer TZExecutionStack::FCapacity [private] |
Definition at line 76 of file ZExpression.pas.
Integer TZExecutionStack::FCount [private] |
Definition at line 74 of file ZExpression.pas.
TZVariantDynArray TZExecutionStack::FValues [private] |
Definition at line 72 of file ZExpression.pas.
1.5.7.1