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