angular/packages/compiler/test/expression_parser
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
..
utils refactor(compiler): remove parsing support for quote expressions (#44915) 2022-01-31 23:31:11 +00:00
ast_spec.ts refactor(compiler): combine call ASTs (#42882) 2021-09-21 20:55:29 +00:00
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
lexer_spec.ts feat(compiler): add support for safe calls in templates (#44580) 2022-01-11 17:32:47 +00:00
parser_spec.ts refactor(compiler): remove parsing support for quote expressions (#44915) 2022-01-31 23:31:11 +00:00