~mna/snow unlisted

snow/pkg/parser/testdata/interface.snow.want -rw-r--r-- 660 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
file [2, #0] [0:89]
  interface [0] [0:14]
    ident [I] [10:11]
  interface [2] [16:89]
    ident [J] [26:27]
    generic [27:35]
      param [28:31]
        ident [$T] [28:30]
      param [32:34]
        ident [$U] [32:34]
    ref fn [40:64]
      ident [foo] [47:50]
      sig [2->0] [50:64]
        param [51:57]
          ident [t] [51:52]
          ident [$T] [54:56]
        param [58:63]
          ident [u] [58:59]
          ident [$U] [61:63]
    fn [67:87]
      ident [bar] [70:73]
      sig [0->1] [73:87]
        tuple type [2] [79:87]
          param [80:83]
            ident [$T] [80:82]
          param [84:86]
            ident [$U] [84:86]