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

Function serialize

packages/compiler/src/expression_parser/serializer.ts:12–14  ·  view source on GitHub ↗
(expression: expr.ASTWithSource)

Source from the content-addressed store, hash-verified

10
11/** Serializes the given AST into a normalized string format. */
12export function serialize(expression: expr.ASTWithSource): string {
13 return expression.visit(new SerializeExpressionVisitor());
14}
15
16class SerializeExpressionVisitor implements expr.AstVisitor {
17 visitUnary(ast: expr.Unary, context: any): string {

Callers

nothing calls this directly

Calls 1

visitMethod · 0.65

Tested by

no test coverage detected