instance method
Prism::DSL#block_parameter_node
block_parameter_node(source: default_source, node_id: 0, location: default_location, flags: 0, name: nil, name_loc: nil, operator_loc: location)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/dsl.rb, line 150
def block_parameter_node(source: default_source, node_id: 0, location: default_location, flags: 0, name: nil, name_loc: nil, operator_loc: location)
BlockParameterNode.new(source, node_id, location, flags, name, name_loc, operator_loc)
end
Create a new BlockParameterNode node.