Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Types | Static Public Member Functions
automaton::AutomatonFromStringLexer Class Reference

#include <AutomatonFromStringLexer.h>

Inheritance diagram for automaton::AutomatonFromStringLexer:
[legend]
Collaboration diagram for automaton::AutomatonFromStringLexer:
[legend]

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 Public Member Functions inherited from ext::Lexer< AutomatonFromStringLexer >
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 Public Member Functions inherited from ext::BasicLexer
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)
 

Member Enumeration Documentation

◆ TokenType

Enumerator
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 

Member Function Documentation

◆ next()

AutomatonFromStringLexer::Token automaton::AutomatonFromStringLexer::next ( ext::istream input)
static
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: