Ver Fonte

mangler

Nicolas Winkler há 6 anos atrás
pai
commit
a5435e2d0d
2 ficheiros alterados com 38 adições e 0 exclusões
  1. 13 0
      src/Mangling.cpp
  2. 25 0
      src/Mangling.h

+ 13 - 0
src/Mangling.cpp

@@ -0,0 +1,13 @@
+#include "Mangling.h"
+#include "sem/Semanic.h"
+
+using qlow::Mangler;
+
+
+std::string Mangler::mangle(const qlow::sem::Method& method)
+{
+    method.
+}
+
+
+

+ 25 - 0
src/Mangling.h

@@ -0,0 +1,25 @@
+#ifndef QLOW_MANGLING_H_
+#define QLOW_MANGLING_H_
+
+#include <string>
+
+namespace qlow
+{
+    class Mangler;
+    
+    namespace sem
+    {
+        struct Method;
+    }
+}
+
+
+class qlow::Mangler
+{
+public:
+    Mangler(void) = default;
+    
+    std::string mangle(const sem::Method& method);
+};
+
+#endif // QLOW_MANGLING_H_