Debian Codegraph @

tests/snapshots/cli/component-model/alias.wast/13.print

raw
1 (component
2 (type $a (;0;) (func (result string)))
3 (component (;0;)
4 (type $b (;0;) (func (result u32)))
5 (component (;0;)
6 (type $c (;0;) (func (result s32)))
7 (component (;0;)
8 (alias outer 3 $a (type $a (;0;)))
9 (import "a" (func $a (;0;) (type $a)))
10 (alias outer 2 $b (type $b (;1;)))
11 (import "b" (func $b (;1;) (type $b)))
12 (alias outer 1 $c (type $c (;2;)))
13 (import "c" (func $c (;2;) (type $c)))
14 (type (;3;)
15 (component
16 (type (;0;) (func (result string)))
17 (import "a" (func (;0;) (type 0)))
18 (type (;1;) (func (result u32)))
19 (import "b" (func (;1;) (type 1)))
20 (type (;2;) (func (result s32)))
21 (import "c" (func (;2;) (type 2)))
22 )
23 )
24 (import "d" (component $C (;0;) (type 3)))
25 (instance (;0;) (instantiate $C
26 (with "a" (func $a))
27 (with "b" (func $b))
28 (with "c" (func $c))
29 )
30 )
31 )
32 )
33 )
34 )