c

scala.meta.metals.search

InMemorySymbolIndexer

class InMemorySymbolIndexer extends SymbolIndexer

Self Type
InMemorySymbolIndexer
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemorySymbolIndexer
  2. SymbolIndexer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemorySymbolIndexer(symbols: Map[String, AtomicReference[SymbolData]] = TrieMap.empty)

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. 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
    InMemorySymbolIndexerSymbolIndexer
  5. 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
    InMemorySymbolIndexerSymbolIndexer
  6. 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
    InMemorySymbolIndexerSymbolIndexer
  7. def allSymbols: Traversable[SymbolData]

    Iterator for all indexed symbols

    Iterator for all indexed symbols

    Definition Classes
    InMemorySymbolIndexerSymbolIndexer
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  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 get(symbol: String): Option[SymbolData]

    Lookup symbol by its syntax.

    Lookup symbol by its syntax.

    Definition Classes
    InMemorySymbolIndexerSymbolIndexer
  14. def get(symbol: org.langmeta.semanticdb.Symbol): Option[SymbolData]

    Lookup scala.meta.Symbol

    Lookup scala.meta.Symbol

    Definition Classes
    InMemorySymbolIndexerSymbolIndexer
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def unapply(arg: Any): Option[SymbolData]

    Lookup symbol from inside a pattern match

    Lookup symbol from inside a pattern match

    Definition Classes
    InMemorySymbolIndexerSymbolIndexer
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SymbolIndexer

Inherited from AnyRef

Inherited from Any

Ungrouped