Qt 4.8
|
A predicate that always selects the first item from its sequence. More...
#include <qfirstitempredicate_p.h>
A predicate that always selects the first item from its sequence.
FirstItemPredicate corresponds exactly to the predicate in the expression input[1]
.
Definition at line 72 of file qfirstitempredicate_p.h.
FirstItemPredicate::FirstItemPredicate | ( | const Expression::Ptr & | source | ) |
Creates a FirstItemPredicate that filters source
.
Definition at line 51 of file qfirstitempredicate.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 87 of file qfirstitempredicate.cpp.
|
virtual |
Rewrites expression[1][1]
into expression[1]
.
Reimplemented from QPatternist::Expression.
Definition at line 68 of file qfirstitempredicate.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 55 of file qfirstitempredicate.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 80 of file qfirstitempredicate.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 92 of file qfirstitempredicate.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 62 of file qfirstitempredicate.cpp.