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

Function visitParams

packages/compiler/src/output/abstract_emitter.ts:743–753  ·  view source on GitHub ↗
(params: o.FnParam[], ctx: EmitterVisitorContext)

Source from the content-addressed store, hash-verified

741 }
742
743 protected visitParams(params: o.FnParam[], ctx: EmitterVisitorContext): void {
744 this.visitAllObjects(
745 (param) => {
746 ctx.print(null, param.name);
747 param.type?.visitType(this, ctx);
748 },
749 params,
750 ctx,
751 ', ',
752 );
753 }
754
755 protected shouldParenthesize(
756 expression: o.Expression,

Callers

nothing calls this directly

Calls 2

printMethod · 0.45
visitTypeMethod · 0.45

Tested by

no test coverage detected