Go to the source code of this file.
|
| class | act_connection |
| | Connections. More...
|
| |
| class | ValueIdx |
| | This class is used to create an instance in a scope. The name comes from the fact that this is used to keep track of the index of a value within a particular type (rather than a flat data structure, one per instance) and so is not defined as a value-per-instance, but rather a value-per-type. More...
|
| |
◆ _act_mk_raw_connection()
The union-find connection function. Make a simple connection, combining c1 and c2. c1 has the canonical connection pointer.
- Parameters
-
| c1 | is the canonical one |
| c2 | is the one to connect to c1 |
◆ act_merge_attributes()
Merge the attributes of two instances. The vx1 and vx2 pointers are used for error reporting only. The real merge happens between the attribute lists provided.
- Parameters
-
| vx1 | is the name of one of the instances |
| vx2 | is the name of the other instance |
| a | is the attribute list that should be merged |
| x | is the attribute list into which the attributes should be merged |
◆ act_mk_connection()
Function used to actually make a connection. This also determines which of the two connections should be the canonical one according to the rules for an act_connection.
- Parameters
-
| id1 | is the id for the first connection element |
| c1 | is the connection pointer for id1 |
| id2 | is the id for the second connection element |
| c2 | is the connection pointer for id2 |
| ux | is the user-defined type, if any for the connection context. This is needed to determine which of the two is canonical. |
◆ act_print_attributes()
| void act_print_attributes |
( |
FILE * |
fp, |
|
|
act_attr * |
a |
|
) |
| |
Print out the attribute list
- Parameters
-
| fp | is the output file |
| a | is the attribute list |