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

Function serialize

packages/compiler/src/i18n/serializers/xml_helper.ts:50–52  ·  view source on GitHub ↗
(nodes: Node[])

Source from the content-addressed store, hash-verified

48const _visitor = new _Visitor();
49
50export function serialize(nodes: Node[]): string {
51 return nodes.map((node: Node): string => node.visit(_visitor)).join('');
52}
53
54export interface Node {
55 visit(visitor: IVisitor): any;

Callers 1

serializer_spec.tsFile · 0.90

Calls 3

mapMethod · 0.80
joinMethod · 0.65
visitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…