package search
- Alphabetic
- Public
- All
Type Members
- trait DocumentIndex extends AnyRef
- sealed trait EmptyResult extends AnyRef
- class InMemoryDocumentIndex extends DocumentIndex
- class InMemorySymbolIndex extends SymbolIndex
- class InMemorySymbolIndexer extends SymbolIndexer
-
case class
MatchingToken(original: meta.Token, revised: meta.Token) extends Product with Serializable
A pair of tokens that align with each other across two different files
- trait SymbolIndex extends AnyRef
-
trait
SymbolIndexer extends AnyRef
A key/value store with String keys (by symbol syntax) and SymbolData as values.
A key/value store with String keys (by symbol syntax) and SymbolData as values.
A good implementation of this trait should be: - Fast: lookups should be instant to be useful from the editor. - Compact: memory footprint should be small to fit in-memory even for large corpora (>millions of loc) on commodity hardware (dev laptop). - Incremental: can register references to a symbol without the symbol's definition, and vice-versa. - Parallel: all updates are thread safe. - Persistable: it's possible to dump this index to file, and load up later. (TODO(olafur) not yet implemented) All of these features may not be fully implemented yet, but the plan is to reach there eventually.
It's possible to rebuild a scala.meta.Database from a SymbolIndexer with InverseSymbolIndexer.
-
final
class
TokenEditDistance extends AnyRef
Helper to map between position between two similar strings.
Value Members
- object BinarySearch
- object EmptyResult
- object InverseSymbolIndexer
- object SymbolIndex
- object TokenEditDistance