#ifndef LEXER_H #define LEXER_H #include #include #include namespace Solstice { struct Token { std::string value; int line; std::string lineContent; }; class Lexer { std::string input; std::vector lines; size_t size; size_t current; std::optional peek(int ahead = 1); std::optional consume(); public: Lexer(std::string in); std::vector lex(); }; } #endif