|
ACT Library
|
This is used to represent the list of guards and statements for conditional circuit construction. More...
#include <body.h>
Public Member Functions | |
| ActBody_Select_gc (Expr *_g, ActBody *_s) | |
| ActBody_Select_gc (const char *_id, Expr *_lo, Expr *_hi, Expr *_g, ActBody *_s) | |
| void | Append (ActBody_Select_gc *s) |
| int | isElse () |
| ActBody * | getBody () |
| ActBody_Select_gc * | getNext () |
| ActBody_Select_gc * | Clone () |
Private Attributes | |
| const char * | id |
| Expr * | lo |
| Expr * | hi |
| Expr * | g |
| ActBody * | s |
| ActBody_Select_gc * | next |
Friends | |
| class | ActBody_Select |
| class | ActBody_Genloop |
This is used to represent the list of guards and statements for conditional circuit construction.
|
inline |
This is used to represent a guarded command with an internal loop that is unrolled to construct all the guards of the form:
( [] i : lo .. hi : G -> S )
| _id | is the loop index |
| _lo | is the low index (NULL if omittted) |
| _hi | is the high index (the high index is _hi-1 if _lo is NULL) |
| _g | is the guard |
| _s | is the body |
|
inline |
Set "s" to be the tail of the list of guarded commands
| s | is the tail |
| ActBody_Select_gc * ActBody_Select_gc::Clone | ( | ) |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
guard
|
private |
loop range
|
private |
loop index
|
private |
Loop range. If this is NULL, then the range is from 0 to hi-1.
|
private |
rest of the selection
|
private |
statement