~mna/snow unlisted

snow/pkg/parser/testdata/fn_call.snow.want -rw-r--r-- 510 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
file [2, #0] [0:68]
  fn [0:42]
    ident [test1] [3:8]
    sig [1->1] [8:23]
      param [9:15]
        ident [x] [9:10]
        ident [int] [12:15]
      ident [int] [20:23]
    block [1] [24:42]
      return [28:40]
        binary [+] [35:40]
          ident [x] [35:36]
          int [1] [39:40]
  fn [44:68]
    ident [test] [47:51]
    sig [0->0] [51:53]
    block [1] [54:68]
      expr [58:66]
        call [1] [58:66]
          ident [test1] [58:63]
          item [64:65]
            int [1] [64:65]