rust/src/libsyntax/syntax.rc

155 lines
2.6 KiB
Plaintext
Raw Normal View History

#[link(name = "syntax",
2012-10-12 18:41:25 -05:00
vers = "0.5",
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
2012-04-05 19:30:26 -05:00
#[no_core];
#[legacy_modes];
#[legacy_exports];
#[allow(vecs_implicitly_copyable)];
#[allow(non_camel_case_types)];
#[allow(deprecated_mode)];
#[allow(deprecated_pattern)];
2012-10-12 18:41:25 -05:00
extern mod core(vers = "0.5");
extern mod std(vers = "0.5");
2012-04-05 19:30:26 -05:00
2012-09-05 13:46:25 -05:00
use core::*;
#[legacy_exports]
mod attr;
#[legacy_exports]
2012-03-22 19:31:32 -05:00
mod diagnostic;
#[legacy_exports]
2012-03-22 17:35:22 -05:00
mod codemap;
#[legacy_exports]
mod ast;
#[legacy_exports]
mod ast_util;
#[legacy_exports]
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-03-22 18:58:30 -05:00
mod interner;
}
mod parse {
#[legacy_exports];
export parser;
2012-06-12 12:59:50 -05:00
export common;
export lexer;
2012-05-21 12:45:56 -05:00
export token;
export comments;
export prec;
export classify;
export attr;
#[legacy_exports]
mod eval;
#[legacy_exports]
mod lexer;
#[legacy_exports]
mod parser;
#[legacy_exports]
mod token;
#[legacy_exports]
mod comments;
#[legacy_exports]
mod attr;
#[legacy_exports]
/// Common routines shared by parser mods
#[legacy_exports]
mod common;
/// Functions dealing with operator precedence
#[legacy_exports]
mod prec;
/// Routines the parser uses to classify AST nodes
#[legacy_exports]
mod classify;
/// Reporting obsolete syntax
#[legacy_exports]
mod obsolete;
}
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;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod qquote;
#[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]
mod simplext;
#[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 ident_to_str;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod log_syntax;
#[legacy_exports]
2012-03-29 15:48:05 -05:00
mod auto_serialize;
#[legacy_exports]
mod source_util;
mod pipes {
#[legacy_exports];
#[legacy_exports]
mod ast_builder;
#[legacy_exports]
mod parse_proto;
#[legacy_exports]
mod pipec;
#[legacy_exports]
mod proto;
#[legacy_exports]
mod check;
#[legacy_exports]
mod liveness;
}
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
}