Skip to content
instance method

Prism::SourceFileNode#copy

copy(node_id: self.node_id, location: self.location, flags: self.flags, filepath: self.filepath)

def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?filepath: String) -> SourceFileNode