Skip to content

[ASTGen/Macros] Adjustments to split FunctionParameterSyntax into multiple nodes for function parameters, closure parameters and enum parameters #64697

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

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 28, 2023


let nodeFirstName = node.firstName
if nodeFirstName.text != "_" {
// Swift AST represnts "_" as nil.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a typo in represnts?

Copy link
Member Author

Choose a reason for hiding this comment

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

Possibly 😉

…ultiple nodes for function parameters, closure parameters and enum parameters

Companion of swiftlang/swift-syntax#1455
@ahoppen ahoppen force-pushed the ahoppen/split-function-parameter branch from 030fea1 to 962664a Compare March 30, 2023 15:31
@ahoppen
Copy link
Member Author

ahoppen commented Apr 4, 2023

@ahoppen
Copy link
Member Author

ahoppen commented Apr 4, 2023

@ahoppen
Copy link
Member Author

ahoppen commented Apr 5, 2023

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.

2 participants