Compilation error. More...
#include <compiler.h>
Public Member Functions | |
Error () | |
Create an empty error. | |
Error (const SourcePos &pos, const std::string &message) | |
Create an error at pos. | |
Error () | |
Create an empty error. | |
Error (const SourcePos &pos, const std::string &message) | |
Create an error at pos. | |
std::string | toString () const |
Return a string describing the error. | |
std::string | toString () const |
Return a string describing the error. | |
Public Attributes | |
std::string | message |
SourcePos | pos |
position of error in source string |
Compilation error.
Definition at line 143 of file compiler.h.
Aseba::Error::Error | ( | const SourcePos & | pos, | |
const std::string & | message | |||
) | [inline] |
Create an error at pos.
Definition at line 148 of file compiler.h.
Aseba::Error::Error | ( | ) | [inline] |
Create an empty error.
Definition at line 150 of file compiler.h.
Aseba::Error::Error | ( | const SourcePos & | pos, | |
const std::string & | message | |||
) | [inline] |
Create an error at pos.
Definition at line 148 of file compiler.h.
Aseba::Error::Error | ( | ) | [inline] |
Create an empty error.
Definition at line 150 of file compiler.h.
std::string Aseba::Error::toString | ( | ) | const |
Return a string describing the error.
std::string Aseba::Error::message |
message
Definition at line 146 of file compiler.h.
position of error in source string
Definition at line 145 of file compiler.h.