Trait/Object

scala.tools.refactoring.analysis.GlobalIndexes

GlobalIndex

Related Docs: object GlobalIndex | package GlobalIndexes

Permalink

trait GlobalIndex extends IndexLookup

Self Type
GlobalIndex with GlobalIndexes.SymbolExpander
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GlobalIndex
  2. IndexLookup
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cus(): List[GlobalIndexes.CompilationUnitIndex]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allDeclarations(): Map[nsc.interactive.Global.Symbol, nsc.interactive.Global.DefTree]

    Permalink

    Returns a map that associates each defined symbol in the index with its DefTree.

    Returns a map that associates each defined symbol in the index with its DefTree.

    Definition Classes
    IndexLookup
  5. def allDefinedSymbols(): List[nsc.interactive.Global.Symbol]

    Permalink

    Returns all defined symbols, i.e.

    Returns all defined symbols, i.e. symbols of DefTrees.

    Definition Classes
    GlobalIndexIndexLookup
  6. def allSymbols(): List[nsc.interactive.Global.Symbol]

    Permalink

    Returns all symbols that are part of the index, either referenced or defined.

    Returns all symbols that are part of the index, either referenced or defined. This also includes symbols from the Scala library that are used in the compilation units.

    Definition Classes
    GlobalIndexIndexLookup
  7. def appliesOf(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Tree]

    Permalink

    Returns all Apply trees on method s.

    Returns all Apply trees on method s.

    Definition Classes
    IndexLookup
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def completeClassHierarchy(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Symbol]

    Permalink

    For the given Symbol - which is a class or object - returns a list of all sub- and super classes, in no particular order.

    For the given Symbol - which is a class or object - returns a list of all sub- and super classes, in no particular order.

    Definition Classes
    IndexLookup
  11. def completePackageHierarchy(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Symbol]

    Permalink

    For the given Symbol - which is a package - returns a list of all sub- and super packages, in no particular order.

    For the given Symbol - which is a package - returns a list of all sub- and super packages, in no particular order.

    Definition Classes
    IndexLookup
  12. def declaration(s: nsc.interactive.Global.Symbol): Option[nsc.interactive.Global.DefTree]

    Permalink

    For a given Symbol, tries to find the tree that declares it.

    For a given Symbol, tries to find the tree that declares it. The result tree can have an offset position.

    Definition Classes
    GlobalIndexIndexLookup
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def expandSymbol(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Symbol]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def occurences(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Tree]

    Permalink

    For a given Symbol, returns all trees that reference or declare the symbol that have a range position.

    For a given Symbol, returns all trees that reference or declare the symbol that have a range position.

    Definition Classes
    GlobalIndexIndexLookup
  24. def overridesInClasses(s: nsc.interactive.Global.Symbol): List[nsc.interactive.Global.Symbol]

    Permalink

    Returns all overrides of the symbol s.

    Returns all overrides of the symbol s.

    Definition Classes
    IndexLookup
  25. def positionToSymbol(p: nsc.interactive.Global.Position): List[nsc.interactive.Global.Symbol]

    Permalink

    From a position, returns the symbols that contain a tree reference to that position.

    From a position, returns the symbols that contain a tree reference to that position.

    This operation is expensive because it needs to scan all trees in the index.

    Definition Classes
    GlobalIndexIndexLookup
  26. def references(s: nsc.interactive.Global.Symbol): collection.immutable.List[nsc.interactive.Global.Tree]

    Permalink

    For a given Symbol, returns all trees that directly reference the symbol.

    For a given Symbol, returns all trees that directly reference the symbol. This does not include parents of trees that reference a symbol, e.g. for a method call, the Select tree is returned, but not its parent Apply tree.

    Only returns trees with a range position.

    Definition Classes
    GlobalIndexIndexLookup
  27. def rootsOf(trees: List[nsc.interactive.Global.Tree]): collection.immutable.List[nsc.interactive.Global.Tree]

    Permalink

    Returns the root trees of the given trees that are part of this index.

    Returns the root trees of the given trees that are part of this index.

    The roots are typically PackageDefs, but this isn't necessarily true because an index can also be created for a smaller scope.

    Definition Classes
    GlobalIndexIndexLookup
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GlobalIndexes.IndexLookup

Inherited from AnyRef

Inherited from Any

Ungrouped