Blender V5.3
blender::gpu::shader::parser::ErrorHandler Struct Reference

#include <utils.hh>

Classes

struct  Error

Public Member Functions

void report (Token tok, std::string_view message)
void report (int row, int column, std::string line, std::string_view message)
void report (const std::vector< std::pair< Token, std::string > > &reports)
void reset ()

Public Attributes

std::string default_filename
std::optional< Error > err

Detailed Description

Definition at line 24 of file gpu/shader_tool/utils.hh.

Member Function Documentation

◆ report() [1/3]

void blender::gpu::shader::parser::ErrorHandler::report ( const std::vector< std::pair< Token, std::string > > & reports)

Definition at line 156 of file intermediate.cc.

References err, and report().

◆ report() [2/3]

void blender::gpu::shader::parser::ErrorHandler::report ( int row,
int column,
std::string line,
std::string_view message )

Definition at line 175 of file intermediate.cc.

References default_filename, err, and report().

◆ report() [3/3]

void blender::gpu::shader::parser::ErrorHandler::report ( Token tok,
std::string_view message )

◆ reset()

void blender::gpu::shader::parser::ErrorHandler::reset ( )
inline

Definition at line 40 of file gpu/shader_tool/utils.hh.

References err.

Member Data Documentation

◆ default_filename

std::string blender::gpu::shader::parser::ErrorHandler::default_filename

Definition at line 32 of file gpu/shader_tool/utils.hh.

Referenced by report(), and report().

◆ err


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