Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::Paths Namespace Reference

Functions

Path moduleIndexPath (QString uri, int majorVersion, ErrorHandler errorHandler)
 
Path moduleScopePath (QString uri, Version version, ErrorHandler)
 
Path moduleScopePath (QString uri, QString version, ErrorHandler errorHandler)
 
Path moduleScopePath (QString uri, ErrorHandler errorHandler=nullptr)
 
Path qmlDirInfoPath (QString path)
 
Path qmlDirPath (QString path)
 
Path qmldirFileInfoPath (QString path)
 
Path qmldirFilePath (QString path)
 
Path qmlFileInfoPath (QString canonicalFilePath)
 
Path qmlFilePath (QString canonicalFilePath)
 
Path qmlFileObjectPath (QString canonicalFilePath)
 
Path qmltypesFileInfoPath (QString path)
 
Path qmltypesFilePath (QString path)
 
Path jsFileInfoPath (QString path)
 
Path jsFilePath (QString path)
 
Path qmlDirectoryInfoPath (QString path)
 
Path qmlDirectoryPath (QString path)
 
Path globalScopeInfoPath (QString name)
 
Path globalScopePath (QString name)
 
Path lookupCppTypePath (QString name)
 
Path lookupPropertyPath (QString name)
 
Path lookupSymbolPath (QString name)
 
Path lookupTypePath (QString name)
 
Path loadInfoPath (Path el)
 

Function Documentation

◆ globalScopeInfoPath()

Path QQmlJS::Dom::Paths::globalScopeInfoPath ( QString  name)
inline

Definition at line 109 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by globalScopePath().

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

◆ globalScopePath()

Path QQmlJS::Dom::Paths::globalScopePath ( QString  name)
inline

Definition at line 113 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and globalScopeInfoPath().

+ Here is the call graph for this function:

◆ jsFileInfoPath()

Path QQmlJS::Dom::Paths::jsFileInfoPath ( QString  path)
inline

Definition at line 93 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by jsFilePath().

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

◆ jsFilePath()

Path QQmlJS::Dom::Paths::jsFilePath ( QString  path)
inline

Definition at line 97 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and jsFileInfoPath().

+ Here is the call graph for this function:

◆ loadInfoPath()

Path QQmlJS::Dom::Paths::loadInfoPath ( Path  el)
inline

Definition at line 133 of file qqmldomelements_p.h.

References el, QQmlJS::Dom::Env, QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QStringView::toString().

+ Here is the call graph for this function:

◆ lookupCppTypePath()

Path QQmlJS::Dom::Paths::lookupCppTypePath ( QString  name)
inline

Definition at line 117 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::Current(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), and QQmlJS::Dom::Lookup.

+ Here is the call graph for this function:

◆ lookupPropertyPath()

Path QQmlJS::Dom::Paths::lookupPropertyPath ( QString  name)
inline

Definition at line 121 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::Current(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), and QQmlJS::Dom::Lookup.

+ Here is the call graph for this function:

◆ lookupSymbolPath()

Path QQmlJS::Dom::Paths::lookupSymbolPath ( QString  name)
inline

Definition at line 125 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::Current(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), and QQmlJS::Dom::Lookup.

Referenced by reachableSymbols().

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

◆ lookupTypePath()

Path QQmlJS::Dom::Paths::lookupTypePath ( QString  name)
inline

Definition at line 129 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::Current(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), and QQmlJS::Dom::Lookup.

Referenced by QQmlLSUtils::findTypeDefinitionOf(), QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

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

◆ moduleIndexPath()

Path QQmlJS::Dom::Paths::moduleIndexPath ( QString  uri,
int  majorVersion,
ErrorHandler  errorHandler 
)

Definition at line 47 of file qqmldomelements.cpp.

