dumScope.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/ast/scope.hpp"
5
6namespace by {
10 class _nout dumScope: public scope {
11 BY(CLASS(dumScope, scope))
12
13 public:
14 dumScope();
15 dumScope(const scope::super& org);
16
17 public:
18 // add:
19 using super::add;
20 nbool add(const std::string& key, const node& val) override;
21
22 public:
23 static me& singleton();
24 };
25}
Dummy scope implementation that ignores additions.
Definition: dumScope.hpp:10
Base class for all AST nodes in byeol language.
Definition: node.hpp:30