Skip to content

Class: Structure

Represents a definition of a structured data type (struct).

Constructors

Constructor

new Structure(identifier, elements, loc?): Structure

Parameters

ParameterType
identifierSymbolPrimitive
elements(Variable | Structure)[]
loc?SourceLocation

Returns

Structure

Overrides

ASTNode.constructor