V8 Project
v8::internal::MessageLocation Class Reference

#include <messages.h>

+ Collaboration diagram for v8::internal::MessageLocation:

Public Member Functions

 MessageLocation (Handle< Script > script, int start_pos, int end_pos)
 
 MessageLocation ()
 
Handle< Scriptscript () const
 
int start_pos () const
 
int end_pos () const
 

Private Attributes

Handle< Scriptscript_
 
int start_pos_
 
int end_pos_
 

Detailed Description

Definition at line 44 of file messages.h.

Constructor & Destructor Documentation

◆ MessageLocation() [1/2]

v8::internal::MessageLocation::MessageLocation ( Handle< Script script,
int  start_pos,
int  end_pos 
)
inline

Definition at line 46 of file messages.h.

◆ MessageLocation() [2/2]

v8::internal::MessageLocation::MessageLocation ( )
inline

Definition at line 52 of file messages.h.

52 : start_pos_(-1), end_pos_(-1) { }

Member Function Documentation

◆ end_pos()

int v8::internal::MessageLocation::end_pos ( ) const
inline

Definition at line 56 of file messages.h.

56 { return end_pos_; }

References end_pos_.

Referenced by v8::internal::Isolate::DoThrow(), v8::internal::LiveEdit::GatherCompileInfo(), and v8::internal::MessageHandler::MakeMessageObject().

+ Here is the caller graph for this function:

◆ script()

Handle<Script> v8::internal::MessageLocation::script ( ) const
inline

Definition at line 54 of file messages.h.

54 { return script_; }

References script_.

Referenced by v8::internal::MessageHandler::DefaultMessageReport(), v8::internal::Isolate::DoThrow(), v8::internal::LiveEdit::GatherCompileInfo(), and v8::internal::MessageHandler::MakeMessageObject().

+ Here is the caller graph for this function:

◆ start_pos()

int v8::internal::MessageLocation::start_pos ( ) const
inline

Definition at line 55 of file messages.h.

55 { return start_pos_; }

References start_pos_.

Referenced by v8::internal::MessageHandler::DefaultMessageReport(), v8::internal::Isolate::DoThrow(), v8::internal::LiveEdit::GatherCompileInfo(), and v8::internal::MessageHandler::MakeMessageObject().

+ Here is the caller graph for this function:

Member Data Documentation

◆ end_pos_

int v8::internal::MessageLocation::end_pos_
private

Definition at line 61 of file messages.h.

Referenced by end_pos().

◆ script_

Handle<Script> v8::internal::MessageLocation::script_
private

Definition at line 59 of file messages.h.

Referenced by script().

◆ start_pos_

int v8::internal::MessageLocation::start_pos_
private

Definition at line 60 of file messages.h.

Referenced by start_pos().


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