1 #ifndef COMPILER_STREAMERRORHANDLER_H_INCLUDED
2 #define COMPILER_STREAMERRORHANDLER_H_INCLUDED
Type
Definition: errorhandler.hpp:23
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
std::ostream & mStream
Definition: streamerrorhandler.hpp:14
void setContext(const std::string &context)
Definition: streamerrorhandler.cpp:40
std::string mContext
Definition: streamerrorhandler.hpp:16
Location of a token in a source file.
Definition: tokenloc.hpp:10
Error handler implementation: Write errors into stream.
Definition: streamerrorhandler.hpp:12
StreamErrorHandler & operator=(const StreamErrorHandler &)
virtual void report(const std::string &message, const TokenLoc &loc, Type type)
Report error to the user.
Definition: streamerrorhandler.cpp:9
Error handling.
Definition: errorhandler.hpp:14
StreamErrorHandler(const StreamErrorHandler &)