Add AST visitor

Signed-off-by: CHatingPython <chatingpython@gmail.com>
This commit is contained in:
CHatingPython
2026-05-31 13:12:22 +02:00
committed by CHatingPython
parent 2395ee9977
commit b2e33e1bdd
9 changed files with 114 additions and 11 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ namespace ast {
class node;
template <typename T, typename Error = std::string>
using node_handle = handle<T*, Error>;
template <typename T>
using node_handle = handle<T*, std::string>;
class literal_node;
using literal_node_h = node_handle<literal_node>;