Module.cpp 320 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibJS/Module.h>
  7. namespace JS {
  8. Module::Module(Realm& realm, StringView filename)
  9. : m_vm(realm.vm())
  10. , m_realm(make_handle(&realm))
  11. , m_filename(filename)
  12. {
  13. }
  14. Module::~Module()
  15. {
  16. }
  17. }