instance method
Prism::ImaginaryNode#copy
copy(node_id: self.node_id, location: self.location, flags: self.flags, numeric: self.numeric)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 8826
def copy(node_id: self.node_id, location: self.location, flags: self.flags, numeric: self.numeric)
ImaginaryNode.new(source, node_id, location, flags, numeric)
end
def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?numeric: FloatNode | IntegerNode | RationalNode) -> ImaginaryNode