V8  latest master commit
V8 is Google's open source JavaScript engine
cppgc::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 cppgc::SourceLocation::SourceLocation ( )
constexprdefault

Member Function Documentation

◆ Current()

static constexpr SourceLocation cppgc::SourceLocation::Current ( )
inlinestaticconstexpr

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

◆ FileName()

constexpr const char* cppgc::SourceLocation::FileName ( ) const
inlineconstexpr

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

◆ Function()

constexpr const char* cppgc::SourceLocation::Function ( ) const
inlineconstexpr

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

◆ Line()

constexpr size_t cppgc::SourceLocation::Line ( ) const
inlineconstexpr

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

◆ ToString()

std::string cppgc::SourceLocation::ToString ( ) const

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