63 , m_isBackwardsCompat(isBackwardsCompat)
95 Item item1(it1->next());
289 return visitor->visit(
this);
#define QT_END_NAMESPACE
This macro expands to.
static void updateType(ItemType::Ptr &type, const Expression::Ptr &source)
#define it(className, varName)
bool generalCompare(const Item &op1, const Item &op2, const DynamicContext::Ptr &context) const
virtual SequenceType::List expectedOperandTypes() const
Due to strong interdependencies, this file contains the definitions for the classes Item...
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
virtual QList< QExplicitlySharedDataPointer< OptimizationPass > > optimizationPasses() const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
static const AtomicType::Ptr xsString
friend class const_iterator
void append(const T &t)
Inserts value at the end of the list.
OptimizationPass::List comparisonPasses
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool isEmpty(const char *str)
static void rewrite(Expression::Ptr &old, const Expression::Ptr &New, const StaticContext::Ptr &context)
const AtomicComparator::Operator m_operator
The namespace for the internal API of QtXmlPatterns.
static const AtomicType::Ptr xsDouble
virtual Cardinality cardinality() const =0
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
GeneralComparison(const Expression::Ptr &op1, const AtomicComparator::Operator op, const Expression::Ptr &op2, const bool isBackwardsCompat=false)
static const AtomicType::Ptr xsUntypedAtomic
Houses an AtomicValue, making it available as an Expression.
QExplicitlySharedDataPointer< Expression > Ptr
A smart pointer wrapping mutable Expression instances.
static const SequenceType::Ptr ExactlyOneBoolean
virtual SequenceType::Ptr staticType() const =0
static const EmptySequenceType::Ptr Empty
Represents an item in the XPath 2.0 Data Model.
AtomicComparator::Ptr fetchGeneralComparator(Expression::Ptr &op1, Expression::Ptr &op2, const ReportContext::Ptr &context) const
static const AtomicType::Ptr numeric
Casts every item in a sequence obtained from evaluating an Expression, to a requested atomic type...
virtual bool evaluateEBV(const DynamicContext::Ptr &) const
Expression::Ptr m_operand1
static const AtomicType::Ptr xsBoolean
static const AtomicType::Ptr xsAnyAtomicType
Implements XPath 2.0 value comparions, such as the eq operator.
virtual ItemType::Ptr itemType() const =0
static bool isCaseInsensitiveCompare(Expression::Ptr &op1, Expression::Ptr &op2)
Expression::Ptr m_operand2
static const SequenceType::Ptr ZeroOrMoreAtomicTypes
const bool m_isBackwardsCompat
static const AtomicValue::Ptr BooleanFalse
static const KeyPair *const end
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
static const AtomicType::Ptr xsAnyURI
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...
virtual SequenceType::Ptr staticType() const
Base class for expressions that has exactly two operands.