v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
ScriptOrigin Class Reference

#include <v8-message.h>

Public Member Functions

V8_INLINE ScriptOrigin (Isolate *isolate, 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 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
 

Detailed Description

The origin, within a file, of a script.

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

Constructor & Destructor Documentation

◆ ScriptOrigin() [1/2]

V8_INLINE ScriptOrigin ( Isolate isolate,
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.

◆ ScriptOrigin() [2/2]

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>() 
)
inline

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

Member Function Documentation

◆ ColumnOffset()

int ColumnOffset ( ) const

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

◆ GetHostDefinedOptions()

Local< Data > GetHostDefinedOptions ( ) const

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

◆ LineOffset()

int LineOffset ( ) const

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

◆ Options()

V8_INLINE ScriptOriginOptions Options ( ) const
inline

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

◆ ResourceName()

Local< Value > ResourceName ( ) const

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

◆ ScriptId()

int ScriptId ( ) const

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

◆ SourceMapUrl()

Local< Value > SourceMapUrl ( ) const

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


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