...
 
Commits (2)
......@@ -134,6 +134,12 @@ public:
*/
auto add_transition(const wchar_t label, StatePtr state) -> void;
/** @brief Returns transition map for current state
*
* @return TransitionMap
*/
auto get_transitions() -> auto;
/** @brief Defines if the current state is final or not
*/
bool is_final;
......@@ -186,4 +192,8 @@ auto State::add_transition(const wchar_t label, StatePtr state) -> void {
this->transitions[label] = state;
}
auto State::get_transitions() -> auto {
return this->transitions;
}
#endif