PUMA Library Reference Manual
Puma::CLexer Class Reference

#include <CLexer.h>

+ Inheritance diagram for Puma::CLexer:

Classes

class  State
 

Public Types

typedef lexertl::rules::id_type IdType
 

Public Member Functions

virtual ~CLexer ()
 
virtual void add_rules (lexertl::rules &rules)
 
virtual void add_keywords (lexertl::rules &rules)
 
virtual void add_c89_keywords (lexertl::rules &rules)
 
virtual void add_c99_keywords (lexertl::rules &rules)
 
- Public Member Functions inherited from Puma::Lexer
virtual ~Lexer ()
 

Static Public Member Functions

static CLexerinstance (unsigned int id)
 

Friends

class State
 

Additional Inherited Members

- Protected Member Functions inherited from Puma::Lexer
void setup (unsigned int config)
 
- Static Protected Member Functions inherited from Puma::Lexer
template<class L >
static L & instance (unsigned int id)
 
- Protected Attributes inherited from Puma::Lexer
unsigned int _config_mask
 
lexertl::state_machine _state_machine
 

Member Typedef Documentation

◆ IdType

typedef lexertl::rules::id_type Puma::CLexer::IdType

Constructor & Destructor Documentation

◆ ~CLexer()

virtual Puma::CLexer::~CLexer ( )
inlinevirtual

Member Function Documentation

◆ add_c89_keywords()

virtual void Puma::CLexer::add_c89_keywords ( lexertl::rules &  rules)
virtual

◆ add_c99_keywords()

virtual void Puma::CLexer::add_c99_keywords ( lexertl::rules &  rules)
virtual

◆ add_keywords()

virtual void Puma::CLexer::add_keywords ( lexertl::rules &  rules)
virtual

Reimplemented from Puma::Lexer.

Reimplemented in Puma::CCLexer.

◆ add_rules()

virtual void Puma::CLexer::add_rules ( lexertl::rules &  rules)
virtual

Reimplemented from Puma::Lexer.

◆ instance()

static CLexer& Puma::CLexer::instance ( unsigned int  id)
inlinestatic

Friends And Related Function Documentation

◆ State

friend class State
friend