Trait/Object

scalafix.util

SemanticdbIndex

Related Docs: object SemanticdbIndex | package util

Permalink

trait SemanticdbIndex extends AnyRef

An index for looking up data in a scala.meta.Database.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticdbIndex
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def classpath: scala.meta.Classpath

    Permalink

    Classpath built this SemanticdbIndex.

  2. abstract def database: scala.meta.Database

    Permalink

    The underlying raw database.

  3. abstract def denotation(tree: Tree): Option[scala.meta.Denotation]

    Permalink

    Lookup denotation of this tree.

    Lookup denotation of this tree.

    Shorthand method for symbol(tree).flatMap(denotation).

  4. abstract def denotation(symbol: scala.meta.Symbol): Option[scala.meta.Denotation]

    Permalink

    Lookup denotation of this symbol.

  5. abstract def names: Seq[scala.meta.ResolvedName]

    Permalink

    The resolved names in this database.

    The resolved names in this database.

    Includes resolved name in synthetics, such as inferred implicits/types.

  6. abstract def sourcepath: scala.meta.Sourcepath

    Permalink

    List of source files that built this SemanticdbIndex.

  7. abstract def symbol(tree: Tree): Option[scala.meta.Symbol]

    Permalink

    Lookup symbol at this tree.

    Lookup symbol at this tree.

    This method returns the same result as symbol(Tree.Position) in most cases but handles some special cases: - when tree is Term/Type.Select(_, name), query by name.position - workaround for https://github.com/scalameta/scalameta/issues/1083

  8. abstract def symbol(position: scala.meta.Position): Option[scala.meta.Symbol]

    Permalink

    Lookup symbol at this position.

  9. abstract def withDocuments(documents: Seq[scala.meta.Document]): SemanticdbIndex

    Permalink

    Build new SemanticdbIndex with only these documents.

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. object Symbol

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def documents: Seq[scala.meta.Document]

    Permalink

    Shorthand for scala.meta.Database.documents

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  14. def messages: Seq[scala.meta.Message]

    Permalink

    Shorthand for scala.meta.Database.messages

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def symbols: Seq[scala.meta.ResolvedSymbol]

    Permalink

    Shorthand for scala.meta.Database.symbols

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def synthetics: Seq[scala.meta.Synthetic]

    Permalink

    Shorthand for scala.meta.Database.synthetics

  21. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped