Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::CompiledData::Class Struct Reference

#include <qv4compileddata_p.h>

+ Collaboration diagram for QV4::CompiledData::Class:

Public Member Functions

const MethodmethodTable () const
 

Static Public Member Functions

static int calculateSize (int nStaticMethods, int nMethods)
 
static size_t align (size_t a)
 

Public Attributes

quint32_le nameIndex
 
quint32_le scopeIndex
 
quint32_le constructorFunction
 
quint32_le nStaticMethods
 
quint32_le nMethods
 
quint32_le methodTableOffset
 

Detailed Description

Definition at line 442 of file qv4compileddata_p.h.

Member Function Documentation

◆ align()

static size_t QV4::CompiledData::Class::align ( size_t  a)
inlinestatic

Definition at line 460 of file qv4compileddata_p.h.

Referenced by calculateSize().

+ Here is the caller graph for this function:

◆ calculateSize()

static int QV4::CompiledData::Class::calculateSize ( int  nStaticMethods,
int  nMethods 
)
inlinestatic

Definition at line 453 of file qv4compileddata_p.h.

References align(), nMethods, nStaticMethods, and Q_ASSERT.

+ Here is the call graph for this function:

◆ methodTable()

const Method * QV4::CompiledData::Class::methodTable ( ) const
inline

Definition at line 451 of file qv4compileddata_p.h.

References methodTableOffset.

Referenced by QV4::Runtime::CreateClass::call(), and QV4::Compiler::JSUnitGenerator::writeClass().

+ Here is the caller graph for this function:

Member Data Documentation

◆ constructorFunction

quint32_le QV4::CompiledData::Class::constructorFunction

◆ methodTableOffset

quint32_le QV4::CompiledData::Class::methodTableOffset

Definition at line 449 of file qv4compileddata_p.h.

Referenced by methodTable(), and QV4::Compiler::JSUnitGenerator::writeClass().

◆ nameIndex

quint32_le QV4::CompiledData::Class::nameIndex

◆ nMethods

quint32_le QV4::CompiledData::Class::nMethods

◆ nStaticMethods

quint32_le QV4::CompiledData::Class::nStaticMethods

◆ scopeIndex

quint32_le QV4::CompiledData::Class::scopeIndex

Definition at line 445 of file qv4compileddata_p.h.


The documentation for this struct was generated from the following file: