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

Public Types

using Node = Scope

Public Member Functions

 ScopeParser (ParserBase &parser, Token tok, ErrorHandler &error_handler)
void translation_unit ()
void external_declaration ()
void struct_declaration ()
void members_decl ()
void enum_declaration ()
void enum_values ()
void union_declaration ()
void template_definition ()
void template_explicit_call ()
void template_argument_list ()
void function_definition ()
void assignment ()
void local_scope (ScopeType type)
void switch_statement ()
void for_loop ()
void while_loop ()
void do_while_loop ()
void condition (int arg_needed, ScopeType type)
void function_argument_list ()
void function_call_or_local_parenthesis ()
void local_parenthesis ()
void function_call ()
void attribute_or_subscript ()
void subscript ()
void attribute ()
void namespace_declaration ()
void qualified_id ()
void preprocessor ()

Public Attributes

Token curr
ParserBase & parser
Node curr_node = Node(parser)
ErrorHandler & error_handler

Detailed Description

Definition at line 60 of file grammar.cc.

Member Typedef Documentation

◆ Node

Constructor & Destructor Documentation

◆ ScopeParser()

blender::gpu::shader::parser::ScopeParser::ScopeParser ( ParserBase & parser,
Token tok,
ErrorHandler & error_handler )
inline

Definition at line 70 of file grammar.cc.

References curr, error_handler, and parser.

Member Function Documentation

◆ assignment()

◆ attribute()

◆ attribute_or_subscript()

void blender::gpu::shader::parser::ScopeParser::attribute_or_subscript ( )
inline

◆ condition()

◆ do_while_loop()

void blender::gpu::shader::parser::ScopeParser::do_while_loop ( )
inline

◆ enum_declaration()

void blender::gpu::shader::parser::ScopeParser::enum_declaration ( )
inline

◆ enum_values()

void blender::gpu::shader::parser::ScopeParser::enum_values ( )
inline

◆ external_declaration()

◆ for_loop()

void blender::gpu::shader::parser::ScopeParser::for_loop ( )
inline

◆ function_argument_list()

◆ function_call()

◆ function_call_or_local_parenthesis()

void blender::gpu::shader::parser::ScopeParser::function_call_or_local_parenthesis ( )
inline

◆ function_definition()

void blender::gpu::shader::parser::ScopeParser::function_definition ( )
inline

◆ local_parenthesis()

◆ local_scope()

◆ members_decl()

◆ namespace_declaration()

void blender::gpu::shader::parser::ScopeParser::namespace_declaration ( )
inline

◆ preprocessor()

◆ qualified_id()

void blender::gpu::shader::parser::ScopeParser::qualified_id ( )
inline

Definition at line 992 of file grammar.cc.

References lexit::Word.

Referenced by external_declaration(), local_scope(), namespace_declaration(), and struct_declaration().

◆ struct_declaration()

void blender::gpu::shader::parser::ScopeParser::struct_declaration ( )
inline

◆ subscript()

◆ switch_statement()

void blender::gpu::shader::parser::ScopeParser::switch_statement ( )
inline

◆ template_argument_list()

◆ template_definition()

void blender::gpu::shader::parser::ScopeParser::template_definition ( )
inline

Definition at line 338 of file grammar.cc.

References lexit::Struct, lexit::Template, template_argument_list(), and lexit::Word.

Referenced by external_declaration(), and members_decl().

◆ template_explicit_call()

void blender::gpu::shader::parser::ScopeParser::template_explicit_call ( )
inline

Definition at line 349 of file grammar.cc.

References curr, lexit::Token::prev(), and lexit::Template.

Referenced by assignment(), function_call(), and local_scope().

◆ translation_unit()

void blender::gpu::shader::parser::ScopeParser::translation_unit ( )
inline

◆ union_declaration()

void blender::gpu::shader::parser::ScopeParser::union_declaration ( )
inline

Definition at line 328 of file grammar.cc.

References curr, blender::gpu::shader::parser::Local, members_decl(), and lexit::Union.

Referenced by members_decl().

◆ while_loop()

void blender::gpu::shader::parser::ScopeParser::while_loop ( )
inline

Member Data Documentation

◆ curr

◆ curr_node

Node blender::gpu::shader::parser::ScopeParser::curr_node = Node(parser)

Definition at line 66 of file grammar.cc.

◆ error_handler

ErrorHandler& blender::gpu::shader::parser::ScopeParser::error_handler

Definition at line 68 of file grammar.cc.

Referenced by ScopeParser().

◆ parser

ParserBase& blender::gpu::shader::parser::ScopeParser::parser

Definition at line 63 of file grammar.cc.

Referenced by preprocessor(), ScopeParser(), and translation_unit().


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