20 const auto&
name =
node.get_node_name();
29 node.visit_children(*
this);
Base class for all AST node.
bool variable_used(const ast::Node &node, std::string name)
std::string var_name
variable to check usage
void visit_name(const ast::Name &node) override
rename matching variable
void move(Item *q1, Item *q2, Item *q3)
Auto generated AST classes declaration.
encapsulates code generation backend implementations
static Node * node(Object *)
Check if variable is used in given block.