Pre-processor to substitute macros and include directives.
Definition GLSLPreProcessor.hpp:21
bool onSubstituteStdMacro(const Token &identifierToken, TokenPtrString &tokenString) override
void parseDirectiveExtension()
GLSLPreProcessor(IncludeHandler &includeHandler, Log *log=nullptr)
void parseDirective(const String &directive, bool ignoreUnknown) override
bool verifyVersionNumber(const int *validVersions) const
bool onRedefineMacro(const Macro ¯o, const Macro &previousMacro) override
bool onDefineMacro(const Macro ¯o) override
Int32 mVersionNumber
Definition GLSLPreProcessor.hpp:24
void parseDirectiveVersion()
bool onUndefineMacro(const Macro ¯o) override
bool mVersionDefined
Definition GLSLPreProcessor.hpp:23
Interface for handling new include streams.
Definition IncludeHandler.hpp:21
Log base class.
Definition Log.hpp:19
Pre-processor to substitute macros and include directives.
Definition PreProcessor.hpp:38
std::int32_t Int32
Definition DataTypes.hpp:21
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition PreProcessor.hpp:41