angular/packages/compiler-cli/ngcc/src
Bjarki ef892743ec feat(compiler): support tagged template literals in code generator (#39122)
Add a TaggedTemplateExpr to represent tagged template literals in
Angular's syntax tree (more specifically Expression in output_ast.ts).
Also update classes that implement ExpressionVisitor to add support for
tagged template literals in different contexts, such as JIT compilation
and conversion to JS.

Partial support for tagged template literals had already been
implemented to support the $localize tag used by Angular's i18n
framework. Where applicable, this code was refactored to support
arbitrary tags, although completely replacing the i18n-specific support
for the $localize tag with the new generic support for tagged template
literals may not be completely trivial, and is left as future work.

PR Close #39122
2020-12-07 16:20:04 -08:00
..
analysis fix(compiler-cli): correct incremental behavior even with broken imports (#39923) 2020-12-03 13:42:13 -08:00
dependencies perf(ngcc): do not rescan program source files when referenced from multiple root files (#39254) 2020-10-14 09:34:11 -07:00
entry_point_finder perf(ngcc): do not rescan program source files when referenced from multiple root files (#39254) 2020-10-14 09:34:11 -07:00
execution perf(ngcc): introduce cache for sharing data across entry-points (#38840) 2020-09-15 11:23:04 -07:00
host build: support building with TypeScript 4.1 (#39571) 2020-11-25 11:10:01 -08:00
locking Revert "perf(ngcc): allow immediately reporting a stale lock file (#37250)" (#39435) 2020-10-27 13:36:27 -07:00
migrations refactor(compiler-cli): implement DeclarationNode node type (#38959) 2020-10-12 08:32:46 -07:00
packages perf(ngcc): introduce cache for sharing data across entry-points (#38840) 2020-09-15 11:23:04 -07:00
rendering feat(compiler): support tagged template literals in code generator (#39122) 2020-12-07 16:20:04 -08:00
writing fix(compiler-cli): ensure file_system handles mixed Windows drives (#37959) 2020-07-13 12:05:21 -07:00
command_line_options.ts refactor(ngcc): update yargs and typings for yargs (#38470) 2020-08-17 15:30:33 -07:00
constants.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
main.ts perf(ngcc): reduce maximum worker count (#38840) 2020-09-15 11:23:09 -07:00
ngcc_options.ts perf(ngcc): reduce maximum worker count (#38840) 2020-09-15 11:23:09 -07:00
path_mappings.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
utils.ts refactor(compiler-cli): implement DeclarationNode node type (#38959) 2020-10-12 08:32:46 -07:00