MCPcopy
hub / github.com/angular/angular / serializeNodes

Function serializeNodes

packages/compiler/src/i18n/digest.ts:96–98  ·  view source on GitHub ↗
(nodes: i18n.Node[])

Source from the content-addressed store, hash-verified

94const serializerVisitor = new _SerializerVisitor();
95
96export function serializeNodes(nodes: i18n.Node[]): string[] {
97 return nodes.map((a) => a.visit(serializerVisitor, null));
98}
99
100/**
101 * Serialize the i18n ast to something xml-like in order to generate an UID.

Callers 8

_humanizeMessagesFunction · 0.90
writeMethod · 0.90
loadAsMapFunction · 0.90
loadAsMapFunction · 0.90
loadAsMapFunction · 0.90
xtb_spec.tsFile · 0.90
i18n_ast_spec.tsFile · 0.90
computeDigestFunction · 0.70

Calls 2

mapMethod · 0.80
visitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…