A CompilationUnitIndex is a light-weight index that holds all definitions and references in a compilation unit.
Provides various traits that are used by the indexer to expand symbols; that is, to find symbols that are related to each other.
Provides various traits that are used by the indexer to expand symbols; that is, to find symbols that are related to each other. For example, it finds overridden methods in subclasses.
Provides an implementation of the Indexes.IndexLookup trait by combining various CompilationUnitIndexes.
Provides an implementation of the Indexes.IndexLookup trait by combining various CompilationUnitIndexes. Note that creating the GlobalIndex is cheap, all the compilation units were already indexed, and all further work is only done on demand.
Class to wrap path dependent type on CompilationUnitDependencies
used in CompilationUnitDependencies
.
The Indexes trait is mixed in by refactorings that need an index.
The Indexes trait is mixed in by refactorings that need an index. It provides several lookup functions to find references and decla- rations of symbols.
The IndexLookup trait has been separated into two traits: the TrivialIndexLookup simply gives access to the underlying data, whereas the IndexLookup that is used by clients contains more expensive operations.
An implementation can be found in GlobalIndexes.
NameValidation offers several methods to validate new names; depending on the context they are used.
Provides methods to find DefDefs and ValDefs that are curried/partially applied versions of other methods.
Provides some simple methods to analyze the program's data flow, as used by Extract Method to find in and out parameters.
A CompilationUnitIndex is a light-weight index that holds all definitions and references in a compilation unit. This index is built with the companion object, which traverses the whole compilation unit once and then memoizes all relations.