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

Class ContentBlock

packages/compiler/src/render3/r3_ast.ts:342–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342export class ContentBlock extends BlockNode implements Node {
343 constructor(
344 public name: string,
345 public variables: Variable[],
346 public children: Node[],
347 nameSpan: ParseSourceSpan,
348 sourceSpan: ParseSourceSpan,
349 startSourceSpan: ParseSourceSpan,
350 endSourceSpan: ParseSourceSpan | null,
351 public i18n?: I18nMeta,
352 ) {
353 super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
354 }
355
356 visit<Result>(visitor: Visitor<Result>): Result {
357 return visitor.visitContentBlock(this);
358 }
359}
360
361export interface DeferredBlockTriggers {
362 when?: BoundDeferredTrigger;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected