Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lang::ErrorReport Struct Reference

#include <error_report.h>

Inheritance diagram for lang::ErrorReport:
Collaboration diagram for lang::ErrorReport:

Public Member Functions

 ErrorReport (const ErrorReport &e)
 
 ErrorReport (TreeRef context)
 
 ErrorReport (SourceRange range)
 
virtual const char * what () const noexceptoverride
 

Private Attributes

std::stringstream ss
 
SourceRange context
 
std::string the_message
 

Friends

template<typename T >
const ErrorReportoperator<< (const ErrorReport &e, const T &t)
 

Constructor & Destructor Documentation

lang::ErrorReport::ErrorReport ( const ErrorReport e)
inline
lang::ErrorReport::ErrorReport ( TreeRef  context)
inline
lang::ErrorReport::ErrorReport ( SourceRange  range)
inline

Member Function Documentation

virtual const char* lang::ErrorReport::what ( ) const
inlineoverridevirtualnoexcept

Friends And Related Function Documentation

template<typename T >
const ErrorReport& operator<< ( const ErrorReport e,
const T &  t 
)
friend

Member Data Documentation

SourceRange lang::ErrorReport::context
private
std::stringstream lang::ErrorReport::ss
mutableprivate
std::string lang::ErrorReport::the_message
mutableprivate

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