clean up object module

This commit is contained in:
IlyaShurupov 2024-03-23 12:32:57 +03:00 committed by Ilya Shurupov
parent e78885d452
commit f8c82b7e29
68 changed files with 1223 additions and 1229 deletions

View file

@ -3,20 +3,20 @@
#include "compiler/Statements.hpp"
#include "compiler/Expressions.hpp"
namespace obj {
namespace tp::obj {
class Parser {
public:
Parser() = default;
struct Result {
obj::BCgen::StatementScope* scope = nullptr;
StatementScope* scope = nullptr;
bool isError = false;
std::string description;
tp::halni line = 0;
tp::halni column = 0;
halni line = 0;
halni column = 0;
};
Result parse(const std::string& stream);
};
};
}