V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8_inspector::V8DebuggerScript Class Referenceabstract

Public Member Functions

const String16scriptId () const
 
bool hasSourceURLComment () const
 
const String16sourceURL () const
 
virtual const String16sourceMappingURL () const =0
 
virtual String16 source (size_t pos, size_t len=UINT_MAX) const =0
 
virtual const String16hash () const =0
 
virtual int startLine () const =0
 
virtual int startColumn () const =0
 
virtual int endLine () const =0
 
virtual int endColumn () const =0
 
int executionContextId () const
 
virtual bool isLiveEdit () const =0
 
virtual bool isModule () const =0
 
virtual bool isSourceLoadedLazily () const =0
 
virtual int length () const =0
 
void setSourceURL (const String16 &)
 
virtual void setSourceMappingURL (const String16 &)=0
 
virtual void setSource (const String16 &source, bool preview, v8::debug::LiveEditResult *result)=0
 
virtual bool getPossibleBreakpoints (const v8::debug::Location &start, const v8::debug::Location &end, bool ignoreNestedFunctions, std::vector< v8::debug::BreakLocation > *locations)=0
 
virtual void resetBlackboxedStateCache ()=0
 
virtual int offset (int lineNumber, int columnNumber) const =0
 
virtual v8::debug::Location location (int offset) const =0
 
virtual bool setBreakpoint (const String16 &condition, v8::debug::Location *location, int *id) const =0
 

Static Public Member Functions

static std::unique_ptr< V8DebuggerScriptCreate (v8::Isolate *isolate, v8::Local< v8::debug::Script > script, bool isLiveEdit, V8InspectorClient *client)
 
static std::unique_ptr< V8DebuggerScriptCreateWasm (v8::Isolate *isolate, WasmTranslation *wasmTranslation, v8::Local< v8::debug::WasmScript > underlyingScript, String16 id, String16 url, int functionIndex)
 

Static Public Attributes

static const int kNoOffset = -1
 

Protected Member Functions

 V8DebuggerScript (v8::Isolate *, String16 id, String16 url)
 
virtual v8::Local< v8::debug::Scriptscript () const =0
 

Protected Attributes

String16 m_id
 
String16 m_url
 
bool m_hasSourceURLComment = false
 
int m_executionContextId = 0
 
v8::Isolate * m_isolate
 

Detailed Description

Definition at line 46 of file v8-debugger-script.h.


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