Skip to content

Feature request: parse using a specific syntatic goal #739

Open
@devsnek

Description

@devsnek

It would be nice to be able to specify which specific goal to use when parsing something:

  • a, b, c with FormalParameters[~Yield, ~Await] -> [Identifier, Identifier, Identifier]

  • const a = 5; return a; with FunctionBody[~Yield, ~Await] -> [VariableDeclaration, ReturnStatement]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions