angular/packages/compiler/src
Pete Bacon Darwin c8a46bfdcd refactor(compiler): support interpolation tokens when lexing markup (#42062)
The lexer now splits interpolation tokens out from text tokens.

Previously the contents of `<div>Hello, {{ name}}<div>` would be a single
text token. Now it will be three tokens:

```
TEXT: "Hello, "
INTERPOLATION: "{{", " name", "}}"
TEXT: ""
```

- INTERPOLATION tokens have three parts, "start marker", "expression"
  and "end marker".
- INTERPOLATION tokens are always preceded and followed by TEXT tokens,
  even if they represent an empty string.

The HTML parser has been modified to recombine these tokens to allow this
refactoring to have limited effect in this commit. Further refactorings
to use these new tokens will follow in subsequent commits.

PR Close #42062
2021-08-02 09:53:13 -07:00
..
aot refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
compiler_util refactor(compiler): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:14 -07:00
expression_parser refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
i18n refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
jit refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
ml_parser refactor(compiler): support interpolation tokens when lexing markup (#42062) 2021-08-02 09:53:13 -07:00
output refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
render3 refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
schema refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
template_parser refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
view_compiler refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
assertions.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ast_path.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
chars.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
compile_metadata.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
compile_reflector.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
compiler.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
compiler_facade_interface.ts refactor(compiler): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:14 -07:00
config.ts refactor(compiler): remove extra imports (#37246) 2020-06-11 19:00:33 -07:00
constant_pool.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
core.ts refactor(core): remove the need for ɵɵinjectPipeChangeDetectorRef() (#41231) 2021-03-30 16:46:37 -07:00
directive_normalizer.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
directive_resolver.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
identifiers.ts refactor(compiler-cli): introduce declaration function to declare class metadata (#41200) 2021-04-12 10:41:17 -07:00
injectable_compiler.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
injectable_compiler_2.ts refactor(compiler): implement ngDeclareInjectable() (#41316) 2021-04-07 13:57:13 -07:00
jit_compiler_facade.ts refactor(compiler): implement ngDeclareInjectable() (#41316) 2021-04-07 13:57:13 -07:00
lifecycle_reflector.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata_resolver.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
ng_module_compiler.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
ng_module_resolver.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
parse_util.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
pipe_resolver.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
provider_analyzer.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04: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): remove unnecessary escapes (#42990) 2021-07-30 09:28:46 -07:00
style_compiler.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
style_url_resolver.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
summary_resolver.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
url_resolver.ts docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
util.ts refactor(compiler): remove cyclic dependencies (#42062) 2021-08-02 09:53:12 -07:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00