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

Class BoundaryBlock

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

Source from the content-addressed store, hash-verified

358}
359
360export class BoundaryBlock extends BlockNode implements Node {
361 constructor(
362 public children: Node[],
363 public errorBlocks: BoundaryErrorBlock[],
364 nameSpan: ParseSourceSpan,
365 sourceSpan: ParseSourceSpan,
366 public mainBlockSpan: ParseSourceSpan,
367 startSourceSpan: ParseSourceSpan,
368 endSourceSpan: ParseSourceSpan | null,
369 public i18n?: I18nMeta,
370 ) {
371 super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
372 }
373
374 visit<Result>(visitor: Visitor<Result>): Result {
375 return visitor.visitBoundaryBlock(this);
376 }
377}
378
379export class BoundaryErrorBlock extends BlockNode implements Node {
380 constructor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected