v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::JSGeneratorObject Class Reference

#include <js-generator.h>

Inheritance diagram for v8::internal::JSGeneratorObject:
Collaboration diagram for v8::internal::JSGeneratorObject:

Public Types

enum  ResumeMode { kNext , kReturn , kThrow , kRethrow }
 

Public Member Functions

bool is_closed () const
 
bool is_executing () const
 
bool is_suspended () const
 
int source_position () const
 
int code_offset () const
 

Static Public Attributes

static const int kGeneratorExecuting = -2
 
static const int kGeneratorClosed = -1
 

Detailed Description

Definition at line 23 of file js-generator.h.

Member Enumeration Documentation

◆ ResumeMode

Enumerator
kNext 
kReturn 
kThrow 
kRethrow 

Definition at line 26 of file js-generator.h.

Member Function Documentation

◆ code_offset()

int v8::internal::JSGeneratorObject::code_offset ( ) const

Definition at line 6570 of file objects.cc.

Here is the call graph for this function:

◆ is_closed()

bool v8::internal::JSGeneratorObject::is_closed ( ) const
inline

Definition at line 34 of file js-generator-inl.h.

◆ is_executing()

bool v8::internal::JSGeneratorObject::is_executing ( ) const
inline

Definition at line 38 of file js-generator-inl.h.

◆ is_suspended()

bool v8::internal::JSGeneratorObject::is_suspended ( ) const
inline

Definition at line 28 of file js-generator-inl.h.

◆ source_position()

int v8::internal::JSGeneratorObject::source_position ( ) const

Definition at line 6580 of file objects.cc.

Member Data Documentation

◆ kGeneratorClosed

const int v8::internal::JSGeneratorObject::kGeneratorClosed = -1
static

Definition at line 42 of file js-generator.h.

◆ kGeneratorExecuting

const int v8::internal::JSGeneratorObject::kGeneratorExecuting = -2
static

Definition at line 41 of file js-generator.h.


The documentation for this class was generated from the following files: