Package

scala.tools.refactoring

analysis

Permalink

package analysis

Visibility
  1. Public
  2. All

Type Members

  1. trait CompilationUnitDependencies extends CompilerApiExtensions with CompilerApiAdapters with TracingImpl

    Permalink
  2. trait CompilationUnitIndexes extends AnyRef

    Permalink

    A CompilationUnitIndex is a light-weight index that holds all definitions and references in a compilation unit.

    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.

  3. trait DependentSymbolExpanders extends TracingImpl

    Permalink

    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.

  4. trait GlobalIndexes extends Indexes with DependentSymbolExpanders with CompilationUnitIndexes with EnrichedTrees with InteractiveScalaCompiler with TreeTraverser

    Permalink

    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.

  5. trait ImportAnalysis extends TreeFactory with EnrichedTrees with TreeTransformations with CompilerAccess

    Permalink
  6. class ImportsToolbox[C <: CompilationUnitDependencies with EnrichedTrees] extends AnyRef

    Permalink

    Class to wrap path dependent type on CompilationUnitDependencies used in CompilationUnitDependencies.

  7. trait Indexes extends AnyRef

    Permalink

    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.

  8. trait NameValidation extends AnyRef

    Permalink

    NameValidation offers several methods to validate new names; depending on the context they are used.

  9. trait PartiallyAppliedMethodsFinder extends AnyRef

    Permalink

    Provides methods to find DefDefs and ValDefs that are curried/partially applied versions of other methods.

  10. trait ScopeAnalysis extends Selections with CompilerAccess

    Permalink
  11. trait TreeAnalysis extends AnyRef

    Permalink

    Provides some simple methods to analyze the program's data flow, as used by Extract Method to find in and out parameters.

Ungrouped