MCPcopy Create free account
hub / github.com/angular/angular / restore

Method restore

packages/compiler/src/shadow_css.ts:964–966  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

962 }
963
964 restore(content: string): string {
965 return content.replace(/__(?:ph|esc-ph)-(\d+)__/g, (_ph, index) => this.placeholders[+index]);
966 }
967
968 content(): string {
969 return this._content;

Callers 2

_applySelectorScopeMethod · 0.80
drawSvgLabelFunction · 0.80

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected