angular/packages/compiler/src/expression_parser
Dylan Hunn 8f67c0751d refactor(compiler): Prepare the template pipeline to support host bindings. (#50899)
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
2023-07-27 15:08:04 -07:00
..
ast.ts refactor: improve type safety of interpolation AST (#50903) 2023-07-10 07:08:28 -07:00
lexer.ts refactor(compiler): Remove unnecessary assignment (#48478) 2023-01-04 12:23:50 -08:00
parser.ts refactor(compiler): Prepare the template pipeline to support host bindings. (#50899) 2023-07-27 15:08:04 -07:00