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

Function addCreateAttribute

packages/core/src/render3/i18n/i18n_parse.ts:1003–1010  ·  view source on GitHub ↗
(
  create: IcuCreateOpCodes,
  newIndex: number,
  attrName: string,
  attrValue: string,
)

Source from the content-addressed store, hash-verified

1001}
1002
1003function addCreateAttribute(
1004 create: IcuCreateOpCodes,
1005 newIndex: number,
1006 attrName: string,
1007 attrValue: string,
1008) {
1009 create.push((newIndex << IcuCreateOpCode.SHIFT_REF) | IcuCreateOpCode.Attr, attrName, attrValue);
1010}
1011
1012function i18nResolveSanitizer(attrName: string, tagName?: string): SanitizerFn | null {
1013 let schemaContext: SecurityContext;

Callers 1

walkIcuTreeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected