mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-01 05:41:01 +00:00
22 lines
399 B
C
22 lines
399 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibJS/Runtime/Object.h>
|
||
|
|
#include <LibJS/Runtime/Value.h>
|
||
|
|
|
||
|
|
namespace JS {
|
||
|
|
|
||
|
|
// Iterator Record
|
||
|
|
struct Iterator {
|
||
|
|
Object* iterator { nullptr }; // [[Iterator]]
|
||
|
|
Value next_method; // [[NextMethod]]
|
||
|
|
bool done { false }; // [[Done]]
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|