mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
33d296af31
swc_ecma_transforms: - implement es2015::block_scoped_functions - implement tagged template literal without escape handling - hygiene: rename to different number - scope: handle pattern by folding children swc_ecma_ast: - use Str instead of String for template literal swc_ecma_parser: - fix lexer tests - handle template literal correctly template literals now have cooked field swc_ecma_codegen: - escape newline character and backslash ('\')
5 lines
50 B
JavaScript
5 lines
50 B
JavaScript
``;
|
|
`xx\x`;
|
|
`${a + 1}`;
|
|
` foo ${b + `baz ${c}`}`;
|