Added support for try/catch statements in sequence diagrams

This commit is contained in:
Bartek Kryza
2022-12-13 00:29:52 +01:00
parent 91a9aa861d
commit 3020ffd69f
14 changed files with 260 additions and 9 deletions

View File

@@ -85,6 +85,9 @@ public:
void end_if_stmt(common::model::diagram_element::id_t current_caller_id,
common::model::message_t type);
void add_try_stmt(common::model::diagram_element::id_t current_caller_id);
void end_try_stmt(common::model::diagram_element::id_t current_caller_id);
void add_loop_stmt(common::model::diagram_element::id_t current_caller_id,
common::model::message_t type);
void end_loop_stmt(common::model::diagram_element::id_t current_caller_id,
@@ -119,6 +122,10 @@ public:
const std::set<common::model::diagram_element::id_t> &
active_participants() const;
void add_catch_stmt(
const common::model::diagram_element::id_t current_caller_id,
std::string caught_type);
private:
bool started_{false};