Make some refactors for name mangling and encapsulation.
This commit is contained in:
9
code/compiler/13/mangler.hpp
Normal file
9
code/compiler/13/mangler.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
struct mangler {
|
||||
std::map<std::string, int> occurence_count;
|
||||
|
||||
std::string new_mangled_name(const std::string& str);
|
||||
};
|
||||
Reference in New Issue
Block a user