basically finish AST build

This commit is contained in:
2024-08-11 15:38:53 +00:00
parent 996995ecf7
commit 9aa23caaa9
9 changed files with 824 additions and 275 deletions

View File

@ -41,6 +41,7 @@ class ForStatement_ASTNode : public Statement_ASTNode {
};
class JmpStatement_ASTNode : public Statement_ASTNode {
friend Visitor;
uint8_t jmp_type; // 0: return, 1: break, 2: continue
std::shared_ptr<Expr_ASTNode> return_value;
};
class SuiteStatement_ASTNode : public Statement_ASTNode {