mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-25 16:28:45 +00:00
interpreter_tree first iteration
This commit is contained in:
parent
7f4cd5ee9a
commit
1ba132bb06
15 changed files with 1829 additions and 1 deletions
12
src/node.cpp
Normal file
12
src/node.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// for clangd
|
||||
#include "../include/node.hpp"
|
||||
#include "../include/visitor.hpp"
|
||||
|
||||
|
||||
namespace interpreter {
|
||||
|
||||
void Node::Accept(Visitor* visitor) {
|
||||
visitor->Visit(this);
|
||||
}
|
||||
|
||||
} // namespace interpreter
|
||||
Loading…
Add table
Add a link
Reference in a new issue