]> git.lizzy.rs Git - rust.git/blob - src/libsyntax/syntax.rc
7f84d6a3010d913b99e4c2c0b6823b0935aee3de
[rust.git] / src / libsyntax / syntax.rc
1 // Copyright 2012-2013 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
11 #[link(name = "syntax",
12        vers = "0.6",
13        uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
14
15
16
17 #[license = "MIT/ASL2"];
18 #[crate_type = "lib"];
19
20 #[legacy_modes];
21
22 #[allow(vecs_implicitly_copyable)];
23 #[allow(non_camel_case_types)];
24 #[allow(deprecated_mode)];
25 #[deny(deprecated_self)];
26
27 #[no_core];
28
29 extern mod core(vers = "0.6");
30 use core::*;
31
32 extern mod std(vers = "0.6");
33
34 pub mod syntax {
35     pub use ext;
36     pub use parse;
37 }
38
39 pub mod opt_vec;
40 pub mod attr;
41 pub mod diagnostic;
42 pub mod codemap;
43 pub mod ast;
44 pub mod ast_util;
45 pub mod ast_map;
46 pub mod visit;
47 pub mod fold;
48 pub mod util {
49     pub mod interner;
50     pub mod testing;
51 }
52
53
54 #[path = "parse/mod.rs"]
55 pub mod parse;
56
57 pub mod print {
58     pub mod pp;
59     pub mod pprust;
60 }
61
62 pub mod ext {
63     pub mod base;
64     pub mod expand;
65
66     pub mod quote;
67     pub mod deriving;
68
69     pub mod build;
70
71     pub mod tt {
72         pub mod transcribe;
73         pub mod macro_parser;
74         pub mod macro_rules;
75     }
76
77
78     pub mod fmt;
79     pub mod env;
80     pub mod concat_idents;
81     pub mod log_syntax;
82     pub mod auto_encode;
83     pub mod source_util;
84
85     #[path = "pipes/mod.rs"]
86     pub mod pipes;
87
88     pub mod trace_macros;
89 }
90