ra_ap_syntax 0.0.4

Comment and whitespace preserving parser for the Rust language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
SOURCE_FILE@0..13
  USE@0..12
    USE_KW@0..3 "use"
    WHITESPACE@3..4 " "
    USE_TREE@4..11
      PATH@4..11
        PATH@4..9
          PATH_SEGMENT@4..9
            CRATE_KW@4..9 "crate"
        COLON2@9..11 "::"
    SEMICOLON@11..12 ";"
  WHITESPACE@12..13 "\n"
error 11..11: expected identifier