Qt 4.8
|
Constructs a comment node. This covers both computed and directly constructed text nodes. More...
#include <qcommentconstructor_p.h>
Private Functions | |
QString | evaluateContent (const DynamicContext::Ptr &context) const |
Constructs a comment node. This covers both computed and directly constructed text nodes.
Definition at line 72 of file qcommentconstructor_p.h.
CommentConstructor::CommentConstructor | ( | const Expression::Ptr & | operand | ) |
Definition at line 52 of file qcommentconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 119 of file qcommentconstructor.cpp.
|
inlineprivate |
Definition at line 56 of file qcommentconstructor.cpp.
Referenced by evaluateSingleton(), and evaluateToSequenceReceiver().
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 81 of file qcommentconstructor.cpp.
|
virtual |
Evaluates this Expression by sending its output to DynamicContext::outputReceiver().
Reimplemented from QPatternist::Expression.
Definition at line 93 of file qcommentconstructor.cpp.
|
virtual |
The first operand must be exactly one xs:string
.
Implements QPatternist::Expression.
Definition at line 106 of file qcommentconstructor.cpp.
|
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 113 of file qcommentconstructor.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 101 of file qcommentconstructor.cpp.