MCPcopy Create free account
hub / github.com/WasmVM/WasmVM / parse

Method parse

src/lib/parse/ParseContext.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57ParseContext::ParseContext(Tokenizer& tok) : tok_(tok) {}
58
59WasmModule ParseContext::parse() {
60 parse_module();
61 // Populate module_.types from internal types_ vector
62 std::transform(types_.begin(), types_.end(), std::back_inserter(module_.types),
63 [](auto& p) { return p.first; });
64 post_process();
65 return module_;
66}
67
68// ── Module / module fields ────────────────────────────────────────────────────
69

Callers 1

module_parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected