1
0
mirror of synced 2024-11-25 08:10:24 +01:00
ImHex/include/lang/parser.hpp

19 lines
271 B
C++

#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);
};
}