StructTypeNode

Last modified: Nov 26, 2025

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.

AccessorTypeModifiers
get typestringstatic
MethodTypeModifiers

Extends

Node