XCSG:Visibility
From AtlasWiki
Revision as of 18:17, 15 April 2014 by TheodoreMurdock (Talk | contribs) (TheodoreMurdock moved page XCSG:Visibility to Visibility over redirect: temporarily moving until the XCSG namespace supports semantic properties)
Specification
Enumeration | Visibility |
---|---|
Description | The visibility of a Type, Variable, or Function in its Namespace. |
Visibility | Description |
---|---|
public | Globally accessible |
protectedPackage | Accessible from classes that extend the Class it is declared in and from the Package it is declared in |
package | Accessible only within the Package it is contained in |
private | Accessible only within the Class it is declared in |
Implementation note: in Atlas, to avoid name collisions with Java keywords, the visibility tags are accessed through XCSG.publicVisibility
, XCSG.protectedPackageVisibility
, XCSG.packageVisibility
, and XCSG.privateVisibility
.