#include "compiler/preprocessor/Preprocessor.h"
#include "common/debug.h"
#include "compiler/preprocessor/DiagnosticsBase.h"
#include "compiler/preprocessor/DirectiveParser.h"
#include "compiler/preprocessor/Macro.h"
#include "compiler/preprocessor/MacroExpander.h"
#include "compiler/preprocessor/Token.h"
#include "compiler/preprocessor/Tokenizer.h"
namespace angle
{
namespace pp
{
struct PreprocessorImpl
{ … };
Preprocessor::Preprocessor(Diagnostics *diagnostics,
DirectiveHandler *directiveHandler,
const PreprocessorSettings &settings)
{ … }
Preprocessor::~Preprocessor()
{ … }
bool Preprocessor::init(size_t count, const char *const string[], const int length[])
{ … }
void Preprocessor::predefineMacro(const char *name, int value)
{ … }
void Preprocessor::lex(Token *token)
{ … }
void Preprocessor::setMaxTokenSize(size_t maxTokenSize)
{ … }
}
}