angular/packages/compiler/test/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
..
util refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
ast_serializer_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ast_spec_utils.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
html_parser_spec.ts fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
html_whitespaces_spec.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
icu_ast_expander_spec.ts refactor(compiler): implement block syntax in html ast (#50953) 2023-07-13 09:32:53 -07:00
lexer_spec.ts refactor(compiler): handle braces in block parameters (#51143) 2023-07-24 08:13:51 -07:00