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

@ -33,6 +33,12 @@ namespace xo {
virtual TypeDescr value_td() const = 0;
/** reflection-tagged pointer to literal value of this constant **/
virtual TaggedPtr value_tp() const = 0;
// ----- Expression -----
virtual void attach_envs(ref::brw<Environment> /*p*/) override {}
}; /*ConstantInterface*/
} /*namespace ast*/