lestes::lang::cplus::syn::prefixer Class Reference

#include <prefixer.hh>

List of all members.

Public Types

enum  mode_type { PREFIX_OFF, PREFIX_ON }
typedef ::lestes::lang::cplus::lex::preprocessor preprocessor

Static Public Member Functions

static ptr< bison_tokenyylex ()
 handles user hints (prefixes): they are stored in the user_hint field of the returned token
static void init (mode_type, ptr< preprocessor >)
static mode_type mode_get ()

Static Protected Member Functions

static ptr< bison_tokeninternal_yylex ()
 used internally to actually call the lex scanner
static bison_token::hint_type prefix2hint (const ucn_string &)
 given ucn_string, returns corresponding hint; when the string is not a valid prefix, HINT_NONE is returned

Private Member Functions

 prefixer ()
 Do no allow instantiating this class.
 prefixer (const prefixer &)
 Hide copy-constructor.

Static Private Attributes

static mode_type mode
static ptr< preprocessorpp


Member Typedef Documentation

typedef ::lestes::lang::cplus::lex::preprocessor lestes::lang::cplus::syn::prefixer::preprocessor


Member Enumeration Documentation

enum lestes::lang::cplus::syn::prefixer::mode_type

Enumerator:
PREFIX_OFF 
PREFIX_ON 


Constructor & Destructor Documentation

lestes::lang::cplus::syn::prefixer::prefixer (  )  [private]

Do no allow instantiating this class.

lestes::lang::cplus::syn::prefixer::prefixer ( const prefixer  )  [private]

Hide copy-constructor.


Member Function Documentation

ptr< bison_token > lestes::lang::cplus::syn::prefixer::yylex (  )  [static]

handles user hints (prefixes): they are stored in the user_hint field of the returned token

void lestes::lang::cplus::syn::prefixer::init ( mode_type  ,
ptr< preprocessor  
) [static]

prefixer::mode_type lestes::lang::cplus::syn::prefixer::mode_get (  )  [static]

ptr< bison_token > lestes::lang::cplus::syn::prefixer::internal_yylex (  )  [static, protected]

used internally to actually call the lex scanner

bison_token::hint_type lestes::lang::cplus::syn::prefixer::prefix2hint ( const ucn_string &   )  [static, protected]

given ucn_string, returns corresponding hint; when the string is not a valid prefix, HINT_NONE is returned


Member Data Documentation

prefixer::mode_type lestes::lang::cplus::syn::prefixer::mode [static, private]

ptr< prefixer::preprocessor > lestes::lang::cplus::syn::prefixer::pp [static, private]


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:05 2007 for lestes by doxygen 1.5.1-20070107