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
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 462 of file qv4compileddata_p.h.

Member Function Documentation

◆ align()

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

Definition at line 480 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 473 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 471 of file qv4compileddata_p.h.

References methodTableOffset.

Member Data Documentation

◆ constructorFunction

quint32_le QV4::CompiledData::Class::constructorFunction

Definition at line 466 of file qv4compileddata_p.h.

Referenced by QV4::Compiler::JSUnitGenerator::writeClass().

◆ methodTableOffset

quint32_le QV4::CompiledData::Class::methodTableOffset

Definition at line 469 of file qv4compileddata_p.h.

Referenced by methodTable().

◆ nameIndex

quint32_le QV4::CompiledData::Class::nameIndex

Definition at line 464 of file qv4compileddata_p.h.

◆ nMethods

quint32_le QV4::CompiledData::Class::nMethods

Definition at line 468 of file qv4compileddata_p.h.

Referenced by calculateSize().

◆ nStaticMethods

quint32_le QV4::CompiledData::Class::nStaticMethods

Definition at line 467 of file qv4compileddata_p.h.

Referenced by calculateSize().

◆ scopeIndex

quint32_le QV4::CompiledData::Class::scopeIndex

Definition at line 465 of file qv4compileddata_p.h.


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