instance method
Prism::MatchWriteNode#copy
copy(node_id: self.node_id, location: self.location, flags: self.flags, call: self.call, targets: self.targets)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 12956
def copy(node_id: self.node_id, location: self.location, flags: self.flags, call: self.call, targets: self.targets)
MatchWriteNode.new(source, node_id, location, flags, call, targets)
end
def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?call: CallNode, ?targets: Array[LocalVariableTargetNode]) -> MatchWriteNode