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

Function getSafePropertyAccessString

packages/compiler/src/render3/util.ts:51–54  ·  view source on GitHub ↗
(accessor: string, name: string)

Source from the content-addressed store, hash-verified

49}
50
51export function getSafePropertyAccessString(accessor: string, name: string): string {
52 const escapedName = escapeIdentifier(name, false);
53 return escapedName !== name ? `${accessor}[${escapedName}]` : `${accessor}.${name}`;
54}
55
56export function prepareSyntheticListenerFunctionName(name: string, phase: string) {
57 return `animation_${name}_${phase}`;

Callers 2

extractHostBindingsFunction · 0.90
extractHostBindingsFunction · 0.90

Calls 1

escapeIdentifierFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…