Debian Codegraph @

tests/snapshots/cli/component-model/resources.wast/105.print

raw
1 (component
2 (import "b" (type $T (;0;) (sub resource)))
3 (type (;1;) (borrow $T))
4 (type (;2;) (func (param "self" 1)))
5 (import "f" (func $f (;0;) (type 2)))
6 (export $c (;3;) "c" (type $T))
7 (type (;4;) (borrow $c))
8 (type (;5;) (func (param "self" 4)))
9 (export (;1;) "[method]c.foo" (func $f) (func (type 5)))
10 )