Files
swift-mirror/test/SourceKit/InterfaceGen/Inputs/swift_mod.swift
Jordan Rose aee92ff612 SE-0025: Parsing and basic completion for 'fileprivate'. (#3391)
Right now 'fileprivate' is parsed as an alias for 'private' (or
perhaps vice versa, since the semantics of 'private' haven't changed
yet). This allows us to migrate code to 'fileprivate' without waiting
for the full implementation.
2016-07-07 15:20:41 -07:00

12 lines
282 B
Swift

public class MyClass {
public func pub_method() {}
internal func int_method() {}
fileprivate func fp_method() {}
private func priv_method() {}
}
public func pub_function() {}
internal func int_function() {}
fileprivate func fp_function() {}
private func priv_function() {}