54 m_nsResolver(nsResolver)
82 context->
error(QtXmlPatterns::tr(
"No namespace binding exists for the prefix %1")
106 return visitor->visit(
this);
virtual NamePool::Ptr namePool() const =0
#define QT_END_NAMESPACE
This macro expands to.
QString formatKeyword(const QString &keyword)
static const SequenceType::Ptr ExactlyOneQName
virtual NamePool::Ptr namePool() const =0
static const SequenceType::Ptr ExactlyOneString
static QXmlName::NamespaceCode namespaceForPrefix(const QXmlName::PrefixCode prefix, const StaticContext::Ptr &context, const SourceLocationReflection *const r)
Item toItem(const QExplicitlySharedDataPointer< T > atomicValue)
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
static QXmlName expandQName(const QString &lexicalQName, const TReportContext &context, const NamespaceResolver::Ptr &nsResolver, const SourceLocationReflection *const r, const bool asForAttribute=false)
The QString class provides a Unicode character string.
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
virtual SequenceType::List expectedOperandTypes() const
const QString & stringForPrefix(const QXmlName::PrefixCode code) const
T * data() const
Returns a pointer to the shared data object.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
static QNameValue::Ptr fromValue(const NamePool::Ptr &np, const QXmlName name)
The namespace for the internal API of QtXmlPatterns.
virtual NamespaceResolver::Ptr namespaceBindings() const =0
QString stringValue() const
Returns the string value of this Item.
const NamespaceResolver::Ptr m_nsResolver
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
Represents an item in the XPath 2.0 Data Model.
Expression::Ptr m_operand
QNameConstructor(const Expression::Ptr &source, const NamespaceResolver::Ptr &nsResolver)
virtual const SourceLocationReflection * actualReflection() const
Returns this.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual QXmlName::NamespaceCode lookupNamespaceURI(const QXmlName::PrefixCode prefix) const =0
The QList class is a template class that provides lists.
Base class for all instances that represents something at a certain location.
virtual SequenceType::Ptr staticType() const
Base class for expressions that has exactly one operand.