~mna/snow unlisted

snow/pkg/parser/testdata/guard_nested.snow.want -rw-r--r-- 564 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
20
21
22
23
file [1, #0] [0:88]
  fn [0:88]
    ident [test] [3:7]
    sig [0->0] [7:9]
    block [3] [10:88]
      var [14:25]
        x: [18:25]
          ident [x] [18:19]
          ident [bool] [21:25]
      var [28:39]
        y: [32:39]
          ident [y] [32:33]
          ident [bool] [35:39]
      guard [1] [43:86]
        item [49:50]
          ident [x] [49:50]
        else [51:86]
          block [1] [56:86]
            guard [1] [62:82]
              item [68:69]
                ident [y] [68:69]
              else [70:82]
                block [0] [75:82]