rust/crates/libanalysis/src/lib.rs

24 lines
543 B
Rust
Raw Normal View History

2018-08-10 14:07:43 +02:00
extern crate failure;
extern crate parking_lot;
2018-08-10 20:13:39 +02:00
#[macro_use]
extern crate log;
2018-08-10 21:23:17 +02:00
extern crate once_cell;
2018-08-10 20:13:39 +02:00
extern crate libsyntax2;
2018-08-10 21:23:17 +02:00
extern crate libeditor;
2018-08-13 14:10:20 +02:00
extern crate fst;
2018-08-13 18:28:34 +02:00
extern crate rayon;
2018-08-28 17:22:52 +02:00
extern crate relative_path;
2018-08-13 14:10:20 +02:00
mod symbol_index;
2018-08-21 17:30:10 +02:00
mod module_map;
2018-08-29 17:03:14 +02:00
mod api;
2018-08-29 17:23:57 +02:00
mod imp;
2018-08-10 20:13:39 +02:00
2018-08-13 15:07:05 +02:00
pub use self::symbol_index::Query;
2018-08-29 17:09:08 +02:00
pub use self::api::{
2018-08-30 11:51:46 +02:00
AnalysisHost, Analysis, SourceChange, SourceFileEdit, FileSystemEdit, Position, Diagnostic, Runnable, RunnableKind,
FileId, FileResolver,
2018-08-29 17:09:08 +02:00
};
2018-08-10 14:07:43 +02:00
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;