xo-expression: + Expression::attach_envs()

This commit is contained in:
Roland Conybeare 2024-06-30 19:11:40 -04:00
commit a877af562a
8 changed files with 83 additions and 13 deletions

View file

@ -49,6 +49,13 @@ namespace xo {
return n;
}
virtual void attach_envs(ref::brw<Environment> p) override {
fn_->attach_envs(p);
for (const auto & arg : argv_)
arg->attach_envs(p);
}
virtual void display(std::ostream & os) const override;
private: