Skip to content

Add @implementation to parser #2570

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

Closed
wants to merge 1 commit into from

Conversation

beccadax
Copy link
Contributor

@beccadax
Copy link
Contributor Author

With swiftlang/swift#72596

@swift-ci please test

@@ -550,6 +551,8 @@ public enum Keyword: CaseIterable {
return KeywordSpec("higherThan")
case .if:
return KeywordSpec("if", isLexerClassified: true)
case .implementation:
return KeywordSpec("implementation")
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, will do.

@beccadax beccadax force-pushed the objcimpl-real-name branch from 27a150e to f347b2f Compare March 27, 2024 22:57
@beccadax
Copy link
Contributor Author

beccadax commented Mar 28, 2024

In further discussions with @ahoppen, it became clear that I don't really need to modify SwiftSyntax for this—we can parse it as a custom attribute and convert it to a built-in attribute in ASTGen. Gonna close this PR and do that instead.

@beccadax beccadax closed this Mar 28, 2024
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