Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::DSL#index_and_write_node
index_and_write_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: nil, call_operator_loc: nil, opening_loc: location, arguments: nil, closing_loc: location, block: nil, operator_loc: location, value: default_node(source, location))
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/dsl.rb, line 432
def index_and_write_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: nil, call_operator_loc: nil, opening_loc: location, arguments: nil, closing_loc: location, block: nil, operator_loc: location, value: default_node(source, location))
IndexAndWriteNode.new(source, node_id, location, flags, receiver, call_operator_loc, opening_loc, arguments, closing_loc, block, operator_loc, value)
end
Create a new IndexAndWriteNode node.
See also
#implicit_rest_node
#index_operator_write_node
#implicit_node
#index_or_write_node
also in
4.0