JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsVariableStatement { declaration: JsVariableDeclaration { await_token: missing (optional), kind: LET_KW@0..4 "let" [] [Whitespace(" ")], declarators: JsVariableDeclaratorList [ JsVariableDeclarator { id: JsIdentifierBinding { name_token: IDENT@4..6 "a" [] [Whitespace(" ")], }, variable_annotation: missing (optional), initializer: JsInitializerClause { eq_token: EQ@6..8 "=" [] [Whitespace(" ")], expression: JsTemplateExpression { tag: missing (optional), type_arguments: missing (optional), l_tick_token: BACKTICK@8..9 "`" [] [], elements: JsTemplateElementList [ JsTemplateElement { dollar_curly_token: DOLLAR_CURLY@9..11 "${" [] [], expression: JsIdentifierExpression { name: JsReferenceIdentifier { value_token: IDENT@11..14 "foo" [] [], }, }, r_curly_token: R_CURLY@14..15 "}" [] [], }, JsTemplateChunkElement { template_chunk_token: TEMPLATE_CHUNK@15..20 " bar\n" [] [], }, ], r_tick_token: missing (required), }, }, }, ], }, semicolon_token: missing (optional), }, ], eof_token: EOF@20..20 "" [] [], } 0: JS_MODULE@0..20 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..20 0: JS_VARIABLE_STATEMENT@0..20 0: JS_VARIABLE_DECLARATION@0..20 0: (empty) 1: LET_KW@0..4 "let" [] [Whitespace(" ")] 2: JS_VARIABLE_DECLARATOR_LIST@4..20 0: JS_VARIABLE_DECLARATOR@4..20 0: JS_IDENTIFIER_BINDING@4..6 0: IDENT@4..6 "a" [] [Whitespace(" ")] 1: (empty) 2: JS_INITIALIZER_CLAUSE@6..20 0: EQ@6..8 "=" [] [Whitespace(" ")] 1: JS_TEMPLATE_EXPRESSION@8..20 0: (empty) 1: (empty) 2: BACKTICK@8..9 "`" [] [] 3: JS_TEMPLATE_ELEMENT_LIST@9..20 0: JS_TEMPLATE_ELEMENT@9..15 0: DOLLAR_CURLY@9..11 "${" [] [] 1: JS_IDENTIFIER_EXPRESSION@11..14 0: JS_REFERENCE_IDENTIFIER@11..14 0: IDENT@11..14 "foo" [] [] 2: R_CURLY@14..15 "}" [] [] 1: JS_TEMPLATE_CHUNK_ELEMENT@15..20 0: TEMPLATE_CHUNK@15..20 " bar\n" [] [] 4: (empty) 1: (empty) 4: EOF@20..20 "" [] [] -- template_literal_unterminated.js:1:16 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × unterminated template literal > 1 │ let a = `${foo} bar │ ^^^^ > 2 │ │ -- let a = `${foo} bar