Class: VariablePattern
Represents a pattern that matches any value and binds it to a variable.
Example
ts
map (\x -> x + 1)Constructors
Constructor
new VariablePattern(
name,loc?):VariablePattern
Parameters
| Parameter | Type |
|---|---|
name | SymbolPrimitive |
loc? | SourceLocation |
Returns
VariablePattern
Overrides
ASTNode.constructor