rust/src/libsyntax/syntax.rc

114 lines
2.0 KiB
Plaintext
Raw Normal View History

// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[link(name = "syntax",
vers = "0.6",
uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
2012-03-22 17:27:35 -05:00
#[crate_type = "lib"];
2012-03-22 17:35:22 -05:00
#[legacy_modes];
#[legacy_exports];
#[legacy_records];
#[allow(vecs_implicitly_copyable)];
#[allow(non_camel_case_types)];
#[allow(deprecated_mode)];
#[warn(deprecated_pattern)];
#[allow(deprecated_self)];
#[no_core];
2012-04-05 19:30:26 -05:00
extern mod core(vers = "0.6");
2012-09-05 13:46:25 -05:00
use core::*;
extern mod std(vers = "0.6");
pub mod syntax {
pub use ext;
pub use parse;
}
mod attr;
2012-03-22 19:31:32 -05:00
mod diagnostic;
2012-03-22 17:35:22 -05:00
mod codemap;
mod ast;
mod ast_util;
mod ast_map;
#[legacy_exports]
mod visit;
#[legacy_exports]
2012-03-22 19:21:34 -05:00
mod fold;
#[legacy_exports]
2012-03-22 18:58:30 -05:00
mod util {
#[legacy_exports];
#[legacy_exports]
2012-12-19 16:17:53 -06:00
#[path = "interner.rs"]
2012-03-22 18:58:30 -05:00
mod interner;
}
2012-11-28 18:20:41 -06:00
#[path = "parse/mod.rs"]
2012-11-28 14:33:00 -06:00
mod parse;
mod print {
#[legacy_exports];
#[legacy_exports]
mod pp;
#[legacy_exports]
mod pprust;
2012-03-29 15:48:05 -05:00
}
mod ext {
#[legacy_exports];
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod base;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod expand;
mod quote;
mod deriving;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod build;
mod tt {
#[legacy_exports];
#[legacy_exports]
mod transcribe;
#[legacy_exports]
mod macro_parser;
#[legacy_exports]
mod macro_rules;
}
2012-06-12 12:59:50 -05:00
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod fmt;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod env;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod concat_idents;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod log_syntax;
#[legacy_exports]
mod auto_encode;
#[legacy_exports]
mod source_util;
2012-12-19 16:17:53 -06:00
#[path = "pipes/mod.rs"]
#[legacy_exports]
2012-11-28 14:33:00 -06:00
mod pipes;
2012-08-15 12:45:10 -05:00
#[legacy_exports]
2012-08-15 12:45:10 -05:00
mod trace_macros;
2012-03-29 15:48:05 -05:00
}