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

Method isInstanceDecl

include/ast/component/declarator.h:216–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 return std::holds_alternative<ImportDecl>(Decl);
215 }
216 bool isInstanceDecl() const noexcept {
217 return std::holds_alternative<InstanceDecl>(Decl);
218 }
219
220private:
221 std::variant<ImportDecl, InstanceDecl> Decl;

Callers 1

validateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected