Debian Codegraph @

tests/snapshots/cli/component-model/instantiate.wast/7.print

raw
1 (component
2 (core type (;0;)
3 (module
4 (type (;0;) (func))
5 (import "" "d" (func (type 0)))
6 (import "" "c" (global i32))
7 (import "" "b" (table 1 funcref))
8 (import "" "a" (memory 1))
9 )
10 )
11 (import "a" (core module $m (;0;) (type 0)))
12 (core type (;1;)
13 (module
14 (type (;0;) (func))
15 (export "a" (func (type 0)))
16 (export "b" (global i32))
17 (export "c" (table 1 funcref))
18 (export "d" (memory 1))
19 )
20 )
21 (import "b" (core module $m2 (;1;) (type 1)))
22 (core instance $x (;0;) (instantiate $m2))
23 (alias core export $x "a" (core func (;0;)))
24 (alias core export $x "b" (core global (;0;)))
25 (alias core export $x "c" (core table (;0;)))
26 (alias core export $x "d" (core memory (;0;)))
27 (core instance (;1;)
28 (export "d" (func 0))
29 (export "c" (global 0))
30 (export "b" (table 0))
31 (export "a" (memory 0))
32 )
33 (core instance (;2;) (instantiate $m
34 (with "" (instance 1))
35 )
36 )
37 )