Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <AutomatonFromStringLexer.h>
Public Types | |
enum class | TokenType { EPSILON_NFA , MULTI_INITIAL_STATE_NFA , MULTI_INITIAL_STATE_EPSILON_NFA , NFA , DFA , NFTA , DFTA , OUT , IN , EPSILON , SEPARATOR , LEFT_BRACKET , RIGHT_BRACKET , NONE , COMMA , NEW_LINE , RANK , TEOF , ERROR } |
Static Public Member Functions | |
static Token | next (ext::istream &input) |
![]() | |
static Token | peek (ext::istream &input) |
static void | putback (ext::istream &input, const Token &token) |
static void | putback (ext::istream &input, const std::string &data) |
![]() | |
static void | putback (ext::istream &input, const std::string &data) |
static bool | test (ext::istream &input, const std::string &value) |
static void | consume (ext::istream &input, const std::string &value) |
static bool | testAndConsume (ext::istream &input, const std::string &value) |
|
strong |
|
static |