ladybird/Userland/Libraries/LibJS/Module.cpp
Andreas Kling d553fd7f4f LibJS: Add a barebones Module class
This corresponds to the "Abstract Module Record" from the spec.
2021-09-14 21:41:51 +02:00

22 lines
272 B
C++

/*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibJS/Module.h>
namespace JS {
Module::Module(Realm& realm)
: m_vm(realm.vm())
, m_realm(make_handle(&realm))
{
}
Module::~Module()
{
}
}