1
0
mirror of synced 2024-11-19 05:17:12 +01:00
ImHex/include/parser/parser.hpp

19 lines
271 B
C++
Raw Normal View History

#pragma once
#include <hex.hpp>
#include "token.hpp"
#include "ast_node.hpp"
#include <vector>
namespace hex::lang {
class Parser {
public:
Parser();
std::pair<Result, std::vector<ASTNode*>> parse(const std::vector<Token> &tokens);
};
}