Package net.sf.saxon.query
Class UndeclaredVariable
java.lang.Object
net.sf.saxon.expr.instruct.Actor
net.sf.saxon.expr.instruct.GlobalVariable
net.sf.saxon.query.UndeclaredVariable
- All Implemented Interfaces:
- SourceLocator,- Binding,- ContextOriginator,- ExpressionOwner,- Locatable,- Declaration,- Location,- Traceable,- TraceableComponent,- Locator
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 SummaryFields inherited from class net.sf.saxon.expr.instruct.GlobalVariablereferences
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcompile(Executable exec, int slot) Create a compiled representation of this global variable.voidMethods inherited from class net.sf.saxon.expr.instruct.GlobalVariableactuallyEvaluate, addReference, checkCircularity, countReferences, evaluateVariable, evaluateVariable, export, gatherProperties, getBinderySlotNumber, getDescription, getFlags, getHostLanguage, getIntegerBoundsForVariable, getLocalSlotNumber, getObjectName, getOriginalVariable, getProperty, getRequiredType, getSelectValue, getSymbolicName, getTracingTag, getUltimateOriginalVariable, getVariableQName, init, isAssignable, isGlobal, isIndexedVariable, isPrivate, isRequiredParam, isStatic, isUnused, iterateReferences, lookForCycles, registerReference, setAssignable, setBinderySlotNumber, setContainsLocals, setIndexedVariable, setOriginalVariable, setPrivate, setRequiredParam, setRequiredType, setStatic, setUnused, setVariableQName, typeCheckMethods inherited from class net.sf.saxon.expr.instruct.ActorallocateAllBindingSlots, allocateBindingSlotsRecursive, getBody, getChildExpression, getColumnNumber, getComponentName, getDeclaredVisibility, getDeclaringComponent, getLineNumber, getLocation, getPackageData, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, isExportable, makeDeclaringComponent, obtainDeclaringComponent, process, saveLocation, setBody, setChildExpression, setColumnNumber, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemIdMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.expr.LocatablegetLocationMethods inherited from interface net.sf.saxon.trace.TraceableComponentgetBody, setBody
- 
Constructor Details- 
UndeclaredVariablepublic UndeclaredVariable()
 
- 
- 
Method Details- 
transferReferences
- 
compileDescription copied from class:GlobalVariableCreate a compiled representation of this global variable. Used in XQuery only.- Overrides:
- compilein class- GlobalVariable
- Parameters:
- exec- the executable
- slot- the slot number allocated to this variable
- Throws:
- XPathException- if compile-time errors are found.
 
 
-