Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WasmEdge/WasmEdge
/ getType
Method
getType
include/ast/component/declarator.h:159–161 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
}
158
159
const DefType *getType() const noexcept {
160
return std::get_if<std::unique_ptr<DefType>>(&Decl)->get();
161
}
162
void setType(std::unique_ptr<DefType> &&T) noexcept {
163
Decl.emplace<std::unique_ptr<DefType>>(std::move(T));
164
}
Callers
1
retrieveFuncRef
Function · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected