Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qv4compileddata_p.h File Reference
#include <functional>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qstring.h>
#include <QtCore/qscopeguard.h>
#include <QtCore/qvector.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qhash.h>
#include <QtCore/qversionnumber.h>
#include <QtCore/qlocale.h>
#include <private/qendian_p.h>
#include <private/qv4staticvalue_p.h>
#include <limits.h>
+ Include dependency graph for qv4compileddata_p.h:

Go to the source code of this file.

Classes

struct  QV4::CompiledData::TableIterator< ItemType, Container, IndexedGetter >
 
struct  QV4::CompiledData::Location
 
struct  QV4::CompiledData::RegExp
 
struct  QV4::CompiledData::Lookup
 
struct  QV4::CompiledData::JSClassMember
 
struct  QV4::CompiledData::JSClass
 
struct  QV4::CompiledData::String
 
struct  QV4::CompiledData::CodeOffsetToLineAndStatement
 
struct  QV4::CompiledData::Block
 
struct  QV4::CompiledData::ParameterType
 
struct  QV4::CompiledData::Parameter
 
struct  QV4::CompiledData::Function
 
struct  QV4::CompiledData::Method
 
struct  QV4::CompiledData::Class
 
struct  QV4::CompiledData::TemplateObject
 
struct  QV4::CompiledData::ExportEntry
 
struct  QV4::CompiledData::ImportEntry
 
struct  QV4::CompiledData::TranslationData
 
struct  QV4::CompiledData::Binding
 
struct  QV4::CompiledData::InlineComponent
 
struct  QV4::CompiledData::EnumValue
 
struct  QV4::CompiledData::Enum
 
struct  QV4::CompiledData::Signal
 
struct  QV4::CompiledData::Property
 
struct  QV4::CompiledData::RequiredPropertyExtraData
 
struct  QV4::CompiledData::Alias
 
struct  QV4::CompiledData::Object
 
struct  QV4::CompiledData::Import
 
struct  QV4::CompiledData::QmlUnit
 
struct  QV4::CompiledData::Unit
 
struct  QV4::CompiledData::TypeReference
 
struct  QV4::CompiledData::TypeReferenceMap
 
struct  QV4::CompiledData::CompilationUnitBase
 
struct  QV4::CompiledData::CompilationUnit
 
class  QV4::CompiledData::SaveableUnitPointer
 

Namespaces

namespace  QQmlPrivate
 
namespace  QmlIR
 
namespace  QV4
 \qmltype Particle \inqmlmodule QtQuick.Particles
 
namespace  QV4::Heap
 
namespace  QV4::CompiledData
 

Macros

#define QV4_DATA_STRUCTURE_VERSION   0x3C
 

Typedefs

using QV4::CompiledData::DependentTypesHasher = std::function< QByteArray()>
 

Enumerations

enum class  QV4::CompiledData::NamedBuiltin : unsigned int {
  QV4::CompiledData::Void , QV4::CompiledData::Var , QV4::CompiledData::Int , QV4::CompiledData::Bool ,
  QV4::CompiledData::Real , QV4::CompiledData::String , QV4::CompiledData::Url , QV4::CompiledData::DateTime ,
  QV4::CompiledData::RegExp
}
 
enum class  QV4::CompiledData::CommonType : unsigned int {
  QV4::CompiledData::Void = uint(NamedBuiltin::Void) , QV4::CompiledData::Var = uint(NamedBuiltin::Var) , QV4::CompiledData::Int = uint(NamedBuiltin::Int) , QV4::CompiledData::Bool = uint(NamedBuiltin::Bool) ,
  QV4::CompiledData::Real = uint(NamedBuiltin::Real) , QV4::CompiledData::String = uint(NamedBuiltin::String) , QV4::CompiledData::Url = uint(NamedBuiltin::Url) , QV4::CompiledData::DateTime = uint(NamedBuiltin::DateTime) ,
  QV4::CompiledData::RegExp = uint(NamedBuiltin::RegExp) , QV4::CompiledData::Time , QV4::CompiledData::Date , QV4::CompiledData::Rect ,
  QV4::CompiledData::Point , QV4::CompiledData::Size , QV4::CompiledData::Invalid
}
 
enum  { QV4::CompiledData::QmlCompileHashSpace = 48 }
 

Functions

 QV4::CompiledData::Q_STATIC_ASSERT (std::is_standard_layout< CompilationUnitBase >::value)
 
 QV4::CompiledData::Q_STATIC_ASSERT (offsetof(CompilationUnitBase, runtimeStrings)==0)
 
 QV4::CompiledData::Q_STATIC_ASSERT (offsetof(CompilationUnitBase, constants)==sizeof(QV4::Heap::String **))
 
 QV4::CompiledData::Q_STATIC_ASSERT (offsetof(CompilationUnitBase, runtimeRegularExpressions)==offsetof(CompilationUnitBase, constants)+sizeof(const StaticValue *))
 
 QV4::CompiledData::Q_STATIC_ASSERT (offsetof(CompilationUnitBase, runtimeClasses)==offsetof(CompilationUnitBase, runtimeRegularExpressions)+sizeof(const StaticValue *))
 
 QV4::CompiledData::Q_STATIC_ASSERT (offsetof(CompilationUnitBase, imports)==offsetof(CompilationUnitBase, runtimeClasses)+sizeof(const StaticValue *))
 
 Q_DECLARE_OPERATORS_FOR_FLAGS (QV4::CompiledData::ParameterType::Flags)
 
 Q_DECLARE_TYPEINFO (QV4::CompiledData::JSClassMember, Q_PRIMITIVE_TYPE)
 

Variables

static const char QV4::CompiledData::magic_str [] = "qv4cdata"
 

Macro Definition Documentation

◆ QV4_DATA_STRUCTURE_VERSION

#define QV4_DATA_STRUCTURE_VERSION   0x3C

Definition at line 46 of file qv4compileddata_p.h.

Function Documentation

◆ Q_DECLARE_OPERATORS_FOR_FLAGS()

Q_DECLARE_OPERATORS_FOR_FLAGS ( QV4::CompiledData::ParameterType::Flags  )

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QV4::CompiledData::JSClassMember  ,
Q_PRIMITIVE_TYPE   
)