|
Pretty Diagnostics
Create your own pretty diagnostics
|
#include <filesystem>#include <optional>Go to the source code of this file.
Data Structures | |
| class | pretty_diagnostics::Location |
A position inside a Source, expressed as (row, column, index) More... | |
| class | pretty_diagnostics::Source |
| Abstract interface for reading and mapping source text. More... | |
| class | pretty_diagnostics::FileSource |
A Source implementation that reads from a file on disk. More... | |
Namespaces | |
| namespace | pretty_diagnostics |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const pretty_diagnostics::Location &location) |
Streams a readable description of a Location More... | |
| std::ostream & | operator<< (std::ostream &os, const pretty_diagnostics::FileSource &source) |
Streams a readable description of a FileSource More... | |
| std::ostream & | operator<< (std::ostream &os, const pretty_diagnostics::Source &source) |
Streams a readable description of a Source More... | |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const pretty_diagnostics::FileSource & | source | ||
| ) |
Streams a readable description of a FileSource
| os | Output stream to write to |
| source | Source to describe |
os. | std::ostream & operator<< | ( | std::ostream & | os, |
| const pretty_diagnostics::Location & | location | ||
| ) |
Streams a readable description of a Location
| os | Output stream to write to |
| location | Location to format |
os | std::ostream & operator<< | ( | std::ostream & | os, |
| const pretty_diagnostics::Source & | source | ||
| ) |
Streams a readable description of a Source
| os | Output stream to write to |
| source | Source to describe |
os