|
Reduct
v4.1.3-1-gd06c383
A functional and immutable language.
|
Compiled function structure. More...
#include <function.h>
Data Fields | |
| uint32_t | instCount |
| Number of instructions. | |
| uint32_t | instCapacity |
| Capacity of the instruction array. | |
| reduct_inst_t * | insts |
| An array of instructions. | |
| reduct_function_inst_source_t * | sources |
| An array specifying the source of instructions. | |
| reduct_handle_t * | constants |
Static constant values. Slot i is captureCount + i. | |
| uint16_t | constantCount |
| Number of static constants. | |
| uint16_t | constantCapacity |
| Capacity of the constants array. | |
| uint16_t | captureCount |
| Number of captured-variable slots. | |
| uint16_t | registerCount |
| The number of registers the function uses. | |
| uint8_t | arity |
| The number of arguments the function expects. | |
| reduct_function_flags_t | flags |
| The function flags. | |
Compiled function structure.
Definition at line 64 of file function.h.
| uint32_t reduct_function_t::instCount |
Number of instructions.
Definition at line 66 of file function.h.
| uint32_t reduct_function_t::instCapacity |
Capacity of the instruction array.
Definition at line 67 of file function.h.
| reduct_inst_t* reduct_function_t::insts |
An array of instructions.
Definition at line 68 of file function.h.
| reduct_function_inst_source_t* reduct_function_t::sources |
An array specifying the source of instructions.
Definition at line 69 of file function.h.
| reduct_handle_t* reduct_function_t::constants |
Static constant values. Slot i is captureCount + i.
Definition at line 70 of file function.h.
| uint16_t reduct_function_t::constantCount |
Number of static constants.
Definition at line 71 of file function.h.
| uint16_t reduct_function_t::constantCapacity |
Capacity of the constants array.
Definition at line 72 of file function.h.
| uint16_t reduct_function_t::captureCount |
Number of captured-variable slots.
Definition at line 73 of file function.h.
| uint16_t reduct_function_t::registerCount |
The number of registers the function uses.
Definition at line 74 of file function.h.
| uint8_t reduct_function_t::arity |
The number of arguments the function expects.
Definition at line 75 of file function.h.
| reduct_function_flags_t reduct_function_t::flags |
The function flags.
Definition at line 76 of file function.h.