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

33 lines
434 B
Plaintext

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