Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Walk export specifiers #1302

Closed
wants to merge 1 commit into from

Conversation

george-hopkins
Copy link

Support walking statements such as export { foo as bar };

@marijnh
Copy link
Member

marijnh commented Jun 18, 2024

The library intentionally works the way it currently works. It only walks identifiers that appear as variables, so that walkers can assume what kind of identifier they are getting. Handling export declarations would have to be done at the ExportNamedDeclaration/ExportDefaultDeclaration node level.

@marijnh marijnh closed this Jun 18, 2024
@george-hopkins george-hopkins deleted the exportspec branch June 18, 2024 13:48
@george-hopkins
Copy link
Author

Oh, thank you for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants