#ifndef C_LEXER_HPP #define C_LEXER_HPP #include enum TokenType { None, Keyword, Identifier, Operator, Constant, StringLiteral, Invalid }; // Global variable that will be looked for by byson extern std::string *yylval; // flex function to run on input extern int yylex(); extern int lineCount; extern int spaceCount; extern int sourceLineCount; extern int charLength; extern std::string fileName; // get the correct output std::string toJson(const std::string& classType, const std::string& text, const std::string& strLine, const std::string& srcCol, const std::string& srcLine, const std::string& fName); #endif