instance method
Prism::DSL#call_target_node
call_target_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: default_node(source, location), call_operator_loc: location, name: :"", message_loc: location)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/dsl.rb, line 185
def call_target_node(source: default_source, node_id: 0, location: default_location, flags: 0, receiver: default_node(source, location), call_operator_loc: location, name: :"", message_loc: location)
CallTargetNode.new(source, node_id, location, flags, receiver, call_operator_loc, name, message_loc)
end
Create a new CallTargetNode node.
See also
#call_or_write_node
#capture_pattern_node
#call_operator_write_node
#case_match_node
also in
3.4