75 context->
error(msg, qName->qName(),
this);
84 "Invalid number of arguments passed to fn:error.");
106 nargs.append(args[1]);
107 nargs.append(args[2]);
108 nev->setArguments(nargs);
Expression::List m_operands
virtual NamePool::Ptr namePool() const =0
#define QT_END_NAMESPACE
This macro expands to.
static const SequenceType::Ptr ExactlyOneQName
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
SequenceType::Ptr returnType() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
static QString formatFunction(const NamePool::Ptr &np, const FunctionSignature::Ptr &func)
Formats FunctionSignature.
FunctionArgument::List arguments() const
Arity maximumArguments() const
const T & at(int i) const
Returns the item at index position i in the list.
Represents the signature of an XPath function.
The namespace for the internal API of QtXmlPatterns.
virtual FunctionSignature::Ptr signature() const
QString stringValue() const
Returns the string value of this Item.
Carries meta data for a function argument as found in XPath's builtin functions and user declared fun...
T & first()
Returns a reference to the first item in the list.
#define Q_ASSERT_X(cond, where, what)
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...
Represents an item in the XPath 2.0 Data Model.
Implements the value instance of the xs:QName type.
Arity minimumArguments() const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
Expression::Properties properties() const
virtual FunctionSignature::Ptr signature() const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const