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
QQmlJS::Dom::ImportScope Class Reference

#include <qqmldomelements_p.h>

+ Collaboration diagram for QQmlJS::Dom::ImportScope:

Public Member Functions

 ImportScope ()=default
 
 ~ImportScope ()=default
 
const QList< Path > & importSourcePaths () const &
 
const QMap< QString, ImportScope > & subImports () const &
 
QList< PathallSources (const DomItem &self) const
 
QSet< QStringimportedNames (const DomItem &self) const
 
QList< DomItemimportedItemsWithName (const DomItem &self, const QString &name) const
 
QList< ExportimportedExportsWithName (const DomItem &self, const QString &name) const
 
bool iterateDirectSubpaths (const DomItem &self, DirectVisitor visitor) const
 
void addImport (QStringList p, const Path &targetExports)
 

Static Public Attributes

static constexpr DomType kindValue = DomType::ImportScope
 

Detailed Description

Definition at line 1168 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ ImportScope()

QQmlJS::Dom::ImportScope::ImportScope ( )
default

◆ ~ImportScope()

QQmlJS::Dom::ImportScope::~ImportScope ( )
default

Member Function Documentation

◆ addImport()

void QQmlJS::Dom::ImportScope::addImport ( QStringList p,
const Path & targetExports )
inline

Definition at line 1227 of file qqmldomelements_p.h.

References QString::append().

+ Here is the call graph for this function:

◆ allSources()

QList< Path > QQmlJS::Dom::ImportScope::allSources ( const DomItem & self) const

◆ importedExportsWithName()

QList< Export > QQmlJS::Dom::ImportScope::importedExportsWithName ( const DomItem & self,
const QString & name ) const
inline

Definition at line 1213 of file qqmldomelements_p.h.

References arg, i, QQmlJS::Dom::importErrors, and tr.

◆ importedItemsWithName()

QList< DomItem > QQmlJS::Dom::ImportScope::importedItemsWithName ( const DomItem & self,
const QString & name ) const
inline

Definition at line 1194 of file qqmldomelements_p.h.

References arg, i, QQmlJS::Dom::importErrors, QQmlJS::Dom::DomItem::indexes(), QQmlJS::Dom::DomItem::key(), and tr.

+ Here is the call graph for this function:

◆ importedNames()

QSet< QString > QQmlJS::Dom::ImportScope::importedNames ( const DomItem & self) const
inline

Definition at line 1183 of file qqmldomelements_p.h.

References keys.

◆ importSourcePaths()

const QList< Path > & QQmlJS::Dom::ImportScope::importSourcePaths ( ) const &
inline

Definition at line 1177 of file qqmldomelements_p.h.

◆ iterateDirectSubpaths()

bool QQmlJS::Dom::ImportScope::iterateDirectSubpaths ( const DomItem & self,
DirectVisitor visitor ) const

◆ subImports()

const QMap< QString, ImportScope > & QQmlJS::Dom::ImportScope::subImports ( ) const &
inline

Definition at line 1179 of file qqmldomelements_p.h.

Member Data Documentation

◆ kindValue

constexpr DomType QQmlJS::Dom::ImportScope::kindValue = DomType::ImportScope
staticconstexpr

Definition at line 1172 of file qqmldomelements_p.h.


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