|
Blender V5.3
|
#include <ast.hh>
Inherits blender::gpu::shader::parser::ast::Node.
Classes | |
| struct | Splat1 |
| struct | Splat2 |
| struct | Splat3 |
| struct | Splat4 |
Public Member Functions | |
| NODE_COMMON (FuncParamList) | |
| bool | is_empty () const |
| Splat1 | splat_1 () const |
| Splat2 | splat_2 () const |
| Splat3 | splat_3 () const |
| Splat4 | splat_4 () 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 |
| bool blender::gpu::shader::parser::ast::FuncParamList::is_empty | ( | ) | const |
Definition at line 123 of file ast.cc.
References blender::gpu::shader::parser::ast::Node::back(), blender::gpu::shader::parser::ast::Node::front(), and lexit::Token::index_.
Referenced by NODE_COMMON().
| blender::gpu::shader::parser::ast::FuncParamList::NODE_COMMON | ( | FuncParamList | ) |
References is_empty().
|
inline |
Definition at line 989 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first().
Referenced by bsl::ExpressionTypeParser::identifier().
|
inline |
Definition at line 994 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first(), blender::gpu::shader::parser::ast::Node::Node(), and node.
Referenced by bsl::ExpressionTypeParser::identifier().
|
inline |
Definition at line 1000 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first(), blender::gpu::shader::parser::ast::Node::next(), and blender::gpu::shader::parser::ast::Node::Node().
|
inline |
Definition at line 1008 of file ast.hh.
References blender::gpu::shader::parser::ast::Node::child_first(), blender::gpu::shader::parser::ast::Node::next(), and blender::gpu::shader::parser::ast::Node::Node().
Referenced by bsl::ExpressionTypeParser::identifier().