~mna/snow unlisted

snow/pkg/parser/testdata/if_nested.snow.want -rw-r--r-- 576 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
24
file [1, #0] [0:93]
  fn [0:93]
    ident [test] [3:7]
    sig [0->0] [7:9]
    block [4] [10:93]
      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]
      if [1] [42:82]
        item [45:46]
          ident [x] [45:46]
        block [1] [47:82]
          if [1] [53:78]
            item [56:57]
              ident [y] [56:57]
            block [0] [58:65]
            else [66:78]
              block [0] [71:78]
      return [85:91]