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

Method restore

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

Source from the content-addressed store, hash-verified

954 }
955
956 restore(content: string): string {
957 return content.replace(/__(?:ph|esc-ph)-(\d+)__/g, (_ph, index) => this.placeholders[+index]);
958 }
959
960 content(): string {
961 return this._content;

Callers 1

_applySelectorScopeMethod · 0.80

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected