![]() |
Qt 4.8
|
Implements the function fn:true()
.
More...
#include <qbooleanfns_p.h>
Implements the function fn:true()
.
The implementation always rewrites itself to a boolean value at compile time.
Definition at line 81 of file qbooleanfns_p.h.
|
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 50 of file qbooleanfns.cpp.