Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::ScriptOrigin Class Reference

#include <v8-message.h>

Public Member Functions

 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 >())
 
Local< ValueResourceName () const
 
int LineOffset () const
 
int ColumnOffset () const
 
int ScriptId () const
 
Local< ValueSourceMapUrl () const
 
Local< DataGetHostDefinedOptions () const
 
ScriptOriginOptions Options () const
 

Detailed Description

The origin, within a file, of a script.

Examples
shell.cc.

Constructor & Destructor Documentation

◆ ScriptOrigin()

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

Member Function Documentation

◆ ColumnOffset()

int v8::ScriptOrigin::ColumnOffset ( ) const
inline

◆ GetHostDefinedOptions()

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

◆ LineOffset()

int v8::ScriptOrigin::LineOffset ( ) const
inline

◆ Options()

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

◆ ResourceName()

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

◆ ScriptId()

int v8::ScriptOrigin::ScriptId ( ) const
inline

◆ SourceMapUrl()

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

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