()
| 1062 | } |
| 1063 | |
| 1064 | override clone(): FunctionExpr { |
| 1065 | // TODO: Should we deep clone statements? |
| 1066 | return new FunctionExpr( |
| 1067 | this.params.map((p) => p.clone()), |
| 1068 | this.statements, |
| 1069 | this.type, |
| 1070 | this.sourceSpan, |
| 1071 | this.name, |
| 1072 | ); |
| 1073 | } |
| 1074 | } |
| 1075 | |
| 1076 | export class ArrowFunctionExpr extends Expression { |