Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::DSL#call_or_write_node
call_or_write_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: nil, call_operator_loc: nil, message_loc: nil, read_name: :"", write_name: :"", 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 177
def call_or_write_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: nil, call_operator_loc: nil, message_loc: nil, read_name: :"", write_name: :"", operator_loc: location, value: default_node(source, location))
CallOrWriteNode.new(source, node_id, location, flags, receiver, call_operator_loc, message_loc, read_name, write_name, operator_loc, value)
end
Create a new CallOrWriteNode node.
See also
#call_operator_write_node
#call_target_node
#call_node_flag
#capture_pattern_node
also in
4.0