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

    Classpath built this SemanticdbIndex.

  2. abstract def database: scala.meta.Database

    The underlying raw database.

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

    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]

    Lookup denotation of this symbol.

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

    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

    List of source files that built this SemanticdbIndex.

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

    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]

    Lookup symbol at this position.

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

    Build new SemanticdbIndex with only these documents.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def documents: Seq[scala.meta.Document]

    Shorthand for scala.meta.Database.documents

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def messages: Seq[scala.meta.Message]

    Shorthand for scala.meta.Database.messages

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. def symbols: Seq[scala.meta.ResolvedSymbol]

    Shorthand for scala.meta.Database.symbols

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def synthetics: Seq[scala.meta.Synthetic]

    Shorthand for scala.meta.Database.synthetics

  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. object Symbol

Inherited from AnyRef

Inherited from Any

Ungrouped