teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
#include <lexer.h>
Public Member Functions | |
Lexer (const TokenDefs &t) | |
virtual | ~Lexer () |
virtual Token | next (Scanner *sc) |
Token | next (Scanner *sc, const std::unordered_set< uint32_t > &ignoreTypes) |
Token | next (Scanner *sc, uint32_t ignoreType) |
const char * | token2str (uint32_t tok) const |
Base lexing class for tokenizing the input stream
teditor::parser::Lexer::Lexer | ( | const TokenDefs & | t | ) |
|
virtual |
Token teditor::parser::Lexer::next | ( | Scanner * | sc, |
const std::unordered_set< uint32_t > & | ignoreTypes | ||
) |
const char * teditor::parser::Lexer::token2str | ( | uint32_t | tok | ) | const |