aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0023_static_items.rast
blob: 9374cf5e965d1f915856c72f7cf70a06c74b1a77 (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
SOURCE_FILE@0..47
  STATIC@0..20
    STATIC_KW@0..6 "static"
    WHITESPACE@6..7 " "
    NAME@7..10
      IDENT@7..10 "FOO"
    COLON@10..11 ":"
    WHITESPACE@11..12 " "
    PATH_TYPE@12..15
      PATH@12..15
        PATH_SEGMENT@12..15
          NAME_REF@12..15
            IDENT@12..15 "u32"
    WHITESPACE@15..16 " "
    EQ@16..17 "="
    WHITESPACE@17..18 " "
    LITERAL@18..19
      INT_NUMBER@18..19 "1"
    SEMICOLON@19..20 ";"
  WHITESPACE@20..21 "\n"
  STATIC@21..46
    STATIC_KW@21..27 "static"
    WHITESPACE@27..28 " "
    MUT_KW@28..31 "mut"
    WHITESPACE@31..32 " "
    NAME@32..35
      IDENT@32..35 "BAR"
    COLON@35..36 ":"
    WHITESPACE@36..37 " "
    PATH_TYPE@37..40
      PATH@37..40
        PATH_SEGMENT@37..40
          NAME_REF@37..40
            IDENT@37..40 "i32"
    WHITESPACE@40..41 " "
    EQ@41..42 "="
    WHITESPACE@42..43 " "
    LITERAL@43..45
      INT_NUMBER@43..45 "92"
    SEMICOLON@45..46 ";"
  WHITESPACE@46..47 "\n"