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>.
|
#include "qqmljsimporter_p.h"
#include "qqmljstypedescriptionreader_p.h"
#include "qqmljstypereader_p.h"
#include "qqmljsimportvisitor_p.h"
#include "qqmljslogger_p.h"
#include <QtQml/private/qqmlimportresolver_p.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qdiriterator.h>
Go to the source code of this file.
Functions | |
static const QString | prefixedName (const QString &prefix, const QString &name) |
static QString | internalName (const QQmlJSScope::ConstPtr &scope) |
static bool | isComposite (const QQmlJSScope::ConstPtr &scope) |
static QStringList | aliases (const QQmlJSScope::ConstPtr &scope) |
static QString | resolvePreferredPath (const QString &qmldirPath, const QString &prefer, QQmlJSResourceFileMapper *mapper) |
static bool | isVersionAllowed (const QQmlJSScope::Export &exportEntry, const QQmlJS::Import &importDescription) |
Variables | |
static const QLatin1String | SlashQmldir = QLatin1String("/qmldir") |
static const QLatin1String | PluginsDotQmltypes = QLatin1String("plugins.qmltypes") |
|
static |
Definition at line 157 of file qqmljsimporter.cpp.
References QQmlJSScope::aliases(), and isComposite().
Referenced by QmlIR::Object::aliasCount(), QmlIR::Object::aliasesBegin(), QmlIR::Object::aliasesEnd(), QmlIR::Object::firstAlias(), QCommandLineParser::isSet(), QtFontFamily::matchesFamilyName(), and QQmlJSScope::setAliases().
|
static |
Definition at line 144 of file qqmljsimporter.cpp.
References factory, QDeferredSharedPointer< T >::factory(), and QQmlJSScope::internalName().
Referenced by QQmlJSScope::canAssign(), QQmlJSScope::isSameType(), QQmlSA::DebugPropertyPass::onBinding(), QQmlSA::DebugPropertyPass::onRead(), QQmlJSCodeGenerator::registerVariable(), QQmlJSScope::setInternalName(), and QQmlJSImportVisitor::visit().
|
static |
Definition at line 151 of file qqmljsimporter.cpp.
References QDeferredSharedPointer< T >::factory(), and QQmlJSScope::isComposite().
Referenced by aliases(), QQmlJSScope::canAssign(), QmlLsp::QQmlCodeModel::fileNamesToWatch(), and QQmlJS::Dom::Component::setIsComposite().
|
static |
Definition at line 391 of file qqmljsimporter.cpp.
References QTypeRevision::hasMinorVersion().
Definition at line 38 of file qqmljsimporter.cpp.
References QString::endsWith(), QString::isEmpty(), and Q_ASSERT.
Referenced by QQmlJSImporter::importModule().
|
static |
Definition at line 178 of file qqmljsimporter.cpp.
References mapper, Q_ASSERT, qWarning, QQmlJSResourceFileMapper::resourceFileFilter(), and SlashQmldir.
|
static |
Definition at line 20 of file qqmljsimporter.cpp.
|
static |
Definition at line 19 of file qqmljsimporter.cpp.
Referenced by QQmlJSImporter::importQmldirs(), and resolvePreferredPath().