angular/packages/compiler-cli/linker/src
Kristiyan Kostadinov bc655bf309 refactor(compiler): integrate let declarations into the template pipeline (#56299)
These changes integrate let declarations into the template pipeline. This involves a few operations:
* Producing a `declareLet` instruction call at creation time to initialize the declaration.
* Producing a `storeLet` instruction call in the place of the let declaration, including the necessary `advance` calls beforehand.
* For let declarations used within their declaration view, moving the `const` to be placed right after the `storeLet` call to ensure the their value has been computed.
* For let declarations that are _only_ used in their declaration view, removing the `storeLet` call and inlining the expression into the constant statement.

PR Close #56299
2024-06-20 08:48:53 -07:00
..
ast refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:45 -07:00
file_linker refactor(compiler): integrate let declarations into the template pipeline (#56299) 2024-06-20 08:48:53 -07:00
fatal_linker_error.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:45 -07:00
linker_import_generator.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:45 -07:00