sapphirec
0.1
The Sapphire compiler.
src
Error.h
1
#pragma once
2
#include "Location.h"
3
4
namespace
Error
5
{
6
void
show_import_line(
const
Location
& loc, std::ostream& output_stream);
7
8
[[noreturn]]
void
throw_error(
const
Location
& loc,
const
std::string line_text,
const
std::string& details);
9
10
[[noreturn]]
void
throw_error_without_location(
const
std::string& details);
11
12
void
throw_warning(
const
Location
& loc,
const
std::string line_text,
const
std::string& details);
13
14
void
show_import_lines(
const
Location
& loc,
void
(*import_line_printer)(
const
Location
&, std::ostream&),
15
std::ostream& stream);
16
}
// namespace Error
Location
Definition:
Location.h:6
Generated by
1.9.1