![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsscopesbyid_p.h>
Collaboration diagram for QQmlJSScopesById:Public Member Functions | |
| bool | componentsAreBound () const |
| void | setComponentsAreBound (bool bound) |
| void | setSignaturesAreEnforced (bool enforced) |
| bool | signaturesAreEnforced () const |
| void | setValueTypesAreAddressable (bool addressable) |
| bool | valueTypesAreAddressable () const |
| QString | id (const QQmlJSScope::ConstPtr &scope, const QQmlJSScope::ConstPtr &referrer) const |
| QQmlJSScope::ConstPtr | scope (const QString &id, const QQmlJSScope::ConstPtr &referrer) const |
| void | insert (const QString &id, const QQmlJSScope::ConstPtr &scope) |
| void | clear () |
| bool | existsAnywhereInDocument (const QString &id) const |
Definition at line 25 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 74 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSTypeResolver::init().
Here is the caller graph for this function:
|
inline |
Definition at line 28 of file qqmljsscopesbyid_p.h.
|
inline |
Returns true if id exists anywhere in the current document. This is still allowed if the other occurrence is in a different (inline) component. Check the return value of scope to know whether the id has already been assigned in a givne scope.
Definition at line 83 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 37 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::checkRequiredProperties(), QQmlJSImportVisitor::endVisit(), QQmlJSTypeResolver::idForScope(), and QQmlSA::GenericPass::resolveElementToId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 68 of file qqmljsscopesbyid_p.h.
References Q_ASSERT, and scope().
Here is the call graph for this function:
|
inline |
Returns the scope that has id id in the component to which referrer belongs to. If no such scope exists, a null scope is returned.
Definition at line 52 of file qqmljsscopesbyid_p.h.
Referenced by id(), insert(), QQmlJSUtils::resolveAlias(), QQmlSA::GenericPass::resolveIdToElement(), and QQmlJSTypeResolver::scopeForId().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
Here is the caller graph for this function:
|
inline |
Definition at line 31 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
Here is the caller graph for this function:
|
inline |
Definition at line 34 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
Here is the caller graph for this function:
|
inline |
Definition at line 32 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 35 of file qqmljsscopesbyid_p.h.