about summary refs log tree commit diff
path: root/src/libsyntax/syntax.rc
blob: 53e21e4214cd2c95d59c05bdf14af93dc33d1daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#[link(name = "syntax",
       vers = "0.2",
       uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];



#[crate_type = "lib"];

#[no_core];

#[warn(no_vecs_not_implicitly_copyable)];

use core(vers = "0.2");
use std(vers = "0.2");

import core::*;

mod attr;
mod diagnostic;
mod codemap;
mod ast;
mod ast_util;
mod ast_map;
mod visit;
mod fold;
mod util {
    mod interner;
}

mod parse {
    export parser;
    export lexer;
    export comments;
    export prec;
    export classify;
    export attr;

    mod eval;
    mod lexer;
    mod parser;
    mod token;
    mod comments;
    mod attr;

    #[doc = "Common routines shared by parser mods"]
    mod common;

    #[doc = "Functions dealing with operator precedence"]
    mod prec;

    #[doc = "Routines the parser uses to classify AST nodes"]
    mod classify;
}

mod print {
    mod pp;
    mod pprust;
}

mod ext {
    mod base;
    mod expand;
    mod qquote;
    mod build;

    mod fmt;
    mod env;
    mod simplext;
    mod concat_idents;
    mod ident_to_str;
    mod log_syntax;
    mod auto_serialize;
    mod source_util;
}