c

scala.meta.metals.search

InMemorySymbolIndex

class InMemorySymbolIndex extends SymbolIndex

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

Instance Constructors

  1. new InMemorySymbolIndex(symbolIndexer: SymbolIndexer, documentIndex: DocumentIndex, cwd: org.langmeta.io.AbsolutePath, buffers: Buffers, configuration: Observable[Configuration])(implicit scheduler: Scheduler, client: JsonRpcClient)

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 clearIndex(): Unit

    Remove any persisted files from index returning to a clean start

    Remove any persisted files from index returning to a clean start

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def data(symbol: org.langmeta.semanticdb.Symbol): Option[SymbolData]

    Returns symbol data for this exact Symbol

    Returns symbol data for this exact Symbol

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  8. def definitionData(symbol: org.langmeta.semanticdb.Symbol): Option[SymbolData]

    Returns symbol definition data from the index taking into account relevant alternatives

    Returns symbol definition data from the index taking into account relevant alternatives

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  9. val documentIndex: DocumentIndex
    Definition Classes
    InMemorySymbolIndexSymbolIndex
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findDefinition(path: Uri, line: Int, column: Int): Option[SymbolData]
    Definition Classes
    SymbolIndex
  14. def findReferences(path: Uri, line: Int, column: Int): List[SymbolData]
    Definition Classes
    SymbolIndex
  15. def findSymbol(uri: Uri, line: Int, column: Int): Option[(org.langmeta.semanticdb.Symbol, TokenEditDistance)]

    Returns a symbol at the given location

    Returns a symbol at the given location

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def indexDatabase(document: org.langmeta.internal.semanticdb.schema.Database): IndexSemanticdb

    Register this Database to symbol indexer.

    Register this Database to symbol indexer.

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  19. def indexDependencyClasspath(sourceJars: List[org.langmeta.io.AbsolutePath]): Task[IndexSourcesClasspath]
    Definition Classes
    InMemorySymbolIndexSymbolIndex
  20. def indexDocument(document: org.langmeta.internal.semanticdb.schema.Document): IndexSemanticdb

    Register this Document to symbol indexer.

    Register this Document to symbol indexer.

    Indexes definitions, denotations and references in this document.

    document

    Must respect the following conventions:

    • filename must be formatted as a URI
    • names must be sorted
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def referencesData(symbol: org.langmeta.semanticdb.Symbol): List[SymbolData]

    Returns symbol references data from the index taking into account relevant alternatives

    Returns symbol references data from the index taking into account relevant alternatives

    Definition Classes
    InMemorySymbolIndexSymbolIndex
  26. def resolveName(uri: Uri, line: Int, column: Int): Option[(org.langmeta.internal.semanticdb.schema.ResolvedName, TokenEditDistance)]

    Returns a ResolvedName at the given location

  27. val symbolIndexer: SymbolIndexer
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. def workspaceSymbols(query: String): List[SymbolInformation]

    Returns symbol definitions in this workspace

    Returns symbol definitions in this workspace

    Definition Classes
    InMemorySymbolIndexSymbolIndex

Inherited from SymbolIndex

Inherited from AnyRef

Inherited from Any

Ungrouped