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

Function addCreateAttribute

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

Source from the content-addressed store, hash-verified

976}
977
978function addCreateAttribute(
979 create: IcuCreateOpCodes,
980 newIndex: number,
981 attrName: string,
982 attrValue: string,
983) {
984 create.push((newIndex << IcuCreateOpCode.SHIFT_REF) | IcuCreateOpCode.Attr, attrName, attrValue);
985}
986
987function splitNsName(elementName: string, fatal: boolean = true): [string | null, string] {
988 if (elementName[0] != ':') {

Callers 1

walkIcuTreeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…