clean up object module
This commit is contained in:
parent
e78885d452
commit
f8c82b7e29
68 changed files with 1223 additions and 1229 deletions
|
|
@ -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);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue