angular/packages/compiler/src/render3
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
..
partial refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
view refactor(compiler-cli): integrate let declarations into the template type checker (#56199) 2024-06-04 17:28:03 +00:00
r3_ast.ts refactor(compiler): implement let declarations in render3 ast (#55848) 2024-05-30 14:55:36 +00:00
r3_class_debug_info_compiler.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_class_metadata_compiler.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_control_flow.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_deferred_blocks.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_deferred_triggers.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_factory.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_identifiers.ts refactor(compiler): integrate let declarations into the template pipeline (#56299) 2024-06-20 08:48:52 -07:00
r3_injector_compiler.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_jit.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_module_compiler.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_pipe_compiler.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
r3_template_transform.ts refactor(compiler): implement let declarations in render3 ast (#55848) 2024-05-30 14:55:36 +00:00
util.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00