aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis/src/lib.rs
blob: a39141941ff35bf2f87938164b39a26352e90658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
extern crate failure;
extern crate parking_lot;
#[macro_use]
extern crate log;
extern crate once_cell;
extern crate libsyntax2;
extern crate libeditor;
extern crate fst;
extern crate rayon;
extern crate relative_path;

mod symbol_index;
mod module_map;
mod api;
mod imp;

pub use self::symbol_index::Query;
pub use self::api::{
    AnalysisHost, Analysis, SourceChange, SourceFileEdit, FileSystemEdit, Position, Diagnostic, Runnable, RunnableKind,
    FileId, FileResolver,
};

pub type Result<T> = ::std::result::Result<T, ::failure::Error>;