mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Added lexer from previous project
This commit is contained in:
11
Lexer/src/Token.cpp
Normal file
11
Lexer/src/Token.cpp
Normal 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)
|
||||
{}
|
||||
}
|
||||
Reference in New Issue
Block a user