PUMA Library Reference Manual
Puma::Lexer Class Reference

#include <Lexer.h>

+ Inheritance diagram for Puma::Lexer:

Public Member Functions

virtual ~Lexer ()
 
virtual void add_rules (lexertl::rules &rules)
 
virtual void add_keywords (lexertl::rules &rules)
 

Protected Member Functions

void setup (unsigned int config)
 

Static Protected Member Functions

template<class L >
static L & instance (unsigned int id)
 

Protected Attributes

unsigned int _config_mask
 
lexertl::state_machine _state_machine
 

Constructor & Destructor Documentation

virtual Puma::Lexer::~Lexer ( )
inlinevirtual

Member Function Documentation

virtual void Puma::Lexer::add_keywords ( lexertl::rules &  rules)
inlinevirtual

Reimplemented in Puma::CLexer, and Puma::CCLexer.

virtual void Puma::Lexer::add_rules ( lexertl::rules &  rules)
inlinevirtual

Reimplemented in Puma::CLexer.

template<class L >
static L& Puma::Lexer::instance ( unsigned int  id)
inlinestaticprotected
void Puma::Lexer::setup ( unsigned int  config)
inlineprotected

Member Data Documentation

unsigned int Puma::Lexer::_config_mask
protected
lexertl::state_machine Puma::Lexer::_state_machine
protected