ACT Library
|
This is used to store assertions in the body. There are two types of assertions: More...
#include <body.h>
Public Member Functions | |
ActBody_Assertion (int line, Expr *_e, const char *_msg=NULL) | |
ActBody_Assertion (int line, ActId *_id1, ActId *_id2, int op, const char *_msg=NULL) | |
~ActBody_Assertion () | |
void | Expand (ActNamespace *, Scope *) |
ActBody * | Clone () |
![]() | |
ActBody (int line) | |
virtual | ~ActBody () |
void | Append (ActBody *b) |
void | insertNext (ActBody *b) |
ActBody * | Tail () |
ActBody * | Next () |
virtual ActBody * | Clone () |
virtual void | Expand (ActNamespace *, Scope *) |
void | Expandlist (ActNamespace *, Scope *) |
virtual void | Print (FILE *) |
void | updateInstType (list_t *namelist, InstType *it) |
int | getLine () |
Private Attributes | |
union { | |
struct { | |
Expr * e | |
const char * msg | |
} t0 | |
struct { | |
int op | |
ActId * id1 | |
ActId * id2 | |
const char * msg | |
} t1 | |
} | u |
int | type |
Additional Inherited Members | |
![]() | |
int | _line |
saved away line number information | |
This is used to store assertions in the body. There are two types of assertions:
|
inline |
line | is the line number |
_e | is the Boolean expression asserted |
_msg | is any user-specified message |
|
inline |
line | is the line number |
_id1 | is one identifier |
_id2 | is the second identifier |
op | is 0 to asserting connectivity, 1 to assert disconnections |
_msg | is any user-specified message |
|
inline |
|
virtual |
Reimplemented from ActBody.
|
virtual |
Expand out the current body item, updating the necessary data structures as the expansion process proceeds.
Reimplemented from ActBody.
Expr* ActBody_Assertion::e |
ActId* ActBody_Assertion::id1 |
ActId * ActBody_Assertion::id2 |
const char* ActBody_Assertion::msg |
int ActBody_Assertion::op |
struct { ... } ActBody_Assertion::t0 |
struct { ... } ActBody_Assertion::t1 |
|
private |
union { ... } ActBody_Assertion::u |