Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
srn_kleene_label_t Struct Reference

SRN_KL_LABEL: a label name taking params, whose body runs when jumped to, in scope of cont. More...

#include <kleene.h>

Collaboration diagram for srn_kleene_label_t:
[legend]

Data Fields

const char * name
 The label's name, referenced by a matching jump.
const char ** params
 Parameter names the jump supplies.
size_t param_count
 Number of parameters.
srn_kleene_node_t * body
 The code run when the label is jumped to.
srn_kleene_node_t * cont
 The continuation in scope of the label.

Detailed Description

SRN_KL_LABEL: a label name taking params, whose body runs when jumped to, in scope of cont.

Definition at line 159 of file kleene.h.

Field Documentation

◆ body

srn_kleene_node_t* srn_kleene_label_t::body

The code run when the label is jumped to.

Definition at line 167 of file kleene.h.

◆ cont

srn_kleene_node_t* srn_kleene_label_t::cont

The continuation in scope of the label.

Definition at line 169 of file kleene.h.

◆ name

const char* srn_kleene_label_t::name

The label's name, referenced by a matching jump.

Definition at line 161 of file kleene.h.

◆ param_count

size_t srn_kleene_label_t::param_count

Number of parameters.

Definition at line 165 of file kleene.h.

◆ params

const char** srn_kleene_label_t::params

Parameter names the jump supplies.

Definition at line 163 of file kleene.h.


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