Classes | |
struct | state |
struct | transition |
Public Types | |
typedef void(T::* | action )(char c) |
Public Member Functions | |
automat (T *output) | |
void | add_transition (const char *src, const char *dest, const string in, action act=0) |
void | reset () |
void | process (char c) |
bool | is_end () |
bool | is_error () |
bool | is_eof () |
void | read_from (istream &in) |