]> git.lizzy.rs Git - rust.git/blob - src/libsyntax/lib.rs
Update to 0.11.0
[rust.git] / src / libsyntax / lib.rs
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 /*!
12
13 The Rust parser and macro expander.
14
15 # Note
16
17 This API is completely unstable and subject to change.
18
19 */
20
21 #![crate_id = "syntax#0.11.0"]
22 #![experimental]
23 #![license = "MIT/ASL2"]
24 #![crate_type = "dylib"]
25 #![crate_type = "rlib"]
26 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
27        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
28        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
29
30 #![feature(macro_rules, globs, managed_boxes, default_type_params, phase)]
31 #![feature(quote, unsafe_destructor)]
32 #![allow(deprecated)]
33
34 extern crate serialize;
35 extern crate term;
36 #[phase(plugin, link)] extern crate log;
37
38 extern crate fmt_macros;
39 extern crate debug;
40
41 pub mod util {
42     pub mod interner;
43     #[cfg(test)]
44     pub mod parser_testing;
45     pub mod small_vector;
46 }
47
48 pub mod syntax {
49     pub use ext;
50     pub use parse;
51     pub use ast;
52 }
53
54 pub mod owned_slice;
55 pub mod attr;
56 pub mod diagnostic;
57 pub mod codemap;
58 pub mod abi;
59 pub mod ast;
60 pub mod ast_util;
61 pub mod ast_map;
62 pub mod visit;
63 pub mod fold;
64
65
66 pub mod parse;
67 pub mod crateid;
68
69 pub mod print {
70     pub mod pp;
71     pub mod pprust;
72 }
73
74 pub mod ext {
75     pub mod asm;
76     pub mod base;
77     pub mod expand;
78
79     pub mod quote;
80
81     pub mod deriving;
82
83     pub mod build;
84
85     pub mod tt {
86         pub mod transcribe;
87         pub mod macro_parser;
88         pub mod macro_rules;
89     }
90
91     pub mod mtwt;
92
93     pub mod cfg;
94     pub mod fmt;
95     pub mod format;
96     pub mod env;
97     pub mod bytes;
98     pub mod concat;
99     pub mod concat_idents;
100     pub mod log_syntax;
101     pub mod source_util;
102
103     pub mod trace_macros;
104 }