ra_syntax 0.1.0

Comment and whitespace preserving parser for the Rust langauge
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod a;

mod b {
}

mod c {
    fn foo() {
    }
    struct S {}
}

mod d {
    #![attr]
    mod e;
    mod f {
    }
}