#ifndef LEXER_HPP #define LEXER_HPP #include #include #include namespace Lex{ class Lexer { public: Lexer(); void lexString(const std::string& text); void registerCallback(const std::string& pattern, void (Lexer::*f)()); protected: void function1(); private: std::vector _regexList; std::vector _functionList; }; } #endif