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

Function addCreateAttribute

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

Source from the content-addressed store, hash-verified

975}
976
977function addCreateAttribute(
978 create: IcuCreateOpCodes,
979 newIndex: number,
980 attrName: string,
981 attrValue: string,
982) {
983 create.push((newIndex << IcuCreateOpCode.SHIFT_REF) | IcuCreateOpCode.Attr, attrName, attrValue);
984}
985
986function i18nResolveSanitizer(attrName: string, tagName?: string): SanitizerFn | null {
987 let schemaContext: SecurityContext;

Callers 1

walkIcuTreeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected