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

#include <v8-message.h>

Collaboration diagram for v8::ScriptOrigin:

Public Member Functions

V8_INLINE ScriptOrigin (Local< Value > resource_name, int resource_line_offset=0, int resource_column_offset=0, bool resource_is_shared_cross_origin=false, int script_id=-1, Local< Value > source_map_url=Local< Value >(), bool resource_is_opaque=false, bool is_wasm=false, bool is_module=false, Local< Data > host_defined_options=Local< Data >())
 
V8_INLINE Local< ValueResourceName () const
 
V8_INLINE int LineOffset () const
 
V8_INLINE int ColumnOffset () const
 
V8_INLINE int ScriptId () const
 
V8_INLINE Local< ValueSourceMapUrl () const
 
V8_INLINE Local< DataGetHostDefinedOptions () const
 
V8_INLINE ScriptOriginOptions Options () const
 

Private Member Functions

void VerifyHostDefinedOptions () const
 

Private Attributes

Local< Valueresource_name_
 
int resource_line_offset_
 
int resource_column_offset_
 
ScriptOriginOptions options_
 
int script_id_
 
Local< Valuesource_map_url_
 
Local< Datahost_defined_options_
 

Detailed Description

The origin, within a file, of a script.

Definition at line 63 of file v8-message.h.

Constructor & Destructor Documentation

◆ ScriptOrigin()

V8_INLINE v8::ScriptOrigin::ScriptOrigin ( Local< Value > resource_name,
int resource_line_offset = 0,
int resource_column_offset = 0,
bool resource_is_shared_cross_origin = false,
int script_id = -1,
Local< Value > source_map_url = Local<Value>(),
bool resource_is_opaque = false,
bool is_wasm = false,
bool is_module = false,
Local< Data > host_defined_options = Local<Data>() )
inline

Definition at line 65 of file v8-message.h.

Member Function Documentation

◆ ColumnOffset()

int v8::ScriptOrigin::ColumnOffset ( ) const

Definition at line 212 of file v8-message.h.

Here is the caller graph for this function:

◆ GetHostDefinedOptions()

Local< Data > v8::ScriptOrigin::GetHostDefinedOptions ( ) const

Definition at line 206 of file v8-message.h.

Here is the caller graph for this function:

◆ LineOffset()

int v8::ScriptOrigin::LineOffset ( ) const

Definition at line 210 of file v8-message.h.

Here is the caller graph for this function:

◆ Options()

V8_INLINE ScriptOriginOptions v8::ScriptOrigin::Options ( ) const
inline

Definition at line 91 of file v8-message.h.

Here is the caller graph for this function:

◆ ResourceName()

Local< Value > v8::ScriptOrigin::ResourceName ( ) const

Definition at line 204 of file v8-message.h.

Here is the caller graph for this function:

◆ ScriptId()

int v8::ScriptOrigin::ScriptId ( ) const

Definition at line 214 of file v8-message.h.

Here is the caller graph for this function:

◆ SourceMapUrl()

Local< Value > v8::ScriptOrigin::SourceMapUrl ( ) const

Definition at line 216 of file v8-message.h.

Here is the caller graph for this function:

◆ VerifyHostDefinedOptions()

void v8::ScriptOrigin::VerifyHostDefinedOptions ( ) const
private

Definition at line 2887 of file api.cc.

Here is the call graph for this function:

Member Data Documentation

◆ host_defined_options_

Local<Data> v8::ScriptOrigin::host_defined_options_
private

Definition at line 101 of file v8-message.h.

◆ options_

ScriptOriginOptions v8::ScriptOrigin::options_
private

Definition at line 98 of file v8-message.h.

◆ resource_column_offset_

int v8::ScriptOrigin::resource_column_offset_
private

Definition at line 97 of file v8-message.h.

◆ resource_line_offset_

int v8::ScriptOrigin::resource_line_offset_
private

Definition at line 96 of file v8-message.h.

◆ resource_name_

Local<Value> v8::ScriptOrigin::resource_name_
private

Definition at line 95 of file v8-message.h.

◆ script_id_

int v8::ScriptOrigin::script_id_
private

Definition at line 99 of file v8-message.h.

◆ source_map_url_

Local<Value> v8::ScriptOrigin::source_map_url_
private

Definition at line 100 of file v8-message.h.


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