angular/packages/compiler/src
JoostK db05ae13a6 refactor(compiler): remove parsing support for quote expressions (#44915)
So-called "Quote expressions" were added in b6ec2387b3
to support foreign syntax to be used in Angular templates, requiring a custom
template transform to convert them somehow during compilation. Support for template
transforms was originally implemented in a43ed79ee7 but
has since been dropped. Since the compiler is not public API the quote expressions
should not have any usages anymore. Removing support for them can improve error
reporting for expressions that contain a `:`, e.g. binding to a URL without quotes:

```html
<a [href]="http://google.com">Click me</a>
```

Here, `http` would be parsed as foreign "http" quote expression with `//google.com` as
value, later reporting the error "Quotes are not supported for evaluation!" because
there was no template transform to convert that code.

Closes #40398

PR Close #44915
2022-01-31 23:31:11 +00:00
..
compiler_util refactor(compiler): remove parsing support for quote expressions (#44915) 2022-01-31 23:31:11 +00:00
expression_parser refactor(compiler): remove parsing support for quote expressions (#44915) 2022-01-31 23:31:11 +00:00
i18n refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
ml_parser refactor(compiler): remove unused AstPath (#44411) 2022-01-04 15:54:09 -08:00
output refactor(compiler): store modifiers in a bitmask instead of an array (#44731) 2022-01-18 14:51:08 -08:00
render3 fix(compiler-cli): Handle ng-template with structural directive in indexer (#44788) 2022-01-25 14:15:44 -08:00
schema fix(language-service): provide dom event completions (#43299) 2021-09-27 10:45:58 -07:00
template_parser refactor(compiler): remove unused method from binding parser (#44411) 2022-01-04 15:54:10 -08:00
assertions.ts refactor(compiler): remove unused assertion function (#44411) 2022-01-04 15:54:09 -08:00
chars.ts refactor(compiler): share isQuote() via chars.ts (#43129) 2021-08-16 13:07:23 -07:00
compiler.ts refactor(compiler): store modifiers in a bitmask instead of an array (#44731) 2022-01-18 14:51:08 -08:00
compiler_facade_interface.ts fix(core): handle invalid constructor parameters in partial factory declarations (#43619) 2021-10-01 12:24:31 -04:00
config.ts refactor(compiler): remove extra imports (#37246) 2020-06-11 19:00:33 -07:00
constant_pool.ts refactor(compiler): store modifiers in a bitmask instead of an array (#44731) 2022-01-18 14:51:08 -08:00
core.ts refactor(compiler): remove unused type declarations (#44411) 2022-01-04 15:54:09 -08:00
identifiers.ts refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
injectable_compiler_2.ts fix(compiler): ensure that partially compiled queries can handle forward references (#44113) 2021-11-10 18:25:16 +00:00
jit_compiler_facade.ts refactor(compiler): store modifiers in a bitmask instead of an array (#44731) 2022-01-18 14:51:08 -08:00
parse_util.ts refactor(compiler): remove syntax error logic (#44411) 2022-01-04 15:54:09 -08:00
resource_loader.ts refactor(compiler): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:14 -07:00
selector.ts feat(compiler): support directive selectors with attributes containing $ (#41567) 2021-05-04 21:06:58 -07:00
shadow_css.ts refactor(compiler): improve regular expression for stripping comments (#43456) 2021-09-16 16:50:49 +00:00
style_url_resolver.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util.ts refactor(compiler): cleanup AST fixup of listener instructions (#44411) 2022-01-04 15:54:09 -08:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00