Files
rust/crates/libanalysis/src/lib.rs

24 lines
543 B
Rust
Raw Normal View History

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