Debian Codegraph @

crates/wit-component/tests/interfaces/reference-out-of-order.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) (record (field "s" string)))
7 (export (;1;) "r" (type (eq 0)))
8 (type (;2;) (variant (case "s" string)))
9 (export (;3;) "v" (type (eq 2)))
10 (type (;4;) (record (field "s" u32)))
11 (export (;5;) "r-no-string" (type (eq 4)))
12 (type (;6;) (variant (case "s" u32)))
13 (export (;7;) "v-no-string" (type (eq 6)))
14 (type (;8;) (func (param "x" 1)))
15 (export (;0;) "a" (func (type 8)))
16 (type (;9;) (func (param "x" 3)))
17 (export (;1;) "b" (func (type 9)))
18 (type (;10;) (func (param "x" 5)))
19 (export (;2;) "c" (func (type 10)))
20 (type (;11;) (func (param "x" 7)))
21 (export (;3;) "d" (func (type 11)))
22 )
23 )
24 (export (;0;) "foo:foo/foo" (instance (type 0)))
25 )
26 )
27 (export (;1;) "foo" (type 0))
28 (type (;2;)
29 (component
30 (type (;0;)
31 (component
32 (type (;0;)
33 (instance
34 (type (;0;) (record (field "s" string)))
35 (export (;1;) "r" (type (eq 0)))
36 (type (;2;) (variant (case "s" string)))
37 (export (;3;) "v" (type (eq 2)))
38 (type (;4;) (record (field "s" u32)))
39 (export (;5;) "r-no-string" (type (eq 4)))
40 (type (;6;) (variant (case "s" u32)))
41 (export (;7;) "v-no-string" (type (eq 6)))
42 (type (;8;) (func (param "x" 1)))
43 (export (;0;) "a" (func (type 8)))
44 (type (;9;) (func (param "x" 3)))
45 (export (;1;) "b" (func (type 9)))
46 (type (;10;) (func (param "x" 5)))
47 (export (;2;) "c" (func (type 10)))
48 (type (;11;) (func (param "x" 7)))
49 (export (;3;) "d" (func (type 11)))
50 )
51 )
52 (import "foo:foo/foo" (instance (;0;) (type 0)))
53 )
54 )
55 (export (;0;) "foo:foo/foo-world" (component (type 0)))
56 )
57 )
58 (export (;3;) "foo-world" (type 2))
59 (@custom "package-docs" "\01{}")
60 (@producers
61 (processed-by "wit-component" "$CARGO_PKG_VERSION")
62 )
63 )