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

Method setFlags

include/ast/component/type.h:237–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 return *std::get_if<FlagsTy>(&Type);
236 }
237 void setFlags(FlagsTy &&Ty) noexcept { Type.emplace<FlagsTy>(std::move(Ty)); }
238
239 const EnumTy &getEnum() const noexcept { return *std::get_if<EnumTy>(&Type); }
240 void setEnum(EnumTy &&Ty) noexcept { Type.emplace<EnumTy>(std::move(Ty)); }

Callers 2

loadTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64