Add way of getting docs from the code model and use for completion

This commit is contained in:
Jeremy A. Kolb 2019-01-23 16:22:10 -05:00
parent 6a6ce2bc95
commit 576625f0a1
5 changed files with 72 additions and 20 deletions

View file

@ -23,6 +23,7 @@ mod ty;
mod impl_block;
mod expr;
mod generics;
mod docs;
mod code_model_api;
mod code_model_impl;
@ -45,6 +46,7 @@ pub use self::{
ty::Ty,
impl_block::{ImplBlock, ImplItem},
code_model_impl::function::{FnScopes, ScopesWithSyntaxMapping},
docs::{Docs, Documentation}
};
pub use self::code_model_api::{