[][src]Crate ra_ap_ide_db

This crate defines the core datastructure representing IDE state -- RootDatabase.

It is mainly a HirDatabase for semantic analysis, plus a SymbolsDatabase, for fuzzy search.

Modules

defs

NameDefinition keeps information about the element we want to search references for. The element is represented by NameKind. It's located inside some container and has a visibility, which defines a search scope. Note that the reference search is possible for not all of the classified items.

imports_locator

This module contains an import search funcionality that is provided to the assists module. Later, this should be moved away to a separate crate that is accessible from the assists module.

label

See Label

line_index

LineIndex maps flat TextSize offsets into (Line, Column) representation.

search

Implementation of find-usages functionality.

source_change

This modules defines type to represent changes to the source code, that flow from the server to the client.

symbol_index

This module handles fuzzy-searching of functions, structs and other symbols by name across the whole workspace and dependencies.

Structs

LineIndexDatabaseGroupStorage__
LineIndexDatabaseStorage

Representative struct for the query group.

LineIndexQuery
RootDatabase

Traits

LineIndexDatabase