reactor-c
C Runtime for Lingua Franca
|
Base type for ports (lf_port_base_t) and actions (trigger_t), which can carry tokens. The structs lf_port_base_t and trigger_t should start with an instance of this struct so that they can be cast to this struct to access these fields in a uniform way. More...
#include <lf_token.h>
Data Fields | |
token_type_t | type |
lf_token_t * | token |
size_t | length |
Base type for ports (lf_port_base_t) and actions (trigger_t), which can carry tokens. The structs lf_port_base_t and trigger_t should start with an instance of this struct so that they can be cast to this struct to access these fields in a uniform way.
size_t token_template_t::length |
lf_token_t* token_template_t::token |
token_type_t token_template_t::type |
Instances of this struct can be cast to token_type_t.