rust/crates/libanalysis/src/lib.rs

24 lines
543 B
Rust
Raw Normal View History

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