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

19 lines
383 B
C++

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