forked from PuqiAR/Fig-TreeWalker
阶段性保存,全面修改Value为Object
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user