Skip to content

Class: Enumeration ​

Represents an enumeration type definition.

Constructors ​

Constructor ​

new Enumeration(identifier, contents, loc?): Enumeration

Parameters ​

ParameterType
identifierSymbolPrimitive
contentsSymbolPrimitive[]
loc?SourceLocation

Returns ​

Enumeration

Overrides ​

ASTNode.constructor