- Source_file * source_file_;
-
- void warning (String) const; // should use member func?
- void non_fatal_error (String) const;
- void error (String) const;
- void message (String) const;
+ Source_file *source_file_;
+
+public:
+ Source_file *get_source_file () const;
+ char const *start () const;
+ char const *end () const;
+
+ void set (Source_file *, char const *, char const *);
+ void warning (std::string) const; // should use member func?
+ void non_fatal_error (std::string) const;
+ void error (std::string) const;
+ void message (std::string) const;