angular/packages/compiler/src
Kristiyan Kostadinov 64990a50ed 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:52 -07:00
..
expression_parser refactor(compiler): expose shorthand object metadata in expression AST (#56405) 2024-06-13 10:12:52 -07:00
i18n refactor(compiler): implement let declarations in html ast (#55848) 2024-05-30 14:55:36 +00:00
ml_parser refactor(compiler): implement let declarations in html ast (#55848) 2024-05-30 14:55:36 +00:00
output refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
render3 refactor(compiler): integrate let declarations into the template pipeline (#56299) 2024-06-20 08:48:52 -07:00
schema fix(compiler): add math elements to schema (#55631) 2024-05-02 11:12:14 -07:00
template/pipeline refactor(compiler): integrate let declarations into the template pipeline (#56299) 2024-06-20 08:48:52 -07:00
template_parser refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
assertions.ts fix(compiler): prevent usage of reserved control flow symbol in custom interpolation context. (#55809) 2024-05-16 09:28:13 -07:00
chars.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
compiler.ts refactor(compiler): implement let declarations in render3 ast (#55848) 2024-05-30 14:55:36 +00:00
compiler_facade_interface.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
config.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
constant_pool.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
core.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
injectable_compiler_2.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
jit_compiler_facade.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
parse_util.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
resource_loader.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
selector.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
shadow_css.ts fix(compiler): maintain multiline CSS selectors during CSS scoping (#55509) 2024-05-06 12:39:50 -07:00
style_url_resolver.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
util.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00