Lines Matching refs:Namespace

40 	items  []*Namespace
44 func (s *sortedNamespaces) add(namespace *Namespace) {
53 func (s *sortedNamespaces) sortedItems() []*Namespace {
66 func (s *sortedNamespaces) index(namespace *Namespace) int {
79 rootNamespace *Namespace
91 namespaceExportFilter func(*Namespace) bool
111 namespaceExportFilter := func(namespace *Namespace) bool {
120 r.rootNamespace.visibleNamespaces = []*Namespace{r.rootNamespace}
126 func (r *NameResolver) newNamespace(path string) *Namespace {
148 func (r *NameResolver) addNamespace(namespace *Namespace) (err error) {
166 func (r *NameResolver) namespaceAt(path string) (namespace *Namespace, found bool) {
171 return mapVal.(*Namespace), true
175 func (r *NameResolver) findNamespace(path string) (namespace *Namespace) {
195 …oup blueprint.ModuleGroup, module blueprint.Module) (namespace blueprint.Namespace, errs []error) {
248 func (r *NameResolver) SkippedModuleFromName(moduleName string, namespace blueprint.Namespace) (ski…
267 …r) getNamespacesToSearchForModule(sourceNamespace blueprint.Namespace) (searchOrder []*Namespace) {
268 ns, ok := sourceNamespace.(*Namespace)
277 func (r *NameResolver) ModuleFromName(name string, namespace blueprint.Namespace) (group blueprint.…
298 func (r *NameResolver) Rename(oldName string, newName string, namespace blueprint.Namespace) []erro…
299 return namespace.(*Namespace).moduleContainer.Rename(oldName, newName, namespace)
303 func (r *NameResolver) FindNamespaceImports(namespace *Namespace) (err error) {
304 namespace.visibleNamespaces = make([]*Namespace, 0, 2+len(namespace.importedNamespaceNames))
320 func (r *NameResolver) chooseId(namespace *Namespace) {
328 …er) MissingDependencyError(depender string, dependerNamespace blueprint.Namespace, depName string,…
354 dependerNs := dependerNamespace.(*Namespace)
374 func (r *NameResolver) GetNamespace(ctx blueprint.NamespaceContext) blueprint.Namespace {
378 func (r *NameResolver) findNamespaceFromCtx(ctx blueprint.NamespaceContext) *Namespace {
392 type Namespace struct { struct
399 visibleNamespaces []*Namespace argument
408 func NewNamespace(path string) *Namespace {
409 return &Namespace{Path: path, moduleContainer: blueprint.NewSimpleNameInterface()}
412 var _ blueprint.Namespace = (*Namespace)(nil)
423 namespace *Namespace