net.sf.saxon.instruct
public class GlobalVariable extends GeneralVariable implements Container
Constructor Summary | |
---|---|
GlobalVariable() |
Method Summary | |
---|---|
ValueRepresentation | evaluateVariable(XPathContext context)
Evaluate the variable |
Executable | getExecutable() |
int | getHostLanguage() |
InstructionInfo | getInstructionInfo()
Get InstructionInfo for this expression |
ValueRepresentation | getSelectValue(XPathContext context)
Evaluate the variable. |
boolean | isGlobal() |
void | lookForCycles(Stack referees)
Check for cycles in this variable definition |
TailCall | processLeavingTail(XPathContext context)
Process the variable declaration |
void | setContainsLocals(SlotManager map) |
void | setExecutable(Executable executable) |
void | setHostLanguage(int language) |
Parameters: referees the calls leading up to this one; it's an error if this variable is on the stack, because that means it calls itself directly or indirectly. The stack may contain variable definitions (GlobalVariable objects) and user-defined functions (UserFunction objects). It will never contain the same object more than once.