Files
2026-10-12 23:29:09 +02:00

25 lines
428 B
C++

#ifndef DLANG_LEXER_HPP
#define DLANG_LEXER_HPP
#include <iostream>
#include <string>
#include <vector>
#include "types/include.hpp"
class Lexer
{
private:
std::vector<PreToken> _tokens;
std::vector<Token> _organizedTokens;
public:
Lexer() = default;
void Parse(const std::string& code);
void ParseOrganizedTokens();
std::vector<PreToken> GetTokens() const;
std::vector<Token> GetOrganizedTokens() const;
};
#endif