package
0.0.0-20240926221048-4af086f91ec7
Repository: https://github.com/stackb/scala-gazelle.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
GlobalConflictResolverRegistry returns a default symbol provider registry.
GlobalConflictResolvers returns a sorted list of known conflict resolvers.
GlobalDepsCleanerRegistry returns a default deps cleaner registry.
GlobalDepsCleaners returns a sorted list of known conflict resolvers.
GlobalSymbolProviderRegistry returns a default symbol provider registry.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDirectImport creates a new direct import from the given file.
NewError creates a new err import from the given file, name, and symbol.
NewExtendsImport creates a new extends import from the given requiring type.
NewImplicitImport creates a new implicit import from the given parent src.
NewImportMap initializes a new ImportMap with an optional list of Imports.
NewMainClassImport creates a new main_class import.
No description provided by the author
No description provided by the author
NewResolvedNameImport creates a new resolved import from the given file, name, and symbol.
No description provided by the author
NewScalaSymbolResolver constructs a new resolver that chains to the given resolver.
No description provided by the author
NewSemanticImport creates a new semantic import from the given file.
NewSymbol constructs a new symbol pointer with the given arguments.
NewTransitiveImport creates a new resolved import from the given file, name, and symbol.
TrieScope constructs a new TrieScope.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrSymbolNotFound is an error value assigned to an Import when the name could not be resolved.

# Structs

ChainScope implements Scope over a chain of registries.
ChainSymbolResolver implements SymbolResolver over a chain of resolvers.
CrossSymbolResolver implements Resolver using the resolve.RuleIndex (which uses the gazelle cross resolver infrastructure).
Import is used to trace import provenance.
ImportLabel is a pair of (Import,Label).
LabelNameRewriteSpec is a specification to rewrite a label name.
MemoSymbolResolver implements SymbolResolver, memoizing results.
OrderedImportMap is a map if imports keyed by the import string.
OverrideSymbolResolver implements Resolver for gazelle:resolve directives.
PredefinedLabelConflictResolver implements a strategy where.
ScalaGrpcZioConflictResolver implements a strategy.
ScalaProtoPackageConflictResolver implements a strategy where.
No description provided by the author
ScalaSymbolResolver implements SymbolResolver for scala imports.
ScopeSymbolResolver implements Resolver for symbols.
Symbol associates a name with the label that provides it, along with a type classifier that says what kind of symbol it is.
TrieScope implements Scope using a trie.
TrimPrefixScope implements Scope that trims a prefix from the lookup name.

# Interfaces

ConflictResolver implementations are capable of applying a conflict resolution strategy for conflicting resolved import symbols.
ConflictResolverRegistry is an index of known conflict resolvers keyed by their name.
DepsCleaner implementations are capable of applying some sort of cleanup strategy on the post-resolved deps of a rule.
DepsCleanerRegistry is an index of known conflict resolvers keyed by their name.
No description provided by the author
KnownRuleRegistry is an index of known rules keyed by their label.
Scope is an index of known symbols.
SymbolProvider is a flag-configurable entity that supplies symbols to a registry.
SymbolProviderRegistry is an index of import providers.
SymbolResolver knows how to resolve imports.
Universe is a mashup of interfaces that represents all known symbols, rules, etc.

# Type aliases

SymbolMap is a map of symbols that are in a scope.