mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Refactor `compilation.ts` by introducing two new concepts: 1. A compilation unit, which has create and update ops. Compilations of individual views are compilation units, as are individual host bindings. 2. Aa compilation job, which has several compilation units. For example, a whole component is a compilation job, because it can have many view compilation units. A host binding compilation is a job in addition to a unit, because each host binding unit is always a singleton. Then, we begin modifying phases to accept general compilation jobs instead of component compilations specifically, which will allow us to run them on host bindings. In particular, we update the following phases: `phaseReify`, and `phaseChaining`. PR Close #50899 |
||
|---|---|---|
| .. | ||
| ast.ts | ||
| lexer.ts | ||
| parser.ts | ||