Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJS::Dom::ImportScope Class Reference

#include <qqmldomelements_p.h>

Collaboration diagram for QQmlJS::Dom::ImportScope:

Public Member Functions

 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 (const QStringList &p, const Path &targetExports)

Static Public Attributes

static constexpr DomType kindValue = DomType::ImportScope

Detailed Description

Definition at line 1158 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ ImportScope()

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

Member Function Documentation

◆ addImport()

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

Definition at line 1216 of file qqmldomelements_p.h.

◆ allSources()

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

Definition at line 1431 of file qqmldomelements.cpp.

References QQmlJS::Dom::DomItem::canonicalPath(), QQmlJS::Dom::DomItem::environment(), QQmlJS::Dom::DomItem::path(), and QQmlJS::Dom::DomItem::top().

Here is the call graph for this function:

◆ importedExportsWithName()

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

Definition at line 1202 of file qqmldomelements_p.h.

◆ importedItemsWithName()

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

Definition at line 1183 of file qqmldomelements_p.h.

◆ importedNames()

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

Definition at line 1172 of file qqmldomelements_p.h.

◆ importSourcePaths()

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

Definition at line 1166 of file qqmldomelements_p.h.

◆ iterateDirectSubpaths()

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

Definition at line 1483 of file qqmldomelements.cpp.

References QQmlJS::Dom::DomItem::pathFromOwner(), and QQmlJS::Dom::DomItem::subMapItem().

Here is the call graph for this function:

◆ subImports()

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

Definition at line 1168 of file qqmldomelements_p.h.

Member Data Documentation

◆ kindValue

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

Definition at line 1162 of file qqmldomelements_p.h.


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