hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <dfa.H>
Public Types | |
typedef std::pair< std::string, stateidx_t > | CtorJump |
typedef std::vector< CtorJump > | CtorJumps |
Public Member Functions | |
SwitchVariant (const std::string &, const CtorJumps &, stateidx_t) | |
const std::string & | switchVar () const |
const CtorJumps & | jumps () const |
stateidx_t | defaultState () const |
std::string | stamp () |
![]() | |
MStateCase () | |
![]() | |
int | case_id () const |
Static Public Attributes | |
static const int | type_case_id = 2 |
Private Attributes | |
std::string | var |
CtorJumps | jmps |
stateidx_t | def |
Additional Inherited Members | |
![]() | |
size_t | refs |
bool | isPrimMatchRoot |
PrimFArgs | primFArgs |
![]() | |
MState (int cid) | |
typedef std::pair<std::string, stateidx_t> hobbes::SwitchVariant::CtorJump |
typedef std::vector<CtorJump> hobbes::SwitchVariant::CtorJumps |
hobbes::SwitchVariant::SwitchVariant | ( | const std::string & | var, |
const CtorJumps & | jmps, | ||
stateidx_t | def | ||
) |
stateidx_t hobbes::SwitchVariant::defaultState | ( | ) | const |
const SwitchVariant::CtorJumps & hobbes::SwitchVariant::jumps | ( | ) | const |
|
virtual |
Implements hobbes::MState.
const std::string & hobbes::SwitchVariant::switchVar | ( | ) | const |
|
private |
|
private |
|
static |
|
private |