Class: Record
Generic Record statement node.
Example
ts
data Record = Constructor { field :: String }
data PositionalRecord = Constructor String StringConstructors
Constructor
new Record(
name,contents,deriving?,loc?):Record
Parameters
| Parameter | Type |
|---|---|
name | SymbolPrimitive |
contents | Constructor[] |
deriving? | SymbolPrimitive[] |
loc? | SourceLocation |
Returns
Record
Overrides
ASTNode.constructor