|
Blender V5.3
|
Typedefs | |
| using | Token = parser::Token |
| using | TokenID = int |
| using | NodeID = int |
| using | Nodes = std::vector<NodeData> |
| using | TokenRange = Token |
Enumerations | |
| enum class | NodeType : char { Invalid = 0 , TranslationUnit , Preprocessor , Namespace , NamespaceSeparator , ClassDecl , AccessSpecifier , EnumValue , Id , IdQualified , IdType , Const , Reference , AssignStmt , PipelineDecl , VarDecl , Declarator , StaticStmt , BitField , FuncDecl , FuncForwardDecl , FuncArgList , FuncArg , FuncParamList , FuncCall , TemplateDecl , TemplateArgList , TemplateArg , TemplateParamList , TemplateSpec , TemplateInst , TemplateExplicit , LocalScope , ArrayDecl , Subscript , AttrList , Attr , Expr , ContinueStmt , BreakStmt , ReturnStmt , UsingStmt , LocalStmt , LocalVar , SwitchStmt , SwitchCase , ForLoop , WhileLoop , DoWhileLoop , Condition , IfStmt , ElseIfStmt , ElseStmt , InitializerList , DesignatedInitializer , Initializer , StringConst , ExprSub , NumConst , Op , OpDeref , Constructor , StructuredBinding } |
Functions | |
| static std::string | to_string (ast::NodeType type) |
| static bool | display_type (ast::NodeType type) |
| using blender::gpu::shader::parser::ast::NodeID = int |
| using blender::gpu::shader::parser::ast::Nodes = std::vector<NodeData> |
| using blender::gpu::shader::parser::ast::TokenID = int |
|
strong |
|
static |
Definition at line 378 of file ast.cc.
References AccessSpecifier, ArrayDecl, AssignStmt, Attr, AttrList, BitField, BreakStmt, ClassDecl, Condition, Const, Constructor, ContinueStmt, Declarator, DesignatedInitializer, display_type(), DoWhileLoop, ElseIfStmt, ElseStmt, EnumValue, Expr, ExprSub, ForLoop, FuncArg, FuncArgList, FuncCall, FuncDecl, FuncForwardDecl, FuncParamList, Id, IdQualified, IdType, IfStmt, Initializer, InitializerList, Invalid, LocalScope, LocalStmt, LocalVar, Namespace, NamespaceSeparator, NumConst, Op, OpDeref, PipelineDecl, Preprocessor, Reference, ReturnStmt, StaticStmt, StringConst, StructuredBinding, Subscript, SwitchCase, SwitchStmt, TemplateArg, TemplateArgList, TemplateDecl, TemplateExplicit, TemplateInst, TemplateParamList, TemplateSpec, TranslationUnit, UsingStmt, VarDecl, and WhileLoop.
Referenced by display_type(), and blender::gpu::shader::parser::ast::Node::print_ast().
|
static |
Definition at line 245 of file ast.cc.
References AccessSpecifier, ArrayDecl, AssignStmt, Attr, AttrList, BitField, BreakStmt, ClassDecl, Condition, Const, Constructor, ContinueStmt, Declarator, DesignatedInitializer, DoWhileLoop, ElseIfStmt, ElseStmt, EnumValue, Expr, ExprSub, ForLoop, FuncArg, FuncArgList, FuncCall, FuncDecl, FuncForwardDecl, FuncParamList, Id, IdQualified, IdType, IfStmt, Initializer, InitializerList, Invalid, LocalScope, LocalStmt, LocalVar, Namespace, NamespaceSeparator, NumConst, Op, OpDeref, PipelineDecl, Preprocessor, Reference, ReturnStmt, StaticStmt, StringConst, StructuredBinding, Subscript, SwitchCase, SwitchStmt, TemplateArg, TemplateArgList, TemplateDecl, TemplateExplicit, TemplateInst, TemplateParamList, TemplateSpec, to_string(), TranslationUnit, UsingStmt, VarDecl, and WhileLoop.
Referenced by blender::gpu::shader::parser::ast::Node::print_ast(), and to_string().