Files
swift-mirror/test/refactoring/MoveMembersToExtension/Outputs/L2-5.swift.expected
2017-11-09 11:08:34 -08:00

33 lines
427 B
Plaintext

class Foo {
func methodWithParameters(param1: Foo, param2: Foo) {
}
@discardableResult
private func privateMethodWithAnnotation() -> Foo? {
return nil
}
var anInstanceVariable: String?
func justAnotherMethod() {
}
}
extension Foo {
/// This is just some documentation
func methodWithoutParameters() {
}
}
class OtherClass {
func foo() {
}
var computedVariable: Int {
return 0
}
}