public class UndeclaredVariable extends GlobalVariableDefinition
references
Constructor and Description |
---|
UndeclaredVariable() |
Modifier and Type | Method and Description |
---|---|
GlobalVariable |
compile(StaticQueryContext env,
int slot)
Create a compiled representation of this global variable
|
void |
transferReferences(VariableDeclaration var) |
explain, getColumnNumber, getCompiledVariable, getLineNumber, getNameCode, getPublicId, getRequiredType, getSystemId, getVariableName, iterateReferences, registerReference, setIsParameter, setLineNumber, setNameCode, setRequiredType, setSystemId, setValueExpression, setVariableName, typeCheck
public void transferReferences(VariableDeclaration var)
public GlobalVariable compile(StaticQueryContext env, int slot) throws XPathException
GlobalVariableDefinition
compile
in class GlobalVariableDefinition
env
- the static context for the query moduleslot
- the slot number allocated to this variableXPathException
- if compile-time errors are found.