diff options
Diffstat (limited to 'src/diagram/IteratorStatement.cpp')
-rw-r--r-- | src/diagram/IteratorStatement.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/diagram/IteratorStatement.cpp b/src/diagram/IteratorStatement.cpp deleted file mode 100644 index 02a7318..0000000 --- a/src/diagram/IteratorStatement.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - * IteratorStatement.cpp - * - * Created on: Nov 28, 2017 - * Author: naopross - */ - -#include "IteratorStatement.hpp" - -using namespace samb; - -IteratorStatement::IteratorStatement(Statement::Type t, const std::string& condition, Statement::pointer next) - : Statement(t, condition, next), m_inner("") { - - switch (t) { - case Statement::Type::WHILE: - case Statement::Type::UNTIL: - break; - - default: - throw std::invalid_argument("IteratorStatement can only be of type WHILE or UNTIL"); - } -} |