Method: Prism::ConstantPathAndWriteNode#copy

Defined in:
lib/prism/node.rb

#copy(node_id: self.node_id, location: self.location, flags: self.flags, target: self.target, operator_loc: self.operator_loc, value: self.value) ⇒ Object

def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?target: ConstantPathNode, ?operator_loc: Location, ?value: Prism::node) -> ConstantPathAndWriteNode



4978
4979
4980
# File 'lib/prism/node.rb', line 4978

def copy(node_id: self.node_id, location: self.location, flags: self.flags, target: self.target, operator_loc: self.operator_loc, value: self.value)
  ConstantPathAndWriteNode.new(source, node_id, location, flags, target, operator_loc, value)
end