2012-05-29 23:35:12 -05:00
|
|
|
#[link(name = "syntax",
|
2012-07-11 11:09:08 -05:00
|
|
|
vers = "0.3",
|
2012-05-29 23:35:12 -05:00
|
|
|
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];
|
|
|
|
|
2012-06-04 20:34:24 -05:00
|
|
|
#[warn(no_vecs_not_implicitly_copyable)];
|
|
|
|
|
2012-07-11 11:09:08 -05:00
|
|
|
use core(vers = "0.3");
|
|
|
|
use std(vers = "0.3");
|
2012-04-05 19:30:26 -05:00
|
|
|
|
|
|
|
import core::*;
|
2012-03-22 18:07:30 -05:00
|
|
|
|
2012-03-22 20:01:08 -05:00
|
|
|
mod attr;
|
2012-03-22 19:31:32 -05:00
|
|
|
mod diagnostic;
|
2012-03-22 17:35:22 -05:00
|
|
|
mod codemap;
|
2012-03-22 18:07:30 -05:00
|
|
|
mod ast;
|
|
|
|
mod ast_util;
|
2012-05-22 01:34:34 -05:00
|
|
|
mod ast_map;
|
2012-03-22 18:07:30 -05:00
|
|
|
mod visit;
|
2012-03-22 19:21:34 -05:00
|
|
|
mod fold;
|
2012-03-22 18:58:30 -05:00
|
|
|
mod util {
|
|
|
|
mod interner;
|
2012-03-22 19:49:30 -05:00
|
|
|
}
|
2012-04-17 21:34:44 -05:00
|
|
|
|
2012-03-22 19:49:30 -05:00
|
|
|
mod parse {
|
2012-04-17 21:34:44 -05:00
|
|
|
export parser;
|
2012-06-12 12:59:50 -05:00
|
|
|
export common;
|
2012-04-17 21:34:44 -05:00
|
|
|
export lexer;
|
2012-05-21 12:45:56 -05:00
|
|
|
export token;
|
2012-04-17 21:34:44 -05:00
|
|
|
export comments;
|
2012-04-17 22:41:04 -05:00
|
|
|
export prec;
|
2012-04-18 00:02:00 -05:00
|
|
|
export classify;
|
2012-04-19 22:51:31 -05:00
|
|
|
export attr;
|
2012-04-17 21:34:44 -05:00
|
|
|
|
2012-03-22 20:01:08 -05:00
|
|
|
mod eval;
|
2012-03-22 19:49:30 -05:00
|
|
|
mod lexer;
|
2012-03-22 20:01:08 -05:00
|
|
|
mod parser;
|
|
|
|
mod token;
|
2012-04-15 05:27:24 -05:00
|
|
|
mod comments;
|
2012-04-19 22:51:31 -05:00
|
|
|
mod attr;
|
2012-04-17 22:41:04 -05:00
|
|
|
|
2012-07-04 16:53:12 -05:00
|
|
|
/// Common routines shared by parser mods
|
2012-04-19 23:18:33 -05:00
|
|
|
mod common;
|
|
|
|
|
2012-07-04 16:53:12 -05:00
|
|
|
/// Functions dealing with operator precedence
|
2012-04-17 22:41:04 -05:00
|
|
|
mod prec;
|
2012-04-18 00:02:00 -05:00
|
|
|
|
2012-07-04 16:53:12 -05:00
|
|
|
/// Routines the parser uses to classify AST nodes
|
2012-04-18 00:02:00 -05:00
|
|
|
mod classify;
|
2012-03-22 20:01:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
mod print {
|
|
|
|
mod pp;
|
|
|
|
mod pprust;
|
2012-03-29 15:48:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
mod ext {
|
|
|
|
mod base;
|
|
|
|
mod expand;
|
|
|
|
mod qquote;
|
|
|
|
mod build;
|
|
|
|
|
2012-06-27 17:29:35 -05:00
|
|
|
mod tt {
|
|
|
|
mod transcribe;
|
2012-06-27 17:47:09 -05:00
|
|
|
mod earley_parser;
|
2012-07-06 20:04:28 -05:00
|
|
|
mod macro_rules;
|
2012-06-27 17:29:35 -05:00
|
|
|
}
|
2012-06-12 12:59:50 -05:00
|
|
|
|
2012-07-06 20:04:28 -05:00
|
|
|
|
|
|
|
mod simplext;
|
2012-03-29 15:48:05 -05:00
|
|
|
mod fmt;
|
|
|
|
mod env;
|
|
|
|
mod concat_idents;
|
|
|
|
mod ident_to_str;
|
|
|
|
mod log_syntax;
|
|
|
|
mod auto_serialize;
|
2012-05-14 19:43:31 -05:00
|
|
|
mod source_util;
|
2012-07-05 14:10:33 -05:00
|
|
|
|
2012-07-05 18:07:53 -05:00
|
|
|
mod pipes {
|
|
|
|
mod ast_builder;
|
2012-07-05 20:01:11 -05:00
|
|
|
mod parse_proto;
|
|
|
|
mod pipec;
|
2012-07-05 18:07:53 -05:00
|
|
|
}
|
2012-03-29 15:48:05 -05:00
|
|
|
}
|