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>.
Loading...
Searching...
No Matches
QQmlJSScopesById Class Reference

#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, 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
 

Detailed Description

Definition at line 31 of file qqmljsscopesbyid_p.h.

Member Function Documentation

◆ clear()

void QQmlJSScopesById::clear ( )
inline

Definition at line 82 of file qqmljsscopesbyid_p.h.

Referenced by QQmlJSTypeResolver::init().

+ Here is the caller graph for this function:

◆ componentsAreBound()

bool QQmlJSScopesById::componentsAreBound ( ) const
inline

Definition at line 34 of file qqmljsscopesbyid_p.h.

◆ existsAnywhereInDocument()

bool QQmlJSScopesById::existsAnywhereInDocument ( const QString & id) const
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.

◆ id()

QString QQmlJSScopesById::id ( const QQmlJSScope::ConstPtr & scope,
const QQmlJSScope::ConstPtr & referrer,
QQmlJSScopesByIdOptions options = Default ) const
inline

Definition at line 43 of file qqmljsscopesbyid_p.h.

References it, and scope().

Referenced by QQmlJSImportVisitor::checkRequiredProperties(), and QQmlJSImportVisitor::endVisit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ insert()

void QQmlJSScopesById::insert ( const QString & id,
const QQmlJSScope::ConstPtr & scope )
inline

Definition at line 76 of file qqmljsscopesbyid_p.h.

References Q_ASSERT, and scope().

+ Here is the call graph for this function:

◆ scope()

QQmlJSScope::ConstPtr QQmlJSScopesById::scope ( const QString & id,
const QQmlJSScope::ConstPtr & referrer,
QQmlJSScopesByIdOptions options = Default ) const
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.

References it, and Q_ASSERT.

Referenced by id(), insert(), and QQmlJSTypeResolver::scopedType().

+ Here is the caller graph for this function:

◆ setComponentsAreBound()

void QQmlJSScopesById::setComponentsAreBound ( bool bound)
inline

Definition at line 35 of file qqmljsscopesbyid_p.h.

Referenced by QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ setSignaturesAreEnforced()

void QQmlJSScopesById::setSignaturesAreEnforced ( bool enforced)
inline

Definition at line 37 of file qqmljsscopesbyid_p.h.

Referenced by QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ setValueTypesAreAddressable()

void QQmlJSScopesById::setValueTypesAreAddressable ( bool addressable)
inline

Definition at line 40 of file qqmljsscopesbyid_p.h.

Referenced by QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ signaturesAreEnforced()

bool QQmlJSScopesById::signaturesAreEnforced ( ) const
inline

Definition at line 38 of file qqmljsscopesbyid_p.h.

◆ valueTypesAreAddressable()

bool QQmlJSScopesById::valueTypesAreAddressable ( ) const
inline

Definition at line 41 of file qqmljsscopesbyid_p.h.


The documentation for this class was generated from the following file: