改进整理代码

This commit is contained in:
codeboss 2024-07-13 06:20:49 +08:00
parent 5fea845666
commit e8534447be
1 changed files with 1 additions and 1 deletions

View File

@ -88,10 +88,10 @@ namespace ast_basic {
public:
ExpressionContext();
// 通过 IContext 继承
virtual void setCurrentFile(const QString& path);
virtual QString currentFile() const;
// 通过 IContext 继承
std::shared_ptr<ast_basic::IExprInst> currentExprInst() const override;
void pushExprInst(std::shared_ptr<ast_basic::IExprInst> current_inst) override;
std::shared_ptr<ast_basic::IExprInst> popExprInst() override;