Bash++
Bash++ compiler internal documentation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
bpp::ErrorHandling::ErrorOrWarning Class Reference

#include <SyntaxError.h>

Inheritance diagram for bpp::ErrorHandling::ErrorOrWarning:
Inheritance graph
[legend]
Collaboration diagram for bpp::ErrorHandling::ErrorOrWarning:
Collaboration graph
[legend]

Public Member Functions

 ErrorOrWarning ()=delete
 
 ErrorOrWarning (const std::string &msg)=delete
 
template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T>
 ErrorOrWarning (Listener *listener, const T &error_ctx, const std::string &msg)
 
void print () const
 

Protected Member Functions

template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T>
void set_from_listener (Listener *listener, T error_ctx)
 

Protected Attributes

std::string source_file
 
uint32_t line
 
uint32_t column
 
uint32_t text_length
 
std::vector< std::string > include_chain
 
std::shared_ptr< bpp::bpp_programprogram
 
bool lsp_mode
 
bool is_warning
 

Constructor & Destructor Documentation

◆ ErrorOrWarning() [1/3]

bpp::ErrorHandling::ErrorOrWarning::ErrorOrWarning ( )
delete

◆ ErrorOrWarning() [2/3]

bpp::ErrorHandling::ErrorOrWarning::ErrorOrWarning ( const std::string &  msg)
explicitdelete

◆ ErrorOrWarning() [3/3]

bpp::ErrorHandling::ErrorOrWarning::ErrorOrWarning ( Listener *  listener,
const T &  error_ctx,
const std::string &  msg 
)
inline

Member Function Documentation

◆ print()

void bpp::ErrorHandling::ErrorOrWarning::print ( ) const
inline

◆ set_from_listener()

void bpp::ErrorHandling::ErrorOrWarning::set_from_listener ( Listener *  listener,
error_ctx 
)
inlineprotected

Member Data Documentation

◆ column

uint32_t bpp::ErrorHandling::ErrorOrWarning::column
protected

◆ include_chain

std::vector<std::string> bpp::ErrorHandling::ErrorOrWarning::include_chain
protected

◆ is_warning

bool bpp::ErrorHandling::ErrorOrWarning::is_warning
protected

◆ line

uint32_t bpp::ErrorHandling::ErrorOrWarning::line
protected

◆ lsp_mode

bool bpp::ErrorHandling::ErrorOrWarning::lsp_mode
protected

◆ program

std::shared_ptr<bpp::bpp_program> bpp::ErrorHandling::ErrorOrWarning::program
protected

◆ source_file

std::string bpp::ErrorHandling::ErrorOrWarning::source_file
protected

◆ text_length

uint32_t bpp::ErrorHandling::ErrorOrWarning::text_length
protected

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