cpp-programming

Simple C++ programs
git clone git://git.laack.co/cpp-programming.git
Log | Files | Refs | README

lox.hpp (295B)


      1 class Lox {
      2     public:
      3         void execStr(std::string input);
      4         void repl();
      5         void error(int line, std::string message);
      6     private:
      7         bool hadError = false;
      8         void run(std::string inputStr);
      9         void report(int line, std::string where, std::string message);
     10 };