52 #ifndef Patternist_UserFunctionCallsite_H 53 #define Patternist_UserFunctionCallsite_H 115 virtual ID id()
const;
virtual CallTargetDescription::Ptr callTargetDescription() const
static QString formatFunction(const UserFunctionCallsite::Ptr &func)
Formats UserFunctionCallsite.
Abstract base-class for Expression instances that are callsites to other components, such as templates or user functions.
#define QT_END_NAMESPACE
This macro expands to.
const FunctionSignature::Arity m_arity
virtual Expression::Properties properties() const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QExplicitlySharedDataPointer< UserFunctionCallsite > Ptr
The QString class provides a Unicode character string.
virtual SequenceType::List expectedOperandTypes() const
Returns the types declared in the function declaration.
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
DynamicContext::Ptr bindVariables(const DynamicContext::Ptr &context) const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
UserFunctionCallsite(const QXmlName name, const FunctionSignature::Arity arity)
The namespace for the internal API of QtXmlPatterns.
bool isSignatureValid(const FunctionSignature::Ptr &sign) const
virtual SequenceType::Ptr staticType() const
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
UserFunction::Ptr m_functionDeclaration
VariableSlotID m_expressionSlotOffset
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Represents an item in the XPath 2.0 Data Model.
void setSource(const UserFunction::Ptr &userFunction, const VariableSlotID cacheSlotOffset)
Expression::Ptr body() const
Returns the body of the function/template/component that is being called.
FunctionSignature::Arity arity() const
QList< UserFunctionCallsite::Ptr > List
virtual void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Performs a call to a UserFunction.
virtual bool configureRecursion(const CallTargetDescription::Ptr &sign)