17.2. Visibility

Visibility modifiers restrict how a statically available object can be accessed outside of its scope. Visibility can exclusively be “public”, “private” or “protected” and is defaulted to “public”.

17.2.1. Syntax

VisibilityModifiers ::=  "public" | "private" | "protected"
Visibility          ::=  VisibilityModifiers ModifierValue