|
Reduct
v1.0.4-3-gdaf0d70
A functional and immutable language.
|
Item structure. More...
#include <item.h>
Data Fields | ||
| struct reduct_input * | input | |
| The parsed input that created this item. | ||
| reduct_uint32_t | position | |
| The position in the input buffer where the item was parsed. | ||
| reduct_item_flags_t | flags | |
| Flags for the item. | ||
| reduct_item_type_t | type | |
| The type of the item. | ||
| reduct_uint16_t | retainCount | |
| The reference count for GC retention. | ||
| union { | ||
| reduct_uint32_t length | ||
| Common length for the item. (Stored in the union to save space due to padding rules.) More... | ||
| reduct_atom_t atom | ||
| An atom. More... | ||
| reduct_list_t list | ||
| A list. More... | ||
| reduct_list_node_t node | ||
| A list node. More... | ||
| reduct_function_t function | ||
| A function. More... | ||
| reduct_closure_t closure | ||
| A closure. More... | ||
| struct reduct_item * free | ||
| The next free item in the free list. More... | ||
| uint8_t _raw [REDUCT_ITEM_PAYLOAD_MAX] | ||
| }; | ||
| struct reduct_input* reduct_item_t::input |
| reduct_uint32_t reduct_item_t::position |
| reduct_item_flags_t reduct_item_t::flags |
| reduct_item_type_t reduct_item_t::type |
| reduct_uint16_t reduct_item_t::retainCount |
| reduct_uint32_t reduct_item_t::length |
| reduct_atom_t reduct_item_t::atom |
| reduct_list_t reduct_item_t::list |
| reduct_list_node_t reduct_item_t::node |
| reduct_function_t reduct_item_t::function |
| reduct_closure_t reduct_item_t::closure |
| struct reduct_item* reduct_item_t::free |
| uint8_t reduct_item_t::_raw[REDUCT_ITEM_PAYLOAD_MAX] |
| union { ... } reduct_item_t |