Packages

t

scalafix.internal.patch

CrashingSemanticdbIndex

trait CrashingSemanticdbIndex extends v0.SemanticdbIndex

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CrashingSemanticdbIndex
  2. SemanticdbIndex
  3. SemanticContext
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def database: v0.Database

    The underlying raw database.

    The underlying raw database.

    Definition Classes
    SemanticdbIndex
  2. abstract def denotation(tree: Tree): Option[v0.Denotation]

    Lookup denotation of this tree.

    Lookup denotation of this tree.

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

    Definition Classes
    SemanticdbIndex
  3. abstract def denotation(symbol: Symbol): Option[v0.Denotation]

    Lookup denotation of this symbol.

    Lookup denotation of this symbol.

    Definition Classes
    SemanticdbIndex
  4. abstract def names: Seq[v0.ResolvedName]

    The resolved names in this database.

    The resolved names in this database.

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

    Definition Classes
    SemanticdbIndex
  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
    Definition Classes
    SemanticdbIndex
  6. abstract def symbol(position: scala.meta.Position): Option[Symbol]

    Lookup symbol at this position.

    Lookup symbol at this position.

    Definition Classes
    SemanticdbIndex

Concrete Value Members

  1. final def classpath: scala.meta.Classpath

    Classpath built this SemanticdbIndex.

    Classpath built this SemanticdbIndex.

    Definition Classes
    CrashingSemanticdbIndexSemanticdbIndex
  2. def documents: Seq[v0.Document]

    Get all documents in this index

    Get all documents in this index

    Definition Classes
    SemanticdbIndex
  3. def inputs: Seq[scala.meta.Input]

    Get all Input in this index.

    Get all Input in this index.

    Definition Classes
    SemanticdbIndex
  4. def messages: Seq[v0.Message]

    Get all messages in this index.

    Get all messages in this index.

    Definition Classes
    SemanticdbIndex
  5. def symbols: Seq[v0.ResolvedSymbol]

    Get all symbols in this index.

    Get all symbols in this index.

    Definition Classes
    SemanticdbIndex
  6. def synthetics: Seq[v0.Synthetic]

    Get all synthetics in this index.

    Get all synthetics in this index.

    Definition Classes
    SemanticdbIndex
  7. final def withDocuments(documents: Seq[v0.Document]): v0.SemanticdbIndex

    Build new SemanticdbIndex with only these documents.

    Build new SemanticdbIndex with only these documents.

    Definition Classes
    CrashingSemanticdbIndexSemanticdbIndex
  8. object Symbol
    Definition Classes
    SemanticdbIndex