|
sammine-lang
|
#include <Utilities.h>
Static Public Member Functions | |
| static Location | NonPrintable () |
Public Attributes | |
| int64_t | source_start |
| int64_t | source_end |
| std::shared_ptr< SourceInfo > | source_info |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Location &loc) |
A class representing a location for sammine-lang, this is helpful in debugging
The default constructor gives 0,0. When we don't want the Reporter to print out anything, construct it with NonPrintableLocation