-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
More complete parsing support for functions. #475
Conversation
🎉 Great news! Looks like all the dependencies have been resolved: 💡 To add or remove a dependency please update this issue/PR description. Brought to you by Dependent Issues (:robot: ). Happy coding! |
has_errors); | ||
}); | ||
|
||
auto start_return_type = StartSubtree(); |
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 am a bit confused here. If there is no arrow, do we not need to close the subtree in some way?
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 StartSubtree
is perhaps not well-named; it just tracks a location where we could start a subtree. It's really just a stable handle to a location in the tree currently being built. Happy to rename. Something like GetPossibleSubtreeStartLocation
but less wordy perhaps?
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 would appreciate that follow up
This adds support for parsing function parameters, function return types, and return statements.
Depends on #473.