diff options
Diffstat (limited to 'c_compiler/include/primitives.hpp')
-rw-r--r-- | c_compiler/include/primitives.hpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/c_compiler/include/primitives.hpp b/c_compiler/include/primitives.hpp deleted file mode 100644 index d433072..0000000 --- a/c_compiler/include/primitives.hpp +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef PRIMITIVES_HPP -#define PRIMITIVES_HPP - -#include "ast.hpp" - -#include <cstdint> - - -class ParamList : public BaseList { -public: - ParamList(); - ParamList(const Base* _param); -}; - - -class Declarator : public BasePrimitive { -public: - Declarator(const std::string& _id); - - virtual void printxml() const; -}; - - -class Parameter : public BasePrimitive { -public: - Parameter(const std::string& _id); - - virtual void printxml() const; -}; - -class Immediate : public BasePrimitive { -protected: - int32_t imm; -public: - Immediate(const int32_t& _imm); - - virtual void printasm() const override; -}; - - -#endif |