~mna/snow unlisted

snow/pkg/parser/testdata/if_else_if.snow.want -rw-r--r-- 540 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:79]
  fn [0:79]
    ident [test] [3:7]
    sig [0->0] [7:9]
    block [4] [10:79]
      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:68]
        item [45:46]
          ident [x] [45:46]
        block [0] [47:52]
        else [53:68]
          if [1] [58:68]
            item [61:62]
              ident [y] [61:62]
            block [0] [63:68]
      return [71:77]