blob: 4f6768a6b5db9bfa40fccf864e6da281e9701042 [file] [log] [blame]
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
}
}