Yume
Public Member Functions | Public Attributes | List of all members
yume::ASTStackTrace Struct Reference

#include <errors.hpp>

Inheritance diagram for yume::ASTStackTrace:
Inheritance graph
[legend]
Collaboration diagram for yume::ASTStackTrace:
Collaboration graph
[legend]

Public Member Functions

 ASTStackTrace (std::string message)
 
 ASTStackTrace (std::string message, const ast::AST &ast)
 
void print (llvm::raw_ostream &stream) const override
 

Public Attributes

std::string message
 

Detailed Description

Definition at line 56 of file errors.hpp.

Constructor & Destructor Documentation

◆ ASTStackTrace() [1/2]

yume::ASTStackTrace::ASTStackTrace ( std::string  message)

◆ ASTStackTrace() [2/2]

yume::ASTStackTrace::ASTStackTrace ( std::string  message,
const ast::AST ast 
)

Member Function Documentation

◆ print()

void yume::ASTStackTrace::print ( llvm::raw_ostream &  stream) const
inlineoverride

Definition at line 62 of file errors.hpp.

References message.

Member Data Documentation

◆ message

std::string yume::ASTStackTrace::message

Definition at line 57 of file errors.hpp.

Referenced by print().


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