Qt 4.8
|
A reference to a variable declared with for
or a quantification expression, but not for instance a let
binding.
More...
#include <qrangevariablereference_p.h>
Properties | |
const Expression::Ptr | m_sourceExpression |
A reference to a variable declared with for
or a quantification expression, but not for instance a let
binding.
A range variable always represents a single item, while an other expression provides the binding and iteration. A for
expression is a good example.
Definition at line 74 of file qrangevariablereference_p.h.
RangeVariableReference::RangeVariableReference | ( | const Expression::Ptr & | sourceExpression, |
const VariableSlotID | slot | ||
) |
Definition at line 51 of file qrangevariablereference.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 82 of file qrangevariablereference.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 58 of file qrangevariablereference.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 64 of file qrangevariablereference.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 76 of file qrangevariablereference.cpp.
|
virtual |
Reimplemented from QPatternist::VariableReference.
Definition at line 87 of file qrangevariablereference.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 70 of file qrangevariablereference.cpp.
|
private |
Definition at line 92 of file qrangevariablereference_p.h.
Referenced by staticType().