Fabrique

A build language for complex systems

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fabrique::SourceLocation Class Reference

A location in the original source code. More...

#include <SourceLocation.h>

Inheritance diagram for fabrique::SourceLocation:
fabrique::Printable

Public Member Functions

 SourceLocation (const std::string &filename="", size_t line=0, size_t column=0)
 
 operator bool () const
 
bool operator< (const SourceLocation &) const
 
bool operator> (const SourceLocation &) const
 
bool operator== (const SourceLocation &) const
 
bool operator!= (const SourceLocation &) const
 
virtual void PrettyPrint (Bytestream &, size_t indent=0) const override
 Print a human-readable representation to an output stream and return that output stream.
 
- Public Member Functions inherited from fabrique::Printable
 Printable (const Printable &)
 
Printableoperator= (const Printable &)
 
virtual std::string str () const
 

Public Attributes

std::string filename
 
size_t line
 
size_t column
 

Detailed Description

A location in the original source code.

Definition at line 51 of file SourceLocation.h.


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