56 Tokenizer *
const tokener) : staticContext(context)
58 , languageAccent(lang)
61 , isPreviousEnclosedExpr(false)
62 , elementConstructorDepth(0)
63 , hasSecondPrologPart(false)
64 , preserveNamespacesMode(true)
65 , inheritNamespacesMode(true)
66 , isParsingPattern(false)
67 , currentImportPrecedence(1)
68 , m_evaluationCacheSlot(-1)
71 , m_globalVariableSlot(-1)
72 , m_currentTemplateID(InitialTemplateID)
84 for(
int i = 0; i < amount; ++i)
Provides access to singleton instances of ItemType and SchemaType sub-classes.
#define QT_END_NAMESPACE
This macro expands to.
QStack< NamespaceResolver::Ptr > resolvers
QString formatKeyword(const QString &keyword)
QueryLanguage
Specifies whether you want QXmlQuery to interpret the input to setQuery() as an XQuery or as an XSLT ...
virtual NamePool::Ptr namePool() const =0
T pop()
Removes the top item from the stack and returns it.
#define QT_BEGIN_NAMESPACE
This macro expands to.
VariableDeclaration::Stack variables
The namespace for the internal API of QtXmlPatterns.
virtual NamespaceResolver::Ptr namespaceBindings() const =0
QStack< bool > m_isParsingWithParam
void push(const T &t)
Adds element t to the top of the stack.
const StaticContext::Ptr staticContext
Tokenizer *const tokenizer
void warning(const QString &message, const QSourceLocation &sourceLocation=QSourceLocation())
Base class for all tokenizers.
void finalizePushedVariable(const int amount=1, const bool shouldPop=true)
Removes the recently pushed variables from scope. The amount of removed variables is amount...
Contains functions and classes used by the parser and tokenizer.
T & top()
Returns a reference to the stack's top item.
ParserContext(const StaticContext::Ptr &context, const QXmlQuery::QueryLanguage lang, Tokenizer *const tokenizer)
QStack< bool > isBackwardsCompat