52 #ifndef Patternist_AggregateFNs_H 53 #define Patternist_AggregateFNs_H Base class for implementations of builtin functions.
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
#define QT_END_NAMESPACE
This macro expands to.
AtomicMathematician::Ptr m_mather
Implements the function fn:sum().
Base class for the implementations of the fn:avg() and fn:sum() function.
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
virtual SequenceType::Ptr staticType() const
AtomicMathematician::Ptr m_divider
AtomicMathematician::Ptr m_adder
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
Implements the function fn:avg().
Represents an item in the XPath 2.0 Data Model.
Implements the function fn:count().
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const