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

#include <js-objects.h>

Inheritance diagram for v8::internal::JSMessageObject:
Collaboration diagram for v8::internal::JSMessageObject:

Public Types

using BodyDescriptor
 

Public Member Functions

MessageTemplate type () const
 
void set_type (MessageTemplate value)
 
int GetStartPosition () const
 
int GetEndPosition () const
 
V8_EXPORT_PRIVATE int GetLineNumber () const
 
V8_EXPORT_PRIVATE int GetColumnNumber () const
 
V8_EXPORT_PRIVATE Tagged< StringGetSource () const
 
DirectHandle< StringGetSourceLine () const
 

Static Public Member Functions

static void EnsureSourcePositionsAvailable (Isolate *isolate, DirectHandle< JSMessageObject > message)
 

Static Public Attributes

static const int kPointerFieldsEndOffset = kStartPositionOffset
 

Private Member Functions

bool DidEnsureSourcePositionsAvailable () const
 

Static Private Member Functions

static void V8_PRESERVE_MOST V8_EXPORT_PRIVATE InitializeSourcePositions (Isolate *isolate, DirectHandle< JSMessageObject > message)
 

Friends

class Factory
 

Detailed Description

Definition at line 1324 of file js-objects.h.

Member Typedef Documentation

◆ BodyDescriptor

Initial value:
kHeaderSize>
static constexpr int kMapOffset
static const int kPointerFieldsEndOffset

Definition at line 1368 of file js-objects.h.

Member Function Documentation

◆ DidEnsureSourcePositionsAvailable()

bool v8::internal::JSMessageObject::DidEnsureSourcePositionsAvailable ( ) const
inlineprivate

Definition at line 691 of file js-objects-inl.h.

Here is the caller graph for this function:

◆ EnsureSourcePositionsAvailable()

void v8::internal::JSMessageObject::EnsureSourcePositionsAvailable ( Isolate * isolate,
DirectHandle< JSMessageObject > message )
inlinestatic

Definition at line 696 of file js-objects-inl.h.

Here is the caller graph for this function:

◆ GetColumnNumber()

int v8::internal::JSMessageObject::GetColumnNumber ( ) const

Definition at line 5898 of file js-objects.cc.

Here is the call graph for this function:

◆ GetEndPosition()

int v8::internal::JSMessageObject::GetEndPosition ( ) const
inline

Definition at line 711 of file js-objects-inl.h.

◆ GetLineNumber()

int v8::internal::JSMessageObject::GetLineNumber ( ) const

Definition at line 5884 of file js-objects.cc.

Here is the call graph for this function:

◆ GetSource()

Tagged< String > v8::internal::JSMessageObject::GetSource ( ) const

Definition at line 5912 of file js-objects.cc.

Here is the call graph for this function:

◆ GetSourceLine()

DirectHandle< String > v8::internal::JSMessageObject::GetSourceLine ( ) const

Definition at line 5922 of file js-objects.cc.

Here is the call graph for this function:

◆ GetStartPosition()

int v8::internal::JSMessageObject::GetStartPosition ( ) const
inline

Definition at line 705 of file js-objects-inl.h.

◆ InitializeSourcePositions()

void v8::internal::JSMessageObject::InitializeSourcePositions ( Isolate * isolate,
DirectHandle< JSMessageObject > message )
staticprivate

Definition at line 5859 of file js-objects.cc.

Here is the call graph for this function:

◆ set_type()

void v8::internal::JSMessageObject::set_type ( MessageTemplate value)
inline

Definition at line 721 of file js-objects-inl.h.

◆ type()

MessageTemplate v8::internal::JSMessageObject::type ( ) const
inline

Definition at line 717 of file js-objects-inl.h.

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

Friends And Related Symbol Documentation

◆ Factory

friend class Factory
friend

Definition at line 1373 of file js-objects.h.

Member Data Documentation

◆ kPointerFieldsEndOffset

const int v8::internal::JSMessageObject::kPointerFieldsEndOffset = kStartPositionOffset
static

Definition at line 1366 of file js-objects.h.


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