angular/packages/compiler/src/ml_parser
P4 6755f5354c fix(compiler): return full spans for Comment nodes (#50855)
Change sourceSpan for Comment nodes to cover the whole comment
instead of just the opening token.

The primary motivation for this is the interaction between ESLint and
`@angular-eslint`. ESLint can detect unused `eslint-disable` directives
in comments and automatically remove them when running with `--fix`.
This is based on ranges computed from AST spans, and as a result
does not work inside Angular templates - right now all comments
claim to be 4 characters long so only the opening `<!--` is removed.

PR Close #50855
2023-07-28 14:39:18 -07:00
..
ast.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07: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): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
icu_ast_expander.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07: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): handle braces in block parameters (#51143) 2023-07-24 08:13:51 -07:00
parser.ts fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -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): introduce block parsing in lexer (#50895) 2023-07-11 08:21:48 -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