Add types for leaves

Change-Id: Ibea2945920e523d2f3439eed2c12a5d719d178f1
diff --git a/src/ast_commands.cpp b/src/ast_commands.cpp
index a8b481d..9ef9044 100644
--- a/src/ast_commands.cpp
+++ b/src/ast_commands.cpp
@@ -7,6 +7,12 @@
 */
 #include "ast_commands.hpp"
 
+enum_::enum_() = default;
+
+enum_::enum_(const std::string& value)
+    : m_value(value)
+{
+}
 
 bool set_::operator==(const set_& b) const
 {
@@ -18,6 +24,11 @@
     return this->m_path == b.m_path;
 }
 
+bool enum_::operator==(const enum_& b) const
+{
+    return this->m_value == b.m_value;
+}
+
 bool create_::operator==(const create_& b) const
 {
     return this->m_path == b.m_path;