-
Notifications
You must be signed in to change notification settings - Fork 140
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
Document ForNode
fields
#2845
Conversation
This reverts commit b23a05a.
config.yml
Outdated
@@ -1880,19 +1880,55 @@ nodes: | |||
fields: | |||
- name: index | |||
type: node | |||
comment: | | |||
The index variable for `for` loops. |
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.
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?
Great! Last thing is can you rebase? |
…document_for_fields
I have rebased. #2845 (comment) |
(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
ref: #2123