61 for(
int i = 0; i < len; ++i)
64 retval.
insert(at->name, at->expression());
74 context->error(QtXmlPatterns::tr(
"The parameter %1 is passed, but no corresponding %2 exists.")
83 const bool isCallTemplate)
const 145 context->
error(QtXmlPatterns::tr(
"The parameter %1 is required, but no corresponding %2 is supplied.")
168 newStack->templateParameterStore() = sewnTogether;
178 for(
int i = 0; i < len; ++i)
186 at->setExpression(at->expression()->typeCheck(context, at->expression()->staticType()));
188 at->setExpression(at->expression()->compress(context));
205 if((*it)->expression())
206 collect |= (*it)->expression()->properties();
225 if((*it)->expression())
226 collect |= (*it)->expression()->dependencies();
virtual NamePool::Ptr namePool() const =0
#define QT_END_NAMESPACE
This macro expands to.
Expression::Properties properties() const
QString formatKeyword(const QString &keyword)
#define it(className, varName)
DynamicContext::TemplateParameterHash parametersAsHash() const
static void raiseXTSE0680(const ReportContext::Ptr &context, const QXmlName &name, const SourceLocationReflection *const reflection)
#define at(className, varName)
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
DynamicContext::Ptr createStack()
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
int count(const T &t) const
Returns the number of occurrences of value in the list.
Base class for classes that invokes templates, such as CallTemplate and ApplyTemplate.
bool contains(const Key &key) const
Returns true if the hash contains an item with the key; otherwise returns false.
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
Expression::Properties dependencies() const
virtual const SourceLocationReflection * actualReflection() const
friend class const_iterator
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
const T & at(int i) const
Returns the item at index position i in the list.
The namespace for the internal API of QtXmlPatterns.
VariableDeclaration::List templateParameters
QExplicitlySharedDataPointer< Expression > Ptr
A smart pointer wrapping mutable Expression instances.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the hash...
const WithParam::Hash & withParams() const
virtual Properties properties() const
iterator begin()
Returns an STL-style iterator pointing to the first item in the hash.
DynamicContext::Ptr createContext(const TemplateInvoker *const invoker, const DynamicContext::Ptr &context, const bool isCallTemplate) const
Evaluates its operand with an assigned DynamicContext, not the one passed to one of the evaluation fu...
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
static const KeyPair *const end
friend class const_iterator
Base class for all instances that represents something at a certain location.
virtual Properties dependencies() const
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...
void compileParameters(const StaticContext::Ptr &context)