v8  8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
ScriptOrigin Class Reference

#include <v8.h>

Public Member Functions

V8_INLINE ScriptOrigin (Local< Value > resource_name, Local< Integer > resource_line_offset=Local< Integer >(), Local< Integer > resource_column_offset=Local< Integer >(), Local< Boolean > resource_is_shared_cross_origin=Local< Boolean >(), Local< Integer > script_id=Local< Integer >(), Local< Value > source_map_url=Local< Value >(), Local< Boolean > resource_is_opaque=Local< Boolean >(), Local< Boolean > is_wasm=Local< Boolean >(), Local< Boolean > is_module=Local< Boolean >(), Local< PrimitiveArray > host_defined_options=Local< PrimitiveArray >())
 
V8_INLINE Local< ValueResourceName () const
 
V8_INLINE Local< IntegerResourceLineOffset () const
 
V8_INLINE Local< IntegerResourceColumnOffset () const
 
V8_INLINE Local< IntegerScriptID () const
 
V8_INLINE Local< ValueSourceMapUrl () const
 
V8_INLINE Local< PrimitiveArrayHostDefinedOptions () const
 
V8_INLINE ScriptOriginOptions Options () const
 

Detailed Description

The origin, within a file, of a script.

Definition at line 1399 of file v8.h.

Constructor & Destructor Documentation

◆ ScriptOrigin()

ScriptOrigin ( Local< Value resource_name,
Local< Integer resource_line_offset = Local<Integer>(),
Local< Integer resource_column_offset = Local<Integer>(),
Local< Boolean resource_is_shared_cross_origin = Local<Boolean>(),
Local< Integer script_id = Local<Integer>(),
Local< Value source_map_url = Local<Value>(),
Local< Boolean resource_is_opaque = Local<Boolean>(),
Local< Boolean is_wasm = Local<Boolean>(),
Local< Boolean is_module = Local<Boolean>(),
Local< PrimitiveArray host_defined_options = Local<PrimitiveArray>() 
)

Member Function Documentation

◆ HostDefinedOptions()

Local< PrimitiveArray > HostDefinedOptions ( ) const

Definition at line 11310 of file v8.h.

Referenced by ScriptCompiler::Source::Source().

◆ Options()

V8_INLINE ScriptOriginOptions Options ( ) const
inline

Definition at line 1419 of file v8.h.

Referenced by ScriptCompiler::Source::Source().

◆ ResourceColumnOffset()

Local< Integer > ResourceColumnOffset ( ) const

Definition at line 11319 of file v8.h.

Referenced by ScriptCompiler::Source::Source().

◆ ResourceLineOffset()

Local< Integer > ResourceLineOffset ( ) const

Definition at line 11314 of file v8.h.

Referenced by ScriptCompiler::Source::Source().

◆ ResourceName()

Local< Value > ResourceName ( ) const

Definition at line 11308 of file v8.h.

Referenced by ScriptCompiler::Source::Source().

◆ ScriptID()

Local< Integer > ScriptID ( ) const

Definition at line 11324 of file v8.h.

◆ SourceMapUrl()

Local< Value > SourceMapUrl ( ) const

Definition at line 11327 of file v8.h.

Referenced by ScriptCompiler::Source::Source().


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