MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / getComponentIndex

Method getComponentIndex

include/ast/component/instance.h:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 std::move(Args));
123 }
124 uint32_t getComponentIndex() const noexcept {
125 return std::get_if<std::pair<uint32_t, InstantiateArgs>>(&Expr)->first;
126 }
127 Span<const InstantiateArg<SortIndex>> getInstantiateArgs() const noexcept {
128 return std::get_if<std::pair<uint32_t, InstantiateArgs>>(&Expr)->second;
129 }

Callers 2

validateMethod · 0.80
instantiateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected