class InMemorySymbolIndex extends SymbolIndex
- Alphabetic
- By Inheritance
- InMemorySymbolIndex
- SymbolIndex
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InMemorySymbolIndex(symbolIndexer: SymbolIndexer, documentIndex: DocumentIndex, cwd: org.langmeta.io.AbsolutePath, buffers: Buffers, configuration: Observable[Configuration])(implicit scheduler: Scheduler, client: JsonRpcClient)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- InMemorySymbolIndex → SymbolIndex
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
- InMemorySymbolIndex → SymbolIndex
-
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
- InMemorySymbolIndex → SymbolIndex
-
val
documentIndex: DocumentIndex
- Definition Classes
- InMemorySymbolIndex → SymbolIndex
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findDefinition(path: Uri, line: Int, column: Int): Option[SymbolData]
- Definition Classes
- SymbolIndex
-
def
findReferences(path: Uri, line: Int, column: Int): List[SymbolData]
- Definition Classes
- SymbolIndex
-
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
- InMemorySymbolIndex → SymbolIndex
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
indexDatabase(document: org.langmeta.internal.semanticdb.schema.Database): IndexSemanticdb
Register this Database to symbol indexer.
Register this Database to symbol indexer.
- Definition Classes
- InMemorySymbolIndex → SymbolIndex
-
def
indexDependencyClasspath(sourceJars: List[org.langmeta.io.AbsolutePath]): Task[IndexSourcesClasspath]
- Definition Classes
- InMemorySymbolIndex → SymbolIndex
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- InMemorySymbolIndex → SymbolIndex
-
def
resolveName(uri: Uri, line: Int, column: Int): Option[(org.langmeta.internal.semanticdb.schema.ResolvedName, TokenEditDistance)]
Returns a ResolvedName at the given location
- val symbolIndexer: SymbolIndexer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
workspaceSymbols(query: String): List[SymbolInformation]
Returns symbol definitions in this workspace
Returns symbol definitions in this workspace
- Definition Classes
- InMemorySymbolIndex → SymbolIndex