|
Blender V5.3
|
#include <ast.hh>
Inherits blender::gpu::shader::parser::ast::Node.
Public Member Functions | |
| NODE_COMMON (Declarator) | |
| bool | is_reference () const |
| bool | is_array () const |
| IdType | type () const |
| Reference | reference () const |
| IdQualified | identifier () const |
| ArrayDecl | array () const |
| BitField | bitfield () const |
| InitializerList | initializer_list () const |
| AssignStmt | initial_value () const |
| Public Member Functions inherited from blender::gpu::shader::parser::ast::Node | |
| Node ()=default | |
| Node (const ParserBase *p, NodeID id) | |
| const NodeData * | data () const |
| NodeType | type () const |
| Token | front () const |
| Token | back () const |
| Node | prev () const |
| Node | next () const |
| Node | parent () const |
| Node | children () const |
| Node | child_first () const |
| Node | child_last () const |
| Node | prev (NodeType type) const |
| Node | next (NodeType type) const |
| Node | parent (NodeType type) const |
| Node | child_first (NodeType type) const |
| Node | child_last (NodeType type) const |
| int | child_count () const |
| bool | is_empty () const |
| bool | has_single_child () const |
| bool | is_valid () const |
| std::string_view | str () const |
| std::string_view | str_full () const |
| void | print_ast () const |
| bool | operator== (NodeType type) const |
| bool | operator!= (NodeType type) const |
| std::ostream & | operator<< (std::ostream &os) |
| ChildRange | children_range () const |
| template<typename NodeT> | |
| TypedChildRange< NodeT > | children_of_type () const |
| template<typename NodeT> | |
| RecursiveTypedRange< NodeT > | descendants_of_type () const |
Additional Inherited Members | |
| Public Attributes inherited from blender::gpu::shader::parser::ast::Node | |
| const ParserBase * | p = nullptr |
| NodeID | id = -1 |
|
inline |
Definition at line 865 of file ast.hh.
References blender::gpu::shader::parser::ast::ArrayDecl, and blender::gpu::shader::parser::ast::Node::child_last().
Referenced by blender::gpu::shader::parser::ast::FuncArg::array().
|
inline |
Definition at line 870 of file ast.hh.
References blender::gpu::shader::parser::ast::BitField, and blender::gpu::shader::parser::ast::Node::child_last().
|
inline |
Definition at line 860 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first(), and blender::gpu::shader::parser::ast::IdQualified.
Referenced by blender::gpu::shader::parser::ast::FuncArg::identifier().
|
inline |
Definition at line 880 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_last().
Referenced by blender::gpu::shader::parser::ast::FuncArg::initial_value().
|
inline |
Definition at line 875 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_last().
Referenced by blender::gpu::shader::parser::ast::FuncArg::initializer_list().
|
inline |
Definition at line 845 of file ast.hh.
References array< T, alignment >::array().
Referenced by bsl::SymbolScope::lookup_function_forward_decl().
|
inline |
Definition at line 840 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::is_valid(), and reference().
Referenced by blender::gpu::shader::parser::ast::FuncArg::is_reference(), blender::gpu::shader::parser::ast::VarDecl::is_reference(), and bsl::SymbolScope::lookup_function_forward_decl().
| blender::gpu::shader::parser::ast::Declarator::NODE_COMMON | ( | Declarator | ) |
|
inline |
Definition at line 855 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first().
Referenced by is_reference().
|
inline |
Definition at line 850 of file ast.hh.
References blender::gpu::shader::parser::ast::IdType, and blender::gpu::shader::parser::ast::Node::prev().