52 #ifndef Patternist_SequenceFNs_H 53 #define Patternist_SequenceFNs_H 131 template<const Expression::ID Id>
Base class for implementations of builtin functions.
Expression::List m_operands
#define QT_END_NAMESPACE
This macro expands to.
static const AtomicValue::Ptr BooleanTrue
AtomicComparator::Operator operatorID() const
Implements the function fn:remove().
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
virtual SequenceType::Ptr staticType() const
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
Implements the function fn:index-of().
static Cardinality empty()
#define QT_BEGIN_NAMESPACE
This macro expands to.
static Cardinality oneOrMore()
The namespace for the internal API of QtXmlPatterns.
Implements the function fn:distinct-values().
AtomicComparator::Operator operatorID() const
T & first()
Returns a reference to the first item in the list.
bool canMatch(const Cardinality &other) const
Represents an item in the XPath 2.0 Data Model.
Implements the function fn:subsequence().
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
Represents a cardinality, a possible , often represented by occurrence indicators.
bool isMatch(const Cardinality &other) const
static const AtomicValue::Ptr BooleanFalse
Implements the function fn:reverse().
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
Implements the function fn:boolean().
Implements the functions fn:exists() and fn:empty().
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
Implements the function fn:insert-before().
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const