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::Paths Namespace Reference

Functions

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

Function Documentation

◆ globalScopeInfoPath()

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

Definition at line 114 of file qqmldomelements_p.h.

References 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 ( const QString & name)
inline

Definition at line 118 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 ( const QString & path)
inline

Definition at line 98 of file qqmldomelements_p.h.

References 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 ( const QString & path)
inline

Definition at line 102 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 ( const Path & el)
inline

Definition at line 138 of file qqmldomelements_p.h.

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

+ Here is the call graph for this function:

◆ lookupCppTypePath()

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

Definition at line 122 of file qqmldomelements_p.h.

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

+ Here is the call graph for this function:

◆ lookupPropertyPath()

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

Definition at line 126 of file qqmldomelements_p.h.

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

+ Here is the call graph for this function:

◆ lookupSymbolPath()

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

Definition at line 130 of file qqmldomelements_p.h.

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

+ Here is the call graph for this function:

◆ lookupTypePath()

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

Definition at line 134 of file qqmldomelements_p.h.

References QQmlJS::Dom::Path::Current(), 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 ( const QString & uri,
int majorVersion,
const ErrorHandler & errorHandler )

Definition at line 48 of file qqmldomelements.cpp.

References arg, QQmlJS::Dom::Env, QQmlJS::Dom::Version::Latest, 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 ( const QString & uri,
const ErrorHandler & errorHandler = nullptr )
inline

Definition at line 52 of file qqmldomelements_p.h.

References moduleScopePath().

+ Here is the call graph for this function:

◆ moduleScopePath() [2/3]

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

Definition at line 74 of file qqmldomelements.cpp.

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

+ Here is the call graph for this function:

◆ moduleScopePath() [3/3]

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

Definition at line 64 of file qqmldomelements.cpp.

References QQmlJS::Dom::Env, 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 ( const QString & path)
inline

Definition at line 106 of file qqmldomelements_p.h.

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

Referenced by qmlDirectoryPath().

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

◆ qmlDirectoryPath()

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

Definition at line 110 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 ( const QString & path)
inline

Definition at line 65 of file qqmldomelements_p.h.

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

Referenced by qmldirFilePath().

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

◆ qmldirFilePath()

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

Definition at line 69 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 ( const QString & path)
inline

Definition at line 57 of file qqmldomelements_p.h.

References 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 ( const QString & path)
inline

Definition at line 61 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 ( const QString & canonicalFilePath)
inline

Definition at line 73 of file qqmldomelements_p.h.

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

Referenced by qmlFilePath().

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

◆ qmlFileObjectPath()

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

Definition at line 81 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 ( const QString & canonicalFilePath)
inline

Definition at line 77 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 ( const QString & path)
inline

Definition at line 90 of file qqmldomelements_p.h.

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

Referenced by qmltypesFilePath().

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

◆ qmltypesFilePath()

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

Definition at line 94 of file qqmldomelements_p.h.

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

+ Here is the call graph for this function: