Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Data Structures | Static Public Member Functions
ext::Lexer< SuperLexer > Class Template Reference

#include <lexer.hpp>

Inheritance diagram for ext::Lexer< SuperLexer >:
[legend]
Collaboration diagram for ext::Lexer< SuperLexer >:
[legend]

Data Structures

struct  Token
 

Static Public Member Functions

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 Function Documentation

◆ peek()

template<typename SuperLexer >
static Token ext::Lexer< SuperLexer >::peek ( ext::istream input)
inlinestatic
Here is the call graph for this function:

◆ putback() [1/2]

template<typename SuperLexer >
void ext::BasicLexer::putback ( ext::istream input,
const std::string &  data 
)
static

◆ putback() [2/2]

template<typename SuperLexer >
static void ext::Lexer< SuperLexer >::putback ( ext::istream input,
const Token token 
)
inlinestatic
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 file: