Lists of instruction structs.
More...
#include <instruction.h>
Data Fields | |
| struct instruction * | element |
| struct instruction_list * | next |
Related Functions | |
(Note that these are not member functions.) | |
| instruction_list * | call_list (instruction_list *ast) |
| Get the list of function calls in an AST. More... | |
| instruction_list * | instruction_list_alloc (void) |
| Allocate an instruction list. More... | |
| instruction_list * | instruction_list_append (instruction_list *list, instruction *i) |
| Append an instruction to an instruction list. More... | |
| instruction_list * | instruction_list_cat (instruction_list *a, instruction_list *b) |
| Concatenate instruction lists. More... | |
| void | instruction_list_compute_dates (instruction_list *list, const expression *e, const char *identifier) |
| Compute the dates of an AST. More... | |
| void | instruction_list_decorate (instruction_list *list, const char *level, const char *boundaries) |
| Decorate an AST with levels and boundaries. More... | |
| void | instruction_list_fill (instruction_list *list, instruction_list *calls) |
| Fill an AST with the missing finish and async constructs. More... | |
| instruction_list * | instruction_list_find_parent (instruction_list *list, instruction *instr) |
| Find, if any, the parent of an instruction. More... | |
| void | instruction_list_fprint (FILE *f, const instruction_list *list) |
| Print an instruction list to a stream. More... | |
| void | instruction_list_free (instruction_list *list) |
| Free an instruction list. More... | |
| bool | instruction_list_is_indirect_parent (instruction_list *list, instruction *instr) |
| Determine whether a list is an indirect parent of an instruction. More... | |
| instruction_list * | instruction_list_n (instruction_list *list, size_t position) |
| Get the nth instruction in an instruction list. More... | |
| size_t | instruction_list_size (instruction_list *list) |
| Get the size of an instruction list. More... | |
| void | instruction_list_soft_free (instruction_list *list) |
| Softly free an instruction list. More... | |
| void | instruction_list_strip (instruction_list *list, string_list *s) |
| Strip an AST of unnecessary information in function calls. More... | |
| void | instruction_list_wrap (instruction_list *list, instruction *instr, instruction_type t) |
| Wrap an instruction list with a wrapping block construct. More... | |
Lists of instruction structs.
1.0.0 | struct instruction* instruction_list::element |
The node's element.
| struct instruction_list* instruction_list::next |
The next node.