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