#include <archon/util/lexer.H>
Inheritance diagram for Archon::Utilities::LexerBase:
Public Member Functions | |
virtual | ~LexerBase () |
virtual void | getNext (Lexeme &l)=0 |
Extract the next lexeme from the input. | |
virtual ustring | getText () const =0 |
virtual int | getType () const =0 |
Classes | |
struct | InputException |
struct | Lexeme |
An abstract base class for lexers defining a lexeme object and a virtual method to fetch the next lexeme.
A lexer derived from LexerBase is required by LrParserBase for example.
Definition at line 50 of file lexer.H.
|
Extract the next lexeme from the input.
Implemented in Archon::Utilities::Regex::Lexer. |
|
Implemented in Archon::Utilities::Lexer, and Archon::Utilities::Regex::Lexer. |
|
Implemented in Archon::Utilities::Lexer, and Archon::Utilities::Regex::Lexer. |