]> git.proxmox.com Git - rustc.git/blame - src/librustc_save_analysis/dump.rs
New upstream version 1.19.0+dfsg3
[rustc.git] / src / librustc_save_analysis / dump.rs
CommitLineData
54a0048b
SL
1// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
a7813a04 11use super::external_data::*;
54a0048b 12
cc61c64b
XL
13use rls_data::CratePreludeData;
14
54a0048b 15pub trait Dump {
7cac9316
XL
16 fn crate_prelude(&mut self, _: CratePreludeData) {}
17 fn enum_data(&mut self, _: EnumData) {}
18 fn extern_crate(&mut self, _: ExternCrateData) {}
19 fn impl_data(&mut self, _: ImplData) {}
20 fn inheritance(&mut self, _: InheritanceData) {}
21 fn function(&mut self, _: FunctionData) {}
22 fn function_ref(&mut self, _: FunctionRefData) {}
23 fn function_call(&mut self, _: FunctionCallData) {}
24 fn method(&mut self, _: MethodData) {}
25 fn method_call(&mut self, _: MethodCallData) {}
26 fn macro_data(&mut self, _: MacroData) {}
27 fn macro_use(&mut self, _: MacroUseData) {}
28 fn mod_data(&mut self, _: ModData) {}
29 fn mod_ref(&mut self, _: ModRefData) {}
30 fn struct_data(&mut self, _: StructData) {}
31 fn struct_variant(&mut self, _: StructVariantData) {}
32 fn trait_data(&mut self, _: TraitData) {}
33 fn tuple_variant(&mut self, _: TupleVariantData) {}
34 fn type_ref(&mut self, _: TypeRefData) {}
35 fn typedef(&mut self, _: TypeDefData) {}
36 fn use_data(&mut self, _: UseData) {}
37 fn use_glob(&mut self, _: UseGlobData) {}
38 fn variable(&mut self, _: VariableData) {}
39 fn variable_ref(&mut self, _: VariableRefData) {}
54a0048b 40}