|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
One arm of a case. More...
#include <kleene.h>
Data Fields | |
| int32_t | tag |
| Constructor tag this arm matches. | |
| const char ** | binders |
| Names bound to the constructor's fields, in order. | |
| size_t | binder_count |
| Number of fields the constructor carries. | |
| srn_kleene_node_t * | body |
| The body of the case. | |
One arm of a case.
Matches a constructor tag and binds that constructor's fields to fresh locals before running the body.
| size_t srn_kleene_arm_t::binder_count |
| const char** srn_kleene_arm_t::binders |
| srn_kleene_node_t* srn_kleene_arm_t::body |
| int32_t srn_kleene_arm_t::tag |