142 card = t1->cardinality() | t2->cardinality();
146 return makeGenericSequenceType(t1->itemType() | t2->itemType(), card);
164 return visitor->visit(
this);
static Cardinality zeroOrMore()
#define QT_END_NAMESPACE
This macro expands to.
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
Implements the except operator. That is, the computation of the sequence of nodes from one sequence...
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
static const SequenceType::Ptr ZeroOrMoreNodes
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
CombineNodes(const Expression::Ptr &operand1, const Operator op, const Expression::Ptr &operand2)
virtual SequenceType::Ptr staticType() const
QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< Item > > Ptr
A smart pointer wrapping an instance of a QAbstractXmlForwardIterator subclass.
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.
const Operator m_operator
virtual SequenceType::Ptr staticType() const =0
Represents an item in the XPath 2.0 Data Model.
static QString displayName(const Operator op)
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
Expression::Ptr m_operand1
Represents a cardinality, a possible , often represented by occurrence indicators.
Expression::Ptr m_operand2
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
Operator operatorID() const
static Expression::Ptr wrapAround(const Expression::Ptr &operand, const StaticContext::Ptr &context)
Implements the except operator. That is, the computation of the sequence of nodes from one sequence...
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 two operands.
Implements the intersect operator. That is, the computation of the intersection between two sequences...