![]() |
Qt 4.8
|
Implements the function fn:trace()
.
More...
#include <qtracefn_p.h>
Implements the function fn:trace()
.
Definition at line 68 of file qtracefn_p.h.
|
virtual |
Evaluate this Expression by iterating over it. This is a central function for evaluating expressions.
Expressions must always always return a valid QAbstractXmlForwardIterator and may never return 0. If an empty result is of interest to be returned, the EmptyIterator should be returned.
The default implementation returns a SingletonIterator over the item returned from evaluateSingleton().
Reimplemented from QPatternist::Expression.
Definition at line 118 of file qtracefn.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 127 of file qtracefn.cpp.
|
virtual |
Formally speaking, the type inference is:
statEnv |- (FN-URI,"trace")(Type) : prime(Type) * quantifier(Type)
@see <a href="http://www.w3.org/TR/xquery-semantics/#sec_fn_reverse">XQuery 1.0 and XPath 2.0 Formal Semantics, 7.2.12 The fn:reverse function</a>, for an example of where the type inference is used @returns the static type of the function's first argument.
Reimplemented from QPatternist::FunctionCall.
Definition at line 135 of file qtracefn.cpp.