|
Blender V5.3
|
#include <FN_multi_function_procedure.hh>
Public Types | |
| enum | Type { None , Entry , Call , Destruct , Branch , Dummy } |
Public Member Functions | |
| InstructionCursor ()=default | |
| Instruction * | next (Procedure &procedure) const |
| void | set_next (Procedure &procedure, Instruction *new_instruction) const |
Friends | |
| bool | operator== (const InstructionCursor &a, const InstructionCursor &b)=default |
#InstructionCursor Inline Methods | |
| InstructionCursor (CallInstruction &instruction) | |
| InstructionCursor (DestructInstruction &instruction) | |
| InstructionCursor (BranchInstruction &instruction, bool branch_output) | |
| InstructionCursor (DummyInstruction &instruction) | |
| Instruction * | instruction () const |
| Type | type () const |
| static InstructionCursor | ForEntry () |
An InstructionCursor points to a position in a multi-function procedure, where an instruction can be inserted.
Definition at line 37 of file FN_multi_function_procedure.hh.
| Enumerator | |
|---|---|
| None | |
| Entry | |
| Call | |
| Destruct | |
| Branch | |
| Dummy | |
Definition at line 39 of file FN_multi_function_procedure.hh.
|
default |
References ForEntry(), instruction(), InstructionCursor(), next(), set_next(), and type().
Referenced by ForEntry(), InstructionCursor(), and operator==.
|
inline |
Definition at line 303 of file FN_multi_function_procedure.hh.
References Call, and instruction().
|
inline |
Definition at line 308 of file FN_multi_function_procedure.hh.
References Destruct, and instruction().
|
inline |
Definition at line 313 of file FN_multi_function_procedure.hh.
References Branch, and instruction().
|
inline |
Definition at line 318 of file FN_multi_function_procedure.hh.
References Dummy, and instruction().
|
inlinestatic |
Definition at line 323 of file FN_multi_function_procedure.hh.
References Entry, and InstructionCursor().
Referenced by InstructionCursor(), and blender::fn::multi_function::Procedure::set_entry().
|
inline |
Definition at line 330 of file FN_multi_function_procedure.hh.
Referenced by InstructionCursor(), InstructionCursor(), InstructionCursor(), InstructionCursor(), InstructionCursor(), and blender::fn::multi_function::procedure_optimization::move_destructs_up().
| Instruction * blender::fn::multi_function::InstructionCursor::next | ( | Procedure & | procedure | ) | const |
Definition at line 53 of file multi_function_procedure.cc.
References Branch, blender::fn::multi_function::BranchInstruction::branch_false(), blender::fn::multi_function::BranchInstruction::branch_true(), Call, Destruct, Dummy, Entry, blender::fn::multi_function::Procedure::entry(), next(), and None.
Referenced by InstructionCursor(), and next().
| void blender::fn::multi_function::InstructionCursor::set_next | ( | Procedure & | procedure, |
| Instruction * | new_instruction ) const |
Definition at line 18 of file multi_function_procedure.cc.
References Branch, Call, Destruct, Dummy, Entry, None, blender::fn::multi_function::BranchInstruction::set_branch_false(), blender::fn::multi_function::BranchInstruction::set_branch_true(), blender::fn::multi_function::Procedure::set_entry(), and set_next().
Referenced by InstructionCursor(), blender::fn::multi_function::procedure_optimization::move_destructs_up(), and set_next().
|
inline |
Definition at line 337 of file FN_multi_function_procedure.hh.
Referenced by InstructionCursor().
|
friend |
References b, and InstructionCursor().