* Ingest a literal text node from the AST into the given `ViewCompilation`.
(unit: ViewCompilationUnit, text: t.Text, icuPlaceholder: string | null)
| 445 | * Ingest a literal text node from the AST into the given `ViewCompilation`. |
| 446 | */ |
| 447 | function ingestText(unit: ViewCompilationUnit, text: t.Text, icuPlaceholder: string | null): void { |
| 448 | unit.create.push( |
| 449 | ir.createTextOp(unit.job.allocateXrefId(), text.value, icuPlaceholder, text.sourceSpan), |
| 450 | ); |
| 451 | } |
| 452 | |
| 453 | /** |
| 454 | * Ingest an interpolated text node from the AST into the given `ViewCompilation`. |
no test coverage detected