mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-06 15:08:48 +00:00
expression nodes finished
This commit is contained in:
parent
100779d2d4
commit
4276a966a7
10 changed files with 842 additions and 137 deletions
13
src/expression_nodes.cpp
Normal file
13
src/expression_nodes.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include "../include/expression_nodes.hpp"
|
||||
|
||||
namespace nodes {
|
||||
|
||||
Expression* ExpressionProxy::get() {
|
||||
return expression_storage_.get_expression(id_);
|
||||
}
|
||||
|
||||
const Expression* ExpressionProxy::get() const {
|
||||
return expression_storage_.get_expression(id_);
|
||||
}
|
||||
|
||||
}; // namespace nodes
|
||||
Loading…
Add table
Add a link
Reference in a new issue