aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/declaration.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-06 21:04:01 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-06 21:04:01 +0000
commit30f7753bb64ad95750dbd6bce9b7ab3c077b92aa (patch)
treeded96a4f3d2b934b1b769c4e2bc21b0638519346 /c_compiler/include/declaration.hpp
parentfdd6ff07cee824078c5315bf07926ee15bbdde85 (diff)
downloadCompiler-30f7753bb64ad95750dbd6bce9b7ab3c077b92aa.tar.gz
Compiler-30f7753bb64ad95750dbd6bce9b7ab3c077b92aa.zip
Made good progress
Diffstat (limited to 'c_compiler/include/declaration.hpp')
-rw-r--r--c_compiler/include/declaration.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/c_compiler/include/declaration.hpp b/c_compiler/include/declaration.hpp
index 9287827..c46aca2 100644
--- a/c_compiler/include/declaration.hpp
+++ b/c_compiler/include/declaration.hpp
@@ -23,9 +23,12 @@ public:
void addDeclaration(Declaration* _next_decl);
void addList(Declaration* _next_decl);
+ void setType(Type* _type);
+
Declaration* getNext() const;
Declaration* getNextListItem() const;
std::string getId() const;
+ std::string getType() const;
};
#endif