-
Notifications
You must be signed in to change notification settings - Fork 440
Generate Node
, Child
, Classification
, NodeSerializationCodes
, Traits
and Trivia
#469
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
@resultBuilder
s with SwiftSyntaxBuilder
@resultBuilder
s with SwiftSyntaxBuilder
70105da
to
810d6ff
Compare
@resultBuilder
s with SwiftSyntaxBuilder
Node
, Child
, Classification
, NodeSerializationCodes
, Traits
and Trivia
78cfaf1
to
da967b2
Compare
Sources/SwiftSyntaxBuilderGeneration/gyb_generated/Trivia.swift
Outdated
Show resolved
Hide resolved
da967b2
to
272b510
Compare
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.
Thanks. This is a big step to bootstrap the rest of SwiftSyntaxBuilder. I’ve got quite a few comments inline but they should all be minor.
Also, I think that all the types should be internal instead of public because they are only meant to be used in SwiftSyntaxBuilderGeneration for now.
Sources/SwiftSyntaxBuilderGeneration/NodeSerializationCodes.swift.gyb
Outdated
Show resolved
Hide resolved
Sources/SwiftSyntaxBuilderGeneration/NodeSerializationCodes.swift.gyb
Outdated
Show resolved
Hide resolved
Sources/SwiftSyntaxBuilderGeneration/gyb_generated/Trivia.swift
Outdated
Show resolved
Hide resolved
58541e9
to
4ec37cf
Compare
@ahoppen I've pushed the changes and suggestions you had. |
8463d8b
to
fa92555
Compare
description: "A single argument to an `@available` argument like `*`, `iOS 10.1`,or `message: \"This has been deprecated\"`.", | ||
kind: "Syntax", | ||
children: [ | ||
Child(name: "Entry", |
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.
This is currently indented by one space, it should probably be two.
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 used the indentation from Xcode, and afterwards adjusted the gyb
to it.
It might be something in Xcode then 🤷♂️
Will change.
Should the wrong indent bug be reported ?
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.
If you have a reproducer in Xcode, it would be great if you could file a bug report on http://feedbackassistant.apple.com.
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.
Added feedback: FB10505542
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.
Thanks for filing the feedback 👍
Sources/SwiftSyntaxBuilderGeneration/gyb_generated/Trivia.swift
Outdated
Show resolved
Hide resolved
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 think you missed one comment from the first review. I’ve got a couple more minor comments. I think this is almost ready to be merged.
fa92555
to
3f36e6c
Compare
3f36e6c
to
a411ee9
Compare
a411ee9
to
6d45d60
Compare
@swift-ci please test |
swiftlang/swift#59707