52 #ifndef Patternist_TreatAs_H 53 #define Patternist_TreatAs_H #define QT_END_NAMESPACE
This macro expands to.
TreatAs(const Expression::Ptr &operand, const SequenceType::Ptr &reqType)
virtual SequenceType::Ptr staticType() const
virtual SequenceType::List expectedOperandTypes() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
const SequenceType::Ptr m_reqType
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
Implements XPath 2.0's treat as expression.
The QList class is a template class that provides lists.
Base class for expressions that has exactly one operand.