Debian Codegraph @

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

raw
1 (component
2 (core type (;0;)
3 (module
4 (type (;0;) (func))
5 (import "" "a" (func (type 0)))
6 (import "" "b" (global i32))
7 (import "" "c" (table 1 funcref))
8 (import "" "d" (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 (core instance (;1;) (instantiate $m
24 (with "" (instance $x))
25 )
26 )
27 )