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::Import Class Reference

#include <qqmldomelements_p.h>

+ Collaboration diagram for QQmlJS::Dom::Import:

Public Member Functions

 Import (const QmlUri &uri=QmlUri(), Version version=Version(), const QString &importId=QString())
 
bool iterateDirectSubpaths (const DomItem &self, DirectVisitor) const
 
Path importedPath () const
 
Import baseImport () const
 
void writeOut (const DomItem &self, OutWriter &ow) const
 

Static Public Member Functions

static Import fromUriString (const QString &importStr, Version v=Version(), const QString &importId=QString(), const ErrorHandler &handler=nullptr)
 
static Import fromFileString (const QString &importStr, const QString &importId=QString(), const ErrorHandler &handler=nullptr)
 
static QRegularExpression importRe ()
 

Public Attributes

QmlUri uri
 
Version version
 
QString importId
 
RegionComments comments
 
bool implicit = false
 

Static Public Attributes

static constexpr DomType kindValue = DomType::Import
 

Friends

bool operator== (const Import &i1, const Import &i2)
 
bool operator!= (const Import &i1, const Import &i2)
 

Detailed Description

Definition at line 263 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ Import()

QQmlJS::Dom::Import::Import ( const QmlUri & uri = QmlUri(),
Version version = Version(),
const QString & importId = QString() )
inline

Definition at line 276 of file qqmldomelements_p.h.

References Import().

Referenced by Import().

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

Member Function Documentation

◆ baseImport()

Import QQmlJS::Dom::Import::baseImport ( ) const
inline

Definition at line 297 of file qqmldomelements_p.h.

◆ fromFileString()

static Import QQmlJS::Dom::Import::fromFileString ( const QString & importStr,
const QString & importId = QString(),
const ErrorHandler & handler = nullptr )
static

◆ fromUriString()

static Import QQmlJS::Dom::Import::fromUriString ( const QString & importStr,
Version v = Version(),
const QString & importId = QString(),
const ErrorHandler & handler = nullptr )
static

◆ importedPath()

Path QQmlJS::Dom::Import::importedPath ( ) const
inline

Definition at line 283 of file qqmldomelements_p.h.

◆ importRe()

QRegularExpression QQmlJS::Dom::Import::importRe ( )
static

Definition at line 260 of file qqmldomelements.cpp.

◆ iterateDirectSubpaths()

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

◆ writeOut()

void QQmlJS::Dom::Import::writeOut ( const DomItem & self,
OutWriter & ow ) const

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const Import & i1,
const Import & i2 )
friend

Definition at line 304 of file qqmldomelements_p.h.

◆ operator==

bool operator== ( const Import & i1,
const Import & i2 )
friend

Definition at line 299 of file qqmldomelements_p.h.

Member Data Documentation

◆ comments

RegionComments QQmlJS::Dom::Import::comments

Definition at line 313 of file qqmldomelements_p.h.

◆ implicit

bool QQmlJS::Dom::Import::implicit = false

Definition at line 314 of file qqmldomelements_p.h.

◆ importId

QString QQmlJS::Dom::Import::importId

Definition at line 312 of file qqmldomelements_p.h.

◆ kindValue

DomType QQmlJS::Dom::Import::kindValue = DomType::Import
staticconstexpr

Definition at line 267 of file qqmldomelements_p.h.

◆ uri

QmlUri QQmlJS::Dom::Import::uri

Definition at line 310 of file qqmldomelements_p.h.

◆ version

Version QQmlJS::Dom::Import::version

Definition at line 311 of file qqmldomelements_p.h.


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