Collect free variables from nest expr/stmt/block/...
More...
#include <FV.h>
Collect free variables from nest expr/stmt/block/...
Definition at line 32 of file FV.h.
◆ in()
std::set< VarID > nest::FV::in |
( |
const Expr & |
expr | ) |
|
|
static |
Definition at line 65 of file FV.cpp.
66{
67 std::set<VarID> res;
68
69 Collector collector{res};
70 expr->accept(collector);
71
72 return res;
73}
The documentation for this struct was generated from the following files:
- compiler/nest/core/include/nest/FV.h
- compiler/nest/core/src/FV.cpp