GNUnet 0.21.0
REGEX_INTERNAL_Transition Struct Reference

Transition between two states. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/regex/regex_internal.h>

Collaboration diagram for REGEX_INTERNAL_Transition:
[legend]

Data Fields

struct REGEX_INTERNAL_Transitionprev
 This is a linked list. More...
 
struct REGEX_INTERNAL_Transitionnext
 This is a linked list. More...
 
unsigned int id
 Unique id of this transition. More...
 
char * label
 Label for this transition. More...
 
struct REGEX_INTERNAL_Stateto_state
 State to which this transition leads. More...
 
struct REGEX_INTERNAL_Statefrom_state
 State from which this transition origins. More...
 

Detailed Description

Transition between two states.

Transitions are stored at the states from which they origin ('from_state'). Each state can have 0-n transitions. If label is NULL, this is considered to be an epsilon transition.

Definition at line 51 of file regex_internal.h.

Field Documentation

◆ prev

struct REGEX_INTERNAL_Transition* REGEX_INTERNAL_Transition::prev

This is a linked list.

Definition at line 56 of file regex_internal.h.

◆ next

◆ id

unsigned int REGEX_INTERNAL_Transition::id

Unique id of this transition.

Definition at line 66 of file regex_internal.h.

◆ label

◆ to_state

◆ from_state

struct REGEX_INTERNAL_State* REGEX_INTERNAL_Transition::from_state

State from which this transition origins.

Definition at line 81 of file regex_internal.h.

Referenced by automaton_merge_states(), state_add_transition(), and state_remove_transition().


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