Difference between revisions of "XCSG:Visibility"

From AtlasWiki
Jump to: navigation, search
(Created page with "==Specification== {{Enumeration | name = Visibility | description = The visibility of a Type or Variable in its Namespace. | required = For nodes [[Contains|contai...")
 
Line 2: Line 2:
 
{{Enumeration
 
{{Enumeration
 
| name = Visibility
 
| name = Visibility
| description = The visibility of a [[Type]] or [[Variable]] in its [[Namespace]].
+
| description = The visibility of a [[Type]], [[Variable]], or [[Function]] in its [[Namespace]].
 
| required = For nodes [[Contains|contained]] in a [[Namespace]].
 
| required = For nodes [[Contains|contained]] in a [[Namespace]].
| members =public,,Globally accessible;;protected,,Accessible from classes that extend the [[Class]] it is declared in;;package,,Accessible only within the [[Package]] it is contained in;;private,,Accessible only within the [[Namespace]] it is declared in
+
| members =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
 
}}
 
}}

Revision as of 13:05, 14 April 2014

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

Used on: Type, Variable