This commit is contained in:
2025-12-19 20:38:40 +08:00
commit 73c828d99b
83 changed files with 13068 additions and 0 deletions

26
include/Ast/ValueExpr.hpp Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include <Ast/astBase.hpp>
#include <value.hpp>
namespace Fig::Ast
{
class ValueExprAst final : public ExpressionAst
{
public:
Value val;
ValueExprAst()
{
type = AstType::ValueExpr;
}
ValueExprAst(Value _val)
{
type = AstType::ValueExpr;
val = std::move(_val);
}
};
using ValueExpr = std::shared_ptr<ValueExprAst>;
};