org.netbeans.modules.cnd.api.model
Interface CsmNamespace
- All Superinterfaces:
- CsmIdentifiable<CsmNamespace>, CsmNamedElement, CsmObject, CsmQualifiedNamedElement, CsmScope
public interface CsmNamespace
- extends CsmQualifiedNamedElement, CsmScope, CsmIdentifiable<CsmNamespace>
Represents a "logical" namespace - not a particular namespace declaration,
but a join of all namespace declarations, which have thje given name
(see interface CsmNamespaceDeclaration)
getParent
CsmNamespace getParent()
getNestedNamespaces
Collection<CsmNamespace> getNestedNamespaces()
getDeclarations
Collection<CsmOffsetableDeclaration> getDeclarations()
- Gets top-level objects
getDefinitions
Collection<CsmNamespaceDefinition> getDefinitions()
- Gets all definitions for this namespace
isGlobal
boolean isGlobal()
- returns true if this is default namespace
getProject
CsmProject getProject()
- the project where the namespace (or it's particular part) is defined