Crate rustc_save_analysis[−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Re-exports
extern crate std; |
extern crate rustc; |
extern crate log; |
extern crate rustc_data_structures; |
extern crate rustc_serialize; |
extern crate rustc_target; |
extern crate rustc_typeck; |
extern crate syntax; |
extern crate syntax_pos; |
extern crate rls_data; |
extern crate rls_span; |
use std::prelude::v1::*; |
use rustc::hir; |
use rustc::hir::def::Def as HirDef; |
use rustc::hir::map::Node; |
use rustc::hir::map::NodeItem; |
use rustc::hir::def_id::DefId; |
use rustc::hir::def_id::LOCAL_CRATE; |
use rustc::middle::cstore::ExternCrate; |
use rustc::session::config::CrateType::CrateTypeExecutable; |
use rustc::ty; |
use rustc::ty::TyCtxt; |
use rustc_typeck::hir_ty_to_ty; |
use std::cell::Cell; |
use std::default::Default; |
use std::env; |
use std::fs::File; |
use std::path::Path; |
use std::path::PathBuf; |
use syntax::ast; |
use syntax::ast::Attribute; |
use syntax::ast::NodeId; |
use syntax::ast::PatKind; |
use syntax::parse::lexer::comments::strip_doc_comment_decoration; |
use syntax::parse::token; |
use syntax::print::pprust; |
use syntax::symbol::keywords; |
use syntax::visit; |
use syntax::visit::Visitor; |
use syntax::print::pprust::arg_to_string; |
use syntax::print::pprust::ty_to_string; |
use syntax::codemap::MacroAttribute; |
use syntax_pos::*; |
use json_dumper::JsonDumper; |
use dump_visitor::DumpVisitor; |
use span_utils::SpanUtils; |
use rls_data::Def; |
use rls_data::DefKind; |
use rls_data::ExternalCrateData; |
use rls_data::GlobalCrateId; |
use rls_data::MacroRef; |
use rls_data::Ref; |
use rls_data::RefKind; |
use rls_data::Relation; |
use rls_data::RelationKind; |
use rls_data::SpanData; |
use rls_data::Impl; |
use rls_data::ImplKind; |
use rls_data::config::Config; |
Modules
dump_visitor |
[ Experimental ] Write the output of rustc's analysis to an implementor of Dump. |
json_dumper |
[ Experimental ]
|
sig |
[ Experimental ]
|
span_utils |
[ Experimental ]
|
Structs
CallbackHandler |
[ Experimental ] Call a callback with the results of save-analysis. |
DumpHandler |
[ Experimental ] Dump the save-analysis results to a file. |
PathCollector |
[ Experimental ]
|
SaveContext |
[ Experimental ]
|
Enums
Data |
[ Experimental ]
|
Traits
SaveHandler |
[ Experimental ] Defines what to do with the results of saving the analysis. |
Functions
escape |
[ Experimental ]
|
find_config |
[ Experimental ]
|
generated_code |
[ Experimental ]
|
id_from_def_id |
[ Experimental ]
|
id_from_node_id |
[ Experimental ]
|
lower_attributes |
[ Experimental ]
|
make_signature |
[ Experimental ]
|
null_id |
[ Experimental ]
|
process_crate |
[ Experimental ]
|