Skip to content

Generate TokenSyntax with SwiftSyntaxBuilderGeneration #493

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
Jul 14, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Jul 9, 2022

This PR ports the currently gyb-generated TokenSyntax to SwiftSyntaxBuilder's DSL as part of the ongoing effort to bootstrap SwiftSyntaxBuilder with SwiftSyntaxBuilderGeneration.

@fwcd fwcd force-pushed the token-syntax-swift-syntax-gen branch 4 times, most recently from 1ad02f6 to 139c290 Compare July 10, 2022 01:00
- Set up TokenSyntaxFile
- Experiment with generating TokenSyntax conformances
- Generate conformance methods in TokenSyntaxFile
- Generate SyntaxBuildable and ExprBuildable conformances for TokenSyntax
- Add public modifiers
- Replace gyb_generated TokenSyntax
@fwcd fwcd force-pushed the token-syntax-swift-syntax-gen branch from 139c290 to e918c45 Compare July 11, 2022 12:23
@fwcd fwcd marked this pull request as ready for review July 11, 2022 12:25
@fwcd fwcd requested a review from ahoppen as a code owner July 11, 2022 12:25
@fwcd
Copy link
Member Author

fwcd commented Jul 11, 2022

@swift-ci please test

@fwcd fwcd merged commit 4806fc6 into swiftlang:main Jul 14, 2022
@fwcd fwcd deleted the token-syntax-swift-syntax-gen branch July 14, 2022 09:05
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