Archon::Utilities::Lexer::Actor< C > Class Template Reference

A object in which context methods may be registered. More...

#include <archon/util/lexer.H>

Inheritance diagram for Archon::Utilities::Lexer::Actor< C >:

Inheritance graph
[legend]
Collaboration diagram for Archon::Utilities::Lexer::Actor< C >:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

template<class C>
class Archon::Utilities::Lexer::Actor< C >

A object in which context methods may be registered.

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.


The documentation for this class was generated from the following file:
Generated on Sun Jul 30 22:57:32 2006 for Archon by  doxygen 1.4.4