Skip to content

Parse imported variables #163

Description

@privatenumber

I believe this is a duplicate of #100. It was resolved by providing information on exported variables, but the actual request was for imports.

In my use-case, I'd like to be able to extract the variables (a & c) from a statement like this:

import/*
long comment
*/{
		a,
		b as c
}from/*
long comment
*/'file'

Additionally, I'd like to know the ranges for where the import names start and end: { a, b as c}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions