| 340 | } |
| 341 | |
| 342 | export 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 | |
| 361 | export interface DeferredBlockTriggers { |
| 362 | when?: BoundDeferredTrigger; |
nothing calls this directly
no outgoing calls
no test coverage detected