69 return makeSequenceMappingIterator<Item>(
ConstPtr(
this),
84 Item result(it->next());
86 "evaluateSingleton should never be used if the cardinality is two or more");
104 return makeGenericSequenceType(opt->itemType()->atomizedType(),
117 return visitor->visit(
this);
virtual const SourceLocationReflection * actualReflection() const
Returns this.
virtual SequenceType::Ptr staticType() const
#define QT_END_NAMESPACE
This macro expands to.
static const SequenceType::Ptr ZeroOrMoreItems
#define it(className, varName)
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
QExplicitlySharedDataPointer< const Atomizer > ConstPtr
virtual const SourceLocationReflection * actualReflection() const
Returns this.
void append(const T &t)
Inserts value at the end of the list.
Atomizer(const Expression::Ptr &operand)
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &) const
The namespace for the internal API of QtXmlPatterns.
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
virtual SequenceType::List expectedOperandTypes() const
virtual SequenceType::Ptr staticType() const =0
#define Q_ASSERT_X(cond, where, what)
Represents an item in the XPath 2.0 Data Model.
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
Expression::Ptr m_operand
Item::Iterator::Ptr mapToSequence(const Item &item, const DynamicContext::Ptr &context) const
static const AtomicType::Ptr xsAnyAtomicType
virtual ItemType::Ptr itemType() const =0
Item::Iterator::Ptr sequencedTypedValue() const
Returns the typed value of this item.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
The QList class is a template class that provides lists.
Base class for all instances that represents something at a certain location.
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
Base class for expressions that has exactly one operand.