diff options
Diffstat (limited to 'source/CodegenCompiler/CodegenInput.hpp')
-rw-r--r-- | source/CodegenCompiler/CodegenInput.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source/CodegenCompiler/CodegenInput.hpp b/source/CodegenCompiler/CodegenInput.hpp deleted file mode 100644 index 63c2673..0000000 --- a/source/CodegenCompiler/CodegenInput.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include "CodegenConfig.hpp" -#include "CodegenDecl.hpp" -#include "CodegenUtils.hpp" - -#include <cinttypes> -#include <string> -#include <string_view> - -using namespace std::literals; - -class CodegenInput { -private: - class Private; - Private* m; - -public: - CodegenInput(); - ~CodegenInput(); - - DeclEnum* AddEnum(std::string fullname, DeclEnum decl); - DeclStruct* AddStruct(std::string fullname, DeclStruct decl); - - const DeclEnum* FindEnum(std::string_view name) const; - const DeclStruct* FindStruct(std::string_view name) const; - - DeclNamespace* AddNamespace(DeclNamespace ns); - - const DeclNamespace* FindNamespace(std::string_view fullname) const; - DeclNamespace* FindNamespace(std::string_view name); -}; |