26#include <common/mstring.h>
138 void sPrint (
char *buf,
int sz,
ActId *stop = NULL,
int style = 0);
205 return Eval (ns, s, is_lval, 1);
328 const char arrayR,
const char delim2);
329 static ActId *
parseId (
const char *s,
const char delim1,
const char arrayL,
330 const char arrayR,
const char delim2);
void _act_int_import_connections(act_connection *cx, UserDef *ux, Array *a, int elem_num)
This class is used to store Act identifiers that correspond to instances. Identifiers have an optiona...
Definition: act_id.h:56
int isEqual(ActId *other)
Expr * Eval(ActNamespace *ns, Scope *s, int is_lval=0, int is_chp=0)
ActId * Rest()
Definition: act_id.h:114
Expr * EvalCHP(ActNamespace *ns, Scope *s, int is_lval=0)
Definition: act_id.h:204
static ActId * parseId(const char *s)
Array * arrayInfo()
Definition: act_id.h:91
ValueIdx * rootVx(Scope *)
act_connection * myConnection(Scope *s)
void sPrint(char *buf, int sz, ActId *stop=NULL, int style=0)
ActId * unFragment(Scope *)
ActId * Expand(ActNamespace *ns, Scope *s)
mstring_t * name
Definition: act_id.h:382
ActNamespace * getNamespace()
UserDef * isFragmented(Scope *)
void prune()
Definition: act_id.h:247
static ActId * parseId(char *s)
ActId(const char *s, Array *_a=NULL)
int validateDeref(Scope *sc)
static ActId * parseId(char *s, const char delim1, const char arrayL, const char arrayR, const char delim2)
ValueIdx * rawValueIdx(Scope *)
const char * getName()
Definition: act_id.h:106
act_connection * rootCanonical(Scope *)
Array * a
Definition: act_id.h:383
void setArray(Array *_a)
Definition: act_id.h:242
ActId * ExpandCHP(ActNamespace *ns, Scope *s)
UserDef * canFragment(Scope *)
ActId * nonProcSuffix(Process *p, Process **ret)
int isDeref()
Definition: act_id.h:83
static ActId * parseId(const char *s, const char delim1, const char arrayL, const char arrayR, const char delim2)
ActId * next
Definition: act_id.h:384
void Print(FILE *fp, ActId *stop=NULL, int style=0)
act_connection * Canonical(Scope *s)
The ActNamespace class holds all the information about a namespace.
Definition: namespaces.h:469
Dense arrays, sparse arrays, and array dereferences.
Definition: act_array.h:65
User-defined processes.
Definition: types.h:750
This is the data structure that holds all instances and their associated types within a scope....
Definition: namespaces.h:77
UserDef stores information that is common to all user-defined types. User-defined types are more comp...
Definition: types.h:310
This class is used to create an instance in a scope. The name comes from the fact that this is used t...
Definition: value.h:342
Connections.
Definition: value.h:113