Added highlight of calls within condition statements of if/else blocks

This commit is contained in:
Bartek Kryza
2022-12-12 21:15:05 +01:00
parent b2396d7b44
commit d7c13edbf9
10 changed files with 93 additions and 9 deletions
+7
View File
@@ -50,4 +50,11 @@ void message::set_return_type(std::string t) { return_type_ = std::move(t); }
const std::string &message::return_type() const { return return_type_; }
void message::set_message_scope(common::model::message_scope_t scope)
{
scope_ = scope;
}
common::model::message_scope_t message::message_scope() const { return scope_; }
}
+6
View File
@@ -47,6 +47,9 @@ public:
void set_return_type(std::string t);
const std::string &return_type() const;
void set_message_scope(common::model::message_scope_t scope);
common::model::message_scope_t message_scope() const;
private:
common::model::message_t type_{common::model::message_t::kNone};
@@ -54,6 +57,9 @@ private:
common::model::diagram_element::id_t to_{};
common::model::message_scope_t scope_{
common::model::message_scope_t::kNormal};
// This is only for better verbose messages, we cannot rely on this
// always
std::string message_name_{};