MCPcopy
hub / github.com/angular/angular / BlockPlaceholder

Class BlockPlaceholder

packages/compiler/src/i18n/i18n_ast.ts:162–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162export class BlockPlaceholder implements Node {
163 constructor(
164 public name: string,
165 public parameters: string[],
166 public startName: string,
167 public closeName: string,
168 public children: Node[],
169 public sourceSpan: ParseSourceSpan,
170 public startSourceSpan: ParseSourceSpan | null,
171 public endSourceSpan: ParseSourceSpan | null,
172 ) {}
173
174 visit(visitor: Visitor, context?: any): any {
175 return visitor.visitBlockPlaceholder(this, context);
176 }
177}
178
179/**
180 * Each HTML node that is affect by an i18n tag will also have an `i18n` property that is of type

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…