Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <TreeFromStringLexer.h>
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 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 |