Defines a class to keep track of a stack for macro arguments. More...
#include <VariablesStack.hpp>
Defines a class to keep track of a stack for macro arguments.
|
|
Constructor for a variable stack.
|
|
Get the top of the stack frame from where a search for a variable or param should take place.
|
Given a name, return a string representing the value, but don't look in the global space.
theName | name of variable |
|
Given a name, find the corresponding XObject.
qname | name of variable |
|
Mark the top of the global stack frame.
|
Pop the current context from the current context stack.
|
Pop a frame marker for an element.
elem | the element |
|
Push a context marker onto the stack to let us know when to stop searching for a var.
caller | caller node |
sourceNode | source node |
|
Push a frame marker for an element.
elem | the element |
|
Push the provided objects as parameters.
You must call popContextMarker() when you are done with the arguments.
theParam | The vector containing the parameters. |
targetTemplate | target template for the parameters |
|
Push a named variable onto the processor variable stack.
Don't forget to call startContext before pushing a series of arguments for a given macro call.
name | name of variable |
val | pointer to XObject value |
e | element marker for variable |
|
Reset the stack.
|
Set the top of the stack frame from where a search for a variable or param should take place.
Calling with no parameter will cause the index to be set to the size of the stack.
currentStackFrameIndex | new value of index |
|
Mark the top of the stack.
|
|
|
|
|
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSL Transformer Version 1.0 |
|