Euphoria
eu::core::TemplateErrorList Struct Reference

#include <texttemplate.h>

Public Member Functions

 TemplateErrorList ()
 
void add_error (const std::optional< io::FilePath > &file, int line, int column, const std::string &error)
 
bool has_errors () const
 
std::string get_combined_errors () const
 

Public Attributes

std::vector< std::string > errors
 

Detailed Description

Definition at line 30 of file texttemplate.h.

Constructor & Destructor Documentation

◆ TemplateErrorList()

eu::core::TemplateErrorList::TemplateErrorList ( )
default

Member Function Documentation

◆ add_error()

void eu::core::TemplateErrorList::add_error ( const std::optional< io::FilePath > &  file,
int  line,
int  column,
const std::string &  error 
)

Definition at line 73 of file texttemplate.cc.

◆ get_combined_errors()

std::string eu::core::TemplateErrorList::get_combined_errors ( ) const

Definition at line 92 of file texttemplate.cc.

◆ has_errors()

bool eu::core::TemplateErrorList::has_errors ( ) const

Definition at line 66 of file texttemplate.cc.

Member Data Documentation

◆ errors

std::vector<std::string> eu::core::TemplateErrorList::errors

Definition at line 32 of file texttemplate.h.


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