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

#include <RTEFromStringLexer.h>

Inheritance diagram for rte::RTEFromStringLexer:
[legend]
Collaboration diagram for rte::RTEFromStringLexer:
[legend]

Public Types

enum class  TokenType {
  LPAR , RPAR , PLUS , STAR ,
  DOT , COMMA , EMPTY , RANK ,
  TEOF , ERROR
}
 

Static Public Member Functions

static Token next (ext::istream &input)
 
- Static Public Member Functions inherited from ext::Lexer< RTEFromStringLexer >
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
LPAR 
RPAR 
PLUS 
STAR 
DOT 
COMMA 
EMPTY 
RANK 
TEOF 
ERROR 

Member Function Documentation

◆ next()

RTEFromStringLexer::Token rte::RTEFromStringLexer::next ( ext::istream input)
static
Here is the call graph for this function:

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