Puma Reference Manual | Puma::PreParserState Class Reference |
#include <PreParserState.h>
Public Member Functions | |
PreParserState () | |
~PreParserState () | |
bool | checkMacroName (PreMacro *) |
PreMacro * | checkPredefined (PreMacro *, TokenStream *, PreMacroManager &) |
bool | isSelfReferentialMacro (PreMacro *, Array< PreMacro * > &) |
void | putMacroOnStack (Array< PreMacro * > &, PreMacro *, int stream_len) |
void | removeMacroFromStack (Array< PreMacro * > ¯oStack, const char *name) |
void | updateMacroStack (Array< PreMacro * > ¯oStack, int stream_len) |
int | getIncludeLevel (TokenStream *stream) |
bool | inMacroExpansion (Array< PreMacro * > ¯oStack) |
Public Attributes | |
int | maxIncludeDepth |
bool | noFILE |
bool | noLINE |
bool | noDATE |
bool | noTIME |
bool | noINCLUDE_LEVEL |
bool | syntaxError |
bool | errorDirective |
bool | passOnToken |
bool | forcedIncludes |
bool | parseMacroArgs |
Token * | sl_token |
Token * | currToken |
Token * | lastToken |
int | currType |
int | lastType |
void * | pParser |
ErrorStream * | err |
PreTree * | syntaxTree |
Token * | newline |
Puma::PreParserState::~PreParserState | ( | ) | [inline] |
bool Puma::PreParserState::checkMacroName | ( | PreMacro * | ) |
int Puma::PreParserState::getIncludeLevel | ( | TokenStream * | stream | ) |
bool Puma::PreParserState::inMacroExpansion | ( | Array< PreMacro * > & | macroStack | ) |
bool Puma::PreParserState::isSelfReferentialMacro | ( | PreMacro * | , |
Array< PreMacro * > & | |||
) |
void Puma::PreParserState::putMacroOnStack | ( | Array< PreMacro * > & | , |
PreMacro * | , | ||
int | stream_len | ||
) |
void Puma::PreParserState::removeMacroFromStack | ( | Array< PreMacro * > & | macroStack, |
const char * | name | ||
) |
void Puma::PreParserState::updateMacroStack | ( | Array< PreMacro * > & | macroStack, |
int | stream_len | ||
) |