Rich-Harris / periscopic

Utility for analyzing scopes belonging to an ESTree-compliant AST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Ability to filter `extract_names` by various node types

Conduitry opened this issue · comments

Ref: sveltejs/svelte#4212 / sveltejs/svelte#4213

There is a situation in Svelte where we want to be able to extract_names only with certain node types, and that's not currently something this library supports. I'm not sure what the API for this ought to look like.