angular-docs-cn/packages/compiler/src
Pete Bacon Darwin a6247aafa1 fix(ivy): i18n - support "\", "`" and "${" sequences in i18n messages (#33820)
Since i18n messages are mapped to `$localize` tagged template strings,
the "raw" version must be properly escaped. Otherwise TS will throw an
error such as:

```
Error: Debug Failure. False expression: Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.
```

This commit ensures that we properly escape these raw strings before creating
TS AST nodes from them.

PR Close #33820
2019-11-18 16:00:22 -08:00
..
aot fix(compiler): do not throw when using abstract directive from other compilation unit (#33347) 2019-10-23 11:59:24 -07:00
compiler_util refactor(compiler): add details while throw error during expression convert (#32760) 2019-11-18 15:47:59 -08:00
css_parser
expression_parser fix(compiler-cli): Fix typo $implict (#33633) 2019-11-07 01:54:17 +00:00
i18n fix(compiler): i18n - ignore `alt-trans` tags in XLIFF 1.2 (#33450) 2019-10-29 11:49:32 -07:00
jit refactor(compiler): wrap the jit evaluation in an injectable class (#28055) 2019-02-12 20:58:27 -08:00
ml_parser refactor(compiler): add abstract `NodeWithI18n` class to ML parsing (#33318) 2019-10-22 13:30:16 -04:00
output fix(ivy): i18n - support "\", "`" and "${" sequences in i18n messages (#33820) 2019-11-18 16:00:22 -08:00
render3 fix(ivy): i18n - support "\", "`" and "${" sequences in i18n messages (#33820) 2019-11-18 16:00:22 -08:00
schema refactor(compiler): update docs (#29599) 2019-04-02 10:28:52 -07:00
template_parser fix(compiler): correctly parse attributes with a dot in the name (#32256) 2019-11-07 01:02:56 +00:00
view_compiler refactor: re-enable dynamic queries migration (#32992) 2019-10-04 13:54:09 -07:00
assertions.ts refactor(compiler): rename INTERPOLATION_BLACKLIST_REGEXPS (#29593) 2019-04-02 10:36:26 -07:00
ast_path.ts
chars.ts feat(compiler): support tokenizing escaped strings (#28055) 2019-02-12 20:58:27 -08:00
compile_metadata.ts feat(core): allow users to define timing of ViewChild/ContentChild queries (#28810) 2019-02-19 12:56:25 -08:00
compile_reflector.ts
compiler.ts refactor(ivy): remove ngBaseDef (#33264) 2019-10-25 13:11:34 -07:00
compiler_facade_interface.ts fix(ivy): ComponentFactory.create should clear host element content (#33487) 2019-11-12 21:34:06 -08:00
config.ts
constant_pool.ts refactor(core): rename ngInjectorDef to ɵinj (#33151) 2019-10-16 16:36:19 -04:00
core.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
directive_normalizer.ts refactor(compiler): use `options` argument for parsers (#28055) 2019-02-12 20:58:27 -08:00
directive_resolver.ts
identifiers.ts refactor(ivy): generate ngFactoryDef for injectables (#32433) 2019-10-02 13:04:26 -07:00
injectable_compiler.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
injectable_compiler_2.ts refactor(ivy): split `type` into `type`, `internalType` and `adjacentType` (#33533) 2019-11-05 17:25:01 +00:00
jit_compiler_facade.ts refactor(ivy): split `type` into `type`, `internalType` and `adjacentType` (#33533) 2019-11-05 17:25:01 +00:00
lifecycle_reflector.ts
metadata_resolver.ts refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
ng_module_compiler.ts
ng_module_resolver.ts
parse_util.ts feat(ivy): record absolute position of template expressions (#31391) 2019-07-22 09:48:35 -07:00
pipe_resolver.ts
provider_analyzer.ts
resource_loader.ts
selector.ts fix(ivy): support for #id bootstrap selectors (#33784) 2019-11-15 10:42:52 -08:00
shadow_css.ts
style_compiler.ts
style_url_resolver.ts
summary_resolver.ts
url_resolver.ts
util.ts refactor(compiler): replace instanceof Array (#33076) 2019-10-10 15:19:12 -07:00
version.ts