Skip to content

Handle tagged templates more fluently #641

@Will-Sommers

Description

@Will-Sommers

Here's an example with the parse:

taggedTemplate`hello ${firstName}`;

> program
>> expression_statement
>>> call_expression
>>>> arguments: template_string
>>>>> template_substitution
>>>>>> identifier
>>>>>> "firstName"

I wonder if the template_string could be referred to as a string, the function identifier as name and then each template_substitution as an argument.

Edit @pokey

We will do the following to handle this issue:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions