Files
interpreter-cpp/src/ast/statements/let.hpp
2025-07-08 10:17:38 +02:00

21 lines
420 B
C++

#pragma once
#include "ast/ast.hpp"
#include "ast/expressions/identifier.hpp"
#include "token/token.hpp"
namespace ast {
struct let_stmt : statement {
let_stmt(token::token token);
token::token token;
identifier* name;
expression* value;
std::string token_literal() const override;
std::string str() const override;
~let_stmt();
};
} // namespace ast