File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3880,6 +3880,13 @@ Access control is discussed in detail in <doc:AccessControl>.
3880
3880
Apply this modifier to a declaration
3881
3881
to indicate that the declaration can be accessed
3882
3882
only by code in the same package as the declaration.
3883
+ A package is a unit of code distribution
3884
+ that you define in the build system you're using.
3885
+ When the build system compiles code,
3886
+ it specifies the package name
3887
+ by passing the ` -package-name ` flag to the Swift compiler.
3888
+ Two modules are part of the same package
3889
+ if the build system specifies the same package name when building them both.
3883
3890
3884
3891
- term ` internal ` :
3885
3892
Apply this modifier to a declaration to indicate the declaration can be accessed
You can’t perform that action at this time.
0 commit comments