103 if(op1.asNode().model() != op2.asNode().model())
109 return op1.asNode().is(op2.asNode()) ?
True :
False;
181 return visitor->visit(
this);
static const SequenceType::Ptr ZeroOrOneNode
#define QT_END_NAMESPACE
This macro expands to.
static const AtomicValue::Ptr BooleanTrue
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
NodeComparison(const Expression::Ptr &operand1, const QXmlNodeModelIndex::DocumentOrder op, const Expression::Ptr &operand2)
static QString displayName(const QXmlNodeModelIndex::DocumentOrder op)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
static Expression::Ptr create(const Expression *const replacementFor, const StaticContext::Ptr &context)
Creates an EmptySequence that is a replacement for replacementFor.
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.
virtual SequenceType::List expectedOperandTypes() const
virtual QXmlNodeModelIndex::DocumentOrder operatorID() const
DocumentOrder
Identifies the specific node comparison operator that should be used.
The namespace for the internal API of QtXmlPatterns.
virtual SequenceType::Ptr staticType() const
virtual Cardinality cardinality() const =0
static const SequenceType::Ptr ZeroOrOneBoolean
Result evaluate(const DynamicContext::Ptr &context) const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
QExplicitlySharedDataPointer< Expression > Ptr
A smart pointer wrapping mutable Expression instances.
static const SequenceType::Ptr ExactlyOneBoolean
virtual SequenceType::Ptr staticType() const =0
Represents an item in the XPath 2.0 Data Model.
Contains class Numeric. This file was originally called qnumeric_p.h, but various build systems canno...
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
Expression::Ptr m_operand1
virtual bool evaluateEBV(const DynamicContext::Ptr &) const
Expression::Ptr m_operand2
static const AtomicValue::Ptr BooleanFalse
const QXmlNodeModelIndex::DocumentOrder m_op
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
The QList class is a template class that provides lists.
Base class for expressions that has exactly two operands.