Add `switch` command

Change-Id: I5db53925f1710e29b49398621e6b634889f1df15
diff --git a/src/ast_commands.cpp b/src/ast_commands.cpp
index fa2b56c..74aefd5 100644
--- a/src/ast_commands.cpp
+++ b/src/ast_commands.cpp
@@ -56,3 +56,8 @@
 {
     return this->m_path == other.m_path;
 }
+
+bool switch_::operator==(const switch_& other) const
+{
+    return this->m_target == other.m_target;
+}