Pretty Diagnostics
Create your own pretty diagnostics
Loading...
Searching...
No Matches
span.hpp File Reference
#include "source.hpp"
Include dependency graph for span.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  pretty_diagnostics::Span
 Represents a contiguous region within a Source More...
 

Namespaces

namespace  pretty_diagnostics
 

Functions

std::ostream & operator<< (std::ostream &os, const pretty_diagnostics::Span &span)
 Streams a human-readable representation of a span for debugging. More...
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const pretty_diagnostics::Span span 
)

Streams a human-readable representation of a span for debugging.

Parameters
osOutput stream to write to
spanSpan to format
Returns
Reference to os