52 #ifndef Patternist_FirstItemPredicate_H 53 #define Patternist_FirstItemPredicate_H 106 virtual ID id()
const;
#define QT_END_NAMESPACE
This macro expands to.
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
FirstItemPredicate(const Expression::Ptr &source)
virtual SequenceType::List expectedOperandTypes() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
Represents an item in the XPath 2.0 Data Model.
virtual SequenceType::Ptr staticType() const
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
A predicate that always selects the first item from its sequence.
The QList class is a template class that provides lists.
Base class for expressions that has exactly one operand.