![Logo](logo.png) |
User Guide
|
Go to the documentation of this file.
11 auto parameter_names = std::vector<std::string>{};
13 for (
const auto& parameter: parameters) {
14 parameter_names.push_back(parameter->get_node_name());
17 for (
const auto& parameter_name: parameter_names) {
18 auto v =
RenameVisitor(parameter_name,
"_l" + parameter_name);
void visit_procedure_block(ast::ProcedureBlock &block) override
visit node of type ast::ProcedureBlock
encapsulates code generation backend implementations
Base class for all block scoped nodes.
Blindly rename given variable to new name
void rename_arguments(Block &block) const
void visit_function_block(ast::FunctionBlock &block) override
visit node of type ast::FunctionBlock
Blindly rename given variable to new name
virtual const ArgumentVector & get_parameters() const
void accept(visitor::Visitor &v) override
accept (or visit) the current AST node using provided visitor