完成Parser定义以及表达式解析
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Ast/Base.hpp>
|
||||
#include <Deps/Deps.hpp>
|
||||
|
||||
namespace Fig
|
||||
{
|
||||
@@ -25,5 +27,10 @@ namespace Fig
|
||||
name = std::move(_name);
|
||||
location = std::move(_loc);
|
||||
}
|
||||
|
||||
virtual String toString() const override
|
||||
{
|
||||
return std::format("<IdentiExpr: {}>", name);
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user