All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pp::Preprocessor Class Reference

#include <Preprocessor.h>

Public Member Functions

 Preprocessor (Diagnostics *diagnostics, DirectiveHandler *directiveHandler)
 ~Preprocessor ()
bool init (size_t count, const char *const string[], const int length[])
void lex (Token *token)
void predefineMacro (const char *name, int value)

Detailed Description

Definition at line 22 of file Preprocessor.h.

Constructor & Destructor Documentation

pp::Preprocessor::Preprocessor ( Diagnostics diagnostics,
DirectiveHandler directiveHandler 

Definition at line 40 of file Preprocessor.cpp.

pp::Preprocessor::~Preprocessor ( )

Definition at line 46 of file Preprocessor.cpp.

Member Function Documentation

bool pp::Preprocessor::init ( size_t  count,
const char *const  string[],
const int  length[] 

Definition at line 51 of file Preprocessor.cpp.

References predefineMacro().

Referenced by glslang_scan().

void pp::Preprocessor::predefineMacro ( const char *  name,
int  value 

The documentation for this class was generated from the following files: