52 #ifndef Patternist_ApplyTemplate_H 53 #define Patternist_ApplyTemplate_H virtual Expression::Ptr body() const
Returns the body of the function/template/component that is being called.
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeM...
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
#define QT_END_NAMESPACE
This macro expands to.
virtual bool configureRecursion(const CallTargetDescription::Ptr &sign)
QExplicitlySharedDataPointer< const ApplyTemplate > ConstPtr
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
Base class for classes that invokes templates, such as CallTemplate and ApplyTemplate.
virtual CallTargetDescription::Ptr callTargetDescription() const
Item::Iterator::Ptr mapToSequence(const Item &item, const DynamicContext::Ptr &context) const
const TemplateMode::Ptr m_mode
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual Properties properties() const
The namespace for the internal API of QtXmlPatterns.
Template::Ptr findTemplate(const DynamicContext::Ptr &context, const TemplateMode::Ptr &templateMode) const
TemplateMode::Ptr m_defaultMode
virtual SequenceType::Ptr staticType() const
TemplateMode::Ptr mode() const
QExplicitlySharedDataPointer< ApplyTemplate > Ptr
Represents an item in the XPath 2.0 Data Model.
const WithParam::Hash & withParams() const
TemplateMode::Ptr effectiveMode(const DynamicContext::Ptr &context) const
When combined with other components, implements xsl:apply-templates.
Item mapToItem(const QXmlNodeModelIndex &node, const DynamicContext::Ptr &context) const
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
ApplyTemplate(const TemplateMode::Ptr &mode, const WithParam::Hash &withParams, const TemplateMode::Ptr &defaultMode)
mode may be null. If it is, ApplyTemplate interprets that as that it should use the #current mode...
Expression::Ptr compress(const StaticContext::Ptr &context)