angular/packages/compiler/src/ml_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 fix(compiler): produce placeholder for blocks in i18n bundles (#52958) 2023-11-20 08:59:24 -08:00
defaults.ts fix(compiler): produce placeholder for blocks in i18n bundles (#52958) 2023-11-20 08:59:24 -08:00
entities.ts refactor(compiler): cleanup references to dart (#49858) 2023-04-18 14:00:45 +00:00
html_parser.ts refactor(compiler): fix rollup bundle issues due to re-export conflicts (#43431) 2021-10-01 18:28:43 +00:00
html_tags.ts fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225) 2023-10-16 18:22:15 +02:00
html_whitespaces.ts fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
icu_ast_expander.ts fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
lexer.ts fix(compiler): produce placeholder for blocks in i18n bundles (#52958) 2023-11-20 08:59:24 -08:00
parser.ts fix(language-service): Autocomplete block keywords in more cases (#52198) 2023-10-23 12:01:52 -07:00
tags.ts refactor(compiler): use === rather than == in the ml_parser (#43129) 2021-08-16 13:07:23 -07:00
tokens.ts refactor(compiler): handle incomplete blocks in the lexer (#52047) 2023-10-05 13:10:05 -07:00
xml_parser.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
xml_tags.ts refactor(compiler): handle #24571 todos. (#49220) 2023-04-18 16:30:44 +00:00