• Home
  • Raw
  • Download

Lines Matching defs:NameResolver

80 type NameResolver struct {  struct
81 rootNamespace *Namespace
84 nextNamespaceId int32
87 sortedNamespaces sortedNamespaces
90 namespacesByDir sync.Map // if generics were supported, this would be sync.Map[string]*Namespace
93 namespaceExportFilter func(*Namespace) bool
108 func (r *NameResolver) newNamespace(path string) *Namespace {
116 func (r *NameResolver) addNewNamespaceForModule(module *NamespaceModule, path string) error {
130 func (r *NameResolver) addNamespace(namespace *Namespace) (err error) {
148 func (r *NameResolver) namespaceAt(path string) (namespace *Namespace, found bool) {
157 func (r *NameResolver) findNamespace(path string) (namespace *Namespace) {
171 …oup blueprint.ModuleGroup, module blueprint.Module) (namespace blueprint.Namespace, errs []error) {
199 func (r *NameResolver) AllModules() []blueprint.ModuleGroup {
217 …Resolver) parseFullyQualifiedName(name string) (namespaceName string, moduleName string, ok bool) {
230 …meResolver) getNamespacesToSearchForModule(sourceNamespace *Namespace) (searchOrder []*Namespace) {
234 …uleFromName(name string, namespace blueprint.Namespace) (group blueprint.ModuleGroup, found bool) {
255 …c (r *NameResolver) Rename(oldName string, newName string, namespace blueprint.Namespace) []error {
260 func (r *NameResolver) FindNamespaceImports(namespace *Namespace) (err error) {
277 func (r *NameResolver) chooseId(namespace *Namespace) {
285 …pendencyError(depender string, dependerNamespace blueprint.Namespace, depName string) (err error) {
318 func (r *NameResolver) GetNamespace(ctx blueprint.NamespaceContext) blueprint.Namespace {
322 func (r *NameResolver) findNamespaceFromCtx(ctx blueprint.NamespaceContext) *Namespace {
326 func (r *NameResolver) UniqueName(ctx blueprint.NamespaceContext, name string) (unique string) {