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

add AST for the module attribute proposal #11015

Merged
merged 1 commit into from Jan 17, 2020

Conversation

xtuc
Copy link
Member

@xtuc xtuc commented Jan 15, 2020

Introduce a ImportAttribute structure and add an attributes key on
the ImportDeclaration node.

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

@xtuc xtuc added PR: Docs 📝 A type of pull request used for our changelog categories Spec: Import Attributes labels Jan 15, 2020
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fully agree with this AST shape proposal.

packages/babel-parser/ast/spec.md Outdated Show resolved Hide resolved
Introduce a `ImportAttribute` structure and add an `attributes` key on
the `ImportDeclaration` node.
@nicolo-ribaudo nicolo-ribaudo merged commit 34a9653 into master Jan 17, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the sven/module-attribute-ast branch January 17, 2020 19:58
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Apr 18, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Docs 📝 A type of pull request used for our changelog categories Spec: Import Attributes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants