|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.query.GlobalVariableDefinition
net.sf.saxon.query.UndeclaredVariable
public class UndeclaredVariable
An UndeclaredVariable object is created when a reference is encountered to a variable that has not yet been declared. This can happen as a result of recursive module imports. These references are resolved at the end of query parsing.
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.query.GlobalVariableDefinition |
|---|
references |
| Constructor Summary | |
|---|---|
UndeclaredVariable()
|
|
| Method Summary | |
|---|---|
GlobalVariable |
compile(Executable exec,
int slot)
Create a compiled representation of this global variable |
void |
transferReferences(VariableDeclaration var)
|
| Methods inherited from class net.sf.saxon.query.GlobalVariableDefinition |
|---|
explain, fixupReference, getColumnNumber, getCompiledVariable, getLineNumber, getPublicId, getRequiredType, getSystemId, getVariableQName, iterateReferences, registerReference, setIsParameter, setLineNumber, setRequiredType, setSystemId, setValueExpression, setVariableQName, typeCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UndeclaredVariable()
| Method Detail |
|---|
public void transferReferences(VariableDeclaration var)
public GlobalVariable compile(Executable exec,
int slot)
throws XPathException
GlobalVariableDefinition
compile in class GlobalVariableDefinitionexec - the executableslot - the slot number allocated to this variable
XPathException - if compile-time errors are found.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||