]> git.lizzy.rs Git - rust.git/blob - src/libsyntax/syntax.rc
Merge remote-tracking branch 'brson/codemap'
[rust.git] / src / libsyntax / syntax.rc
1 #[link(name = "syntax",
2        vers = "0.5",
3        uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
4
5
6
7 #[crate_type = "lib"];
8
9 #[no_core];
10
11 #[legacy_modes];
12 #[legacy_exports];
13
14 #[allow(vecs_implicitly_copyable)];
15 #[allow(non_camel_case_types)];
16 #[allow(deprecated_mode)];
17 #[allow(deprecated_pattern)];
18
19 extern mod core(vers = "0.5");
20 extern mod std(vers = "0.5");
21
22 use core::*;
23
24 #[legacy_exports]
25 mod attr;
26 #[legacy_exports]
27 mod diagnostic;
28 mod codemap;
29 #[legacy_exports]
30 mod ast;
31 #[legacy_exports]
32 mod ast_util;
33 #[legacy_exports]
34 mod ast_map;
35 #[legacy_exports]
36 mod visit;
37 #[legacy_exports]
38 mod fold;
39 #[legacy_exports]
40 mod util {
41     #[legacy_exports];
42     #[legacy_exports]
43     mod interner;
44 }
45
46 mod parse {
47     #[legacy_exports];
48     export parser;
49     export common;
50     export lexer;
51     export token;
52     export comments;
53     export prec;
54     export classify;
55     export attr;
56
57     #[legacy_exports]
58     mod eval;
59     #[legacy_exports]
60     mod lexer;
61     #[legacy_exports]
62     mod parser;
63     #[legacy_exports]
64     mod token;
65     #[legacy_exports]
66     mod comments;
67     #[legacy_exports]
68     mod attr;
69     #[legacy_exports]
70
71     /// Common routines shared by parser mods
72     #[legacy_exports]
73     mod common;
74
75     /// Functions dealing with operator precedence
76     #[legacy_exports]
77     mod prec;
78
79     /// Routines the parser uses to classify AST nodes
80     #[legacy_exports]
81     mod classify;
82
83     /// Reporting obsolete syntax
84     #[legacy_exports]
85     mod obsolete;
86 }
87
88 mod print {
89     #[legacy_exports];
90     #[legacy_exports]
91     mod pp;
92     #[legacy_exports]
93     mod pprust;
94 }
95
96 mod ext {
97     #[legacy_exports];
98     #[legacy_exports]
99     mod base;
100     #[legacy_exports]
101     mod expand;
102     #[legacy_exports]
103     mod qquote;
104
105     mod quote;
106
107     #[legacy_exports]
108     mod build;
109
110     mod tt {
111         #[legacy_exports];
112         #[legacy_exports]
113         mod transcribe;
114         #[legacy_exports]
115         mod macro_parser;
116         #[legacy_exports]
117         mod macro_rules;
118     }
119
120
121     #[legacy_exports]
122     mod simplext;
123     #[legacy_exports]
124     mod fmt;
125     #[legacy_exports]
126     mod env;
127     #[legacy_exports]
128     mod concat_idents;
129     #[legacy_exports]
130     mod ident_to_str;
131     #[legacy_exports]
132     mod log_syntax;
133     #[legacy_exports]
134     mod auto_serialize;
135     #[legacy_exports]
136     mod source_util;
137
138     mod pipes {
139         #[legacy_exports];
140         #[legacy_exports]
141         mod ast_builder;
142         #[legacy_exports]
143         mod parse_proto;
144         #[legacy_exports]
145         mod pipec;
146         #[legacy_exports]
147         mod proto;
148         #[legacy_exports]
149         mod check;
150         #[legacy_exports]
151         mod liveness;
152     }
153
154     #[legacy_exports]
155     mod trace_macros;
156 }