Skip to content
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

Document ForNode fields #2845

Merged
merged 12 commits into from
May 29, 2024
Merged

Conversation

k-nasa
Copy link
Contributor

@k-nasa k-nasa commented May 27, 2024

ref: #2123

config.yml Outdated
@@ -1880,19 +1880,55 @@ nodes:
fields:
- name: index
type: node
comment: |
The index variable for `for` loops.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The index variable for `for` loops.
The index expression for `for` loops.

This can be quite a few different kinds of expressions. This includes for foo, but also for foo, bar, baz, for @foo, for $foo, etc. Could you put a little more into this message explaining that?

config.yml Outdated Show resolved Hide resolved
config.yml Outdated Show resolved Hide resolved
config.yml Outdated Show resolved Hide resolved
@kddnewton
Copy link
Collaborator

Great! Last thing is can you rebase?

@k-nasa
Copy link
Contributor Author

k-nasa commented May 29, 2024

I have rebased.

#2845 (comment)
I don't have time to implement the comments, so I will address it at another opportunity.

@kddnewton kddnewton merged commit 0dd4c1b into ruby:main May 29, 2024
55 of 56 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request May 29, 2024
(ruby/prism#2845)

* Add document

* fix

* fix fmt

* fix fmt

* Revert "fix fmt"

This reverts commit ruby/prism@b23a05a94148.

* add potition

* fix fmt

* reposition

* fix indent

* fix comment

* fix indent

ruby/prism@0dd4c1bba1
@k-nasa k-nasa deleted the k-nasa/add_document_for_fields branch May 29, 2024 13:44
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