52 #ifndef Patternist_StaticContext_H 53 #define Patternist_StaticContext_H 67 template<
typename Key,
typename T>
class QHash;
73 class FunctionFactory;
74 class SchemaTypeFactory;
virtual void setInheritMode(const InheritMode mode)=0
virtual bool compatModeEnabled() const =0
#define QT_END_NAMESPACE
This macro expands to.
virtual OrderingMode orderingMode() const =0
virtual BoundarySpacePolicy boundarySpacePolicy() const =0
virtual ConstructionMode constructionMode() const =0
virtual void setPreserveMode(const PreserveMode mode)=0
virtual NamePool::Ptr namePool() const =0
virtual ExternalVariableLoader::Ptr externalVariableLoader() const =0
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
virtual void setDefaultElementNamespace(const QString &ns)=0
virtual void setBoundarySpacePolicy(const BoundarySpacePolicy policy)=0
virtual VariableSlotID allocateRangeSlot()=0
virtual void setBaseURI(const QUrl &uri)=0
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual OrderingEmptySequence orderingEmptySequence() const =0
The namespace for the internal API of QtXmlPatterns.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
virtual NamespaceResolver::Ptr namespaceBindings() const =0
virtual QExplicitlySharedDataPointer< SchemaTypeFactory > schemaDefinitions() const =0
virtual ResourceLoader::Ptr resourceLoader() const =0
virtual void setOrderingEmptySequence(const OrderingEmptySequence ordering)=0
virtual QExplicitlySharedDataPointer< FunctionFactory > functionSignatures() const =0
Carries information and facilities used at compilation time.
virtual ItemType::Ptr currentItemType() const =0
The static type of the current item, as returned by fn:current().
virtual VariableSlotID currentRangeSlot() const =0
virtual void setConstructionMode(const ConstructionMode mode)=0
virtual void addLocation(const SourceLocationReflection *const reflection, const QSourceLocation &location)=0
Adds location for reflection.
virtual QString defaultElementNamespace() const =0
virtual void setCompatModeEnabled(const bool newVal)=0
virtual StaticContext::Ptr copy() const =0
virtual QExplicitlySharedDataPointer< DynamicContext > dynamicContext() const =0
virtual void setDefaultFunctionNamespace(const QString &ns)=0
static QTestResult::TestLocation location
virtual LocationHash sourceLocations() const =0
Returns a hash of the contained locations.
virtual ItemType::Ptr contextItemType() const =0
The static type of the context item.
virtual QString defaultFunctionNamespace() const =0
virtual void setNamespaceBindings(const NamespaceResolver::Ptr &)=0
virtual InheritMode inheritMode() const =0
virtual void setOrderingMode(const OrderingMode mode)=0
A callback for reporting errors.
virtual QUrl defaultCollation() const =0
QExplicitlySharedDataPointer< StaticContext > Ptr
virtual void setDefaultCollation(const QUrl &uri)=0
void wrapExpressionWith(const SourceLocationReflection *const existingNode, const QExplicitlySharedDataPointer< Expression > &newNode)
Ensures source locations are handled in such a manner that existingNode wraps newNode.
virtual QUrl baseURI() const =0
virtual PreserveMode preserveMode() const =0
Base class for all instances that represents something at a certain location.