|
Blender V5.3
|
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 |
Definition at line 12 of file grammar_test.cc.
Definition at line 14 of file grammar_test.cc.
Definition at line 13 of file grammar_test.cc.
|
inline |
Definition at line 21 of file grammar_test.cc.
References blender::gpu::shader::parser::ErrorHandler::err, err_handler, EXPECT_TRUE, blender::gpu::shader::parser::IntermediateForm< LexerFn, ParserFn >::language, parser, blender::gpu::shader::parser::IntermediateForm< LexerFn, ParserFn >::set_str(), and source.
|
inline |
Definition at line 32 of file grammar_test.cc.
References blender::gpu::shader::parser::ErrorHandler::err, and err_handler.
Referenced by blender::gpu::tests::TEST().
|
inline |
Definition at line 37 of file grammar_test.cc.
References parser, and blender::gpu::shader::parser::ParserBase::root().
| ErrorHandler blender::gpu::tests::TestParser::err_handler |
Definition at line 18 of file grammar_test.cc.
Referenced by error(), and TestParser().
| Parser blender::gpu::tests::TestParser::parser |
Definition at line 19 of file grammar_test.cc.
Referenced by root(), and TestParser().
| string blender::gpu::tests::TestParser::result |
Definition at line 17 of file grammar_test.cc.
| string blender::gpu::tests::TestParser::source |
Definition at line 16 of file grammar_test.cc.
Referenced by TestParser().