Class: ListUnaryOperation
Represents a unary operation on a list, such as getting the head or tail.
Constructors
Constructor
new ListUnaryOperation(
operator,operand,loc?):ListUnaryOperation
Parameters
| Parameter | Type |
|---|---|
operator | ListUnaryOperator |
operand | Expression |
loc? | SourceLocation |
Returns
ListUnaryOperation
Overrides
ASTNode.constructor