Bash++
Bash++ compiler internal documentation
Namespaces | Functions
SyntaxError.cpp File Reference
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include "SyntaxError.h"
#include <utf8cpp/utf8.h>
Include dependency graph for SyntaxError.cpp:

Namespaces

namespace  bpp
 
namespace  bpp::ErrorHandling
 

Functions

void bpp::ErrorHandling::print_syntax_error_or_warning (const std::string &source_file, uint32_t line, uint32_t column, uint32_t text_length, const std::string &msg, const std::vector< std::string > &include_chain, std::shared_ptr< bpp::bpp_program > program, bool lsp_mode, bool is_warning=false)
 Print a syntax error or warning message to stderr.
 
void bpp::ErrorHandling::print_syntax_error_from_parser (const std::string &source_file, uint32_t line, uint32_t start_column, uint32_t end_column, const std::string &msg, const std::vector< std::string > &include_chain)
 
std::string bpp::ErrorHandling::utf8_substr (const std::string &str, uint32_t start, uint32_t length)
 
uint32_t bpp::ErrorHandling::utf8_length (const std::string &str)
 
std::string bpp::ErrorHandling::equal_width_padding (const std::string &str, char padding_char)