65 return makeGenericSequenceType(t->itemType(), t->cardinality().toWithoutMany());
89 return visitor->visit(
this);
#define QT_END_NAMESPACE
This macro expands to.
static const SequenceType::Ptr ZeroOrMoreItems
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
FirstItemPredicate(const Expression::Ptr &source)
virtual SequenceType::List expectedOperandTypes() const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
virtual Expression::List operands() const =0
T & first()
Returns a reference to the first item in the list.
virtual SequenceType::Ptr staticType() const =0
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)
Expression::Ptr m_operand
bool is(const ID id) const
The QList class is a template class that provides lists.
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
Base class for expressions that has exactly one operand.