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

Function EXPECTED_TRY

lib/loader/ast/component/component_declarator.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 // | 0x03 e:<core:exportdecl> => e
49
50 EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) {
51 return logLoadError(E, FMgr.getLastOffset(),
52 ASTNodeAttr::Comp_Decl_CoreModule);
53 }));
54 switch (Flag) {
55 case 0x00: {
56 AST::Component::CoreImportDecl ImpDecl;

Callers 1

loadDeclMethod · 0.70

Calls 1

getLastOffsetMethod · 0.80

Tested by

no test coverage detected