Added support for switch statements in sequence diagrams
This commit is contained in:
@@ -100,6 +100,12 @@ std::string to_string(message_t r)
|
||||
return "catch";
|
||||
case message_t::kTryEnd:
|
||||
return "end try";
|
||||
case message_t::kSwitch:
|
||||
return "switch";
|
||||
case message_t::kCase:
|
||||
return "case";
|
||||
case message_t::kSwitchEnd:
|
||||
return "end switch";
|
||||
default:
|
||||
assert(false);
|
||||
return "";
|
||||
|
||||
@@ -56,6 +56,9 @@ enum class message_t {
|
||||
kTry,
|
||||
kCatch,
|
||||
kTryEnd,
|
||||
kSwitch,
|
||||
kCase,
|
||||
kSwitchEnd,
|
||||
kNone
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user