xo-expression: + Lambda::captured_var_set; assigned in ctor

This commit is contained in:
Roland Conybeare 2024-07-03 16:37:29 -04:00
commit cdb4dd8427
2 changed files with 39 additions and 10 deletions

View file

@ -125,6 +125,9 @@ namespace xo {
/** free variables for this lambda **/
std::set<std::string> free_var_set_;
/** variables that appear free in some nested lambda **/
std::set<std::string> captured_var_set_;
/** map giving unique identity to each variable appearing in this layer.
* includes:
* - formal parameters