angular/packages/compiler/src/ml_parser
Kristiyan Kostadinov 29aaded0c3 refactor(compiler): introduce block parsing in lexer (#50895)
⚠️Disclaimer⚠️ this PR implements syntax that is still in an open RFC. It will be adjusted once the RFC is closed.

These changes extend the lexer to recognize the concepts of a block group (`{#foo paramA; paramB}{/foo}`) and a block (`{:foo paramA; paramB;}`) which will be useful later on for the control flow and defer proposals. Block groups can be used anywhere and require a closing tag while block can only be used inside of a block.

The idea is that in the next PRs the markup AST will be expanded to have some more specialized node like `ConditionalBlock` or `DeferBlock` which will then be turned into instructions.

PR Close #50895
2023-07-11 08:21:48 -07:00
..
ast.ts refactor(compiler): remove unused AstPath (#44411) 2022-01-04 15:54:09 -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 feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08:00
html_whitespaces.ts refactor(compiler): cleanup references to dart (#49858) 2023-04-18 14:00:45 +00:00
icu_ast_expander.ts refactor(compiler): expose token parts in Text nodes (#43132) 2021-09-16 18:15:51 +00:00
interpolation_config.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
lexer.ts refactor(compiler): introduce block parsing in lexer (#50895) 2023-07-11 08:21:48 -07:00
parser.ts feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08: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): introduce block parsing in lexer (#50895) 2023-07-11 08:21:48 -07:00
xml_parser.ts refactor(compiler): fix rollup bundle issues due to re-export conflicts (#43431) 2021-10-01 18:28:43 +00:00
xml_tags.ts refactor(compiler): handle #24571 todos. (#49220) 2023-04-18 16:30:44 +00:00