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

Class MemoryType

include/ast/type.h:683–701  ·  view source on GitHub ↗

AST MemoryType node.

Source from the content-addressed store, hash-verified

681
682/// AST MemoryType node.
683class MemoryType {
684public:
685 /// Constructors.
686 MemoryType() noexcept = default;
687 MemoryType(uint64_t MinVal) noexcept : Lim(MinVal) {}
688 MemoryType(uint64_t MinVal, uint64_t MaxVal, bool Shared = false) noexcept
689 : Lim(MinVal, MaxVal, false, Shared) {}
690 MemoryType(const Limit &L) noexcept : Lim(L) {}
691
692 /// Getter for limit.
693 const Limit &getLimit() const noexcept { return Lim; }
694 Limit &getLimit() noexcept { return Lim; }
695
696private:
697 /// \name Data of MemoryType.
698 /// @{
699 Limit Lim;
700 /// @}
701};
702
703/// AST TableType node.
704class TableType {

Callers 15

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
FFmpegTestMethod · 0.85
TESTFunction · 0.85
WasiCryptoTestMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
SpecTestModuleMethod · 0.68