![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlsa_p.h>
Static Public Member Functions | |
static PassManagerPrivate * | get (PassManager *manager) |
static const PassManagerPrivate * | get (const PassManager *manager) |
static PassManager * | createPassManager (QQmlJSImportVisitor *visitor, QQmlJSTypeResolver *resolver) |
static void | deletePassManager (PassManager *q) |
static QQmlJSImportVisitor * | visitor (const QQmlSA::PassManager &) |
static QQmlJSTypeResolver * | resolver (const QQmlSA::PassManager &) |
Public Attributes | |
std::vector< std::unique_ptr< ElementPass > > | m_elementPasses |
std::multimap< QString, PropertyPassInvocation > | m_propertyPasses |
std::unordered_map< quint32, Binding > | m_bindingsByLocation |
QQmlJSImportVisitor * | m_visitor = nullptr |
QQmlJSTypeResolver * | m_typeResolver = nullptr |
Friends | |
class | GenericPass |
class | QT_PREPEND_NAMESPACE (QQmlJSScope) |
Definition at line 179 of file qqmlsa_p.h.
|
inline |
Definition at line 187 of file qqmlsa_p.h.
void QQmlSA::PassManagerPrivate::addBindingSourceLocations | ( | const QQmlSA::Element & | element, |
const QQmlSA::Element & | scope = QQmlSA::Element(), | ||
const QString | prefix = QString(), | ||
bool | isAttached = false ) |
Definition at line 1559 of file qqmlsa.cpp.
Definition at line 1616 of file qqmlsa.cpp.
void QQmlSA::PassManagerPrivate::analyzeBinding | ( | const QQmlSA::Element & | element, |
const QQmlSA::Element & | value, | ||
const QQmlSA::SourceLocation & | location ) |
Definition at line 1659 of file qqmlsa.cpp.
void QQmlSA::PassManagerPrivate::analyzeCall | ( | const QQmlSA::Element & | element, |
const QString & | propertyName, | ||
const QQmlSA::Element & | readScope, | ||
const QQmlSA::SourceLocation & | location ) |
Definition at line 1651 of file qqmlsa.cpp.
void QQmlSA::PassManagerPrivate::analyzeRead | ( | const QQmlSA::Element & | element, |
const QString & | propertyName, | ||
const QQmlSA::Element & | readScope, | ||
const QQmlSA::SourceLocation & | location ) |
Definition at line 1643 of file qqmlsa.cpp.
void QQmlSA::PassManagerPrivate::analyzeWrite | ( | const QQmlSA::Element & | element, |
const QString & | propertyName, | ||
const QQmlSA::Element & | value, | ||
const QQmlSA::Element & | writeScope, | ||
const QQmlSA::SourceLocation & | location ) |
Definition at line 1634 of file qqmlsa.cpp.
|
inlinestatic |
Definition at line 194 of file qqmlsa_p.h.
|
inlinestatic |
Definition at line 200 of file qqmlsa_p.h.
QSet< PropertyPass * > QQmlSA::PassManagerPrivate::findPropertyUsePasses | ( | const QQmlSA::Element & | element, |
const QString & | propertyName ) |
Definition at line 1726 of file qqmlsa.cpp.
|
inlinestatic |
Definition at line 193 of file qqmlsa_p.h.
|
inlinestatic |
Definition at line 192 of file qqmlsa_p.h.
bool QQmlSA::PassManagerPrivate::hasImportedModule | ( | QAnyStringView | name | ) | const |
void QQmlSA::PassManagerPrivate::registerElementPass | ( | std::unique_ptr< ElementPass > | pass | ) |
PassManager::registerElementPass registers ElementPass with the pass manager.
pass | The registered pass. Ownership is transferred to the pass manager. |
Definition at line 1446 of file qqmlsa.cpp.
bool QQmlSA::PassManagerPrivate::registerPropertyPass | ( | std::shared_ptr< PropertyPass > | pass, |
QAnyStringView | moduleName, | ||
QAnyStringView | typeName, | ||
QAnyStringView | propertyName = QAnyStringView(), | ||
bool | allowInheritance = true ) |
Definition at line 1511 of file qqmlsa.cpp.
bool QQmlSA::PassManagerPrivate::registerPropertyPassOnBuiltinType | ( | std::shared_ptr< PropertyPass > | pass, |
QAnyStringView | typeName, | ||
QAnyStringView | propertyName = QAnyStringView(), | ||
bool | allowInheritance = true ) |
Definition at line 1538 of file qqmlsa.cpp.
|
static |
Definition at line 1721 of file qqmlsa.cpp.
|
static |
Definition at line 1716 of file qqmlsa.cpp.
|
friend |
Definition at line 186 of file qqmlsa_p.h.
|
friend |
Definition at line 239 of file qqmlsa_p.h.
std::vector<std::unique_ptr<ElementPass> > QQmlSA::PassManagerPrivate::m_elementPasses |
Definition at line 237 of file qqmlsa_p.h.
std::multimap<QString, PropertyPassInvocation> QQmlSA::PassManagerPrivate::m_propertyPasses |
Definition at line 238 of file qqmlsa_p.h.
QQmlJSTypeResolver* QQmlSA::PassManagerPrivate::m_typeResolver = nullptr |
Definition at line 241 of file qqmlsa_p.h.
QQmlJSImportVisitor* QQmlSA::PassManagerPrivate::m_visitor = nullptr |
Definition at line 240 of file qqmlsa_p.h.