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

Classes

struct  MessageArgument
 

Public Member Functions

 MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR (MessageDetails)
 
 MessageDetails ()
 
 MessageDetails (int start_position, int end_position, MessageTemplate message, const AstRawString *arg0)
 
 MessageDetails (int start_position, int end_position, MessageTemplate message, const AstRawString *arg0, const char *arg1)
 
 MessageDetails (int start_position, int end_position, MessageTemplate message, const AstRawString *arg0, const AstRawString *arg1, const char *arg2)
 
 MessageDetails (int start_position, int end_position, MessageTemplate message, const char *arg0)
 
DirectHandle< StringArgString (Isolate *isolate, int index) const
 
int ArgCount () const
 
MessageLocation GetLocation (Handle< Script > script) const
 
int start_pos () const
 
int end_pos () const
 
MessageTemplate message () const
 
template<typename IsolateT >
void Prepare (IsolateT *isolate)
 

Static Public Attributes

static constexpr int kMaxArgumentCount = 3
 

Private Types

enum  Type { kNone , kAstRawString , kConstCharString , kMainThreadHandle }
 

Private Member Functions

void SetString (int index, Handle< String > string, Isolate *isolate)
 
void SetString (int index, Handle< String > string, LocalIsolate *isolate)
 

Private Attributes

int start_position_
 
int end_position_
 
MessageTemplate message_
 
MessageArgument args_ [kMaxArgumentCount]
 

Detailed Description

Definition at line 89 of file pending-compilation-error-handler.h.

Member Enumeration Documentation

◆ Type

Enumerator
kNone 
kAstRawString 
kConstCharString 
kMainThreadHandle 

Definition at line 158 of file pending-compilation-error-handler.h.

Constructor & Destructor Documentation

◆ MessageDetails() [1/5]

v8::internal::PendingCompilationErrorHandler::MessageDetails::MessageDetails ( )
inline

Definition at line 94 of file pending-compilation-error-handler.h.

◆ MessageDetails() [2/5]

v8::internal::PendingCompilationErrorHandler::MessageDetails::MessageDetails ( int start_position,
int end_position,
MessageTemplate message,
const AstRawString * arg0 )
inline

Definition at line 98 of file pending-compilation-error-handler.h.

◆ MessageDetails() [3/5]

v8::internal::PendingCompilationErrorHandler::MessageDetails::MessageDetails ( int start_position,
int end_position,
MessageTemplate message,
const AstRawString * arg0,
const char * arg1 )
inline

Definition at line 104 of file pending-compilation-error-handler.h.

◆ MessageDetails() [4/5]

v8::internal::PendingCompilationErrorHandler::MessageDetails::MessageDetails ( int start_position,
int end_position,
MessageTemplate message,
const AstRawString * arg0,
const AstRawString * arg1,
const char * arg2 )
inline

Definition at line 115 of file pending-compilation-error-handler.h.

◆ MessageDetails() [5/5]

v8::internal::PendingCompilationErrorHandler::MessageDetails::MessageDetails ( int start_position,
int end_position,
MessageTemplate message,
const char * arg0 )
inline

Definition at line 127 of file pending-compilation-error-handler.h.

Member Function Documentation

◆ ArgCount()

int v8::internal::PendingCompilationErrorHandler::MessageDetails::ArgCount ( ) const
inline

Definition at line 135 of file pending-compilation-error-handler.h.

◆ ArgString()

DirectHandle< String > v8::internal::PendingCompilationErrorHandler::MessageDetails::ArgString ( Isolate * isolate,
int index ) const

Definition at line 55 of file pending-compilation-error-handler.cc.

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

◆ end_pos()

int v8::internal::PendingCompilationErrorHandler::MessageDetails::end_pos ( ) const
inline

Definition at line 151 of file pending-compilation-error-handler.h.

◆ GetLocation()

MessageLocation v8::internal::PendingCompilationErrorHandler::MessageDetails::GetLocation ( Handle< Script > script) const

Definition at line 75 of file pending-compilation-error-handler.cc.

Here is the caller graph for this function:

◆ message()

MessageTemplate v8::internal::PendingCompilationErrorHandler::MessageDetails::message ( ) const
inline

Definition at line 152 of file pending-compilation-error-handler.h.

Here is the caller graph for this function:

◆ MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR()

v8::internal::PendingCompilationErrorHandler::MessageDetails::MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR ( MessageDetails )

◆ Prepare()

template<typename IsolateT >
void v8::internal::PendingCompilationErrorHandler::MessageDetails::Prepare ( IsolateT * isolate)

Definition at line 35 of file pending-compilation-error-handler.cc.

Here is the caller graph for this function:

◆ SetString() [1/2]

void v8::internal::PendingCompilationErrorHandler::MessageDetails::SetString ( int index,
Handle< String > string,
Isolate * isolate )
private

Definition at line 20 of file pending-compilation-error-handler.cc.

◆ SetString() [2/2]

void v8::internal::PendingCompilationErrorHandler::MessageDetails::SetString ( int index,
Handle< String > string,
LocalIsolate * isolate )
private

Definition at line 27 of file pending-compilation-error-handler.cc.

◆ start_pos()

int v8::internal::PendingCompilationErrorHandler::MessageDetails::start_pos ( ) const
inline

Definition at line 150 of file pending-compilation-error-handler.h.

Here is the caller graph for this function:

Member Data Documentation

◆ args_

MessageArgument v8::internal::PendingCompilationErrorHandler::MessageDetails::args_[kMaxArgumentCount]
private

Definition at line 183 of file pending-compilation-error-handler.h.

◆ end_position_

int v8::internal::PendingCompilationErrorHandler::MessageDetails::end_position_
private

Definition at line 164 of file pending-compilation-error-handler.h.

◆ kMaxArgumentCount

int v8::internal::PendingCompilationErrorHandler::MessageDetails::kMaxArgumentCount = 3
staticconstexpr

Definition at line 91 of file pending-compilation-error-handler.h.

◆ message_

MessageTemplate v8::internal::PendingCompilationErrorHandler::MessageDetails::message_
private

Definition at line 166 of file pending-compilation-error-handler.h.

◆ start_position_

int v8::internal::PendingCompilationErrorHandler::MessageDetails::start_position_
private

Definition at line 163 of file pending-compilation-error-handler.h.


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