v8  4.6.85(node5.12.0)
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< Boolean > resource_is_embedder_debug_script=Local< Boolean >(), Local< Value > source_map_url=Local< Value >(), Local< Boolean > resource_is_opaque=Local< Boolean >())
 
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 ScriptOriginOptions Options () const
 

Detailed Description

The origin, within a file, of a script.

Definition at line 1021 of file v8.h.

Constructor & Destructor Documentation

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< Boolean resource_is_embedder_debug_script = Local<Boolean>(),
Local< Value source_map_url = Local<Value>(),
Local< Boolean resource_is_opaque = Local<Boolean>() 
)

Member Function Documentation

V8_INLINE ScriptOriginOptions Options ( ) const
inline

Definition at line 1040 of file v8.h.

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

Local< Integer > ResourceColumnOffset ( ) const

Definition at line 7542 of file v8.h.

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

Local< Integer > ResourceLineOffset ( ) const

Definition at line 7537 of file v8.h.

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

Local< Value > ResourceName ( ) const

Definition at line 7534 of file v8.h.

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

Local< Integer > ScriptID ( ) const

Returns true for embedder's debugger scripts

Definition at line 7547 of file v8.h.

Local< Value > SourceMapUrl ( ) const

Definition at line 7550 of file v8.h.

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


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