18 lines
286 B
C++
18 lines
286 B
C++
#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;
|
|
};
|
|
}
|