(index<- )        ./libsyntax/lib.rs

    git branch:    * master           5200215 auto merge of #14035 : alexcrichton/rust/experimental, r=huonw
    modified:    Fri May  9 13:02:28 2014
   1  // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
   2  // file at the top-level directory of this distribution and at
   3  // http://rust-lang.org/COPYRIGHT.
   4  //
   5  // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
   6  // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
   7  // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
   8  // option. This file may not be copied, modified, or distributed
   9  // except according to those terms.
  10  
  11  /*!
  12  
  13  The Rust parser and macro expander.
  14  
  15  # Note
  16  
  17  This API is completely unstable and subject to change.
  18  
  19  */
  20  
  21  #![crate_id = "syntax#0.11-pre"]
  22  #![license = "MIT/ASL2"]
  23  #![crate_type = "dylib"]
  24  #![crate_type = "rlib"]
  25  #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
  26         html_favicon_url = "http://www.rust-lang.org/favicon.ico",
  27         html_root_url = "http://static.rust-lang.org/doc/master")]
  28  
  29  #![feature(macro_rules, globs, managed_boxes, default_type_params, phase,
  30             quote)]
  31  #![allow(deprecated)]
  32  
  33  extern crate serialize;
  34  extern crate term;
  35  extern crate collections;
  36  #[phase(syntax, link)]
  37  extern crate log;
  38  extern crate fmt_macros;
  39  
  40  pub mod util {
  41      pub mod interner;
  42      #[cfg(test)]
  43      pub mod parser_testing;
  44      pub mod small_vector;
  45  }
  46  
  47  pub mod syntax {
  48      pub use ext;
  49      pub use parse;
  50  }
  51  
  52  pub mod owned_slice;
  53  pub mod attr;
  54  pub mod diagnostic;
  55  pub mod codemap;
  56  pub mod abi;
  57  pub mod ast;
  58  pub mod ast_util;
  59  pub mod ast_map;
  60  pub mod visit;
  61  pub mod fold;
  62  
  63  
  64  pub mod parse;
  65  pub mod crateid;
  66  
  67  pub mod print {
  68      pub mod pp;
  69      pub mod pprust;
  70  }
  71  
  72  pub mod ext {
  73      pub mod asm;
  74      pub mod base;
  75      pub mod expand;
  76      pub mod registrar;
  77  
  78      pub mod quote;
  79  
  80      pub mod deriving;
  81  
  82      pub mod build;
  83  
  84      pub mod tt {
  85          pub mod transcribe;
  86          pub mod macro_parser;
  87          pub mod macro_rules;
  88      }
  89  
  90      pub mod mtwt;
  91  
  92      pub mod cfg;
  93      pub mod fmt;
  94      pub mod format;
  95      pub mod env;
  96      pub mod bytes;
  97      pub mod concat;
  98      pub mod concat_idents;
  99      pub mod log_syntax;
 100      pub mod source_util;
 101  
 102      pub mod trace_macros;
 103  }