Lines Matching refs:Namespace

36 	items  []*Namespace
40 func (s *sortedNamespaces) add(namespace *Namespace) { argument
49 func (s *sortedNamespaces) sortedItems() []*Namespace {
62 func (s *sortedNamespaces) index(namespace *Namespace) int { argument
75 rootNamespace *Namespace
87 namespaceExportFilter func(*Namespace) bool
90 func NewNameResolver(namespaceExportFilter func(*Namespace) bool) *NameResolver {
96 r.rootNamespace.visibleNamespaces = []*Namespace{r.rootNamespace}
102 func (r *NameResolver) newNamespace(path string) *Namespace {
124 func (r *NameResolver) addNamespace(namespace *Namespace) (err error) { argument
142 func (r *NameResolver) namespaceAt(path string) (namespace *Namespace, found bool) {
147 return mapVal.(*Namespace), true
151 func (r *NameResolver) findNamespace(path string) (namespace *Namespace) {
171 …oup blueprint.ModuleGroup, module blueprint.Module) (namespace blueprint.Namespace, errs []error) {
235 …r) getNamespacesToSearchForModule(sourceNamespace blueprint.Namespace) (searchOrder []*Namespace) { argument
236 ns, ok := sourceNamespace.(*Namespace)
245 func (r *NameResolver) ModuleFromName(name string, namespace blueprint.Namespace) (group blueprint.… argument
266 func (r *NameResolver) Rename(oldName string, newName string, namespace blueprint.Namespace) []erro… argument
267 return namespace.(*Namespace).moduleContainer.Rename(oldName, newName, namespace)
271 func (r *NameResolver) FindNamespaceImports(namespace *Namespace) (err error) { argument
272 namespace.visibleNamespaces = make([]*Namespace, 0, 2+len(namespace.importedNamespaceNames))
288 func (r *NameResolver) chooseId(namespace *Namespace) { argument
296 …er) MissingDependencyError(depender string, dependerNamespace blueprint.Namespace, depName string)… argument
316 dependerNs := dependerNamespace.(*Namespace)
329 func (r *NameResolver) GetNamespace(ctx blueprint.NamespaceContext) blueprint.Namespace {
333 func (r *NameResolver) findNamespaceFromCtx(ctx blueprint.NamespaceContext) *Namespace {
347 type Namespace struct { struct
354 visibleNamespaces []*Namespace argument
363 func NewNamespace(path string) *Namespace {
364 return &Namespace{Path: path, moduleContainer: blueprint.NewSimpleNameInterface()}
367 var _ blueprint.Namespace = (*Namespace)(nil)
378 namespace *Namespace