MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / operator<<

Function operator<<

example/reflect.cc:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10auto operator<<(std::ostream& out, wasm::Mutability mut) -> std::ostream& {
11 switch (mut) {
12 case wasm::Mutability::VAR: return out << "var";
13 case wasm::Mutability::CONST: return out << "const";
14 }
15 return out;
16}
17
18auto operator<<(std::ostream& out, wasm::Limits limits) -> std::ostream& {
19 out << limits.min;

Callers

nothing calls this directly

Calls 15

LimitsClass · 0.85
paramsMethod · 0.80
funcMethod · 0.80
resultsMethod · 0.80
mutabilityMethod · 0.80
globalMethod · 0.80
contentMethod · 0.80
limitsMethod · 0.80
tableMethod · 0.80
elementMethod · 0.80
memoryMethod · 0.80
functypeMethod · 0.80

Tested by

no test coverage detected