PUMA Library Reference Manual
|
#include <CScanner.h>
Public Member Functions | |
CScanner (ErrorSink &error_stream) | |
virtual | ~CScanner () |
void | configure (const Config &) |
void | lexer (CLexer &lexer) |
void | fill_unit (Source &in, Unit &unit) |
Fill a unit from the given source. | |
void | fill_unit (const char *in, Unit &unit) |
void | allow_directives (bool flag=true) |
void | allow_wildcards (bool flag=true) |
void | allow_macro_ops (bool flag=true) |
void | allow_std_c (bool flag=true) |
void | allow_std_cplusplus (bool flag=true) |
void | allow_gnu_c (bool flag=true) |
void | allow_gnu_cplusplus (bool flag=true) |
void | allow_visual_c (bool flag=true) |
void | allow_visual_cplusplus (bool flag=true) |
void | allow_type_traits (bool flag=true) |
void | allow_cc1x (bool flag=true) |
Public Member Functions inherited from Puma::Tokenizer | |
virtual | ~Tokenizer () |
Destructor. | |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Puma::CScanner::configure | ( | const Config & | ) |
void Puma::CScanner::fill_unit | ( | const char * | in, |
Unit & | unit ) |
Fill a unit from the given source.
in | The input source. |
unit | The output unit. |
Implements Puma::Tokenizer.
void Puma::CScanner::lexer | ( | CLexer & | lexer | ) |