52 #ifndef Patternist_UnlimitedContainer_H 53 #define Patternist_UnlimitedContainer_H 109 template<CardinalityComputation suppliedCard>
123 for(; it !=
end; ++
it)
125 t = (*it)->staticType();
126 type |= t->itemType();
131 card += t->cardinality();
133 card |= t->cardinality();
136 return makeGenericSequenceType(
type, card);
Expression::List m_operands
#define QT_END_NAMESPACE
This macro expands to.
Base class for all AST nodes in an XPath/XQuery/XSL-T expression.
virtual bool compressOperands(const StaticContext::Ptr &)
#define it(className, varName)
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
virtual void setOperands(const Expression::List &list)
SequenceType::Ptr operandsUnionType() const
friend class const_iterator
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual Expression::List operands() const
The namespace for the internal API of QtXmlPatterns.
T & first()
Returns a reference to the first item in the list.
Base class for expressions that has any amount of operands.
Represents a cardinality, a possible , often represented by occurrence indicators.
static const KeyPair *const end
UnlimitedContainer(const Expression::List &operands=Expression::List())
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...