-
Notifications
You must be signed in to change notification settings - Fork 440
Add documentation for syntax nodes and their children #1630
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
Add documentation for syntax nodes and their children #1630
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.
Thanks a lot. That’s so much better. I have a few suggestions to add illustrative examples, mostly to explain the difference between attributes and modifiers. My thinking is that for many developers using the library, the raw concept of e.g. private
is clear and those help map keywords they know to the terms used within SwiftSyntax. If you could apply those, that would be great!
Adds documentation for the following syntax nodes: * AssociatedtypeDeclSyntax * ClassDeclSyntax * ImportDeclSyntax * IsExprSyntax * ProtocolDeclSyntax
a80c6a9
to
f33f43a
Compare
@ahoppen Thanks for the quick feedback! I've added in your suggestions. |
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 writing the documentation and making SwiftSyntax more approachable for newcomers.
@swift-ci Please test |
As part of #1528, documentation needs added to some syntax nodes. This PR adds documentation to the following syntax nodes and their children: