97 "We assume we're a node type.");
125 return makeItemMappingIterator<Item>(
ConstPtr(
this), source, context);
140 while(!next.isNull())
201 return visitor->visit(
this);
211 const char *result = 0;
static Cardinality zeroOrMore()
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeM...
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
#define QT_END_NAMESPACE
This macro expands to.
static bool isAlwaysEmpty(const QXmlNodeModelIndex::Axis axis, const QXmlNodeModelIndex::NodeKind nodeKind)
Represents the node() item type.
static QXmlNodeModelIndex::NodeKind operator|(const QXmlNodeModelIndex::NodeKind &op1, const QXmlNodeModelIndex::NodeKind &op2)
bool isNull() const
Returns true if this QXmlNodeModelIndex is a default constructed value, otherwise false...
#define it(className, varName)
virtual bool itemMatches(const Item &item) const =0
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &) const
QExplicitlySharedDataPointer< const AxisStep > ConstPtr
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
static const SequenceType::Ptr ZeroOrMoreNodes
long ASN1_INTEGER_get ASN1_INTEGER * a
static const QXmlNodeModelIndex::NodeKind s_whenAxisNodeKindEmpty[]
The QString class provides a Unicode character string.
virtual SequenceType::Ptr staticType() const
virtual Properties properties() const
virtual Item contextItem() const =0
T * data() const
Returns a pointer to the shared data object.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static void rewrite(Expression::Ptr &old, const Expression::Ptr &New, const StaticContext::Ptr &context)
virtual SequenceType::List expectedOperandTypes() const
static QString axisName(const QXmlNodeModelIndex::Axis axis)
Prints the EBNF name corresponding to axis.
virtual ItemType::Ptr expectedContextItemType() const
Item mapToItem(const QXmlNodeModelIndex &node, const DynamicContext::Ptr &context) const
The namespace for the internal API of QtXmlPatterns.
QXmlNodeModelIndex::Axis axis() const
static const AnyNodeType::Ptr node
Corresponds to the expression parent::node().
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
#define Q_ASSERT_X(cond, where, what)
static Cardinality zeroOrOne()
const QXmlNodeModelIndex & asNode() const
Represents an item in the XPath 2.0 Data Model.
NodeKind
Identifies a kind of node.
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
AxisStep(const QXmlNodeModelIndex::Axis axis, const ItemType::Ptr &nodeTest)
virtual PatternPriority patternPriority() const
QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< QXmlNodeModelIndex > > iterate(const Axis axis) const
virtual Item::Iterator::Ptr focusIterator() const =0
Axis
Identify the axes emanating from a node.
Represents a cardinality, a possible , often represented by occurrence indicators.
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
The QList class is a template class that provides lists.
QXmlNodeModelIndex::Axis m_axis