58 return visitor->visit(
this);
65 return makeSingletonIterator(item);
69 return makeItemMappingIterator<Item>(
ConstPtr(
this),
77 return makeSequenceMappingIterator<Item>(
ConstPtr(
this),
Item::Iterator::Ptr mapToSequence(const Item &item, const DynamicContext::Ptr &context) const
#define QT_END_NAMESPACE
This macro expands to.
static const SequenceType::Ptr ZeroOrMoreItems
virtual SequenceType::Ptr staticType() const
QExplicitlySharedDataPointer< const ArgumentConverter > ConstPtr
Item mapToItem(const Item &item, const DynamicContext::Ptr &context) const
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual SequenceType::List expectedOperandTypes() const
The namespace for the internal API of QtXmlPatterns.
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
QExplicitlySharedDataPointer< ItemType > type() const
Returns the ItemType this Item is of.
static const AtomicType::Ptr xsUntypedAtomic
bool isAtomicValue() const
Determines whether this item is an atomic value, or a node.
Represents an item in the XPath 2.0 Data Model.
ArgumentConverter(const Expression::Ptr &operand, const ItemType::Ptr &reqType)
Casts every item in a sequence obtained from evaluating an Expression, to a requested atomic type...
Expression::Ptr m_operand
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &) const
static const SequenceType::Ptr ZeroOrMoreAtomicTypes
Item::Iterator::Ptr sequencedTypedValue() const
Returns the typed value of this item.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
The QList class is a template class that provides lists.
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const