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

#include <d8.h>

Collaboration diagram for v8::SourceGroup:

Classes

class  IsolateThread
 

Public Member Functions

 SourceGroup ()
 
 ~SourceGroup ()
 
void Begin (char **argv, int offset)
 
void End (int offset)
 
bool Execute (Isolate *isolate)
 
void StartExecuteInThread ()
 
void WaitForThread (const i::ParkedScope &parked)
 
void JoinThread (const i::ParkedScope &parked)
 

Private Member Functions

void ExecuteInThread ()
 
void ExitShell (int exit_code)
 

Private Attributes

i::ParkingSemaphore next_semaphore_
 
i::ParkingSemaphore done_semaphore_
 
base::Threadthread_
 
const char ** argv_
 
int begin_offset_
 
int end_offset_
 

Detailed Description

Definition at line 88 of file d8.h.

Constructor & Destructor Documentation

◆ SourceGroup()

v8::SourceGroup::SourceGroup ( )
inline

Definition at line 90 of file d8.h.

◆ ~SourceGroup()

v8::SourceGroup::~SourceGroup ( )

Definition at line 4974 of file d8.cc.

Member Function Documentation

◆ Begin()

void v8::SourceGroup::Begin ( char ** argv,
int offset )
inline

Definition at line 100 of file d8.h.

Here is the caller graph for this function:

◆ End()

void v8::SourceGroup::End ( int offset)
inline

Definition at line 105 of file d8.h.

◆ Execute()

bool v8::SourceGroup::Execute ( Isolate * isolate)

Definition at line 4988 of file d8.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExecuteInThread()

void v8::SourceGroup::ExecuteInThread ( )
private

Definition at line 5090 of file d8.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExitShell()

void v8::SourceGroup::ExitShell ( int exit_code)
private

◆ JoinThread()

void v8::SourceGroup::JoinThread ( const i::ParkedScope & parked)

Definition at line 5153 of file d8.cc.

Here is the call graph for this function:

◆ StartExecuteInThread()

void v8::SourceGroup::StartExecuteInThread ( )

Definition at line 5140 of file d8.cc.

Here is the call graph for this function:

◆ WaitForThread()

void v8::SourceGroup::WaitForThread ( const i::ParkedScope & parked)

Definition at line 5148 of file d8.cc.

Here is the call graph for this function:

Member Data Documentation

◆ argv_

const char** v8::SourceGroup::argv_
private

Definition at line 133 of file d8.h.

◆ begin_offset_

int v8::SourceGroup::begin_offset_
private

Definition at line 134 of file d8.h.

◆ done_semaphore_

i::ParkingSemaphore v8::SourceGroup::done_semaphore_
private

Definition at line 128 of file d8.h.

◆ end_offset_

int v8::SourceGroup::end_offset_
private

Definition at line 135 of file d8.h.

◆ next_semaphore_

i::ParkingSemaphore v8::SourceGroup::next_semaphore_
private

Definition at line 127 of file d8.h.

◆ thread_

base::Thread* v8::SourceGroup::thread_
private

Definition at line 129 of file d8.h.


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