xo-expression: + Lambda::captured_var_set; assigned in ctor
This commit is contained in:
parent
8cf89f5eef
commit
cdb4dd8427
2 changed files with 39 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue