MCPcopy Index your code
hub / github.com/angular/angular / clone

Method clone

packages/compiler/src/output/output_ast.ts:1064–1073  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
1076export class ArrowFunctionExpr extends Expression {

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
cloneMethod · 0.65

Tested by

no test coverage detected