~mna/snow unlisted

snow/pkg/parser/testdata/fn_struct_selector.snow.want -rw-r--r-- 430 bytes
424066c5Martin Angers doc: v0.0.5 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
file [2, #0] [0:65]
  struct [1] [0:29]
    ident [Point] [7:12]
    var [17:27]
      x: [21:27]
        ident [x] [21:22]
        ident [int] [24:27]
  fn [31:65]
    ident [test] [34:38]
    sig [0->0] [38:40]
    block [2] [41:65]
      var [45:57]
        p: [49:57]
          ident [p] [49:50]
          ident [Point] [52:57]
      expr [60:63]
        select [60:63]
          ident [p] [60:61]
          ident [x] [62:63]