Debian Codegraph @

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

raw
1 (component $a
2 (type (;0;)
3 (instance
4 (type (;0;)
5 (instance
6 (type (;0;)
7 (instance
8 (type (;0;)
9 (instance
10 (type (;0;) (func))
11 (export (;0;) "a" (func (type 0)))
12 )
13 )
14 (export (;0;) "a" (instance (type 0)))
15 )
16 )
17 (export (;0;) "a" (instance (type 0)))
18 )
19 )
20 (export (;0;) "a" (instance (type 0)))
21 )
22 )
23 (import "a" (instance $a (;0;) (type 0)))
24 (type (;1;)
25 (component
26 (type (;0;) (func))
27 (import "a" (func (;0;) (type 0)))
28 )
29 )
30 (import "b" (component $b (;0;) (type 1)))
31 (alias export $a "a" (instance (;1;)))
32 (alias export 1 "a" (instance (;2;)))
33 (alias export 2 "a" (instance (;3;)))
34 (alias export 3 "a" (func (;0;)))
35 (instance (;4;) (instantiate $b
36 (with "a" (func 0))
37 )
38 )
39 )