Qt 4.8
|
Constructs an element node. This covers both computed and directly constructed element nodes. More...
#include <qprocessinginstructionconstructor_p.h>
Private Functions | |
QString | data (const DynamicContext::Ptr &context) const |
QXmlName | evaluateTardata (const DynamicContext::Ptr &context) const |
Static Private Functions | |
static QString | leftTrimmed (const QString &input) |
Constructs an element node. This covers both computed and directly constructed element nodes.
Definition at line 72 of file qprocessinginstructionconstructor_p.h.
ProcessingInstructionConstructor::ProcessingInstructionConstructor | ( | const Expression::Ptr & | operand1, |
const Expression::Ptr & | operand2 | ||
) |
Definition at line 54 of file qprocessinginstructionconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 139 of file qprocessinginstructionconstructor.cpp.
|
private |
Definition at line 72 of file qprocessinginstructionconstructor.cpp.
Referenced by evaluateSingleton(), and evaluateToSequenceReceiver().
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 101 of file qprocessinginstructionconstructor.cpp.
|
inlineprivate |
Definition at line 95 of file qprocessinginstructionconstructor.cpp.
Referenced by evaluateSingleton(), and evaluateToSequenceReceiver().
|
virtual |
Evaluates this Expression by sending its output to DynamicContext::outputReceiver().
Reimplemented from QPatternist::Expression.
Definition at line 113 of file qprocessinginstructionconstructor.cpp.
|
virtual |
Both arguments must of type xs:string
. It is assumes that the first argument's lexical space is xs:NCName
.
Implements QPatternist::Expression.
Definition at line 125 of file qprocessinginstructionconstructor.cpp.
Performs left-trimming only.
Definition at line 59 of file qprocessinginstructionconstructor.cpp.
Referenced by data().
|
virtual |
The default implementation returns 0. Override and let the function return a different value, if that's of interest.
An important decision when re-implementing properties() is whether to OR in the properties() of ones operands. For instance, if an operand has RequiresFocus set, that flag nost likely applies to the apparent as well, since it depends on its operand.
Reimplemented from QPatternist::Expression.
Definition at line 133 of file qprocessinginstructionconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 120 of file qprocessinginstructionconstructor.cpp.