61 const std::string &full_name)
const override;
70 eid_t id)
const override;
173 const std::map<eid_t, activity> &
sequences()
const;
180 std::map<eid_t, std::unique_ptr<participant>> &
participants();
187 const std::map<eid_t, std::unique_ptr<participant>> &
participants()
const;
212 std::string
to_alias(
const std::string &full_name)
const;
219 inja::json
context()
const override;
261 eid_t from_activity,
eid_t to_activity)
const;
323 std::vector<message> ¤t_messages)
const;
328 static std::set<message_t> block_begin_types{message_t::kIf,
329 message_t::kWhile, message_t::kDo, message_t::kFor, message_t::kTry,
330 message_t::kSwitch, message_t::kConditional};
332 return block_begin_types.count(mt) > 0;
338 static std::set<message_t> block_end_types{message_t::kIfEnd,
339 message_t::kWhileEnd, message_t::kDoEnd, message_t::kForEnd,
340 message_t::kTryEnd, message_t::kSwitchEnd,
341 message_t::kConditionalEnd};
343 return block_end_types.count(mt) > 0;