PUMA Library Reference Manual
Puma::CCLexer Class Reference

#include <CCLexer.h>

+ Inheritance diagram for Puma::CCLexer:

Public Member Functions

virtual void add_keywords (lexertl::rules &rules)
 
- Public Member Functions inherited from Puma::CLexer
virtual ~CLexer ()
 
virtual void add_rules (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 CCLexerinstance (unsigned int id)
 
- Static Public Member Functions inherited from Puma::CLexer
static CLexerinstance (unsigned int id)
 

Additional Inherited Members

- Public Types inherited from Puma::CLexer
typedef lexertl::rules::id_type IdType
 
- 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 Function Documentation

◆ add_keywords()

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

Reimplemented from Puma::CLexer.

◆ instance()

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