阶段性保存,全面修改Value为Object

This commit is contained in:
2025-12-22 19:18:43 +08:00
parent 34a56beb90
commit 271846143a
15 changed files with 334 additions and 418 deletions

View File

@@ -9,13 +9,13 @@ namespace Fig::Ast
class ValueExprAst final : public ExpressionAst
{
public:
Value val;
Object val;
ValueExprAst()
{
type = AstType::ValueExpr;
}
ValueExprAst(Value _val)
ValueExprAst(Object _val)
{
type = AstType::ValueExpr;
val = std::move(_val);