mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
started to develop build_visitor
This commit is contained in:
parent
195c536620
commit
d1cd6d4b83
9 changed files with 879 additions and 28 deletions
|
|
@ -11,8 +11,7 @@ class PrintVisitor : public Visitor {
|
|||
public:
|
||||
PrintVisitor(std::ostream& out) : out_(out) {}
|
||||
|
||||
// -----------------
|
||||
|
||||
private:
|
||||
void Visit(Node* node) override;
|
||||
|
||||
// Sources -----------------
|
||||
|
|
@ -60,6 +59,8 @@ public:
|
|||
void Visit(Block* node) override;
|
||||
void Visit(ScopedStatement* node) override;
|
||||
|
||||
void Visit(LoopControlExpression& node) override; // enum
|
||||
|
||||
// Operators
|
||||
|
||||
void Visit(BinaryOperatorExpression* node) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue