v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::debug::ScriptSource Class Reference

#include <debug-interface.h>

Collaboration diagram for v8::debug::ScriptSource:

Public Member Functions

size_t Length () const
 
size_t Size () const
 
MaybeLocal< StringJavaScriptCode () const
 

Detailed Description

An internal representation of the source for a given v8::debug::Script, which can be a v8::String, in which case it represents JavaScript source, or it can be a managed pointer to a native Wasm module, or it can be undefined to indicate that source is unavailable.

Definition at line 188 of file debug-interface.h.

Member Function Documentation

◆ JavaScriptCode()

MaybeLocal< String > v8::debug::ScriptSource::JavaScriptCode ( ) const

Definition at line 455 of file debug-interface.cc.

Here is the call graph for this function:

◆ Length()

size_t v8::debug::ScriptSource::Length ( ) const

Definition at line 434 of file debug-interface.cc.

Here is the call graph for this function:

◆ Size()

size_t v8::debug::ScriptSource::Size ( ) const

Definition at line 442 of file debug-interface.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

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