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

Method clone

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

Source from the content-addressed store, hash-verified

739 }
740
741 override clone(): LocalizedString {
742 return new LocalizedString(
743 this.metaBlock,
744 this.messageParts,
745 this.placeHolderNames,
746 this.expressions.map((expr) => expr.clone()),
747 this.sourceSpan,
748 );
749 }
750
751 /**
752 * Serialize the given `meta` and `messagePart` into "cooked" and "raw" strings that can be used

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
cloneMethod · 0.65

Tested by

no test coverage detected