Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QV4::CompiledData::TemplateObject Struct Reference

#include <qv4compileddata_p.h>

+ Collaboration diagram for QV4::CompiledData::TemplateObject:

Public Member Functions

const quint32_lestringTable () const
 
uint stringIndexAt (uint i) const
 
uint rawStringIndexAt (uint i) const
 

Static Public Member Functions

static int calculateSize (int size)
 
static size_t align (size_t a)
 

Public Attributes

quint32_le size
 

Detailed Description

Definition at line 466 of file qv4compileddata_p.h.

Member Function Documentation

◆ align()

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

Definition at line 477 of file qv4compileddata_p.h.

Referenced by calculateSize().

+ Here is the caller graph for this function:

◆ calculateSize()

static int QV4::CompiledData::TemplateObject::calculateSize ( int  size)
inlinestatic

Definition at line 470 of file qv4compileddata_p.h.

References align(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ rawStringIndexAt()

uint QV4::CompiledData::TemplateObject::rawStringIndexAt ( uint  i) const
inline

Definition at line 488 of file qv4compileddata_p.h.

References i, and stringTable().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stringIndexAt()

uint QV4::CompiledData::TemplateObject::stringIndexAt ( uint  i) const
inline

Definition at line 485 of file qv4compileddata_p.h.

References i, and stringTable().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stringTable()

const quint32_le * QV4::CompiledData::TemplateObject::stringTable ( ) const
inline

Definition at line 481 of file qv4compileddata_p.h.

Referenced by rawStringIndexAt(), and stringIndexAt().

+ Here is the caller graph for this function:

Member Data Documentation

◆ size

quint32_le QV4::CompiledData::TemplateObject::size

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