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

#include <interface-types.h>

Inheritance diagram for v8::debug::Location:
Collaboration diagram for v8::debug::Location:

Public Member Functions

 Location (int line_number, int column_number)
 
 Location ()
 
int GetLineNumber () const
 
int GetColumnNumber () const
 
bool IsEmpty () const
 

Private Attributes

int line_number_
 
int column_number_
 
bool is_empty_
 

Detailed Description

Defines location inside script. Lines and columns are 0-based.

Definition at line 30 of file interface-types.h.

Constructor & Destructor Documentation

◆ Location() [1/2]

v8::debug::Location::Location ( int line_number,
int column_number )

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

◆ Location() [2/2]

v8::debug::Location::Location ( )

Create empty location.

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

Member Function Documentation

◆ GetColumnNumber()

int v8::debug::Location::GetColumnNumber ( ) const

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

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

◆ GetLineNumber()

int v8::debug::Location::GetLineNumber ( ) const

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

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

◆ IsEmpty()

bool v8::debug::Location::IsEmpty ( ) const

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

Here is the caller graph for this function:

Member Data Documentation

◆ column_number_

int v8::debug::Location::column_number_
private

Definition at line 44 of file interface-types.h.

◆ is_empty_

bool v8::debug::Location::is_empty_
private

Definition at line 45 of file interface-types.h.

◆ line_number_

int v8::debug::Location::line_number_
private

Definition at line 43 of file interface-types.h.


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