A declaration which can be contained in a Package or in another NestableDeclaration.

Functions, values, classes, interfaes and aliases are such declarations.

Attributes
actualSource Code
shared formal Boolean actual

True if this declaration is annotated with actual.

containerSource Code
shared formal NestableDeclaration|Package container

This declaration's immediate container, which can be either a NestableDeclaration or a Package.

containingModuleSource Code
shared formal Module containingModule

This declaration's module container.

containingPackageSource Code
shared formal Package containingPackage

This declaration's package container.

defaultSource Code
shared formal Boolean default

True if this declaration is annotated with default.

formalSource Code
shared formal Boolean formal

True if this declaration is annotated with formal.

sharedSource Code
shared formal Boolean shared

True if this declaration is annotated with shared.

toplevelSource Code
shared formal Boolean toplevel

True if this declaration is a toplevel declaration.

Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declaration
Attributes inherited from: TypedDeclaration
Inherited Methods
Methods inherited from: Object
Methods inherited from: AnnotatedDeclaration