* Ingest a literal text node from the AST into the given `ViewCompilation`.
(unit: ViewCompilationUnit, text: t.Text, icuPlaceholder: string | null)
| 561 | * Ingest a literal text node from the AST into the given `ViewCompilation`. |
| 562 | */ |
| 563 | function ingestText(unit: ViewCompilationUnit, text: t.Text, icuPlaceholder: string | null): void { |
| 564 | unit.create.push( |
| 565 | ir.createTextOp(unit.job.allocateXrefId(), text.value, icuPlaceholder, text.sourceSpan), |
| 566 | ); |
| 567 | } |
| 568 | |
| 569 | /** |
| 570 | * Ingest an interpolated text node from the AST into the given `ViewCompilation`. |
no test coverage detected