~mna/snow unlisted

snow/pkg/parser/testdata/fn_nested_unary.snow.want -rw-r--r-- 567 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
file [1, #0] [0:46]
  fn [0:46]
    ident [test] [3:7]
    sig [1->1] [7:22]
      param [8:14]
        ident [x] [8:9]
        ident [int] [11:14]
      ident [int] [19:22]
    block [1] [23:46]
      return [27:44]
        unary [-] [34:44]
          unary [+] [35:44]
            unary [-] [36:44]
              unary [+] [37:44]
                unary [-] [38:44]
                  unary [-] [39:44]
                    unary [+] [40:44]
                      unary [+] [41:44]
                        unary [-] [42:44]
                          ident [x] [43:44]