🎨 add namespace

This commit is contained in:
ValKmjolnir
2023-09-08 00:33:57 +08:00
parent d89f290a8a
commit cd4e0c1716
27 changed files with 127 additions and 26 deletions

View File

@@ -1,5 +1,7 @@
#include "ast_visitor.h"
namespace nasal {
bool ast_visitor::visit_expr(expr* node) {
node->accept(this);
return true;
@@ -231,4 +233,6 @@ bool ast_visitor::visit_return_expr(return_expr* node) {
node->get_value()->accept(this);
}
return true;
}
}
}