StructTypeNode

Last modified: Jun 30, 2024

Represents a struct type node in the node-based system. This class is used to define and manage the layout and types of struct members. It extends the base Node class and provides methods to get the length of the struct, retrieve member types, and generate the struct type for a builder.

Constructor

new StructTypeNode(membersLayout, name?)
ParameterTypeDefault Value
membersLayoutObject
name?null | stringnull

Creates an instance of StructTypeNode.

AccessorType

Properties

PropertyTypeDefault Value
membersLayoutArray<{ name: string; type: string; atomic: boolean; }>
isStructLayoutNodeboolean
MethodType

Extends

Node