Class: TypeSignature
Represents an explicit type signature declaration for a function or variable.
Example
ts
add :: Int -> Int -> IntConstructors
Constructor
new TypeSignature(
identifier,body,loc?):TypeSignature
Parameters
| Parameter | Type |
|---|---|
identifier | SymbolPrimitive |
body | Type |
loc? | SourceLocation |
Returns
TypeSignature
Overrides
ASTNode.constructor