Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1172,13 +1172,49 @@ nodes:
- name: parameters
type: node?
kind: ParametersNode
comment: |
Represents the parameters of the block.

-> (a, b = 1; local) { }
^^^^^^^^

foo do |a, b = 1; local|
^^^^^^^^
end
- name: locals
type: node[]
kind: BlockLocalVariableNode
comment: |
Represents the local variables of the block.

-> (a, b = 1; local) { }
^^^^^

foo do |a, b = 1; local|
^^^^^
end
- name: opening_loc
type: location?
comment: |
Represents the opening location of the block parameters.

-> (a, b = 1; local) { }
^

foo do |a, b = 1; local|
^
end
- name: closing_loc
type: location?
comment: |
Represents the closing location of the block parameters.

-> (a, b = 1; local) { }
^

foo do |a, b = 1; local|
^
end
comment: |
Represents a block's parameters declaration.

Expand Down