]> 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 /*! This module contains the Rust parser. It maps source text
12  *  to token trees and to ASTs. It contains code for expanding
13  *  macros.
14  */
15
16 #[link(name = "syntax",
17        package_id = "syntax",
18        vers = "0.9-pre",
19        uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
20
21 #[license = "MIT/ASL2"];
22 #[crate_type = "dylib"];
23
24 #[feature(macro_rules, globs, managed_boxes)];
25
26 extern mod extra;
27
28 pub mod util {
29     pub mod interner;
30     #[cfg(test)]
31     pub mod parser_testing;
32     pub mod small_vector;
33 }
34
35 pub mod syntax {
36     pub use ext;
37     pub use parse;
38 }
39
40 pub mod opt_vec;
41 pub mod attr;
42 pub mod diagnostic;
43 pub mod codemap;
44 pub mod abi;
45 pub mod ast;
46 pub mod ast_util;
47 pub mod ast_map;
48 pub mod visit;
49 pub mod fold;
50
51
52 pub mod parse;
53
54 pub mod print {
55     pub mod pp;
56     pub mod pprust;
57 }
58
59 pub mod ext {
60     pub mod asm;
61     pub mod base;
62     pub mod expand;
63
64     pub mod quote;
65
66     pub mod deriving;
67
68     pub mod build;
69
70     pub mod tt {
71         pub mod transcribe;
72         pub mod macro_parser;
73         pub mod macro_rules;
74     }
75
76
77     pub mod cfg;
78     pub mod fmt;
79     pub mod format;
80     pub mod env;
81     pub mod bytes;
82     pub mod concat;
83     pub mod concat_idents;
84     pub mod log_syntax;
85     pub mod source_util;
86
87     pub mod trace_macros;
88 }