OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
streamerrorhandler.hpp
Go to the documentation of this file.
1 #ifndef COMPILER_STREAMERRORHANDLER_H_INCLUDED
2 #define COMPILER_STREAMERRORHANDLER_H_INCLUDED
3 
4 #include <ostream>
5 
6 #include "errorhandler.hpp"
7 
8 namespace Compiler
9 {
11 
13  {
14  std::ostream& mStream;
15 
16  // not implemented
17 
20 
21  virtual void report (const std::string& message, const TokenLoc& loc, Type type);
23 
24  virtual void report (const std::string& message, Type type);
26 
27  public:
28 
29  // constructors
30 
31  StreamErrorHandler (std::ostream& ErrorStream);
33  };
34 }
35 
36 #endif
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
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 &)