52 #ifndef Patternist_Literal_H 53 #define Patternist_Literal_H 90 virtual ID id()
const;
138 context->addLocation(retval.
data(), context->locationFor(r));
#define QT_END_NAMESPACE
This macro expands to.
Literal(const Item &item)
Expression::Ptr wrapLiteral(const Item &item, const StaticContext::Ptr &context, const SourceLocationReflection *const r)
Creates a Literal that wraps item, and returns it.
The QString class provides a Unicode character string.
virtual SequenceType::Ptr staticType() const
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
virtual bool evaluateEBV(const DynamicContext::Ptr &context) const
T * data() const
Returns a pointer to the shared data object.
virtual QString description() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual Properties properties() const
The namespace for the internal API of QtXmlPatterns.
void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const
Houses an AtomicValue, making it available as an Expression.
Represents an item in the XPath 2.0 Data Model.
Base class for expressions that has no operands.
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
Base class for all instances that represents something at a certain location.