A DFA description of a TESLA assertion.
Objects of this type are guaranteed to be realisable.
Definition at line 168 of file Automaton.h.
#include "Automaton.h"
Public Member Functions | |
bool | IsRealisable () const |
![]() | |
virtual | ~Automaton () |
size_t | ID () const |
const AutomatonDescription & | getAssertion () const |
const Usage * | Use () const |
size_t | StateCount () const |
size_t | TransitionCount () const |
std::string | Name () const |
Short, unique name. More... | |
std::string | String () const |
Human-readable representation. More... | |
std::string | Dot () const |
GraphViz representation. More... | |
TransitionSets::const_iterator | begin () const |
Iterate over state transitions. More... | |
TransitionSets::const_iterator | end () const |
Static Public Member Functions | |
static DFA * | Convert (const NFA *) |
Friends | |
class | internal::DFABuilder |
Additional Inherited Members | |
![]() | |
enum | Type { Unlinked, Linked, Deterministic } |
Automata representations, in increasing order of realisability. More... | |
typedef llvm::SmallVector < State *, 10 > | StateVector |
![]() | |
Automaton (size_t id, const AutomatonDescription &, const Usage *, llvm::StringRef Name, llvm::ArrayRef< State * >, const TransitionSets &) | |
![]() | |
const size_t | id |
const AutomatonDescription & | assertion |
Automaton states. More... | |
const Usage * | use |
How the automaton is used. More... | |
const std::string | name |
StateVector | States |
TransitionSets | Transitions |
Definition at line 857 of file Automaton.cpp.
References tesla::internal::DFABuilder::ConstructDFA().
|
inlinevirtual |
Reimplemented from tesla::Automaton.
Definition at line 173 of file Automaton.h.
|
friend |
Definition at line 169 of file Automaton.h.