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

Method isImport

include/ast/component/declarator.h:101–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 bool isImport() const noexcept {
102 return std::holds_alternative<CoreImportDecl>(Decl);
103 }
104 bool isType() const noexcept {
105 return std::holds_alternative<std::unique_ptr<CoreDefType>>(Decl);
106 }

Callers 1

validateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected