v8  8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
SourceLocation Class Referencefinal

#include <source-location.h>

Public Member Functions

constexpr SourceLocation ()=default
 
constexpr const char * Function () const
 
constexpr const char * FileName () const
 
constexpr size_t Line () const
 
std::string ToString () const
 

Static Public Member Functions

static constexpr SourceLocation Current ()
 

Detailed Description

Definition at line 28 of file source-location.h.

Constructor & Destructor Documentation

◆ SourceLocation()

constexpr SourceLocation ( )
constexprdefault

Member Function Documentation

◆ Current()

static constexpr SourceLocation Current ( )
inlinestaticconstexpr

Definition at line 37 of file source-location.h.

◆ FileName()

constexpr const char* FileName ( ) const
inlineconstexpr

Definition at line 43 of file source-location.h.

◆ Function()

constexpr const char* Function ( ) const
inlineconstexpr

Definition at line 42 of file source-location.h.

◆ Line()

constexpr size_t Line ( ) const
inlineconstexpr

Definition at line 44 of file source-location.h.

◆ ToString()

std::string ToString ( ) const

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