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

#include <TreeFromStringLexer.h>

Inheritance diagram for tree::TreeFromStringLexer:
[legend]
Collaboration diagram for tree::TreeFromStringLexer:
[legend]

Public Types

enum class  TokenType {
  RANKED_TREE , RANKED_PATTERN , RANKED_EXTENDED_PATTERN , RANKED_NONLINEAR_PATTERN ,
  UNRANKED_TREE , UNRANKED_PATTERN , UNRANKED_EXTENDED_PATTERN , UNRANKED_NONLINEAR_PATTERN ,
  BAR , RANK , SUBTREE_WILDCARD , NODE_WILDCARD ,
  SUBTREE_GAP , NONLINEAR_VARIABLE , TEOF , ERROR
}
 

Static Public Member Functions

static Token next (ext::istream &input)
 
- Static Public Member Functions inherited from ext::Lexer< TreeFromStringLexer >
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
RANKED_TREE 
RANKED_PATTERN 
RANKED_EXTENDED_PATTERN 
RANKED_NONLINEAR_PATTERN 
UNRANKED_TREE 
UNRANKED_PATTERN 
UNRANKED_EXTENDED_PATTERN 
UNRANKED_NONLINEAR_PATTERN 
BAR 
RANK 
SUBTREE_WILDCARD 
NODE_WILDCARD 
SUBTREE_GAP 
NONLINEAR_VARIABLE 
TEOF 
ERROR 

Member Function Documentation

◆ next()

TreeFromStringLexer::Token tree::TreeFromStringLexer::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: