]> git.proxmox.com Git - rustc.git/blame - src/librustc_save_analysis/dump.rs
New upstream version 1.16.0+dfsg1
[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
SL
12
13pub trait Dump {
a7813a04
XL
14 fn crate_prelude(&mut self, CratePreludeData) {}
15 fn enum_data(&mut self, EnumData) {}
16 fn extern_crate(&mut self, ExternCrateData) {}
17 fn impl_data(&mut self, ImplData) {}
18 fn inheritance(&mut self, InheritanceData) {}
19 fn function(&mut self, FunctionData) {}
20 fn function_ref(&mut self, FunctionRefData) {}
21 fn function_call(&mut self, FunctionCallData) {}
22 fn method(&mut self, MethodData) {}
23 fn method_call(&mut self, MethodCallData) {}
24 fn macro_data(&mut self, MacroData) {}
25 fn macro_use(&mut self, MacroUseData) {}
26 fn mod_data(&mut self, ModData) {}
27 fn mod_ref(&mut self, ModRefData) {}
28 fn struct_data(&mut self, StructData) {}
29 fn struct_variant(&mut self, StructVariantData) {}
30 fn trait_data(&mut self, TraitData) {}
31 fn tuple_variant(&mut self, TupleVariantData) {}
32 fn type_ref(&mut self, TypeRefData) {}
33 fn typedef(&mut self, TypeDefData) {}
34 fn use_data(&mut self, UseData) {}
35 fn use_glob(&mut self, UseGlobData) {}
36 fn variable(&mut self, VariableData) {}
37 fn variable_ref(&mut self, VariableRefData) {}
54a0048b 38}