改进整理代码
This commit is contained in:
parent
5fea845666
commit
e8534447be
|
@ -88,10 +88,10 @@ namespace ast_basic {
|
||||||
public:
|
public:
|
||||||
ExpressionContext();
|
ExpressionContext();
|
||||||
|
|
||||||
|
// 通过 IContext 继承
|
||||||
virtual void setCurrentFile(const QString& path);
|
virtual void setCurrentFile(const QString& path);
|
||||||
virtual QString currentFile() const;
|
virtual QString currentFile() const;
|
||||||
|
|
||||||
// 通过 IContext 继承
|
|
||||||
std::shared_ptr<ast_basic::IExprInst> currentExprInst() const override;
|
std::shared_ptr<ast_basic::IExprInst> currentExprInst() const override;
|
||||||
void pushExprInst(std::shared_ptr<ast_basic::IExprInst> current_inst) override;
|
void pushExprInst(std::shared_ptr<ast_basic::IExprInst> current_inst) override;
|
||||||
std::shared_ptr<ast_basic::IExprInst> popExprInst() override;
|
std::shared_ptr<ast_basic::IExprInst> popExprInst() override;
|
||||||
|
|
Loading…
Reference in New Issue