Qt 4.8
|
Checks that its operand evaluates to a supported string collation. More...
#include <qcollationchecker_p.h>
Checks that its operand evaluates to a supported string collation.
CollationChecker is inserted in the AST when an Expression has LastOperandIsCollation set. If the argument that CollationChecker is a string literal the CollationChecker will const-fold as usual, but otherwise will simply pipe through the value of its argument, if it's a supported collation. Otherwise it raise an error, with code ReportContext::FOCH0002.
Definition at line 74 of file qcollationchecker_p.h.
CollationChecker::CollationChecker | ( | const Expression::Ptr & | source | ) |
Definition at line 51 of file qcollationchecker.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 74 of file qcollationchecker.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 55 of file qcollationchecker.cpp.
|
virtual |
Expects exactly one string.
Implements QPatternist::Expression.
Definition at line 62 of file qcollationchecker.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 69 of file qcollationchecker.cpp.