Added lexer from previous project

This commit is contained in:
Pasha Bibko
2025-04-16 19:32:26 +01:00
parent 753c72c653
commit 4ac5061f03
14 changed files with 506 additions and 23 deletions

11
Lexer/src/Token.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include <Lexer.h>
#include <string>
#include <vector>
namespace LX
{
Token::Token(const TokenType _type, std::string _contents)
: type(_type), contents(_contents)
{}
}