Added the token class

This commit is contained in:
Pasha Bibko
2025-07-19 23:02:16 +01:00
parent ab564e9649
commit c8975f0c20
5 changed files with 185 additions and 0 deletions

17
Lexer/inc/Lexer.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <Token.h>
namespace LXC::Lexer
{
struct LexerContext
{
// Trackers for the Lexer itself //
std::string source;
size_t index;
// Trackers for where the Lexer is within the user version of source //
unsigned short column;
unsigned short line;
};
}