~mna/snow unlisted

snow/pkg/parser/testdata/fn_paren_expr.snow.want -rw-r--r-- 687 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
25
26
file [1, #0] [0:66]
  fn [0:66]
    ident [test] [3:7]
    sig [2->1] [7:30]
      param [8:15]
        ident [x] [8:9]
        ident [int] [11:14]
      param [16:22]
        ident [y] [16:17]
        ident [int] [19:22]
      ident [int] [27:30]
    block [1] [31:66]
      return [35:64]
        binary [*] [42:64]
          paren [42:50]
            binary [+] [43:49]
              ident [x] [43:44]
              unary [-] [47:49]
                int [2] [48:49]
          paren [53:64]
            binary [-] [54:63]
              int [3] [54:55]
              paren [58:63]
                binary [/] [59:62]
                  ident [y] [59:60]
                  int [2] [61:62]