class InMemorySymbolIndexer extends SymbolIndexer
- Self Type
- InMemorySymbolIndexer
- Alphabetic
- By Inheritance
- InMemorySymbolIndexer
- SymbolIndexer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InMemorySymbolIndexer(symbols: Map[String, AtomicReference[SymbolData]] = TrieMap.empty)
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
-
def
addDefinition(symbol: String, position: index.Position): Unit
Register the definition of a symbol at a given position.
Register the definition of a symbol at a given position.
Overrides existing registered definition.
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
def
addDenotation(symbol: String, flags: Long, name: String, signature: String): Unit
Register metadata about a symbol.
Register metadata about a symbol.
- flags
the modifiers of this symbol, see org.langmeta.semanticdb.HasFlags
- name
the name of the symbol, example "get" for scala.Option.get
- signature
the type signature of this symbol, example "List[T]" for List.tail
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
def
addReference(filename: String, range: index.Range, symbol: String): Unit
Reguster a reference/call-site to this symbol.
Reguster a reference/call-site to this symbol.
- filename
must be URI, can either be file on local disk or entry in jar/zip.
- range
start/end offset where this symbol is referenced.
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
def
allSymbols: Traversable[SymbolData]
Iterator for all indexed symbols
Iterator for all indexed symbols
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
get(symbol: String): Option[SymbolData]
Lookup symbol by its syntax.
Lookup symbol by its syntax.
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
def
get(symbol: org.langmeta.semanticdb.Symbol): Option[SymbolData]
Lookup scala.meta.Symbol
Lookup scala.meta.Symbol
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapply(arg: Any): Option[SymbolData]
Lookup symbol from inside a pattern match
Lookup symbol from inside a pattern match
- Definition Classes
- InMemorySymbolIndexer → SymbolIndexer
-
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( ... )