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

Method enterComponent

include/validator/component_context.h:93–96  ·  view source on GitHub ↗

Push a new validation scope for a real component.

Source from the content-addressed store, hash-verified

91
92 /// Push a new validation scope for a real component.
93 void enterComponent(const AST::Component::Component *C) noexcept {
94 const Context *Parent = CompCtxs.empty() ? nullptr : &CompCtxs.back();
95 CompCtxs.emplace_back(C, Parent);
96 }
97
98 /// Push a new validation scope for a type definition
99 /// (componenttype, instancetype, or moduletype).

Callers 1

validateComponentMethod · 0.80

Calls 2

backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected