Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
reduct_const_slot_t Struct Reference

Constant slot. More...

#include <function.h>

Collaboration diagram for reduct_const_slot_t:

Data Fields

reduct_const_slot_type_t type
 The type of the constant slot.
 
union { 
 
   reduct_uint64_t   raw 
 
   struct reduct_item *   item 
 The item contained in the constant slot. More...
 
   struct reduct_atom *   capture 
 The name of the variable to be captured. More...
 
};  
 

Detailed Description

Constant slot.

Definition at line 42 of file function.h.

Field Documentation

◆ type

reduct_const_slot_type_t reduct_const_slot_t::type

The type of the constant slot.

Definition at line 44 of file function.h.

◆ raw

reduct_uint64_t reduct_const_slot_t::raw

Definition at line 46 of file function.h.

◆ item

struct reduct_item* reduct_const_slot_t::item

The item contained in the constant slot.

Definition at line 47 of file function.h.

◆ capture

struct reduct_atom* reduct_const_slot_t::capture

The name of the variable to be captured.

Definition at line 48 of file function.h.

◆ [union]

union { ... } reduct_const_slot_t

The documentation for this struct was generated from the following file: