3#ifndef QQMLTYPECOMPILER_P_H
4#define QQMLTYPECOMPILER_P_H
20#include <private/qqmltypeloader_p.h>
21#include <private/qqmlirbuilder_p.h>
22#include <private/qqmlpropertycachecreator_p.h>
36namespace CompiledData {
72 return pragma->listPropertyAssignBehavior;
74 return ListPropertyAssignBehavior::Append;
179 bool assignEnumToBinding(
QmlIR::Binding *binding,
const QString &enumName,
int enumValue,
bool isQtObject)
181 return assignEnumToBinding(binding,
QStringView(enumName), enumValue, isQtObject);
183 bool tryQualifiedEnumAssignment(
202 void scanObjectRecursively(
int objectIndex,
bool annotateScriptBindings =
false);
241 enum class ScopeDeferred {
False,
True };
242 bool scanObject(
int objectIndex, ScopeDeferred scopeDeferred);
248 bool _seenObjectWithId;
T value(const Key &key) const noexcept
void annotateBindingsToAliases()
void annotateBindingsWithScriptStrings()
QUrl finalUrl() const
Returns the logical URL to be used for resolving further URLs referred to in the code.
void mergeDefaultProperties()
bool resolveEnumBindings()
The QQmlError class encapsulates a QML error.
The QQmlImports class encapsulates one QML document's import statements.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
std::function< QByteArray()> DependentTypesHasher
\qmltype Particle \inqmlmodule QtQuick.Particles
#define Q_DECLARE_TR_FUNCTIONS(context)
GLsizei const GLfloat * v
[13]
GLuint GLsizei const GLchar * message
void recordError(const QV4::CompiledData::Location &location, const QString &description) const
QV4::ResolvedTypeReference * resolvedType(int id) const
QQmlTypeCompiler * compiler
QString stringAt(int idx) const
QQmlEnginePrivate * enginePrivate() const
const QmlIR::Object * objectAt(int index) const
int registerConstant(QV4::ReturnedValue v)
QmlIR::Object CompiledObject
QmlIR::PoolList< QmlIR::Function >::Iterator objectFunctionsBegin(const QmlIR::Object *object) const
QV4::ResolvedTypeReference * resolvedType(int id) const
QList< QQmlError > compilationErrors() const
const QHash< int, QQmlCustomParser * > & customParserCache() const
const QV4::CompiledData::Unit * qmlUnit() const
QmlIR::Object * objectAt(int index)
QQmlType qmlTypeForComponent(const QString &inlineComponentName=QString()) const
QmlIR::PoolList< QmlIR::Function >::Iterator objectFunctionsEnd(const QmlIR::Object *object) const
QQmlPropertyCacheVector * propertyCaches()
QQmlJS::MemoryPool * memoryPool()
QV4::ResolvedTypeReferenceMap * resolvedTypes
QString bindingAsString(const QmlIR::Object *object, int scriptIndex) const
ListPropertyAssignBehavior listPropertyAssignBehavior() const
QQmlRefPointer< QV4::ExecutableCompilationUnit > compile()
int registerString(const QString &str)
const QV4::Compiler::StringTableGenerator * stringPool() const
void recordError(const QV4::CompiledData::Location &location, const QString &description)
QStringView newStringRef(const QString &string)
QmlIR::Binding CompiledBinding
void addImport(const QString &module, const QString &qualifier, QTypeRevision version)
QVector< QmlIR::Object * > * qmlObjects() const
QString stringAt(int idx) const
const QQmlImports * imports() const
ListPropertyAssignBehaviorValue
@ ListPropertyAssignBehavior
bool resolveSignalHandlerExpressions()