Class: Field
Generic field in a Record statement. The name can be undefined to support positional-only Records
Example
ts
... { name :: String }Constructors
Constructor
new Field(
name,value,loc?):Field
Parameters
| Parameter | Type |
|---|---|
name | SymbolPrimitive |
value | Type |
loc? | SourceLocation |
Returns
Field
Overrides
ASTNode.constructor