Skip to content

Generated docs: add parameter names to functions #3420

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

Merged
merged 2 commits into from
Oct 10, 2019

Conversation

FireFox317
Copy link
Contributor

@FireFox317 FireFox317 commented Oct 9, 2019

The type of a struct field is still stored in the types array, but the static information like name and docs of the fields are stored in the astNodes.

And then get the struct field astNodes through the containerDecl astNode.
The type of a struct field is still stored in the types array, but the
static information is in the astNodes.
@FireFox317 FireFox317 force-pushed the generated-docs-improvements branch from 24bcc27 to 4250d27 Compare October 10, 2019 12:25
@FireFox317 FireFox317 changed the title Generated docs: add parameter names to functions WIP: Generated docs: add parameter names to functions Oct 10, 2019
@FireFox317 FireFox317 changed the title WIP: Generated docs: add parameter names to functions Generated docs: add parameter names to functions Oct 10, 2019
@FireFox317
Copy link
Contributor Author

FireFox317 commented Oct 10, 2019

This is ready for merge!

Related: #3410

@andrewrk andrewrk merged commit b9d6355 into ziglang:master Oct 10, 2019
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