Fabrique

A build language for complex systems

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

Base class for exceptions related to invalid source code. More...

#include <exceptions.h>

Inheritance diagram for fabrique::SourceCodeException:
fabrique::HasSource fabrique::Printable fabrique::SemanticException fabrique::SyntaxError fabrique::dag::UndefinedValueException fabrique::TypeError fabrique::WrongTypeException

Public Member Functions

const std::string & message () const
 
virtual const char * what () const noexcept
 
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::HasSource
 HasSource (const SourceRange &src)
 
const SourceRangesource () const
 
- Public Member Functions inherited from fabrique::Printable
 Printable (const Printable &)
 
Printableoperator= (const Printable &)
 
virtual std::string str () const
 

Protected Member Functions

 SourceCodeException (const std::string &message, const SourceRange &)
 
 SourceCodeException (const SourceCodeException &)
 

Detailed Description

Base class for exceptions related to invalid source code.

Definition at line 111 of file exceptions.h.


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