2013-02-28 13:15:32 +00:00
|
|
|
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
|
2012-12-04 00:48:01 +00:00
|
|
|
// 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.
|
|
|
|
|
2014-01-08 05:17:52 +00:00
|
|
|
/*!
|
|
|
|
|
|
|
|
The Rust parser and macro expander.
|
|
|
|
|
|
|
|
# Note
|
|
|
|
|
|
|
|
This API is completely unstable and subject to change.
|
|
|
|
|
|
|
|
*/
|
2013-03-29 19:51:10 +00:00
|
|
|
|
2014-06-27 18:07:26 +00:00
|
|
|
#![crate_id = "syntax#0.11.0"]
|
2014-06-18 05:13:36 +00:00
|
|
|
#![experimental]
|
2014-03-22 01:05:05 +00:00
|
|
|
#![license = "MIT/ASL2"]
|
|
|
|
#![crate_type = "dylib"]
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
|
|
|
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
2014-06-27 18:07:26 +00:00
|
|
|
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
2014-03-22 01:05:05 +00:00
|
|
|
|
2014-06-17 23:00:04 +00:00
|
|
|
#![feature(macro_rules, globs, managed_boxes, default_type_params, phase)]
|
|
|
|
#![feature(quote, unsafe_destructor)]
|
2014-03-22 01:05:05 +00:00
|
|
|
#![allow(deprecated)]
|
2014-01-09 13:05:33 +00:00
|
|
|
|
2014-02-14 18:10:06 +00:00
|
|
|
extern crate serialize;
|
|
|
|
extern crate term;
|
2014-06-12 01:47:09 +00:00
|
|
|
#[phase(plugin, link)] extern crate log;
|
2014-05-25 04:15:16 +00:00
|
|
|
|
2014-05-06 16:52:53 +00:00
|
|
|
extern crate fmt_macros;
|
2014-05-22 18:28:01 +00:00
|
|
|
extern crate debug;
|
2012-12-23 22:41:37 +00:00
|
|
|
|
2013-04-03 16:41:40 +00:00
|
|
|
pub mod util {
|
|
|
|
pub mod interner;
|
2013-05-17 00:41:47 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
pub mod parser_testing;
|
2013-11-25 05:18:21 +00:00
|
|
|
pub mod small_vector;
|
2013-04-03 16:41:40 +00:00
|
|
|
}
|
|
|
|
|
2012-12-13 21:05:22 +00:00
|
|
|
pub mod syntax {
|
|
|
|
pub use ext;
|
|
|
|
pub use parse;
|
2014-05-29 03:19:05 +00:00
|
|
|
pub use ast;
|
2012-12-13 21:05:22 +00:00
|
|
|
}
|
|
|
|
|
2014-03-19 14:51:08 +00:00
|
|
|
pub mod owned_slice;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod attr;
|
|
|
|
pub mod diagnostic;
|
|
|
|
pub mod codemap;
|
2013-03-14 02:25:28 +00:00
|
|
|
pub mod abi;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod ast;
|
|
|
|
pub mod ast_util;
|
|
|
|
pub mod ast_map;
|
|
|
|
pub mod visit;
|
|
|
|
pub mod fold;
|
2012-04-18 02:34:44 +00:00
|
|
|
|
2013-01-30 17:56:33 +00:00
|
|
|
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod parse;
|
2013-12-28 17:16:48 +00:00
|
|
|
pub mod crateid;
|
2013-01-29 22:41:40 +00:00
|
|
|
|
|
|
|
pub mod print {
|
|
|
|
pub mod pp;
|
|
|
|
pub mod pprust;
|
2012-03-29 20:48:05 +00:00
|
|
|
}
|
|
|
|
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod ext {
|
2013-03-11 05:08:38 +00:00
|
|
|
pub mod asm;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod base;
|
|
|
|
pub mod expand;
|
|
|
|
|
|
|
|
pub mod quote;
|
2013-03-19 11:45:47 +00:00
|
|
|
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod deriving;
|
|
|
|
|
|
|
|
pub mod build;
|
|
|
|
|
|
|
|
pub mod tt {
|
|
|
|
pub mod transcribe;
|
|
|
|
pub mod macro_parser;
|
|
|
|
pub mod macro_rules;
|
2012-06-27 22:29:35 +00:00
|
|
|
}
|
2012-06-12 17:59:50 +00:00
|
|
|
|
2014-02-24 20:47:19 +00:00
|
|
|
pub mod mtwt;
|
2012-07-07 01:04:28 +00:00
|
|
|
|
2013-08-01 13:03:03 +00:00
|
|
|
pub mod cfg;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod fmt;
|
2013-09-13 02:36:58 +00:00
|
|
|
pub mod format;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod env;
|
2013-05-16 04:29:54 +00:00
|
|
|
pub mod bytes;
|
2013-10-06 04:15:46 +00:00
|
|
|
pub mod concat;
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod concat_idents;
|
|
|
|
pub mod log_syntax;
|
|
|
|
pub mod source_util;
|
2012-07-05 19:10:33 +00:00
|
|
|
|
2013-01-29 22:41:40 +00:00
|
|
|
pub mod trace_macros;
|
2012-03-29 20:48:05 +00:00
|
|
|
}
|