Skip to content

Commit

Permalink
[ruby/prism] Document BreakNode fields
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusRich authored and matzbot committed Apr 23, 2024
1 parent 53a67ef commit b3350e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions prism/config.yml
Expand Up @@ -1080,8 +1080,18 @@ nodes:
- name: arguments
type: node?
kind: ArgumentsNode
comment: |
The arguments to the break statement, if present. These can be any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
break foo
^^^
- name: keyword_loc
type: location
comment: |
The location of the `break` keyword.
break foo
^^^^^
comment: |
Represents the use of the `break` keyword.
Expand Down

0 comments on commit b3350e3

Please sign in to comment.