Qt 4.8
|
A reference to a template parameter declared with xsl:param
.
More...
#include <qtemplateparameterreference_p.h>
Properties | |
const VariableDeclaration * | m_varDecl |
A reference to a template parameter declared with xsl:param
.
Definition at line 70 of file qtemplateparameterreference_p.h.
TemplateParameterReference::TemplateParameterReference | ( | const VariableDeclaration * | varDecl | ) |
Definition at line 50 of file qtemplateparameterreference.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 71 of file qtemplateparameterreference.cpp.
|
virtual |
Determines the Effective Boolean Value of the expression.
The Effective Boolean Value of a value is not necessarily the same as converting the value to a new value of type xs:boolean.
Note that this function cannot return the empty sequence, evaluateSingleton() must be overridden in order to be able to do that.
The default implementation results in a type error. Hence, this function must be overridden if such behavior is not of interest.
Reimplemented from QPatternist::Expression.
Definition at line 54 of file qtemplateparameterreference.cpp.
|
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 64 of file qtemplateparameterreference.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 59 of file qtemplateparameterreference.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 76 of file qtemplateparameterreference.cpp.
|
inline |
Definition at line 90 of file qtemplateparameterreference_p.h.
|
virtual |
Implements QPatternist::Expression.
Definition at line 81 of file qtemplateparameterreference.cpp.
|
inline |
Definition at line 95 of file qtemplateparameterreference_p.h.
|
private |
Definition at line 87 of file qtemplateparameterreference_p.h.
Referenced by evaluateEBV(), evaluateSequence(), evaluateSingleton(), sourceExpression(), staticType(), and variableDeclaration().