Use generated `TokenSpecSet`s in ASTGen
Open
@rintaro is already working on this.
Since Oct 2, 2023.
ASTGen
compiler
- Dominant language
- Swift
- Stars
- 70.4k
- Forks
- 10.8k
- PR merge metrics
- PR metrics pending
Description
https://github.com/apple/swift/pull/67111/files#diff-e513d3adfa93904a74cb6d3e8ac3ae4701ed41ccaa0461428708231d8aee5b63R469-R482 basically re-implements ImportDeclSyntax.ImportKindSpecifierOptions (https://github.com/apple/swift-syntax/blob/452e07df5459309a10766e4a7f9f67f74bd23763/Sources/SwiftParser/generated/Parser%2BTokenSpecSet.swift#L1663-L1672).
ASTGen should use ImportDeclSyntax.ImportKindSpecifierOptions. For that, we need to
- Decide whether to move
ImportDeclSyntax.ImportKindSpecifierOptionstoSwiftSyntaxor whether it should stay inSwiftParser - Check if we need to add a new initializer to the generated
TokenSpecSetthat ASTGen can use.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.