crates/wit-component/tests/components/cm32-names/component.wit.print
raw| 1 | package root:component; |
| 2 | |
| 3 | world root { |
| 4 | import ns:pkg/[email protected]; |
| 5 | import j: interface { |
| 6 | resource r { |
| 7 | constructor(s: string); |
| 8 | m: func() -> string; |
| 9 | } |
| 10 | |
| 11 | frob: func(in: r) -> r; |
| 12 | } |
| 13 | import f: func() -> string; |
| 14 | |
| 15 | export g: func() -> string; |
| 16 | export ns:pkg/[email protected]; |
| 17 | export j: interface { |
| 18 | resource r { |
| 19 | constructor(s: string); |
| 20 | m: func() -> string; |
| 21 | } |
| 22 | |
| 23 | frob: func(in: r) -> r; |
| 24 | } |
| 25 | } |