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

Method setInstance

include/ast/component/declarator.h:209–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 return *std::get_if<InstanceDecl>(&Decl);
208 }
209 void setInstance(InstanceDecl &&Inst) noexcept {
210 Decl.emplace<InstanceDecl>(std::move(Inst));
211 }
212
213 bool isImportDecl() const noexcept {
214 return std::holds_alternative<ImportDecl>(Decl);

Callers 2

loadDeclMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64