trait SemanticdbIndex extends SemanticContext

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

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

Abstract Value Members

  1. abstract def database: Database

    The underlying raw database.

  2. abstract def denotation(tree: Tree): Option[Denotation]

    Lookup denotation of this tree.

    Lookup denotation of this tree.

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

  3. abstract def denotation(symbol: Symbol): Option[Denotation]

    Lookup denotation of this symbol.

  4. abstract def names: Seq[ResolvedName]

    The resolved names in this database.

    The resolved names in this database.

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

  5. abstract def symbol(tree: Tree): Option[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

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

    Lookup symbol at this position.

  7. abstract def classpath: scala.meta.Classpath

    Classpath built this SemanticdbIndex.

    Classpath built this SemanticdbIndex.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0)

  8. abstract def withDocuments(documents: Seq[Document]): SemanticdbIndex

    Build new SemanticdbIndex with only these documents.

    Build new SemanticdbIndex with only these documents.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0)

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
    @native() @throws( ... )
  6. def documents: Seq[Document]

    Get all documents in this index

  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
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def inputs: Seq[scala.meta.Input]

    Get all Input in this index.

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def messages: Seq[Message]

    Get all messages in this index.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def symbols: Seq[ResolvedSymbol]

    Get all symbols in this index.

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

    Get all synthetics in this index.

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

Inherited from SemanticContext

Inherited from AnyRef

Inherited from Any

Ungrouped