Method: Prism::FlipFlopNode#copy
- Defined in:
- lib/prism/node.rb
#copy(node_id: self.node_id, location: self.location, flags: self.flags, left: self.left, right: self.right, operator_loc: self.operator_loc) ⇒ Object
def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?left: Prism::node?, ?right: Prism::node?, ?operator_loc: Location) -> FlipFlopNode
6998 6999 7000 |
# File 'lib/prism/node.rb', line 6998 def copy(node_id: self.node_id, location: self.location, flags: self.flags, left: self.left, right: self.right, operator_loc: self.operator_loc) FlipFlopNode.new(source, node_id, location, flags, left, right, operator_loc) end |