EnvironmentCoordinate.h 333 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Types.h>
  8. #include <LibJS/Forward.h>
  9. namespace JS {
  10. struct EnvironmentCoordinate {
  11. size_t hops { 0 };
  12. size_t index { 0 };
  13. static constexpr size_t global_marker = 0xffffffff;
  14. };
  15. }