Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::StructInfo Struct Reference

Struct metadata stored alongside bytecode (struct section). More...

#include <CodeGen.hpp>

Public Attributes

std::string name
 Struct name.
int firstConstIndex
 Index into constants for the first default value.
int fieldCount
 Number of fields in this struct.
std::vector< std::string > fieldNames
 Field names in declaration order.

Detailed Description

Struct metadata stored alongside bytecode (struct section).

Definition at line 191 of file CodeGen.hpp.

Member Data Documentation

◆ fieldCount

int Phasor::StructInfo::fieldCount

Number of fields in this struct.

Definition at line 195 of file CodeGen.hpp.

◆ fieldNames

std::vector<std::string> Phasor::StructInfo::fieldNames

Field names in declaration order.

Definition at line 196 of file CodeGen.hpp.

◆ firstConstIndex

int Phasor::StructInfo::firstConstIndex

Index into constants for the first default value.

Definition at line 194 of file CodeGen.hpp.

◆ name

std::string Phasor::StructInfo::name

Struct name.

Definition at line 193 of file CodeGen.hpp.


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