angular/packages/compiler/test
Kristiyan Kostadinov 0a48d584f2 feat(core): add support for let syntax (#56715)
Enables the new `@let` syntax by default.

`@let` declarations are defined as:
1. The `@let` keyword.
2. Followed by one or more whitespaces.
3. Followed by a valid JavaScript name and zero or more whitespaces.
4. Followed by the `=` symbol and zero or more whitespaces.
5. Followed by an Angular expression which can be multi-line.
6. Terminated by the `;` symbol.

Example usage:
```
@let user = user$ | async;
@let greeting = user ? 'Hello, ' + user.name : 'Loading';
<h1>{{greeting}}</h1>
```

Fixes #15280.

PR Close #56715
2024-06-26 12:37:02 -07:00
..
expression_parser refactor(compiler): expose shorthand object metadata in expression AST (#56405) 2024-06-13 10:12:52 -07:00
i18n refactor(core): clean up clang comments and workarounds (#55750) 2024-05-13 11:10:36 -07:00
ml_parser feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
output refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
render3 feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
schema fix(compiler): add math elements to schema (#55631) 2024-05-02 11:12:14 -07:00
selector refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
shadow_css fix(compiler): maintain multiline CSS selectors during CSS scoping (#55509) 2024-05-06 12:39:50 -07:00
BUILD.bazel build: replace base64-js package with Node.js Buffer usage (#53464) 2023-12-11 14:04:06 -08:00
compiler_facade_interface_spec.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
integration_spec.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
security_spec.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00
style_url_resolver_spec.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util_spec.ts refactor: migrate compiler to prettier formatting (#55398) 2024-04-18 14:18:08 -07:00