48 template<
bool IsForGlobal>
52 , m_declarationUsedByMany(varDecl->usedByMany())
58 template<
bool IsForGlobal>
68 if(candidate && candidate->focusIterator())
75 template<
bool IsForGlobal>
91 #if defined(Q_OS_IRIX) && defined(Q_CC_MIPS) 107 template<
bool IsForGlobal>
116 context->error(QtXmlPatterns::tr(
"Circularity detected"),
140 "This trigger for a cache bug which hasn't yet been analyzed.");
151 template<
bool IsForGlobal>
182 return m_operand->typeCheck(context, reqType);
190 template<
bool IsForGlobal>
225 template<
bool IsForGlobal>
231 template<
bool IsForGlobal>
250 template<
bool IsForGlobal>
261 template<
bool IsForGlobal>
265 return visitor->visit(
this);
268 template<
bool IsForGlobal>
An QAbstractXmlForwardIterator that gets its item from a cache unless its empty, in which case it con...
Represents a declared variable. Only used at the compilation stage.
static const SequenceType::Ptr ZeroOrMoreItems
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
#define it(className, varName)
const VariableSlotID m_varSlot
static DynamicContext::Ptr topFocusContext(const DynamicContext::Ptr &context)
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
static const SequenceType::Ptr ExactlyOneAtomicType
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
Expression::Ptr next()
Returns the current Expression and advances the iterator.
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.
Represents a cache entry for a sequence of items.
bool m_declarationUsedByMany
virtual SequenceType::List expectedOperandTypes() const
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
virtual SequenceType::Ptr staticType() const
Represents a cache entry for a single Item, as opposed to for a sequence of items.
const T & at(int i) const
Returns the item at index position i in the vector.
#define Q_ASSERT_X(cond, where, what)
Represents an item in the XPath 2.0 Data Model.
Evaluates to the same result as its operand, but ensures the operand is evaluated once even if this E...
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
Expression::Ptr m_operand
virtual const SourceLocationReflection * actualReflection() const
Returns this.
virtual Properties properties() const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
Item::Iterator::Ptr sourceIterator
Bridges values in Qt's QList container class into an QAbstractXmlForwardIterator. ...
The QList class is a template class that provides lists.
Base class for all instances that represents something at a certain location.
Base class for expressions that has exactly one operand.
A helper class that iterates a tree of Expression instances. It is not a sub-class of QAbstractXmlFor...