Java Doc for GlobalVariable.java in » XML » saxonb » net » sf » saxon » instruct » Java Source Code / Java DocumentationJava Source Code and Java Documentation
lookForCycles(Stack referees) Check for cycles in this variable definition
Parameters: referees - the calls leading up to this one; it's an error if this variable is on thestack, because that means it calls itself directly or indirectly.
Evaluate the variable. That is,
get the value of the select expression if present or the content
of the element otherwise, either as a tree or as a sequence
Check for cycles in this variable definition
Parameters: referees - the calls leading up to this one; it's an error if this variable is on thestack, because that means it calls itself directly or indirectly. The stack may containvariable definitions (GlobalVariable objects) and user-defined functions (UserFunction objects).It will never contain the same object more than once.