|
ACT Library
|
Data structure for guarded commands. More...
#include <lang.h>
Public Attributes | |
| const char * | id |
| the loop id for syntactic replication | |
| Expr * | lo |
| Expr * | hi |
| Expr * | g |
| the guard | |
| struct act_chp_lang * | s |
| the statement | |
| struct act_chp_gc * | next |
| next pointer for linked-list | |
Data structure for guarded commands.
id = NULL : normal guard id != NULL : syntactic replication, where "id" is the variable, lo and hi are the low and high values for the range
g : guard expression, NULL means "else" for selection statements, and true for loops.
s : statement (might be NULL in the case of [g]
next : used to construct list of guard -> statement, NULL terminated list.
| Expr* act_chp_gc::g |
the guard
| Expr * act_chp_gc::hi |
| const char* act_chp_gc::id |
the loop id for syntactic replication
| Expr* act_chp_gc::lo |
| struct act_chp_gc* act_chp_gc::next |
next pointer for linked-list
| struct act_chp_lang* act_chp_gc::s |
the statement