Blender V5.3
blender::gpu::tests::TestParser Struct Reference

Public Types

using Parser = SourceProcessor::Parser
using ErrorHandler = SourceProcessor::ErrorHandler

Public Member Functions

 TestParser (const string &src)
string error () const
parser::ast::LocalScope root () const

Public Attributes

string source
string result
ErrorHandler err_handler
Parser parser

Detailed Description

Definition at line 12 of file grammar_test.cc.

Member Typedef Documentation

◆ ErrorHandler

◆ Parser

Constructor & Destructor Documentation

◆ TestParser()

Member Function Documentation

◆ error()

string blender::gpu::tests::TestParser::error ( ) const
inline

◆ root()

parser::ast::LocalScope blender::gpu::tests::TestParser::root ( ) const
inline

Definition at line 37 of file grammar_test.cc.

References parser, and blender::gpu::shader::parser::ParserBase::root().

Member Data Documentation

◆ err_handler

ErrorHandler blender::gpu::tests::TestParser::err_handler

Definition at line 18 of file grammar_test.cc.

Referenced by error(), and TestParser().

◆ parser

Parser blender::gpu::tests::TestParser::parser

Definition at line 19 of file grammar_test.cc.

Referenced by root(), and TestParser().

◆ result

string blender::gpu::tests::TestParser::result

Definition at line 17 of file grammar_test.cc.

◆ source

string blender::gpu::tests::TestParser::source

Definition at line 16 of file grammar_test.cc.

Referenced by TestParser().


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