Model of a package declaration from a package.ceylon compilation unit

no type hierarchy

no subtypes hierarchy

Attributes
containerSource Codeshared formal Module container

The module this package belongs to.

sharedSource Codeshared formal Boolean shared

True if this package is shared.

Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declaration
Attributes inherited from: Identifiable
Methods
annotatedMembersSource Codeshared formal Kind[] annotatedMembers<Kind, Annotation>()
given Kind satisfies NestableDeclaration
given Annotation satisfies AnnotationType

Returns the list of member declarations that satisfy the given Kind type argument and that are annotated with the given Annotation type argument

getAliasSource Codeshared formal AliasDeclaration? getAlias(String name)

The type alias with the given name. Returns null if not found.

getClassOrInterfaceSource Codeshared formal ClassOrInterfaceDeclaration? getClassOrInterface(String name)

The class or interface with the given name. Returns null if not found.

getFunctionSource Codeshared formal FunctionDeclaration? getFunction(String name)

The function with the given name. Returns null if not found.

getMemberSource Codeshared formal Kind? getMember<Kind>(String name)
given Kind satisfies NestableDeclaration

Looks up a member declaration by name, provided it satisfies the given Kind type argument. Returns null if no such member matches.

getValueSource Codeshared formal ValueDeclaration? getValue(String name)

The value with the given name. Returns null if not found.

membersSource Codeshared formal Kind[] members<Kind>()
given Kind satisfies NestableDeclaration

Returns the list of member declarations that satisfy the given Kind type argument.

Inherited Methods
Methods inherited from: Object
Methods inherited from: Annotated
Methods inherited from: AnnotatedDeclaration
Methods inherited from: Identifiable