#include <PpContext.h>
|
| TPpContext (TPpContext &) |
|
TPpContext & | operator= (TPpContext &) |
|
int | scanToken (TPpToken *ppToken) |
|
int | getChar () |
|
void | ungetChar () |
|
bool | peekPasting () |
|
bool | endOfReplacementList () |
|
bool | isMacroInput () |
|
int | CPPdefine (TPpToken *ppToken) |
|
int | CPPundef (TPpToken *ppToken) |
|
int | CPPelse (int matchelse, TPpToken *ppToken) |
|
int | extraTokenCheck (int atom, TPpToken *ppToken, int token) |
|
int | eval (int token, int precedence, bool shortCircuit, int &res, bool &err, TPpToken *ppToken) |
|
int | evalToToken (int token, bool shortCircuit, int &res, bool &err, TPpToken *ppToken) |
|
int | CPPif (TPpToken *ppToken) |
|
int | CPPifdef (int defined, TPpToken *ppToken) |
|
int | CPPinclude (TPpToken *ppToken) |
|
int | CPPline (TPpToken *ppToken) |
|
int | CPPerror (TPpToken *ppToken) |
|
int | CPPpragma (TPpToken *ppToken) |
|
int | CPPversion (TPpToken *ppToken) |
|
int | CPPextension (TPpToken *ppToken) |
|
int | readCPPline (TPpToken *ppToken) |
|
int | scanHeaderName (TPpToken *ppToken, char delimit) |
|
TokenStream * | PrescanMacroArg (TokenStream &, TPpToken *, bool newLineOkay) |
|
int | MacroExpand (TPpToken *ppToken, bool expandUndef, bool newLineOkay) |
|
void | pushTokenStreamInput (TokenStream &, bool pasting=false) |
|
void | UngetToken (int token, TPpToken *) |
|
int | ScanFromString (char *s) |
|
void | missingEndifCheck () |
|
int | lFloatConst (int len, int ch, TPpToken *ppToken) |
|
int | characterLiteral (TPpToken *ppToken) |
|
void | push_include (TShader::Includer::IncludeResult *result) |
|
void | pop_include () |
|
◆ TSymbolMap
◆ TPpContext() [1/2]
◆ ~TPpContext()
glslang::TPpContext::~TPpContext |
( |
| ) |
|
|
virtual |
◆ TPpContext() [2/2]
◆ addMacroDef()
◆ characterLiteral()
int glslang::TPpContext::characterLiteral |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPdefine()
int glslang::TPpContext::CPPdefine |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPelse()
int glslang::TPpContext::CPPelse |
( |
int |
matchelse, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ CPPerror()
int glslang::TPpContext::CPPerror |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPextension()
int glslang::TPpContext::CPPextension |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPif()
int glslang::TPpContext::CPPif |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPifdef()
int glslang::TPpContext::CPPifdef |
( |
int |
defined, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ CPPinclude()
int glslang::TPpContext::CPPinclude |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPline()
int glslang::TPpContext::CPPline |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPpragma()
int glslang::TPpContext::CPPpragma |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPundef()
int glslang::TPpContext::CPPundef |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ CPPversion()
int glslang::TPpContext::CPPversion |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ endOfReplacementList()
bool glslang::TPpContext::endOfReplacementList |
( |
| ) |
|
|
inlineprotected |
◆ eval()
int glslang::TPpContext::eval |
( |
int |
token, |
|
|
int |
precedence, |
|
|
bool |
shortCircuit, |
|
|
int & |
res, |
|
|
bool & |
err, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ evalToToken()
int glslang::TPpContext::evalToToken |
( |
int |
token, |
|
|
bool |
shortCircuit, |
|
|
int & |
res, |
|
|
bool & |
err, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ extraTokenCheck()
int glslang::TPpContext::extraTokenCheck |
( |
int |
atom, |
|
|
TPpToken * |
ppToken, |
|
|
int |
token |
|
) |
| |
|
protected |
◆ getChar()
int glslang::TPpContext::getChar |
( |
| ) |
|
|
inlineprotected |
◆ isMacroInput()
bool glslang::TPpContext::isMacroInput |
( |
| ) |
|
|
inlineprotected |
◆ lFloatConst()
int glslang::TPpContext::lFloatConst |
( |
int |
len, |
|
|
int |
ch, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ lookupMacroDef()
MacroSymbol* glslang::TPpContext::lookupMacroDef |
( |
int |
atom | ) |
|
|
inline |
◆ MacroExpand()
int glslang::TPpContext::MacroExpand |
( |
TPpToken * |
ppToken, |
|
|
bool |
expandUndef, |
|
|
bool |
newLineOkay |
|
) |
| |
|
protected |
◆ missingEndifCheck()
void glslang::TPpContext::missingEndifCheck |
( |
| ) |
|
|
protected |
◆ operator=()
◆ peekPasting()
bool glslang::TPpContext::peekPasting |
( |
| ) |
|
|
inlineprotected |
◆ pop_include()
void glslang::TPpContext::pop_include |
( |
| ) |
|
|
inlineprotected |
◆ popInput()
void glslang::TPpContext::popInput |
( |
| ) |
|
|
inline |
◆ PrescanMacroArg()
◆ push_include()
◆ pushInput()
void glslang::TPpContext::pushInput |
( |
tInput * |
in | ) |
|
|
inline |
◆ pushTokenStreamInput()
◆ readCPPline()
int glslang::TPpContext::readCPPline |
( |
TPpToken * |
ppToken | ) |
|
|
protected |
◆ ScanFromString()
int glslang::TPpContext::ScanFromString |
( |
char * |
s | ) |
|
|
protected |
◆ scanHeaderName()
int glslang::TPpContext::scanHeaderName |
( |
TPpToken * |
ppToken, |
|
|
char |
delimit |
|
) |
| |
|
protected |
◆ scanToken()
int glslang::TPpContext::scanToken |
( |
TPpToken * |
ppToken | ) |
|
|
inlineprotected |
◆ setInput()
◆ setPreamble()
void glslang::TPpContext::setPreamble |
( |
const char * |
preamble, |
|
|
size_t |
length |
|
) |
| |
◆ tokenize()
int glslang::TPpContext::tokenize |
( |
TPpToken & |
ppToken | ) |
|
◆ tokenPaste()
int glslang::TPpContext::tokenPaste |
( |
int |
token, |
|
|
TPpToken & |
ppToken |
|
) |
| |
◆ ungetChar()
void glslang::TPpContext::ungetChar |
( |
| ) |
|
|
inlineprotected |
◆ UngetToken()
void glslang::TPpContext::UngetToken |
( |
int |
token, |
|
|
TPpToken * |
ppToken |
|
) |
| |
|
protected |
◆ _parseContext
◆ atomStrings
◆ currentSourceFile
◆ currentString
int glslang::TPpContext::currentString |
|
protected |
◆ elseSeen
◆ elsetracker
int glslang::TPpContext::elsetracker |
|
protected |
◆ errorOnVersion
bool glslang::TPpContext::errorOnVersion |
|
protected |
◆ ifdepth
int glslang::TPpContext::ifdepth |
|
protected |
◆ includer
◆ includeStack
◆ inComment
bool glslang::TPpContext::inComment |
|
protected |
◆ inputStack
std::vector<tInput*> glslang::TPpContext::inputStack |
|
protected |
◆ lengths
size_t* glslang::TPpContext::lengths |
|
protected |
◆ macroDefs
◆ maxIfNesting
const int glslang::TPpContext::maxIfNesting = 65 |
|
staticprotected |
◆ numStrings
int glslang::TPpContext::numStrings |
|
protected |
◆ preamble
char* glslang::TPpContext::preamble |
|
protected |
◆ preambleLength
int glslang::TPpContext::preambleLength |
|
protected |
◆ previous_token
int glslang::TPpContext::previous_token |
|
protected |
◆ rootFileName
◆ strings
char** glslang::TPpContext::strings |
|
protected |
◆ strtodStream
std::istringstream glslang::TPpContext::strtodStream |
|
protected |
◆ versionSeen
bool glslang::TPpContext::versionSeen |
|
protected |
The documentation for this class was generated from the following files:
- deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpContext.h
- deps/glslang/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp
- deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp
- deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
- deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp