#include <archon/util/lexer.H>
Inheritance diagram for Archon::Utilities::Lexer::Actor< C >:
Public Member Functions | |
int | registerMethod (void(C::*method)()) |
int | registerMethod (void(C::*method)(Lexeme &)) |
template<typename R> | |
int | registerMethod (R(C::*method)()) |
Classes | |
class | Method0 |
class | Method1 |
class | Method2 |
Methods need to be registered in an instance of this class before they can be used in lexer rules.
Each registered method yields an integer which is a handle for that method. This handle should be passed to one of the add methods in RuleSet. Further more a reference to the Actor instance must be passed to the Lexer constructor.
Definition at line 178 of file lexer.H.