-
Notifications
You must be signed in to change notification settings - Fork 440
Add ExtensionDecl
test
#331
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some preliminary comments inline. I like the idea of trying to generate SwiftSyntax sources using SwiftSyntax. 👍
Sources/SwiftSyntaxBuilder/IdentifierPatternConvenienceInitializers.swift
Outdated
Show resolved
Hide resolved
Sources/SwiftSyntaxBuilder/SimpleTypeIdentifierConvenienceInitializers.swift
Outdated
Show resolved
Hide resolved
f61c0ae
to
ffd8380
Compare
ef898d7
to
c656f72
Compare
d9cb8d5
to
3ea1ad8
Compare
Sources/SwiftSyntaxBuilder/StringLiteralExprConvenienceInitializers.swift
Show resolved
Hide resolved
Sources/SwiftSyntaxBuilder/IdentifierPatternConvenienceInitializers.swift
Show resolved
Hide resolved
Sources/SwiftSyntaxBuilder/SimpleTypeIdentifierConvenienceInitializers.swift
Show resolved
Hide resolved
e8a540d
to
88c716a
Compare
@ahoppen I think this is now at a point where it makes sense too review :) |
9fb11fc
to
1ccdecf
Compare
1ccdecf
to
bfe458a
Compare
@swift-ci Please test |
Build failed |
Build failed |
CI just got very unlucky with its checkout. It was started at exactly the same time that the PRs were merged and picked up #331 but not swiftlang/swift#40358. It should be fixed in the next build. |
Hi @ahoppen ! 👋
I have played a but around with SwiftSyntaxBuilder. Started with making a test case that should make something like the Tokens.swift.
Just to have something realistic.
Made a bunch of convenient API's and other small improvements.
This PR is a bit messy (a lot of changes and far from done). But I improve the API, and try different Idas when I think something can be done smarter or more clean.
How should I progress this?
Do you want PR's with small changes, and I keep rebasing this branch on main as they get merged or just one big PR here?
Depends on:
#335
#334