Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qqmljsscopesbyid_p.h>
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, QQmlJSScopesByIdOptions options=Default) const |
QQmlJSScope::ConstPtr | scope (const QString &id, const QQmlJSScope::ConstPtr &referrer, QQmlJSScopesByIdOptions options=Default) const |
void | insert (const QString &id, const QQmlJSScope::ConstPtr &scope) |
void | clear () |
bool | existsAnywhereInDocument (const QString &id) const |
Definition at line 31 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 82 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSTypeResolver::init().
|
inline |
Definition at line 34 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 91 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 43 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::checkRequiredProperties(), and QQmlJSImportVisitor::endVisit().
|
inline |
Definition at line 76 of file qqmljsscopesbyid_p.h.
References Q_ASSERT, and scope().
|
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 59 of file qqmljsscopesbyid_p.h.
Referenced by id(), insert(), and QQmlJSTypeResolver::scopedType().
|
inline |
Definition at line 35 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
inline |
Definition at line 37 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
inline |
Definition at line 40 of file qqmljsscopesbyid_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
inline |
Definition at line 38 of file qqmljsscopesbyid_p.h.
|
inline |
Definition at line 41 of file qqmljsscopesbyid_p.h.