wibble 1.1
|
#include <parse.test.h>
Public Member Functions | |
Token | remove () |
Lexer (IOStream &s) | |
![]() | |
void | shift () |
bool | eof () |
std::string | window (unsigned n) |
bool | ensure_window (unsigned n) |
void | consume (int n) |
void | consume (const std::string &s) |
void | consume (const Token &t) |
void | keep (typename Token::Id id, const std::string &data) |
bool | match (I begin, I end) |
void | match (const std::string &data, typename Token::Id id) |
void | match (Regexp &r, typename Token::Id id) |
void | match (int(*first)(int), int(*rest)(int), typename Token::Id id) |
void | match (const std::string &from, const std::string &to, typename Token::Id id) |
void | skipWhitespace () |
Token | decide () |
Lexer (IOStream &s) | |
Additional Inherited Members | |
![]() | |
typedef std::deque< char > | Window |
![]() | |
IOStream & | stream |
Window | _window |
Position | current |
Token | _match |
|
inline |
|
inline |