70 #define testXSLTFN(ln, cname) else if(lname.localName() == StandardLocalNames::ln) fn = Expression::Ptr(new cname()) Base class for implementations of builtin functions.
Implements XSL-T's function fn:current().
static const SequenceType::Ptr ZeroOrOneNode
virtual void setOperands(const Expression::List &operands)=0
#define QT_END_NAMESPACE
This macro expands to.
static QXmlName::LocalNameCode argument(const NamePool::Ptr &np, const char *const name)
virtual FunctionSignature::Ptr retrieveFunctionSignature(const NamePool::Ptr &np, const QXmlName name)
Implements XSL-T 2.0's XPath function fn:unparsed-entity-uri().
void appendArgument(const QXmlName::LocalNameCode name, const SequenceType::Ptr &type)
static const SequenceType::Ptr ExactlyOneString
Implements the function fn:generate-id().
FunctionSignature::Ptr addFunction(const QXmlName::LocalNameCode localName, const FunctionSignature::Arity minArgs, const FunctionSignature::Arity maxArgs, const SequenceType::Ptr &returnType, const Expression::Properties props)
static const SequenceType::Ptr ZeroOrOneString
static const SequenceType::Ptr OneOrMoreDocumentNodes
static const SequenceType::Ptr ExactlyOneInteger
Implements the function fn:unparsed-text().
virtual FunctionSignature::Hash functionSignatures() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
const TCastTarget * as() const
Implements XSL-T 2.0's XPath function fn:system-property().
static const SequenceType::Ptr ExactlyOneAnyURI
Implements XSL-T 2.0's XPath function fn:type-available().
Implements XSL-T 2.0's XPath function fn:function-available().
Implements XSL-T's function fn:document().
The namespace for the internal API of QtXmlPatterns.
Implements XSL-T 2.0's XPath function fn:unparsed-entity-public-id().
#define testXSLTFN(ln, cname)
QString localName(const QXmlNamePool &query) const
Returns the local name.
QExplicitlySharedDataPointer< Expression > Ptr
A smart pointer wrapping mutable Expression instances.
static const SequenceType::Ptr ExactlyOneBoolean
NamespaceCode namespaceURI() const
virtual Expression::Ptr retrieveExpression(const QXmlName name, const Expression::List &args, const FunctionSignature::Ptr &sign) const
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
static const SequenceType::Ptr ExactlyOneItem
Implements the function fn:unparsed-text().
Implements the function fn:unparsed-text-available().
static const SequenceType::Ptr ZeroOrMoreStrings
static const SequenceType::Ptr ExactlyOneNode