summary refs log tree commit diff
path: root/src/libsyntax/syntax.rc
blob: 99a877a82ac198813888bd1e09fe072a6d3e9f4d (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#[link(name = "syntax",
       vers = "0.3",
       uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];



#[crate_type = "lib"];

#[no_core];

#[warn(no_vecs_not_implicitly_copyable)];

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

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 common;
    export lexer;
    export token;
    export comments;
    export prec;
    export classify;
    export attr;

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

    /// Common routines shared by parser mods
    mod common;

    /// Functions dealing with operator precedence
    mod prec;

    /// 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 tt {
        mod transcribe;
        mod earley_parser;
        mod macro_rules;
    }


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

    mod pipes {
        mod ast_builder;
        mod parse_proto;
        mod pipec;
    }
}