V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
bytecode-array-iterator.h
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_ITERATOR_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_ITERATOR_H_
7 
8 #include "src/interpreter/bytecode-array-accessor.h"
9 
10 namespace v8 {
11 namespace internal {
12 namespace interpreter {
13 
14 class V8_EXPORT_PRIVATE BytecodeArrayIterator final
15  : public BytecodeArrayAccessor {
16  public:
17  explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array);
18 
19  void Advance();
20  bool done() const;
21 
22  private:
23  DISALLOW_COPY_AND_ASSIGN(BytecodeArrayIterator);
24 };
25 
26 } // namespace interpreter
27 } // namespace internal
28 } // namespace v8
29 
30 #endif // V8_INTERPRETER_BYTECODE_ARRAY_ITERATOR_H_
Definition: libplatform.h:13