[ruby/prism] Fix docs of opening_loc/closing_loc of BlockNode

https://github.com/ruby/prism/commit/0b22d9060a
This commit is contained in:
Benoit Daloze 2025-12-14 15:07:21 +01:00 committed by git
parent aa31754e56
commit e85fd7c878

View File

@ -1269,17 +1269,17 @@ nodes:
- name: opening_loc
type: location
comment: |
Represents the location of the opening `|`.
Represents the location of the opening `{` or `do`.
[1, 2, 3].each { |i| puts x }
^
^
- name: closing_loc
type: location
comment: |
Represents the location of the closing `|`.
Represents the location of the closing `}` or `end`.
[1, 2, 3].each { |i| puts x }
^
^
comment: |
Represents a block of ruby code.