FunctionKind.h 263 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Types.h>
  8. namespace JS {
  9. enum class FunctionKind : u8 {
  10. Normal,
  11. Generator,
  12. Async,
  13. AsyncGenerator
  14. };
  15. }