VisibilityDeclaration

Visibility declaration for Dsymbols, e.g. public int i;

<visibility> <decl...> or package(<pkg_identifiers>) <decl...> if pkg_identifiers !is null

Constructors

this
this(Loc loc, Visibility visibility, Dsymbols* decl)
this
this(Loc loc, Identifier[] pkg_identifiers, Dsymbols* decl)

Members

Variables

pkg_identifiers
Identifier[] pkg_identifiers;

identifiers for package(foo.bar) or null

visibility
Visibility visibility;

the visibility

Inherited Members

From AttribDeclaration

decl
Dsymbols* decl;

Dsymbol's affected by this AttribDeclaration

createNewScope
Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage, CPPMANGLE cppmangle, Visibility visibility, int explicitVisibility, AlignDeclaration aligndecl, PragmaDeclaration inlining)

Create a new scope if one or more given attributes are different from the sc's. If the returned scope != sc, the caller should pop the scope after it used.

newScope
Scope* newScope(Scope* sc)

A hook point to supply scope for members. addMember, setScope, importAll, semantic, semantic2 and semantic3 will use this.

addObjcSymbols
void addObjcSymbols(ClassDeclarations* classes, ClassDeclarations* categories)

Meta