#include <automaton/nfa.h>
Definition at line 12 of file nfa.h.
◆ NFANode()
automaton::NFANode::NFANode |
( |
| ) |
|
|
default |
◆ add_transition()
void automaton::NFANode::add_transition |
( |
const NFANode * | to, |
|
|
std::uint16_t | c ) |
◆ for_transitions() [1/2]
template<class F >
void automaton::NFANode::for_transitions |
( |
F && | f | ) |
const |
|
inline |
Definition at line 27 of file nfa.h.
◆ for_transitions() [2/2]
template<class F >
void automaton::NFANode::for_transitions |
( |
F && | f, |
|
|
std::uint16_t | c ) const |
|
inline |
Definition at line 20 of file nfa.h.
◆ get_transitions()
std::vector< const NFANode * > automaton::NFANode::get_transitions |
( |
std::uint16_t | c | ) |
const |
◆ is_accepting()
bool automaton::NFANode::is_accepting |
( |
| ) |
const |
|
inline |
Definition at line 33 of file nfa.h.
◆ is_erroring()
bool automaton::NFANode::is_erroring |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 39 of file nfa.h.
◆ set_accepting()
void automaton::NFANode::set_accepting |
( |
bool | accepting | ) |
|
|
inline |
Definition at line 34 of file nfa.h.
◆ set_erroring()
void automaton::NFANode::set_erroring |
( |
bool | erroring | ) |
|
|
inlinenoexcept |
Definition at line 40 of file nfa.h.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const NFANode & | node ) |
|
friend |
The documentation for this class was generated from the following files: