Skip to content

Class: Record ​

Generic Record statement node.

Example ​

ts
data Record = Constructor { field :: String }
data PositionalRecord = Constructor String String

Constructors ​

Constructor ​

new Record(name, contents, deriving?, loc?): Record

Parameters ​

ParameterType
nameSymbolPrimitive
contentsConstructor[]
deriving?SymbolPrimitive[]
loc?SourceLocation

Returns ​

Record

Overrides ​

ASTNode.constructor