Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
TokenData Class Reference

Classes

union  Data
 

Public Member Functions

 TokenData (Token token, const std::filesystem::path &path, uint32_t line, uint32_t column) noexcept
 
 TokenData (Token token, Data data, const std::filesystem::path &path, uint32_t line, uint32_t column) noexcept
 
 TokenData (const TokenData &other) noexcept
 
 TokenData (TokenData &&other) noexcept
 

Static Public Member Functions

static TokenData CommentMultiLine (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData Comment (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData Identifier (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData String (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData Boolean (bool boolean, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData Number (float number, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData ShaderGlsl (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData ShaderHlsl (std::string_view string, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData GeometryTypeValue (Grindstone::GraphicsAPI::GeometryType mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData FillModeValue (Grindstone::GraphicsAPI::PolygonFillMode mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData CullModeValue (Grindstone::GraphicsAPI::CullMode mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData CompareOperationValue (Grindstone::GraphicsAPI::CompareOperation mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData BlendOperationValue (Grindstone::GraphicsAPI::BlendOperation mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData BlendFactorValue (Grindstone::GraphicsAPI::BlendFactor mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData ShaderStageValue (Grindstone::GraphicsAPI::ShaderStage mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData BlendPresetValue (BlendPreset mode, const std::filesystem::path &path, uint32_t line, uint32_t column)
 
static TokenData Parameter (ParameterType parameterType, const std::filesystem::path &path, uint32_t line, uint32_t column)
 

Public Attributes

Token token
 
Data data
 
const std::filesystem::path & path
 
uint32_t line
 
uint32_t column
 

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