52 #ifndef Patternist_FunctionSignature_H 53 #define Patternist_FunctionSignature_H 55 template<
typename Key,
typename Value>
class QHash;
56 template<
typename T>
class QList;
58 #include <QSharedData> 136 bool isArityValid(
const xsInteger arity)
const;
138 Arity minimumArguments()
const;
139 Arity maximumArguments()
const;
190 const Arity m_minArgs;
191 const Arity m_maxArgs;
204 escape(func->displayName(np)) +
Contains metadata for a callable component, such as a function or template.
QString Q_AUTOTEST_EXPORT escape(const QString &input)
Similar to Qt::escape(), but also escapes apostrophes and quotes, such that the result is suitable as...
#define QT_END_NAMESPACE
This macro expands to.
NamespaceCode LocalNameCode
Base class for all AST nodes in an XPath/XQuery/XSL-T expression.
Store names such as namespace bindings and QNames and allows them to be referenced in efficient ways...
QExplicitlySharedDataPointer< FunctionSignature > Ptr
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static QString formatFunction(const NamePool::Ptr &np, const FunctionSignature::Ptr &func)
Formats FunctionSignature.
A SequenceType instance represents the type of a sequence of Item instances.
Represents the signature of an XPath function.
The namespace for the internal API of QtXmlPatterns.
Carries meta data for a function argument as found in XPath's builtin functions and user declared fun...
QHash< QXmlName, FunctionSignature::Ptr > Hash
QList< FunctionSignature::Ptr > List
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...
#define Q_AUTOTEST_EXPORT
static const QCssKnownValue properties[NumProperties - 1]
Contains enumerators and typedefs applying for Patternist on a global scale, as well as central docum...
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
bool operator==(QBool b1, bool b2)
The QList class is a template class that provides lists.