/* * Copyright (c) 2021, Ali Mohammad Pur * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace Web::Bindings { class WebAssemblyTableObject final : public JS::Object { JS_OBJECT(WebAssemblyTableObject, Object); public: explicit WebAssemblyTableObject(JS::GlobalObject&, Wasm::TableAddress); virtual ~WebAssemblyTableObject() override = default; Wasm::TableAddress address() const { return m_address; } private: Wasm::TableAddress m_address; }; }