References arg, QQmlJS::Dom::Env, QQmlJS::Dom::ErrorGroups::error(), QQmlJS::Dom::Path::field(), QQmlJS::Dom::ErrorMessage::handle(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Version::Latest, QRegularExpression::match(), QQmlJS::Dom::Path::myErrors(), QString::number(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Version::Undefined.

+ Here is the call graph for this function:

◆ moduleScopePath() [1/3]

Path QQmlJS::Dom::Paths::moduleScopePath ( QString  uri,
ErrorHandler  errorHandler = nullptr 
)
inline

Definition at line 48 of file qqmldomelements_p.h.

References moduleScopePath().

+ Here is the call graph for this function:

◆ moduleScopePath() [2/3]

Path QQmlJS::Dom::Paths::moduleScopePath ( QString  uri,
QString  version,
ErrorHandler  errorHandler 
)

Definition at line 73 of file qqmldomelements.cpp.

References arg, QQmlJS::Dom::ErrorGroups::error(), QQmlJS::Dom::Version::fromString(), QQmlJS::Dom::ErrorMessage::handle(), QString::isEmpty(), moduleScopePath(), and QQmlJS::Dom::Path::myErrors().

+ Here is the call graph for this function:

◆ moduleScopePath() [3/3]

Path QQmlJS::Dom::Paths::moduleScopePath ( QString  uri,
Version  version,
ErrorHandler   
)

Definition at line 63 of file qqmldomelements.cpp.

References QQmlJS::Dom::Env, QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Version::majorSymbolicString(), QQmlJS::Dom::Version::minorString(), and QQmlJS::Dom::Path::Root().

Referenced by QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), moduleScopePath(), and moduleScopePath().

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

◆ qmlDirectoryInfoPath()

Path QQmlJS::Dom::Paths::qmlDirectoryInfoPath ( QString  path)
inline

Definition at line 101 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by QQmlJS::Dom::DomUniverse::execQueue(), and qmlDirectoryPath().

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

◆ qmlDirectoryPath()

Path QQmlJS::Dom::Paths::qmlDirectoryPath ( QString  path)
inline

Definition at line 105 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and qmlDirectoryInfoPath().

+ Here is the call graph for this function:

◆ qmldirFileInfoPath()

Path QQmlJS::Dom::Paths::qmldirFileInfoPath ( QString  path)
inline

Definition at line 60 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by QQmlJS::Dom::DomUniverse::execQueue(), and qmldirFilePath().

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

◆ qmldirFilePath()

Path QQmlJS::Dom::Paths::qmldirFilePath ( QString  path)
inline

Definition at line 64 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and qmldirFileInfoPath().

Referenced by QQmlJS::Dom::ModuleIndex::qmldirsToLoad().

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

◆ qmlDirInfoPath()

Path QQmlJS::Dom::Paths::qmlDirInfoPath ( QString  path)
inline

Definition at line 52 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by qmlDirPath().

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

◆ qmlDirPath()

Path QQmlJS::Dom::Paths::qmlDirPath ( QString  path)
inline

Definition at line 56 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and qmlDirInfoPath().

+ Here is the call graph for this function:

◆ qmlFileInfoPath()

Path QQmlJS::Dom::Paths::qmlFileInfoPath ( QString  canonicalFilePath)
inline

Definition at line 68 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by QQmlJS::Dom::DomUniverse::execQueue(), and qmlFilePath().

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

◆ qmlFileObjectPath()

Path QQmlJS::Dom::Paths::qmlFileObjectPath ( QString  canonicalFilePath)
inline

Definition at line 76 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::index(), QQmlJS::Dom::Path::key(), and qmlFilePath().

Referenced by QQmlJS::Dom::QmlDirectory::addQmlFilePath().

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

◆ qmlFilePath()

Path QQmlJS::Dom::Paths::qmlFilePath ( QString  canonicalFilePath)
inline

Definition at line 72 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and qmlFileInfoPath().

Referenced by qmlFileObjectPath().

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

◆ qmltypesFileInfoPath()

Path QQmlJS::Dom::Paths::qmltypesFileInfoPath ( QString  path)
inline

Definition at line 85 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), QQmlJS::Dom::Path::key(), QQmlJS::Dom::Path::Root(), and QQmlJS::Dom::Top.

Referenced by QQmlJS::Dom::DomUniverse::execQueue(), and qmltypesFilePath().

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

◆ qmltypesFilePath()

Path QQmlJS::Dom::Paths::qmltypesFilePath ( QString  path)
inline

Definition at line 89 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::field(), and qmltypesFileInfoPath().

+ Here is the call graph for this function: