![Logo](logo.png) |
User Guide
|
Base class for all AST node.
Concrete constant visitor for all AST classes.
VarUsageVisitor()=default
encapsulates code generation backend implementations
Check if variable is used in given block.
void visit_name(const ast::Name &node) override
rename matching variable
std::string var_name
variable to check usage
bool variable_used(const ast::Node &node, std::string name)
Concrete visitor for all AST classes.