#include <automaton/dfa.h>
Definition at line 11 of file dfa.h.
◆ DFANode()
automaton::DFANode::DFANode |
( |
| ) |
|
|
default |
◆ add_transition()
void automaton::DFANode::add_transition |
( |
const DFANode * | to, |
|
|
std::uint16_t | c ) |
◆ for_transitions() [1/2]
template<class F >
void automaton::DFANode::for_transitions |
( |
F && | f | ) |
const |
|
inline |
Definition at line 25 of file dfa.h.
◆ for_transitions() [2/2]
template<class F >
void automaton::DFANode::for_transitions |
( |
F && | f, |
|
|
std::uint16_t | c ) const |
|
inline |
Definition at line 19 of file dfa.h.
◆ get_transition()
const DFANode * automaton::DFANode::get_transition |
( |
std::uint16_t | c | ) |
const |
◆ is_accepting()
bool automaton::DFANode::is_accepting |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 30 of file dfa.h.
◆ is_erroring()
bool automaton::DFANode::is_erroring |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 36 of file dfa.h.
◆ set_accepting()
void automaton::DFANode::set_accepting |
( |
bool | accepting | ) |
|
|
inlinenoexcept |
Definition at line 31 of file dfa.h.
◆ set_erroring()
void automaton::DFANode::set_erroring |
( |
bool | erroring | ) |
|
|
inlinenoexcept |
Definition at line 37 of file dfa.h.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const DFANode & | node ) |
|
friend |
The documentation for this class was generated from the following files: