angular/packages/compiler/src/expression_parser
Kristiyan Kostadinov 5fb707f81a fix(compiler): produce placeholder for blocks in i18n bundles (#52958)
When blocks were initially implemented, they were represented as containers in the i18n AST. This is problematic, because block affect the structure of the message.

These changes introduce a new `BlockPlaceholder` AST node and integrate it into the i18n pipeline. With the new node blocks are represented with the `START_BLOCK_<name>` and `CLOSE_BLOCK_<name>` placeholders.

PR Close #52958
2023-11-20 08:59:24 -08: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 fix(compiler): produce placeholder for blocks in i18n bundles (#52958) 2023-11-20 08:59:24 -08:00