~mna/snow unlisted

snow/pkg/parser/testdata/fn_call_with_labels.snow.want -rw-r--r-- 694 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
27
28
29
file [2, #0] [0:81]
  fn [0:48]
    ident [add] [3:6]
    sig [2->1] [6:29]
      param [7:14]
        ident [x] [7:8]
        ident [int] [10:13]
      param [15:21]
        ident [y] [15:16]
        ident [int] [18:21]
      ident [int] [26:29]
    block [1] [30:48]
      return [34:46]
        binary [+] [41:46]
          ident [x] [41:42]
          ident [y] [45:46]
  fn [50:81]
    ident [main] [53:57]
    sig [0->0] [57:59]
    block [1] [60:81]
      expr [64:79]
        call [2] [64:79]
          ident [add] [64:67]
          item: [68:73]
            ident [x] [68:69]
            int [1] [71:72]
          item: [74:78]
            ident [y] [74:75]
            int [2] [77:78]