v8 10.2.154 (node 18.16.0)
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 Local< ValueResourceName () const
 
V8_INLINE int LineOffset () const
 
V8_INLINE int ColumnOffset () const
 
V8_INLINE int ScriptId () const
 
V8_INLINE Local< ValueSourceMapUrl () const
 
Local< PrimitiveArrayHostDefinedOptions () 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()

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 64 of file v8-message.h.

Member Function Documentation

◆ ColumnOffset()

int ColumnOffset ( ) const

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

◆ GetHostDefinedOptions()

Local< Data > GetHostDefinedOptions ( ) const

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

◆ HostDefinedOptions()

Local< PrimitiveArray > HostDefinedOptions ( ) const

◆ LineOffset()

int LineOffset ( ) const

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

◆ Options()

V8_INLINE ScriptOriginOptions Options ( ) const
inline

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

◆ ResourceName()

Local< Value > ResourceName ( ) const

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

◆ ScriptId()

int ScriptId ( ) const

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

◆ SourceMapUrl()

Local< Value > SourceMapUrl ( ) const

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


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